Commit Graph

66 Commits (d53aec15103df92cf5fa512c1a7d1724236920c3)

Author SHA1 Message Date
Dries Buytaert 427604dfb6 - Patch #80201: don't show blocks when serving a 404. Saves CPU and bandwidth. 2006-08-23 18:32:39 +00:00
Neil Drumm a58d877108 #66569 by m3avrck. Put all the feed icons in the same place. 2006-08-23 05:55:38 +00:00
Dries Buytaert a8de1e92d7 - Patch #76637 by timnc: streamline JavaScript addition and add settings storage. 2006-08-22 09:00:31 +00:00
Steven Wittens 55eec8f66f #79601: module_exist() -> module_exists() 2006-08-20 05:57:41 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Dries Buytaert 2c0571b894 - Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal. 2006-08-03 07:06:36 +00:00
Neil Drumm f2837eed28 #60453 by Flanker, CSS cleanup. 2006-05-23 02:11:17 +00:00
Neil Drumm a2a5c4c117 #18260 by m3avrck, cleaning up broken chameleon theme. 2006-05-23 02:07:36 +00:00
Steven Wittens 8b04c7f0db #51002: Admins could not see unpublished comments (plus minor usability enhancements for previewing/unpublished) 2006-04-15 04:07:18 +00:00
Steven Wittens 02f6a3ee2d #56709: Expose hidden 'toggle_logo' variable and rearrange theme toggles. 2006-04-04 23:36:18 +00:00
Dries Buytaert 6d9e5084d8 - Patch #52508 by TDobes: fixed theme system regressions. 2006-03-07 11:28:22 +00:00
Dries Buytaert 048bec139e - Patch #13148 by Morbus: less globals. 2006-02-02 12:44:57 +00:00
Dries Buytaert dcb092e627 - Patch #46927 by markus/killes: added missing t() functions. 2006-02-01 16:04:03 +00:00
Dries Buytaert 4ffb77baae - Patch #13148 by Morbus: further base path fixes / clean-ups. 2006-01-30 21:32:09 +00:00
Dries Buytaert 9c4d4fe7b2 - Patch #45228 and patch #45025 by m3avrck and Uwe: aggregator module HTML/CSS cleanups. 2006-01-20 09:09:18 +00:00
Dries Buytaert 56d0d76f0f - Patch #27884 by gordon: js addLoadEvent not working. 2006-01-20 08:54:07 +00:00
Dries Buytaert 2fe78b84f3 - Patch #40631 by Chris Johnson: added missing isset(). 2005-12-27 10:30:44 +00:00
Dries Buytaert 764f1177ef - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:10:45 +00:00
Dries Buytaert ea53aad7c8 - Patch #22215 by Richard Archer: refactored primary and secondary links.
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.
2005-11-03 19:33:37 +00:00
Dries Buytaert cc835757a5 - Patch #35791 by hunmonk: fixed broken link in chameleon's comment themeing. 2005-11-01 10:01:42 +00:00
Dries Buytaert c13025d232 - Patch #30222, #30219 by Uwe: cosmetic changes to the aggregator pages. 2005-09-02 19:18:14 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Dries Buytaert 79f08aca2c - Patch #26637 by Robert Douglas: $teaser misnamed in themes theme_node().
TODO: update documentation!
2005-08-07 14:55:17 +00:00
Dries Buytaert 7625a4e91a - Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
Usernames can now be themed; eg. an icon/avatar could be added.

  TODO: update contributed modules + update the migration docs.
