summaryrefslogtreecommitdiff
path: root/includes/theme.inc
Commit message (Collapse)AuthorAge
* - Patch #35924 by Neil: improved the update system.Dries Buytaert2005-12-06
|
* - Patch #38279 by paddy_deburca: fixed theme_item_list() not to generate an ↵Dries Buytaert2005-11-24
| | | | empty <ul></ul> tag when $items is empty.
* - Patch #22215 by Richard Archer: refactored primary and secondary links.Dries Buytaert2005-11-03
| | | | | | | | | Deprecates the primary_links module. This patch was much needed. Thanks Richards! NOTE: if some themers could investigate if there is room for improvement with regard to theming, that would be awesome.
* - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.Dries Buytaert2005-10-22
|
* - Patch #32573 by Moshe: added support for ordered lists to theme_item_list().Dries Buytaert2005-10-18
|
* - Patch #29465: new form API by Adrian et al.Dries Buytaert2005-10-07
| | | | | | | TODO: + The contact.module was broken; a new patch for contact.module is needed. + Documentation is needed. + The most important modules need to be updated ASAP.
* - add some spaceDries Buytaert2005-09-29
|
* - Patch #28777 by Neil: use <thead> and <tbody> in theme_table().Dries Buytaert2005-09-15
|
* - Patch #30122 by m3verick: changed include_once()'s to include "./$file"Dries Buytaert2005-09-08
| | | | for performance's sake.
* - Patch #30423 by Crell: added support for table <captions>.Dries Buytaert2005-09-06
| | | | TODO: look into http://drupal.org/node/28777?
* - Patch #29785 by Chx: multiple node types were broken so we refactoredDries Buytaert2005-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | part of the node system! If you have a module that implements node types, you'll have to udpate its CVS HEAD version. We replaced _node_name() and _node_types() by _node(). The new _node() hook let's you define one or more node types, including their names. The implementation of the _node() hook needs to: return array($type1 => array('name' => $name1, 'base' => $base1), $type2 => array('name' => $name2, 'base' => $base2)); where $type is the node type, $name is the human readable name of the type and $base is used instead of <hook> for <hook>_load, <hook>_view, etc. For example, the story module's node hook looks like this: function story_node() { return array('story' => array('name' => t('story'), 'base' => 'story')); } The page module's node hook module like: function page_node() { return array('page' => array('name' => t('page'), 'base' => 'page')); } However, more complex node modules like the project module and the flexinode module can use the 'base' parameter to specify a different base. The project module implements two node types, proejcts and issues, so it can do: function project_node() { return array( array('project_project' => array('name' => t('project'), 'base' => 'project'), array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue')); } In the flexinode module's case there can only one base ... This hook will simplify the CCK, and will make it easy (or easier) to merge the story and page module. In addition, node_list() became node_get_types(). In addition, we created the following functions: node_get_name($type) and node_get_base($type).
* - Patch #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Patch #29002 by Neil: list_themes() currently returns all themes, not just ↵Dries Buytaert2005-08-18
| | | | | | | | enabled themes. This functionality is only used in one place- configuration for disabled themes. These configuration pages can be removed with a usability improvement since you shouldn't be able to configure things which are disabled. Additionally, this allows us to remove some extra logic in system_user(). And it it more consistent with the module API which only lists enabled modules. list_themes() sorts the results by name. This uses filesort in MySQL since there aren't any indexes. Sorting is not used except in system_user(). This one use can be handled with ksort since it is not often executed (only on the user edit screen when multiple themes are enabled). And a one line fix to remove a variable in system_user() is in here too.
* - Patch #16216 by nedjo: multiple block regions!Dries Buytaert2005-08-16
|
* - Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. ↵Dries Buytaert2005-08-11
| | | | | | This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s. Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
* - #27981: Add media parameter to theme_add_styleSteven Wittens2005-08-05
|
* - Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).Dries Buytaert2005-08-01
| | | | | | Usernames can now be themed; eg. an icon/avatar could be added. TODO: update contributed modules + update the migration docs.
* - #24673: Fix deprecated usage of implodeSteven Wittens2005-07-30
|
* - #27231: (fix) Pretty db error screens.Steven Wittens2005-07-29
|
* - #27231: Friendly DB error screens.Steven Wittens2005-07-27
|
* - Patch #27003 by Neil: use named constants instead of stringsDries Buytaert2005-07-23
|
* - Patch #11927 by stefan/Robin: improved theming of tablesort icons.Dries Buytaert2005-07-02
|
* - Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidiedDries Buytaert2005-06-22
| | | | | | | up the documentation a little. chx: can you double-check whether the global $conf variable is secure? (That is, make sure it can't be send using the URL or something.)
* - Patch #24157 by chx/Robin/...: changed file_exists() to is_file() to fix ↵Dries Buytaert2005-06-19
| | | | several problems with modules using theimage toolkit.
* - Patch #25067 by Thox: renamed 'light' and 'dark' to 'odd' and 'even'.Dries Buytaert2005-06-19
| | | | | | TODO: update the "Migrating themes from Drupal 4.6 to Drupal HEAD"-page in the Drupal handbook! TODO: update the themes in the contributions repository.
* - Patch #25143 by Robin: use count() instead of is_array() so we don't ↵Dries Buytaert2005-06-19
| | | | render code for empty arrays, and such you don't get warnings using PHP5.
* - Code cleanup: improve format_plural usage, add some missing ↵Steven Wittens2005-05-31
| | | | placeholder/check calls, and introduce API for <link> tags.
* - Patch #17028 by Ber: theme xml_icon should allow inline XML icons.Dries Buytaert2005-05-26
|
* - #20809: User-configurable, per-theme, optional favicons.Steven Wittens2005-05-25
|
* - #23516: Remove ][ from form item id's.Steven Wittens2005-05-25
|
* - Fixing some plain/url check calls.Steven Wittens2005-05-18
|
* - Patch #21397 by jjeff: fixed behavior of theme_image with regard to ↵Dries Buytaert2005-05-06
| | | | attributes.
* - Patch #15595 by Stefan and Djun: improved status messages.Dries Buytaert2005-05-05
| | | | | TODO: we should write down a couple guidelines for these document them in the PHPDoc code of drupal_set_message()! .
* - Patch #21855 by TDobes: the recent commit of phptemplate caused a number ↵Dries Buytaert2005-05-05
| | | | | | | | | | | of problems for non-phptemplate themes. A patch is attached to address these issues. Changes include: * parsing of the primary/secondary links has been moved out of phptemplate and into theme_get_setting. * unnecessary and XHTML-invalidating duplicate div#help removed from themes/bluemarine/page.tpl.php (this is already generated by theme_help) * weird generation of the "edit primary/secondary links" messages removed from bluemarine and placed in theme.inc * unnecessary changes to themes/bluemarine/style.css rolled back (the phptemplate bluemarine had an older version of style.css than the one in core) * chameleon updated to work with new link scheme (passes links through theme_links)
* - Removed the Xtemplate engine and added the PHPTemplate engine.Dries Buytaert2005-05-04
| | | | | - Converted the Bluemarine theme from XTemplate to PHPTemplate. - Moved the the Pushbutton theme and the Xtemplate engine to the contributions repository.
* - Patch #21517 by Stefan and TDobes: theme system improvements.Dries Buytaert2005-04-30
|
* - Usability improvement: made the markers easier to understand.Dries Buytaert2005-04-24
|
* - Patch #12794 by assimonds: make sure the node module is optional.Dries Buytaert2005-04-13
|
* - Patch #19739 by Uwe: corrected many typo's in the documentation and code ↵Dries Buytaert2005-03-31
| | | | comments
* - #18817: Clean up plain-text checking (see drupal-devel!)Steven Wittens2005-03-31
|
* - Patch #19590 by Moshe: lazy initialization of the theme system. ImprovesDries Buytaert2005-03-29
| | | | | performance of pages that don't need the theme system (such as RSS feeds) and makes it easier to set a custom theme.
* - Patch #13738 by TDobes: theme system fixes:Dries Buytaert2005-03-16
| | | | | | | | | | * Fix a bug which would cause the "configure" link for styles to be broken. * Fix a bug with using drupal_get_filename for theme engines. Although this is not called anywhere in core, we should still fix it for contrib. (i.e. themes that may want to manually invoke a theme engine to create a hybrid theme) * Correct an inaccurate comment in theme.inc * Populate the default primary links with an "edit primary links" link for consistency with the secondary links * remove some unnecessary variables in the theme administration which had misleading and confusing names * replace time-consuming foreach when rendering theme admin page with a more efficient array_key_exists * usability: rather than completely removing the search box checkbox when search.module is disabled, simply disable it. (UI elements shouldn't appear/disappear.)
* #18329: Unify confirmation messages (and make them themable)Steven Wittens2005-03-03
|
* - Patch #16253 by Goba: incremental improvements to the new content markers.Dries Buytaert2005-01-30
| | | | Goba: it would be nice if one of the core themes would showcase this functionality. ;-)
* - Patch #16253 by Goba: this simple and straightforward patch adds the ↵Dries Buytaert2005-01-27
| | | | ability to define different types of markers (while retaining the old default behaviour of the new and required markers to look the same). Someone with enough time on his hands might be able to partition the new marker to a real new marker and a changed marker (since node_is_new() returns TRUE even if nodes changed, and not only when they are new). This is the base on which the new patch can be worked though.
* - Patch #13907 by Neil: less ways to set the page title.Dries Buytaert2004-12-15
| | | | | | | * Less logic in theme code. * Encourages use of the menu system. * Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them. * Very slightly more efficient.
* - Patch 13738 by TDobes: there was a major theming issue I missed in my ↵Dries Buytaert2004-12-01
| | | | bug-testing after the multi-site patch landed. Styles now seem to have their description field filled with the filename of their parent theme/template rather than the theme_key of the parent. This is a problem because init_theme still expected to see the theme_key and therefore dropped back to the base theme (no theme at all).
* - Patch #13443 by Moshe: got rid of the semi-implemented 'page link' ↵Dries Buytaert2004-11-24
| | | | feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
* - Patch #6166 by Moshe: node preview should not display links. Push the ↵Dries Buytaert2004-11-23
| | | | | | | | links to the theme instead of the theme having to pull them in using node_link(). TODO: 1. Update theme upgrade instructions in the handbook: node_link() is gone. 2. Remove page_link() just like we removed node_link().
* Theme system bug: only show search box if search.module is enabled.Steven Wittens2004-10-14
|