summaryrefslogtreecommitdiff
path: root/lib/htmloutputter.php
AgeCommit message (Collapse)Author
2009-11-09Revert "Remove more contractions"Brion Vibber
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
2009-11-08Remove more contractionsSiebrand Mazeland
* doesn't * won't * isn't * don't
2009-11-08Restructure theme.php to define a class ThemeEvan Prodromou
For various reasons, it's nicer to have a class for theme-file paths and such. So, I've rewritten the code for determining the locations of theme files to be more OOPy. I changed all the uses of the two functions in the module (theme_file and theme_path) to use Theme::file and Theme::path respectively. I've also removed the code in common.php that require's the module; using a class means we can autoload it instead.
2009-10-04Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: classes/Profile.php
2009-10-03Using CDATA for autofocus scriptSarven Capadisli
2009-10-01Revert "Outputting UTF-8 charset in document header irrespective of mimetype."Sarven Capadisli
This reverts commit 353f58c23149159306131b0819de713da6b69464. Even though outputting UTF-8 by default at all times is a good thing, it shouldn't be forced in startHTML().
2009-09-30Better check to see if the XML prolog should be outputted for XMLSarven Capadisli
documents i.e., if best mimetype is */*xml, then use the XML prolog.
2009-09-30Outputting UTF-8 charset in document header irrespective of mimetype.Sarven Capadisli
2009-09-30Switched Doctype to XHTML 1.0 Strict (which best reflects the currentSarven Capadisli
grammar in use)
2009-09-03Created autofocus method to give focus to an element (primarily a formSarven Capadisli
control) on page onload. Updated some of the pages to use autofocus.
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25change controlyourself.ca to status.netEvan Prodromou
2009-08-25change laconi.ca to status.netEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-08-11two variables $public and $system were generating notices in ↵Brett Taylor
lib/htmloutputter.php, removed because these two parameters are null by default.
2009-08-08Fix logic that determines if a URL is relative or absolute in script() and ↵Craig Andrews
cssLink()
2009-08-06remove redundant/unnecessary linesCraig Andrews
2009-08-06Check theme first for CSS files, then use the non-theme path.Craig Andrews
Fixes CSS links in plugins
2009-08-06Make 2nd and 3rd cssLink() arguments optionalCraig Andrews
2009-08-05Handle relative and absolute url parameters to script() and cssLink()Craig Andrews
2009-08-05Added cssLink() and script() functions to htmloutputterCraig Andrews
2009-08-05Accidentally caused the DOCTYPE to never be rendered - fix that.Craig Andrews
2009-08-05Don't start HTML responses with <?xml if the document is served as text/html.Craig Andrews
Starting a text/html mime type document with <?xml causes some browsers (previous version of Opera and IE) to switch to Quirks Mode.
2009-08-05Switch DOCTYPE's to the XHTML 5 DOCTYPECraig Andrews
2009-02-11change htmloutputter to use exception instead of common_user_errorEvan Prodromou
2009-02-11Handle DB_DataObject errors betterEvan Prodromou
We try to handle DB_DataObject errors a little bit better. Previously, they just spit out a cryptic string to the browser with a suggestion to turn on debugging (not a good idea!). So, we catch the error, write the full error message to the log, and then tell users that the can contact the admins if they need to.
2009-02-09trac #1160 fix dropdown xmloutput function for the selected attribute and ↵Robin Millette
fix newmessage auto-selected dropdown.
2009-02-03trac533 Removed redundant calls to htmlspecialcharacters().Zach Copley
XMLWriter::writeAttribute() already takes care of the escaping for us, although that doesn't seem to be well documented.
2009-01-22New HTTP error message classes for uiredesignZach Copley
2009-01-17Update. Added separate $title param for input submitsarven
2009-01-17Added @title to input submit (reusing $label value until we reallysarven
need to make it custom)
2009-01-17Updates to form stylingsarven
2009-01-16Update to forms and email settingssarven
2009-01-15notice_favorite classsarven
submit doesn't need a paragraph wrapper
2009-01-15Fix the constructor for ActionEvan Prodromou
Also, fix the startXML() method
2009-01-14showBody() -- revisit to add @id and @class to <body>sarven
showContentBlock() showContent() added endHTML() to class HTMLOutputter
2009-01-14Add a name parameter to a couple of the form elementsEvan Prodromou
2009-01-13Change related classes doc for HTMLOutputterEvan Prodromou
2009-01-13Extract HTML outputting code to a class HTMLOutputterEvan Prodromou
Moved the common_* methods for low-level HTML output to its own class, HTMLOutputter in lib/htmloutputter.php.