summaryrefslogtreecommitdiff
path: root/includes/theme.inc
Commit message (Collapse)AuthorAge
* - Patch #9657: more intelligent theme() function. Hopefully, Adrian will beDries Buytaert2004-08-04
| | | | able to use this patch too.
* - #9287: More doxygen/documentation fixes by JonBobSteven Wittens2004-07-22
|
* - Made the example theme display status messages. Not sure why it wasn't.Dries Buytaert2004-07-08
|
* - Changed the way status messages are printed as per Kristjan's suggestion:Dries Buytaert2004-07-08
| | | | | | | | | | http://drupal.org/files/issues/error_messages_list.png (issue #9138). drupal_set_message() has been changed to group message by type and a helper function, theme_status_message(), is added to display the messages. Chameleon and Xtemplate have been updated to use this new function. - Updated CHANGELOG.txt.
* - Patch #8973 by JonBob: Drupal contains many undefined variables and array ↵Dries Buytaert2004-07-02
| | | | indices, which makes PHP throw a lot of warnings when the reporting level is set to E_ALL. Things run fine with these warnings, but as a matter of code style if nothing else we should probably strive to avoid them. The attached fixes most of the more egregious offenders (about 95% of the warnings when I load /node on my test site).
* - Patch #8670 by asimmonds: more spelling fixes.Dries Buytaert2004-06-21
|
* - Patch #8617 by TDobes: changes all gifs to pngs for better consistency (andDries Buytaert2004-06-20
| | | | | | to get of proprietary formats). - Added forum-sticky.png. Made by Steven.
* Tabs patch!Dries Buytaert2004-06-18
| | | | | | | | | | | | | | | | | | CHANGES ------- + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page. + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'. + Grouped settings. All settings have been grouped under 'administer > settings'. TODO ---- + Update core themes: only Xtemplate default supports tabs and even those look ugly. Need help. + Update contributed modules. The menu() hook changed drastically. Updating your code adhere the new menu() function should be 90% of the work. Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
* - Patches #6863 by Kristjan and Moshe: implemented pretty tables and fixed ↵Dries Buytaert2004-06-02
| | | | some tablesort glitches.
* - Improved form handling.Dries Buytaert2004-05-31
| | | | | | | | | | | | | | | | | | | | | + Introduced two new functions: 1. form_set_error($name, $message): files an error against the form element with the specified $name. 2. form_has_errors(): returns true if errors has been filed against form elements. + Updated the form handling: 1. The form_ functions will add 'class="error"' when a form field has been found to be erroneous. 2. The error message is passed to theme_form_element() when the particular form field has been found to be erroneous. + I updated the user and profile module to take advantage of these new functions. + IMPORTANT: the _user() hook changed. The 'validate' case should no longer retun an error message when something goes wrong but should set it with form_set_error().
* - Patch #6863 by Moshe: add 'class="active"' to the table elements ofDries Buytaert2004-05-29
| | | | the active column.
* - Patch #7966 by Goba: The box has it's content wrapped in a paragraph now, ↵Dries Buytaert2004-05-24
| | | | which is not suitable for the purposes the box is used in. Boxes are used to wrap tables or forms with titles. The comment module uses theme(box, ...) to wrap forms into boxes for example. Therefore using a paragraph does not make the output valid XHTML and a div is needed.
* - Patch #6791: mark required fields. Modified patch by Michelangelo.Dries Buytaert2004-04-24
|
* - Patch #6498 by jhriggs: <label> requires opening and closing tags.Dries Buytaert2004-04-21
|
* - Tracker and forum module improvements!Dries Buytaert2004-03-20
| | | | | Note: the CSS of the tracker page has changed. Some CSS files still have to be updated.
* - Patch 5775 by Goba: fixes the only error currently reported by the doxygenDries Buytaert2004-02-10
| | | | parser in Drupal core, plus fixes some errorneous (copy-pasted) doxygen docs.
* - Changed some double quotes to single quotes.Dries Buytaert2004-02-08
|
* - Patch #5163 by mattias: allow theme_table to accept a html attributesDries Buytaert2004-01-31
| | | | parameter array.
* - Patch #5448 by pz: removed code duplication from theme.inc.Dries Buytaert2004-01-29
|
* - Fixed bug #5384: tablesort outputs invalid HTML (improved patch).Dries Buytaert2004-01-29
|
* - Fixed bug #5384: tablesort outputs invalid HTML.Dries Buytaert2004-01-28
|
* - Fixed bug #5439: Doxygen errors in theme.incKjartan Mannes2004-01-28
|
* - Patch 5140 by Moshe: removed the theme("header") and theme("footer") ↵Dries Buytaert2004-01-26
| | | | functions.
* Patch 5114 by Kjartan:Dries Buytaert2004-01-14
| | | | | | | - Adds drupal_set_header() and drupal_get_headers(). - Cache now stores custom headers. - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head(). - Added RSS autodiscover links to node, blog and taxonomy pages.
* Round 3 of aggregator improvements:Dries Buytaert2004-01-11
| | | | | | | | | | | | | | | - Added support for new tags: + Optinal feed image: <image> tag. + Dublin core dates: <dc:date> <dcterms:created>, <dcterms:issued>, <dcterms:modified>. - Usability improvements: + On the administration page, made the feed/bundle titles link to the feeds/bundles' pages. On the feed/bundle's page, made the 'Last updated' field link to the administration page. + Moved the 'syndication' menu one level down. - Updated some content sensitive help. - Further improved themeability. - Fixed some invalid HTML.
* - Fixed bug #5004: missing <title>-tag in the example theme.Dries Buytaert2004-01-07
|
* - Fixed bug 4916: users can have disabled themes. Modified patch by Mathias.Dries Buytaert2004-01-02
| | | | | | | | | | | | 1. Remove the theme object. There is no need to keep it around since meta information for a theme can be retrieved via list_themes(). All we really need is the theme name. 2. Check if the user selected theme is enabled during theme initialization. This is the easiest place to put the check and doesn't mess with the user's settings. Their database profile will still contain the disabled theme selection, but they will be rendering the default admin-selected theme until their chosen theme is once again activated.
* - Fixed bug #4771: variable_get(site_name, ...) -> variable_get('site_name', ↵Dries Buytaert2003-12-22
| | | | ...);
* - Updated documentation, small bug fix and small improvements to the <label>Dries Buytaert2003-12-22
| | | | | | | | tags. To be discussed and investigated: when a form element has no title an empty <label> tag will be emitted (eg. "remember me" checkbox). This doesn't make sense but is our best option for now.
* - Accessibility improvements: made the <label>-tags use the 'for'-attribute.Dries Buytaert2003-12-22
|
* - Fixed typo: $outpout -> $output. Fixed bug 4690.Dries Buytaert2003-12-18
|
* - Type in comment block.Kjartan Mannes2003-12-16
|
* - Reworked 404 (page not found) handling. Patch by walkah. You can specify aDries Buytaert2003-12-16
| | | | | custom 404 page in the administration page. As a result, error.php could be removed.
* - Bugfix: removed incorrect print statements from theme.inc.Dries Buytaert2003-12-13
|
* - Small change to the default theme.Dries Buytaert2003-12-13
|
* - Tidied up the DoxyGen comments. Patch by Kjartan.Dries Buytaert2003-12-08
|
* - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with ↵Dries Buytaert2003-12-04
| | | | sf, etc.
* Fixed typo. Patch by Manuel.Dries Buytaert2003-11-27
|
* - Doxygen improvements. Patch by Ax.Dries Buytaert2003-11-26
|
* - Committed phase 4 of JonBob's menu system changes.Dries Buytaert2003-11-25
|
* - Rollbacked Ax's theme.inc changes as they failed to apply correctly.Dries Buytaert2003-11-24
|
* Patch by Ax to fixe and improve to the core doxygen PHPdoc:Dries Buytaert2003-11-24
| | | | | | | | | | | | * fixes all doxygen warnings [#]_ in the current code base + changes @param style from phpDocumentor (@param type $var desc) to doxygen (@param $var desc) + documents all undocumented parameters + escapes / fixes html warnings + fixes @defgroup in theme.inc * adds more groupings [#]_ + drupal_{set|get}_title, drupal_{set|get}_breadcrumb + pager.inc: pager_api (pager_query(), pager_display()), pager pieces * adds a new group "themeable" which contains all themeable functions.
* - Made the Xtemplate theme degrade gracefully when CSS is disabled.Dries Buytaert2003-11-24
|
* - Committed phase 3 of JonBob's menu changes. Adds an API for modules toDries Buytaert2003-11-23
| | | | | define titles and breadcrumbs for their pages, and updates the theme system to display them.
* - Block and theme improvements. Patch by Ax.Dries Buytaert2003-11-19
| | | | | | | | | | | | | | | + block_list() (in block.module): returns an array of block objects for $region. + theme_blocks() (in theme.inc): uses block_list() and theme("block") to actually render them. Advantages: + Decouples blocks content and layout, allows block_list() to be used for non-output purposes (think "pull"). + Unifies naming in theme.inc: render_blocks()) didn't really fit there. + Puts block_list() in blocks.module where it logically belongs. - Removed some cruft from the Xtemplate theme. Patch by Ax.
* - Small improvement to the default style emitted by theme_form_element().Dries Buytaert2003-11-17
|
* - Improved form items: added <label> tags to improve accessibility and addedDries Buytaert2003-11-17
| | | | | theme_form_element() function to improve themeability. I left form_item() and the calls to form_item() intact for now.
* - table(...) -> theme("table", ...)Dries Buytaert2003-11-13
|
* - Spell checked the comments.Kjartan Mannes2003-11-10
|
* - Improvement: made sure that the example theme uses the misc/drupal.css ↵Dries Buytaert2003-11-10
| | | | stylesheet.