summaryrefslogtreecommitdiff
path: root/includes/theme.inc
Commit message (Collapse)AuthorAge
* - 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
|
* #10648: Fix watchdog-related tablesort coloring bug in IE, add support for ↵Steven Wittens2004-09-14
| | | | <tr> attributes to theme_table() and reduce specificy of watchdog coloring CSS rules.
* - Patch #10663 by JonBob: documentation improvements: fixed some typos and ↵Dries Buytaert2004-09-09
| | | | improved consistency to the use of Doxygen/api.module commands in the comments.
* - #9576: Patch by TDobes, only allow the user to choose between enabled themes.Steven Wittens2004-08-22
|
* - Patch #10202 by Ax: don't emit an erroneous whitespace when no table ↵Dries Buytaert2004-08-21
| | | | headers are provided. Makes for clean XHTML.
* - Patch #9576 by TDobes: bugfix: fixed bug in recent theme system changes.Dries Buytaert2004-08-21
|
* - Fixing 'flash of unstyled content' in bluemarine/pushbutton, which got ↵Steven Wittens2004-08-20
| | | | | | | | reintroduced after the template changes. - Fixed separate styles: added theme_get_styles() and the xtemplate {styles} tag to make sure stylesheets get included in the right order (drupal-specific, template-specific, style-specific). - Fixing missing class on screenshots. - Renamed drupal_get_theme_setting() and drupal_get_theme_settings() to theme_get_setting() and theme_get_settings().
* - Removing some DOS-style line endings. Thanks TDobes.Dries Buytaert2004-08-20
|
* - Theme system changes. Please consult http://drupal.org/node/view/9576 for ↵Dries Buytaert2004-08-20
| | | | details.
* Avatar/picture fixes:Steven Wittens2004-08-20
| | | | | | | | - Changing theme('image') so the automatic image size fetching can be toggled independently from attributes. Specifying attributes and autosizing are 2 different things. - Suppressing PHP errors from getimagesize() using @. drupal_set_message() is used to report these errors already and in a much prettier way. - #9958: Fixing broken displaying of avatars. - Don't show the default avatar in 'edit my account' if the user has no avatar of his/her own. - Added ability to delete avatars (without having to replace them).
* - Patch #9900 by Al: bugfix: don't display two <hr />'s.Dries Buytaert2004-08-16
|
* - Patch by Al: improved the admin/help pages (first step).Dries Buytaert2004-08-10
|
* - Patch #9330: ucfirst() gives problem when used with multibyte charset.Dries Buytaert2004-08-06
| | | | Replaced the use of ucfirst() with a CSS-based solution.
* - 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.