2005-08-01 05:14:05 +00:00
Dries Buytaert 8436082fe1 - Removing some whitespace 2005-06-06 14:07:04 +00:00
Steven Wittens ba41568963 - #23360: Chameleon: fix taxonomy terms disappearing if there are no node links. 2005-05-27 05:20:08 +00:00
Steven Wittens 6be2c61896 - #20809: User-configurable, per-theme, optional favicons. 2005-05-25 06:03:18 +00:00
Dries Buytaert 6658273b36 - Patch #21855 by TDobes: the recent commit of phptemplate caused a number 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)
2005-05-05 07:35:58 +00:00
Dries Buytaert a10eac3291 - Patch #21517 by Stefan and TDobes: theme system improvements. 2005-04-30 17:47:57 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Dries Buytaert 2b17b3a966 - Patch #13907 by Neil: less ways to set the page title.
* 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.
2004-12-15 21:19:42 +00:00
Dries Buytaert 30110a8770 - Patch #6166 by Moshe: node preview should not display links. Push the 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().
2004-11-23 23:11:59 +00:00
Steven Wittens 4fe5b52a21 - Fixing problem with tall logos in chameleon.theme. 2004-09-20 14:36:53 +00:00
Steven Wittens b75c1e1c8b Replace hardcoded <html lang="en"> with a locale dependant one. This is especially important for asian sites where this has an effect on font selection. 2004-09-09 13:36:01 +00:00
Steven Wittens 51cf18e531 - #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken. 2004-08-22 17:03:42 +00:00
Dries Buytaert 94e30bf776 - Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks. 2004-08-21 06:42:38 +00:00
Steven Wittens 9f2d6f0e51 - Fixing 'flash of unstyled content' in bluemarine/pushbutton, which got 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().
2004-08-20 17:21:37 +00:00
Dries Buytaert 1a807c870a - Patch by TDobes:
+ removes 'toggle_search' from the features array in chameleon.theme
   + merges changes to bluemarine from just a couple of hours before template patch was committed
2004-08-20 14:30:57 +00:00
Dries Buytaert 81861a8e91 - Removing some DOS-style line endings. Thanks TDobes. 2004-08-20 09:34:53 +00:00
Dries Buytaert 6ea5c56ded - Theme system changes. Please consult http://drupal.org/node/view/9576 for details. 2004-08-20 07:51:27 +00:00
Dries Buytaert 5b73def39b - Changed the way status messages are printed as per Kristjan's suggestion:
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.
2004-07-08 16:04:07 +00:00
Dries Buytaert c494d6630d - Improved the error/status reporting in Chameleon: made the messages
stand out a bit better by using green-ish and red-ish colors, resp.
  for 'success' and 'failure'.

- Small change to the way context-sensitive help texts are emitted -
  the pages wouldn't validate in the presence of help texts with
  block-level elements.
2004-07-07 17:25:40 +00:00
Dries Buytaert e30fdce6cb - Patch #8617 by TDobes: changes all gifs to pngs for better consistency (and
to get of proprietary formats).
2004-06-20 20:19:59 +00:00
Dries Buytaert b713e3d489 - Patch #8617 by TDobes: changes all gifs to pngs for better consistency (and
to get of proprietary formats).

- Added forum-sticky.png.  Made by Steven.
2004-06-20 20:04:28 +00:00
Dries Buytaert 54b77d6435 Tabs patch!
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').
2004-06-18 15:04:37 +00:00
Dries Buytaert fdb1fbfced - Simplified the 'anonymous poster settings' of the comment module and
made it possible to enforce a username/e-mail address.  Based on
  James Seng's work there are now 3 radio buttons:

   ( ) Anonymous users may not enter contact information
   ( ) Anonymous users may leave contact information
   ( ) Anonymous users must leave contact information

- Fixed a bug in the default theme_comment_view() function.

- Added permalinks for comments.  Requested by Michael and Christina.
  Maintainers of contributed themes might want to add permalinks too.

TODO:

- Fix the interaction design of the submission form: the page you are
  directed to and the validation of the contact information.

- Changing the comment viewing options appears to be broken?
2004-05-20 10:23:52 +00:00
Dries Buytaert ee4ccb6e4c - Patch #7332 by marky: don't emit extra whitespace withing <body> 2004-04-23 06:13:34 +00:00
Dries Buytaert 8324bda48b - Patch #6818 by Kristjan: chameleon theme CSS cleanup. 2004-03-30 22:14:04 +00:00
Dries Buytaert f54aab6a3e - Fixed bug #6048: display footer in theme chameleon. 2004-02-25 22:38:43 +00:00
Dries Buytaert 750d7c17ab - Fixed the bullet icon. 2004-02-21 22:33:34 +00:00