Commit Graph

699 Commits (d3c14ad6fefc670709b16cb2efdb165b8aa45a3c)

Author SHA1 Message Date
Dries Buytaert 40b13e55b0 - node_load(array('nid' => arg(1))) -> node_load(arg(1)) 2005-07-17 19:19:55 +00:00
Dries Buytaert abc16b1d6d - Patch #25067 by Thox: renamed 'light' and 'dark' to 'odd' and 'even'.
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.
2005-06-19 08:50:46 +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
Steven Wittens 48d3ef6040 - Get rid of double node title in Bluemarine PHPTemplate 2005-05-25 04:57:48 +00:00
Dries Buytaert fc1f1e94a5 - Patch #23452 by berkes: moves the avatar settings to within the check for "user info" on a node tpe. 2005-05-23 20:24:52 +00:00
Dries Buytaert 27f5119c2a - Patch #23269 by Robin: removed border attribute from <img>-tag. 2005-05-21 11:38:32 +00:00
Dries Buytaert 655289b8f9 - Fixed typo: $block->title -> $block->subject. Spotted by Morbus. 2005-05-10 19:11:04 +00:00
Dries Buytaert e89e4fbd28 - Patch #22127 by kbahey: fixed search box in PHPTemplate-based core themes. 2005-05-06 08:39:30 +00:00
Dries Buytaert 2debcfb1ef - Patch #15595 by Stefan and Djun: improved status messages.
TODO: we should write down a couple guidelines for these document them in
        the PHPDoc code of drupal_set_message()!  .
2005-05-05 22:22:46 +00:00
Dries Buytaert 07cf2c6965 - Added the PHPTemplate port of pushbutton. 2005-05-05 10:58:27 +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 381980cb03 - Removed left-over .xtmpl file. 2005-05-05 07:33:19 +00:00
Dries Buytaert e274f97c87 - Removed the Xtemplate engine and added the PHPTemplate engine.
- Converted the Bluemarine theme from XTemplate to PHPTemplate.
- Moved the the Pushbutton theme and the Xtemplate engine to the contributions repository.
2005-05-04 18:12:18 +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
Steven Wittens 39ed6a2456 - #16531: Fix weird IE crash on some admin pages with pushbutton. 2005-03-27 18:55:35 +00:00
Steven Wittens 55af18a2eb - #18879: Pushbutton Header CSS Cleanup 2005-03-18 07:40:04 +00:00
Steven Wittens 66f228f2b4 - Adding paragraph margins which were removed from drupal.css 2005-03-05 14:34:39 +00:00
Steven Wittens 1e66e1ff75 - Pushbutton: fix background arrow overlapping foreground in IE (peekaboo bug) 2005-01-07 06:48:44 +00:00
Steven Wittens 59558ede9e #13531: Xtemplate {directory} tag 2004-12-24 06:39:59 +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
Steven Wittens d3fb126d3e Bluemarine header margins got changed incorrectly after a recent fix. 2004-12-03 12:26:56 +00:00
Dries Buytaert a964d08f0f - Patch #13030 by killes: fixed invalid CSS code in bluemarine's stylesheet. 2004-11-27 11:23:42 +00:00
Steven Wittens ff5f6429f4 #6400: Improved pushbutton arrows. 2004-11-27 01:36:40 +00:00
Dries Buytaert 5d759ccbb9 - Patch #5942 by jhriggs and Adrian:
+ added support for multi-site configurations.
    + tidied up some old cruft and added code comments.
2004-11-24 22:44:01 +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
Dries Buytaert 9998d2a148 - Patch #12886 by thorne: fixed XHTML problem: the bluemarine theme used a border=0 attribute on the img tag for the site logo. 2004-11-14 19:34:09 +00:00
Dries Buytaert 8daed9cbf3 - Patch #12232 by Steven/UnConed: search module improvements.
1) Clean up the text analyser: make it handle UTF-8 and all sorts of characters. The word splitter now does intelligent splitting into words and supports all Unicode characters. It has smart handling of acronyms, URLs, dates, ...

2) It now indexes the filtered output, which means it can take advantage of HTML tags. Meaningful tags (headers, strong, em, ...) are analysed and used to boost certain words scores. This has the side-effect of allowing the indexing of PHP nodes.

3) Link analyser for node links. The HTML analyser also checks for links. If they point to a node on the current site (handles path aliases) then the link's words are counted as part of the target node. This helps bring out commonly linked FAQs and answers to the top of the results.

4) Index comments along with the node. This means that the search can make a difference between a single node/comment about 'X' and a whole thread about 'X'. It also makes the search results much shorter and more relevant (before this patch, comments were even shown first).

5) We now keep track of total counts as well as a per item count for a word. This allows us to divide the word score by the total before adding up the scores for different words, and automatically makes noisewords have less influence than rare words. This dramatically improves the relevancy of multiword searches. This also makes the disadvantage of now using OR searching instead of AND searching less problematic.

6) Includes support for text preprocessors through a hook. This is required to index Chinese and Japanese, because these languages do not use spaces between words. An external utility can be used to split these into words through a simple wrapper module. Other uses could be spell checking (although it would have no UI).

7) Indexing is now regulated: only a certain amount of items will be indexed per cron run. This prevents PHP from running out of memory or timing out. This also makes the reindexing required for this patch automatic. I also added an index coverage estimate to the search admin screen.

8) Code cleanup! Moved all the search stuff from common.inc into search.module, rewired some hooks and simplified the functions used. The search form and results now also use valid XHTML and form_ functions. The search admin was moved from search/configure to admin/search for consistency.

9) Improved search output: we also show much more info per item: date, author, node type, amount of comments and a cool dynamic excerpt à la Google. The search form is now much more simpler and the help is only displayed as tips when no search results are found.

10) By moving all search logic to SQL, I was able to add a pager to the search results. This improves usability and performance dramatically.
2004-10-31 03:03:27 +00:00
Dries Buytaert 10f329c057 - Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
2004-10-19 18:02:31 +00:00
Steven Wittens 4fe5b52a21 - Fixing problem with tall logos in chameleon.theme. 2004-09-20 14:36:53 +00:00
Steven Wittens d0e13a86dd - #9576 : A last-minute fix for pushbutton in Opera/Konqueror/Safari got lost in the move to the new template system.
http://drupal.org/node/9576#comment-11328
This still suffers from the Safari gamma bug, which we agreed not to cater to.
2004-09-18 01:14:30 +00:00
Steven Wittens 885fdff6de Pngcrush'ed the new pushbutton tab images. 2004-09-17 22:56:48 +00:00
Dries Buytaert e31fef12a4 - Patch #9988 by MegaGrunt: visual improvements to the tabs in Pushbutton. 2004-09-15 20:42:21 +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
Steven Wittens 870cc81607 Tiny tweak to XTemplate CSS: the vertical padding at the bottom of a sticky post should be outside the gray sticky rectangle, not inside it. 2004-08-20 04:43:46 +00:00
Steven Wittens bd96bb77d2 - Fixing incorrect bottom margins for comments in xtemplate default. 2004-08-10 22:55:50 +00:00
Steven Wittens 54d45d6eb7 - #6400 - Nicer arrows for pushbutton template
- Removing gAMA chunk from xtemplate logo.png for less to avoid more gamma issues.
2004-08-05 01:21:15 +00:00
Steven Wittens b382692acb Making the xtemplate logo background transparent to make the Safari gamma bug less obvious. 2004-08-04 17:56:11 +00:00
Steven Wittens ad5e3ebb75 CSS improvements:
- Restoring background coloring for the watchdog logs (was broken)
- Making watchdog backgrounds lighter, makes it easier on the eyes and improves readability.
- Adjusted the spacing between items on the frontpage a bit to be clearer.
- Fixed the vertical stretching of table rows with form controls in them.
2004-07-25 22:18:32 +00:00
Steven Wittens 9f30df2cb5 #6599: XTemplate default: removing whitespace in front of doctype 2004-07-23 17:34:24 +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 3106ddd5df - Bug #8823: fixed typo: '..' -> '.'. 2004-07-07 21:15:11 +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 d2ff1ca54e Changed 'static' back to 'sticky' ... ;-) 2004-06-19 10:45:06 +00:00
Dries Buytaert cbc230a36c - Patch #7696 by TDobes: renamed 'static' to 'sticky' which is a more
logical name.  Requires a database upgrade.
2004-06-19 10:39:36 +00:00
Dries Buytaert c51805aa8a - Patch #8602 by TDobes: changed some 'sticky's back to 'static'. 2004-06-19 10:33:27 +00:00
Dries Buytaert a42b84e5d6 First tab improvements by Adrian:
+ Changed menu.inc to generate two separate lists instead of nested lists:
    that seems to be the only alternative to get rid of absolute positioning.

  + Changed the tabs code to be more sexy and put the code in misc/drupal.css
    so all themes are automagically updated.
2004-06-19 08:24:14 +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 cd48e69b29 - Patches #6863 by Kristjan and Moshe: implemented pretty tables and fixed some tablesort glitches. 2004-06-02 05:35:51 +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 6f2d85186b - Patch #7581 by bylund: made the archive module's calendar accessible. 2004-05-05 18:19:23 +00:00
Dries Buytaert 3117258552 - Various aggregator module improvements. Modified patch by drumm. 2004-04-27 20:10:09 +00:00
Dries Buytaert 1391df9fb3 - Patch #7330 by MegaGrunt: turns primary and secondary link ids into a classes,
and assigns the classes to header and footer.  Also renamed a few elements to
  make them more logical/consistent.  Plus added search id around search area,
  and a few other minor improvements.
2004-04-25 18:23:57 +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 2c37334fcc - Patch #7120 by MegaGrunt: made the title of nodes the same size on home page as on the node page and improved the various header styles to give better visual indication of hierarchy. 2004-04-13 18:12:46 +00:00
Dries Buytaert 91334c437f - Patch #7082 by MegaGrunt: fixed font size and comment spacing. 2004-04-13 04:57:30 +00:00
Dries Buytaert 8324bda48b - Patch #6818 by Kristjan: chameleon theme CSS cleanup. 2004-03-30 22:14:04 +00:00
Dries Buytaert 8ec1d60071 - Patch 6771 by MegaGrunt: blockquote improvements. 2004-03-29 18:41:00 +00:00
Dries Buytaert cc1d535c0a - Patch 6770 by MegaGrunt: IE6 scrambled the layout of nested comments. 2004-03-29 18:12:14 +00:00
Dries Buytaert f2e72f4c7e - Small CSS change 2004-03-21 11:03:31 +00:00
Dries Buytaert 297dc76df0 - Small visual improvement to the profile pages. I'm still not happy with
it and looking forward for some help.
2004-03-20 19:39:45 +00:00
Dries Buytaert 8145c7695c - Tracker and forum module improvements!
Note: the CSS of the tracker page has changed.  Some CSS files still have
  to be updated.
2004-03-20 13:23:34 +00:00
Dries Buytaert 144eacbd95 - Patch 6421 by TDobes: In the recent user.module and profile.module update, a
typo was introduced into xtemplate.theme which prevents the use (specifically,
  the ability to enable) comment pictures (formerly known as avatars).
2004-03-12 21:27:54 +00:00
Dries Buytaert 2101f6c454 - Rewrote the profile module:
+ Added a 'created' field to the users table and renamed the 'timestamp'
     fied to 'changed' (cfr. node table).  Update.php will try to determine
     a 'created' timestamp for existing users.

   + The profile module no longer uses serialized data but has its own set
     of tables.  Known existing profile data is migrated by these new tables.
       TODO: migrate the birthday field.

   + The profile fields can be grouped, and within each group, profile fields
     can be sorted using weights.

   + The profile pages can be themed.

   + The profiles can be browsed based on certain properties/settings.

   + Change the _user hook: (i) 'private_view' and 'public_view' are merged
     into 'view' as there are no private fields and (ii) 'edit_form' has
     been renamed to 'edit'.

   + Avatar handling has been refactored and is now part of the user module.
     The users table has a dedicted 'picture' field.

   + Simplified the way themes should use display/visualize pictures or
     avatars.

   + Made it possible for administrators to replace or delete avatars.

   + ...

  I hope this make for a good base to build on collectively.
2004-03-11 20:33:59 +00:00
Dries Buytaert 8ebedbaa2b - Patch #6260 by TDobes: fixed incorrect alt-attribute for avatar images in
the Xtemplate theme.
2004-03-06 11:07:16 +00:00
Dries Buytaert f69425961c - Patch 6138 by MegaGrunt: this patch creates a repeated background behind
the header logo image, so that multiple lines of text can be added to Primary
  menu without breaking the design.
2004-03-01 19:42:22 +00:00
Dries Buytaert f54aab6a3e - Fixed bug #6048: display footer in theme chameleon. 2004-02-25 22:38:43 +00:00
Dries Buytaert a283a3b7b8 - Patch by Gerhard: move the updates to database/updates.inc so packaging
systems can by-pass update.php.
2004-02-25 22:20:09 +00:00
Dries Buytaert d03a8acfb6 - Patch 6011 by MegaGrunt: the transparent GIF used for the rollover effect
in the header icon is missing. The path for this image is in the XHTML
  file, when the images were moved out of the "image" directory, the XHTML
  file was not updated.
2004-02-23 16:36:32 +00:00
Dries Buytaert c91d036098 - Intitial version of the Pushbutton theme: contributed by MegaGrunt! 2004-02-23 12:55:46 +00:00
Dries Buytaert 750d7c17ab - Fixed the bullet icon. 2004-02-21 22:33:34 +00:00
Dries Buytaert bb823358dc - Patch 5968 by Chris: the background-image line has a superfluous 'pure' in
the pathname, causing the theme to fail to find the background image and
  issue errors to the watchdog log.
2004-02-21 21:31:22 +00:00
Kjartan Mannes 91d3223727 - Another inccorect path. 2004-02-19 20:35:25 +00:00
Dries Buytaert 6248a26783 - Fixed CSS problem in Xtemplate theme. 2004-02-19 20:12:04 +00:00
Kjartan Mannes 4c6b3d103a - Fixing watermark url. 2004-02-19 18:49:16 +00:00
Dries Buytaert fa447981d6 - Moving theme marvin to the contributions repository. Will be replaced by pusbutton? 2004-02-16 18:37:12 +00:00
Dries Buytaert bf459265e6 - Patch #5789 by TDobes: made the avatars link to the user profile. 2004-02-15 21:17:23 +00:00
Dries Buytaert bd78422715 - Patch 5592 by Goba: let drupal_map_assoc() rule. :-)
- Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
2004-02-15 15:19:36 +00:00
Dries Buytaert 4f07deabcb - Changed the directory structure of theme chameleon. Each template is now
in a subdirectory.  This makes it easier to clone/fork an existing theme.
  Modified patch by MegaGrunt.

- Added some help text, reorganized the Xtemplate configuration page, added
  <legend>/<fieldset> tags, fixed a logo bug.
2004-02-15 14:54:39 +00:00
Dries Buytaert b13a4cb2e3 - Changed the directory structure of theme chameleon. Each template is now
in a subdirectory.  This makes it easier to clone/fork an existing theme.
2004-02-15 14:21:37 +00:00
Dries Buytaert d2834d5964 - Made the logo sink to the baseline. 2004-02-13 18:21:35 +00:00
Dries Buytaert d795565c32 - Patch 5789 by TDobes: added avatar support to the Xtemplate theme. 2004-02-11 19:11:59 +00:00
Dries Buytaert fb94e1d7b8 - Small CSS change to make paragraphs more natural. 2004-02-09 06:11:55 +00:00
Dries Buytaert 3b30ca4fc7 - Patch #5418 by hba: made the Xtemplate theme fully translatable. 2004-02-01 21:37:50 +00:00
Dries Buytaert dc938c533b - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,
fixed translation issues in taxonomy module, etc.
2004-02-01 21:04:42 +00:00
Dries Buytaert 786a0cef08 - Fixed bug #5500 by pz: missing alt="" tag in Xtemplate theme. 2004-01-29 20:45:08 +00:00
Dries Buytaert 667022830e - Patch 5140 by Moshe: removed the theme("header") and theme("footer") functions. 2004-01-26 19:05:21 +00:00
Dries Buytaert c20538fae8 - Missing } 2004-01-24 16:27:31 +00:00
Dries Buytaert c3d70557a4 - Fixed table width. 2004-01-24 16:25:41 +00:00
Dries Buytaert 95de30c761 - Some small forum changes. 2004-01-21 22:59:12 +00:00
Dries Buytaert a5b0525afd - Forum module improvements. 2004-01-21 18:34:18 +00:00
Dries Buytaert 6fc2070a22 Patch 5114 by Kjartan:
- 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.
2004-01-14 22:30:09 +00:00
Dries Buytaert 5ac59aacd2 - Applied patch #4949: node_prepare() wastes resources. Patch by Goba. 2004-01-11 20:16:26 +00:00
Dries Buytaert ee305ae144 Round 3 of aggregator improvements:
- 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.
2004-01-11 15:05:21 +00:00
Dries Buytaert 93dd644541 - Fixed typo in CSS. 2004-01-10 16:17:23 +00:00
Dries Buytaert 86f8a25059 Aggregator module improvements:
+ Added some a new theme fucntions to the aggregator to make it possible to
   theme the aggregator page.
 + Removed the <table> and much hardcoded CSS as well as theme("box")-es.
 + Added the aggregator's theme functions to Doxygen's themeable group.
 + Added breadcrumb trails to the aggregator pages.
 + Updated the core themes to take advantages of the improved themeability.

Screenshot:

 http://buytaert.net/temporary/aggregator-makeover.jpg
2004-01-10 15:31:26 +00:00
Dries Buytaert 9352d6abf8 - Fixed default chameleon CSS. 2004-01-07 19:42:12 +00:00
Dries Buytaert e8c7d2e092 - Made it possible to set and display multiple status messages. Modified patch by
Kjartan.
2003-12-30 12:10:51 +00:00
Dries Buytaert 80f34e5ab0 - XHTML improvements: <b> -> <strong>. Patch by Stefan. 2003-12-29 17:14:27 +00:00
Dries Buytaert d9ceafd4ca - Made the chameleon theme display comment authors. Patch by Kjartan. 2003-12-29 11:14:01 +00:00
Dries Buytaert ff14f14d29 - Some CSS improvements and better XHTML (<strong> vs <b>). 2003-12-24 12:15:20 +00:00
Dries Buytaert 8f226513b4 - Removed the "img { border: 0; }"s from the CSS files as this is now part of
drupal.css.
2003-12-22 15:31:54 +00:00
Dries Buytaert 01979d430a - Accessibility improvement: made the search box use the alt-tag. 2003-12-22 14:58:19 +00:00
Dries Buytaert 1c03a57684 - Don't display the title when there is no title. 2003-12-22 11:45:04 +00:00
Dries Buytaert 595c790a9c - CSS improvements by Kristjan: <hr />-tag styling, better fieldset and table row
padding, more subtle color to watchdog special messages.
2003-12-16 07:41:40 +00:00
Dries Buytaert 4a526ca752 - Added a new theme derived from Kristjan's styleswitcher theme. 2003-12-15 20:47:18 +00:00
Dries Buytaert eadda128aa - Fixes another 'xtemplate.inc removes "$xx" from content'. Patch by Ax. 2003-12-15 20:27:56 +00:00
Dries Buytaert 632bb2ac07 - Moved theme UnConeD to the contributions repository. 2003-12-13 19:13:56 +00:00
Dries Buytaert 801dd782f5 - Don't display a breadcrumb trail and title when there is no acitve page title.
This stops the Xtemplate theme from displaying a 'Home' link on the front page.
2003-12-13 18:50:09 +00:00
Dries Buytaert fa2ec338dc - Made sure all status messages start with a capital letter as we don't prefix
them with 'Status:'.
2003-12-13 18:00:51 +00:00
Dries Buytaert c4871f0672 - Added a bullet. 2003-12-13 17:44:21 +00:00
Dries Buytaert 8927151381 - Some first theme Marvin improvements: better CSS, less tables. Borrowed some from
marvin_2k and styleswitcher.  More to come.
2003-12-13 17:37:02 +00:00
Dries Buytaert 970ff02f28 - No Tahoma please. 2003-12-09 21:36:41 +00:00
Dries Buytaert 82233fc076 - Xtemplate improvements by Ax. Patch 190. 2003-12-09 18:55:36 +00:00
Dries Buytaert 1c45f07e57 - Only pad the table elements of certain tables. 2003-12-06 16:55:08 +00:00
Dries Buytaert 8c73699dfc - Slightly increased padding of table elements. 2003-12-06 16:49:32 +00:00
Dries Buytaert 3621d83fda - Small improvement to the padding of static nodes. 2003-12-06 16:39:17 +00:00
Dries Buytaert 8a50107bf7 - Fixed mission statement. 2003-12-06 13:11:17 +00:00
Dries Buytaert d45bf0f1e7 - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with sf, etc. 2003-12-04 20:53:19 +00:00
Dries Buytaert 4e2c0b250e - Introduced a drupal_set_message() and drupal_get_message() function.
Contributed themes and modules need to be updated:
   - modules: status() is no more; use drupal_set_message() instead.
   - themes: use drupal_get_message() to check for status messages and
     visualize them.
2003-12-01 13:45:33 +00:00
Dries Buytaert acf2a34694 - Color-coded static nodes: they'll have a gray background to differentiate
them from non-static nodes and to make the visitor scroll down for fresh
  content.
2003-11-30 15:46:09 +00:00
Dries Buytaert 9e623571fe - Color-coded static nodes: they'll have a gray background to differentiate
them from non-static nodes and to make the visitor scroll down for fresh
  content.
2003-11-30 15:19:23 +00:00
Dries Buytaert c0494c0a2b - Committed phase 4 of JonBob's menu system changes. 2003-11-25 19:26:21 +00:00
Dries Buytaert af5bc7cdef - Made the Xtemplate theme degrade gracefully when CSS is disabled. 2003-11-24 22:39:48 +00:00
Dries Buytaert 26735ac5dd - Committed phase 3 of JonBob's menu changes. Adds an API for modules to
define titles and breadcrumbs for their pages, and updates the theme
  system to display them.
2003-11-23 10:41:04 +00:00
Dries Buytaert 980637265c - Block and theme improvements. Patch by Ax.
+ 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.
2003-11-19 16:13:07 +00:00
Dries Buytaert 3198d786a1 Xtemplate improvements. Patch #154 by CodeMonkeyX.
* Made all theme functions return their output.

 * Removed sidebar configuration options. (Sidebar placement is not configured
   through the block configuration screen.)
2003-11-19 06:39:46 +00:00
Dries Buytaert faed7168e1 - Theme marvin improvements by CodeMonkeyX. Patch #155:
* Made all functions return their output.
   * Made theme compatible with three column layouts.
   * Fixed problem where blocks were not being rendered properly.
2003-11-19 06:21:35 +00:00
Dries Buytaert a0640e66b7 - Improved module loading when serving cached pages. Moshe's bootstrap patch.
- Used legend and fieldset tags for the configuration page.
2003-11-18 19:44:36 +00:00
Dries Buytaert e27df450ab - Fixed FOUC problem using link tag. Patch by Eric Scouten. 2003-11-16 20:04:46 +00:00
Dries Buytaert ca7d8c0221 - Fixed typo in theme Marvin. Patch by Goba. 2003-11-14 20:31:05 +00:00
Dries Buytaert 00666649e8 - Removed the output buffering from the Xtemplate theme. 2003-11-11 13:01:45 +00:00
Dries Buytaert 951b553a98 - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX. 2003-11-09 23:27:22 +00:00
Dries Buytaert 1f273dac01 - Committed stage 1 of the theme system improvements.
Some TODO's:
   * The sidebars of theme Marvin and theme UnConeD look unstyled.
   * CSS-ify theme UnConeD so we can remove the class around the functions.
   * Rewrite theme_init() not to use a class and simplify theme()
     accordingly.
2003-11-08 11:56:33 +00:00
Dries Buytaert ec33266795 - Improvement: made it possible to disable the comment controls and reworded some of the configuration settings.
- Improvement: removed a left-over from Drupal 4.2.0 (dead code).

- Improvement: replaced hard-coded XHTML around the XML icons with class="xml-icon".

- Improvement: removed the custom navigation menus shown at the top of the "user information page" and integrated them in the new navigation block.  The "my account" link in the navigation menu will unfold.  Also removed the "delete account" link/functionality (for now).

- Improvement: fix for "magic quotes" settings.  Patch by Steven.  I also removed check_php_settings().

- Improvement: block themability improvements.  Modified patch from Ax and Steve/CodeMonkeyX.

- Fixed bug #2617: editing user information does not work.  Patch by Kjartan.
2003-10-31 19:34:03 +00:00
Dries Buytaert ad4e4ccb2b - Bugfix: made theme UnConeD call theme_footer(). Patch by Gordon. 2003-10-20 17:13:07 +00:00
Kjartan Mannes c52185b680 - taxo_link always returns array().
- Remove dead code from Marvin theme.
- cleaner node html in Marvin.
2003-10-06 12:21:04 +00:00
Kjartan Mannes 9c0fd0149c - Fixed calling links() error if a node doesn't have any terms defined. 2003-10-06 10:03:14 +00:00
Dries Buytaert 5a667eb580 - Url aliasing improvements. Patch by Matt. See mailing list for more
information.
2003-09-30 17:01:34 +00:00
Dries Buytaert 949a7014df - As of now, the default placement of the Xtemplate theme's sidebar will be
on the left.  This is what people seem to expect.
2003-09-28 15:12:08 +00:00
Dries Buytaert 645d026e09 - Added $Id$ tags. Patch by Chris. 2003-09-25 07:27:22 +00:00
Dries Buytaert 8382ea5459 - Xtemplate improvements by Kristjan:
> no changes in presentation, just a structure changes
>
> - removed inline styles from .xtmpl
> - removed duplicated #header class reference, renamed second one to #content as context$
> - simplified some CSS selectors (tested on IE and mozilla, please test on Opera, if pos$
> - some .class -> #class

Note: tested on Opera; couldn't spot any differences.
2003-09-13 11:23:28 +00:00
Dries Buytaert ee35d9136e - Made the forum module's breadcrumb navigation fully themable. Patch by Nick.
- Changed 'pubdate' to 'pubDate'.  Patch by Kristjan.

- Fixed in Xtemplate theme; don't use return value of node_url() raw and uncut.
  Patch by me.
2003-09-12 18:13:22 +00:00
Dries Buytaert 9113a1ae28 - Fixed bug with taxonomy handling. Bug #2831. Port of patch by Jonathan
Chaffer.
2003-09-11 21:57:39 +00:00
Dries Buytaert 81591038cb - Added a "alt" attribute to the logo for sake of accessibility. 2003-09-10 19:27:49 +00:00
Dries Buytaert accebe358c - Commited Moshe's Xtemplate patch (slighty modified). 2003-09-07 17:51:50 +00:00
Dries Buytaert 1ed2329261 - Xtemplate improvements from Ax: "i find it annoying to have two empty blocks
(a blue - message - and a grey - footer - one) if my site doesn't have neither
  of them set."
2003-08-28 05:35:26 +00:00
Dries Buytaert c485b54555 - Fixed a number of small user experience inconsistencies pointed out by
Keith.
2003-08-23 10:11:10 +00:00
Dries Buytaert 4e2ee96d4c - Removed left-overs from the rating module. Patch by Gerhard. Updated the
PostgreSQL and MSSQL database scheme as well.

- Made sure the update script updates the correct tables when database
  prefixing is enabled.  Patch by Bart Jansens.

- Improved the breadcrumb navigation of the book and the forum module as per
  Keith Instone's suggestions.

- Updated page titles (or block titles) and links to match.  Suggested by
  Keith Instone.

- Added missing 'thread' field to the comment table of the MySQL database scheme.
  Fixes bug #2590.
2003-08-22 17:06:44 +00:00
Dries Buytaert 71ff873d7d - Added path aliasing support to the Xtemplate theme. Patch 98 by Matthias. 2003-08-16 06:31:49 +00:00
Dries Buytaert 5c40037c8e 1) Bugfix: changed INNER JOIN to LEFT JOIN to make forum topics with no comments show on the topic overview page.
2) Beautified the forum module views; rewritten to use the table() rendering functions, X HTML-ified the emitted code, added additional CSS tags, and removed hard-coded markup.  This improves themeabality; it should be able to mimic the view and color scheme of, say, http://www.phpbb.com/.

3) Reorganized forms and links (interactive elements) to improve usability.  Also ensured that the link names and page titles match.

4) Temporary removed container functionality: this simplified the work and eliminated some usability issues.
2003-08-15 15:17:23 +00:00
Kjartan Mannes 48805032c8 - Applied modified version of almaw's 0064 patch: form item attributes.
- Applied modified version of mathias' 0073 patch: node form name.
  $params["options"] is now an array so some contrib modules might
  need minor changes.

- Applied mathhias' 0074 patch: missing access check on who is new
  block.
2003-08-12 20:37:16 +00:00
Dries Buytaert b59094355a - Made the tracker module link to your own posts. Patch 79 from Gerhard.
- Added a permalink to the Xtemplate theme.  Requested by Scott.

- Added pager support to the locale module.
2003-07-09 18:39:46 +00:00
Dries Buytaert 34a859b96c - Bugfix: the message bog was no longer shown because of the "Default front
page" changes.  Patch by Ax.
2003-06-22 06:43:51 +00:00
Dries Buytaert 25081b2103 - Improvement: CSS improvements for the calendar block in theme UnConeD.
Patch #40 by Al.
2003-06-20 05:07:39 +00:00
Dries Buytaert 2f149c56e7 - Fixed some link colors. Patch by Kristjan. 2003-06-18 20:52:24 +00:00
Dries Buytaert 70d1edd8bd - Improvement: more CSS improvements to the Xtemplate theme. Thanks Kristjan
and Al.
2003-06-18 17:40:51 +00:00
Dries Buytaert ec428637a4 - More XHTML-ifications from GmbH. 2003-06-17 21:26:51 +00:00
Dries Buytaert 00baac2c4f - Improvement: made theme Marvin's calendar look better. Patch #16 by Al.
Thanks!
2003-06-16 17:13:33 +00:00
Dries Buytaert ef8735614f - Improvements: XHTML-ifications. Patch by GmbH. See feature #1813. 2003-06-16 17:09:23 +00:00
Dries Buytaert eb030cb9d8 - Improvements: XHTML-ifications. Patch by GmbH. 2003-06-15 19:06:25 +00:00
Dries Buytaert d95499bf03 - Bugfix: small Xtemplate fixes. Patch by Ax. (Slightly modified.)
- Bugfix: block patch fix.  Patch by Gerhard.

- Bugfix: fixed broken URL in ping.  Patch by Gerhard.

  (This should fix the problems shown on http://www.blo.gs/info.php?id=1515.)

- Improvement: added better password generator.  Patch #1 by Al.  Fixes bug
  #1935.

- Improvement: performance improvement to the blog module.  Patch by Marco.
2003-06-13 17:34:18 +00:00
Dries Buytaert 1a2576036b - Bugfix: charset fixes/clean-up. Patch #52 by Al.
- Improvement: renamed some theme functions of the forum module for sake of consistency/readability.  Patch #2 by Kristjan.

- Improvement: usability improvements to the Xtemplate theme.  Patch #3 by Kristjan.

- Improvement: CSS'ified the book module pages.  Patch #3 by Al.  (I simplified the "l
ocation" part.  Al's approach gave you a bit more power but I'm not sure anyone wants
to change that.  Besides, this will change as soon we integrate the menu system so I kept it easy for now.)
2003-06-12 17:24:06 +00:00
Dries Buytaert f60135d2d6 - The calendar block was somewhat cramped compared to the rest of the site's layout. Adding a small padding. 2003-06-07 16:02:00 +00:00
Dries Buytaert 7f95b768ff Usability improvements to the Xtemplate theme by Kristjan and Al:
- added a subtle lineheight to nodes and #message

- removed specific link colors for taxonomy terms and node links. Found it confusing, specially in context with a:visited color.

- added a gray background, border and padding for <pre> tag, to make Drupal documentation pages more nicer.

- nested search form into <div>s in order to validate as XHTML Strict. Modified patch by Alastair.

- incorporated all of Alastair's patches to replace px-based padidngs with em-ones

- fixed the footer font size and Y-centered it

- removed class from seach <form>, put it in the surrounding <div> instead

- added class for submit

- simplified the search box's CSS, it is looking much more cleaner now
2003-06-06 18:11:40 +00:00
Dries Buytaert 3998bfad45 - Bugfix: the Xtemplate theme didn't check whether the taxonomy was enabled.
Patch by Ax.
2003-06-06 17:24:24 +00:00
Dries Buytaert 355d25e73d - Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco.
==> This fix requires to run update.php!

- Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register().  This fixes critical bug #1797.  Patch by Marco.

- Bugfix: sometimes error messages where being discarded when previewing a node.  Patch by Craig Courtney.

- Bugfix: fixed charset problems.  This fixes critical bug #1549.  Patch '0023.charset.patch' by Al.

- Code improvements: removed some dead code from the comment module.  Patch by Marco.

- Documentation improvements: polished the node module help texts and form descriptions.  Patch '0019.node.module.help.patch' by Al.

- CSS improvements all over the map!  Patch '0021.more.css.patch' by Al.

- GUI improvements: improved the position of Druplicon in the admin menu.  Patch '0020.admin.logo.patch' by Al.

- GUI improvements: new logos for theme Marvin and theme UnConeD.  Logos by Kristjan Jansen.

- GUI improvements: small changes to the output emitted by the profile module.  Suggestions by Steven Wittens.

- GUI improvements: small fixes to Xtemplate.  Patch '0022.xtemplate.css.patch' by Al.

TODO:

- Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register().  They should be updated.  We should setup a task on Drupal.

- There is code emitting '<div align="right">' which doesn't validate.

- Does our XML feeds validate with the charset changes?

- The forum module's SQL doesn't work properly on PostgreSQL.
2003-06-04 18:24:39 +00:00
Dries Buytaert 05288ac48a - Bugfix: made request_uri() rewrite ( and ) with their entity equivalents
to avoid XSS attacks!  Patch by Al, Moshe, Marco, Kjartan and me.

- Bugfix: the admin module does now import drupal.css prior to admin.css.
Patch by me.

- Bugfix: the admin module was still emitting a <base href=""> tag.  I
removed this as it is been taken care of by theme_head();  Patch by me.

- Bugfix: made the tracker module's pager only consider published pages.
Patch by Moshe.

- Bugfix: cured some typos in the comment module's help function.  Patch by
Marco.

- Bugfix: fixed a typo in the pager_display() that caused optional
attributes to be discarded.

- Bugfix: made the Xtemplate emit empty boxes like any other theme does.
Patch by Al.

- Bugfix: fixed broken link on the statistics module's log page.
Reported by Kjartan.

- CSS improvements: made the HTML output emitted by the tracker module
look nicer.  Patch by Moshe and Al.

- CSS improvements: added CSS classes for form elements.  Patch by Al.

- CSS improvements: added a vertical gap between the last form item and the
submit button.  Patch by Al.  Note that Opera 6 is not picking up this
CSS but apparently others browsers such as Konqueror do.

- Xtemplate improvements: changed the color of the selected day in the
archive module's calendar.  Patch by Al.

- Usability improvements: made the "birthday" field of the profile module
look nicer.  Patch by Al.

------

- TODO: it might be a good idea to emit the following meta tag in the
theme_head() function:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Currently, some themes (and modules!) emit this while others don't.  This
would also make it possible to change the charset site-wide.

- TODO: now we added support for td.dark and td.light to drupal.css, maybe
it can be removed from admin.css as well as xtemplate.css?
2003-06-03 18:04:47 +00:00
Dries Buytaert c9bdea34e3 - Made all CSS definitions look alike. 2003-06-01 18:11:27 +00:00
Dries Buytaert 39f6a9e79a - CSS improvements to the calendar of the archive module. Updated the Xtemplate
theme and theme Marvin to take advantage of this.  Patch by Al.  Pretty stuff.
2003-05-31 12:42:02 +00:00
Dries Buytaert d00c957113 - Import the theme specific stylesheet after importing drupal.css. 2003-05-30 07:33:37 +00:00
Dries Buytaert 514a1a96ed - Remove the <base href="">-tags from the themes; these are being added by
theme_head().
2003-05-30 05:49:57 +00:00
Dries Buytaert f7e11d3bb7 - The check_output()s slipped back in. Removing them again. 2003-05-29 10:16:11 +00:00
Dries Buytaert 3f2dd95405 - Theme improvements by Al, with help from Nick: stylesheet improvements,
XHTML-ified theme UnConeD, etc.
2003-05-29 00:36:23 +00:00
Dries Buytaert 562acf8b6a - Theme maintenance: moved CSS to separate stylesheet, updated to use relative
font sizes, etc.  Thanks Al.
2003-05-27 21:03:48 +00:00
Dries Buytaert d8f78a7c95 - Removed check_output() from the theme system layer. 2003-05-26 19:50:39 +00:00
Dries Buytaert a1c0d41681 - Added option to control placement of sidebar(s). 2003-05-18 13:22:00 +00:00
Dries Buytaert d90c5a3a42 Patch by Ax:
- Show sidebar only if there is at least one block.

- Remove xml prolog; fixes http://lists.drupal.org/pipermail/drupal-devel/2003-May/024484.html.
2003-05-15 18:09:19 +00:00
Dries Buytaert 1c84b56e8e - Forgot this one. Patch by Ax. 2003-05-15 09:18:13 +00:00
Dries Buytaert b019f4e5fd - Another batch of theme improvements by Ax.
(Al: your additional patch did not apply.  Will look into that later.)
2003-05-15 05:00:02 +00:00
Dries Buytaert ef703e802b - CSS fixes by Al. 2003-05-14 19:00:11 +00:00
Dries Buytaert c2d2fb7309 - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.
- Fixed a typo in the MSSQL database scheme.  Patch by Michael Frankowski.

- Removed dependency on "register_globals = on"!  Patches by Michael Frankowski.

  Notes:

  + Updated the patches to use $foo["bar"] instead of $foo['bar'].
  + Updated the INSTALL and CHANGELOG files as well.

- Tiny improvement to the "./scripts/code-clean.sh" script.
2003-05-13 18:36:38 +00:00
Dries Buytaert 13ffd89568 - More little tweaks. Looks like the links no longer right align on IE.
Sigh.  Thoughts?
2003-05-11 12:49:53 +00:00
Dries Buytaert ccd20686e0 - Added character encoding.
- <div> is not allowed within <span>.

- Reworked the header: the alignment/wrapping of the primary and secondary links actually works now and is a tad simpler.
2003-05-11 12:39:11 +00:00
Dries Buytaert f8c44e02bb - Fixed some broken links. 2003-05-11 06:44:49 +00:00
Dries Buytaert 648f1e00a7 - Applied Ax's Xtemplate footer patch though shuffled around a bit with the
variable names.
2003-04-25 19:41:00 +00:00
Dries Buytaert 716e833a6e - Update Xtemplate theme to support the onload attribute (was not included in
Gordon's patch).

- Updated CHANGELOG.
2003-04-21 14:03:57 +00:00
Dries Buytaert b505b5ab65 - Committed Gordon's htmlarea patch. 2003-04-21 13:56:09 +00:00
Dries Buytaert 615f5bb921 - Made it so that the xtemplate engine can only be included once. Patch by
Ax.
2003-04-13 16:06:24 +00:00
Dries Buytaert 45276202cc Patch by Ax:
- Bugfix: xtemplate.inc removed "$xx" from content.

- Improvement: changed a high ascii char to low ascii to be able to debug
  xtemplate.inc.
2003-04-04 06:08:53 +00:00
Dries Buytaert 1857845586 - Some visual improvements. More suggestions welcome. 2003-03-15 20:01:58 +00:00
Dries Buytaert f89d341d11 - Another attempt to get the font size right. Al, Ax: better now? 2003-03-13 20:12:04 +00:00
Dries Buytaert 4c7bd41a74 - Made the xtemplate theme support the td.dark and tr.light tags emitted
by the table rendering functions.

- Made the font-size in the sidebar a bit smaller to avoid excessive
  wrapping.  Requested by Al.
2003-03-12 20:31:02 +00:00
Dries Buytaert 3aba0fda70 - Fixed typo: <base url=> --> <base href=>. Patch by Moshe. 2003-03-07 17:32:58 +00:00
Dries Buytaert ffc893d55a - Changed 'node($node, $main)' to 'node($node, $main = 0)': cures a warning. 2003-03-06 19:38:22 +00:00
Dries Buytaert 704dd81b32 - Fix by Michael; see mailing list archives. Better now? 2003-03-03 22:13:59 +00:00
Dries Buytaert 9d0c8efc42 - More improvements. 2003-02-27 23:47:26 +00:00
Dries Buytaert c09ab23b2e - Some bugfixes:
+ Made the sidebar stick to the right.
   + Corrected the size of the header-tags: they are in proportion now.
2003-02-26 21:50:38 +00:00
Dries Buytaert a543c16166 - Small CSS improvement. 2003-02-26 07:44:48 +00:00
Dries Buytaert 53deeb188a - Small improvement to header width. Suggested by Ax. 2003-02-20 22:29:01 +00:00
Dries Buytaert 57ebd696c7 - Added missing footer logic. Patch by Ax. 2003-02-19 22:30:12 +00:00
Dries Buytaert 52314ddc32 - Theme options patch. See mailing list. 2003-02-17 22:33:31 +00:00
Dries Buytaert d038729797 - Clean URLs. 2003-02-14 19:52:45 +00:00
Dries Buytaert 9281d0cdd7 - Applied Alastair's date patch.
- Removed all instances of '$user->nodes'.

- Committed Moshe's taxonomy patch - minus the node_compact_list() bit.  It needs a bit more thought/work.  This patch changes the links of taxonomy pages/feeds so update your custom code and themes accordingly!

Themes should now use "taxonomy_link("taxonomy terms", $node)" to get an array of taxonomy term links.  The old construct is deprecated and should be changed.

// old theme blob:
if (function_exists("taxonomy_node_get_terms")) {
  foreach (taxonomy_node_get_terms($node->nid) as $term) {
    $terms[] = l($term->name, NULL, array(), "or=$term->tid");
  }
}

// new theme blob:
if (module_exist("taxonomy")) {
  $terms = taxonomy_link("taxonomy terms", $node);
}

// old URL:
http://foo.com/index.php?or=1,2

// new URL:
http://foo.com/?q=taxonomy/page/or/1,2
2003-02-09 17:39:40 +00:00
Dries Buytaert c97e7fe180 - Small improvements to help people getting started with the xtemplate
theme.
2003-02-09 08:10:07 +00:00
Dries Buytaert cfd31c93f1 Patch by Ax:
- Bad usage of css ID's: they may be used for a single element only,
but were used as #node, #block, which can occur multiple times in a
single page.

- Moved HTML from theme to template - thats what templates are all
about!

- Added support for head() hook

- Added support for diffentiating between boxes and blocks.

- Typo: secundary -> secondary
2003-02-01 19:54:19 +00:00
Dries Buytaert 2436dfbccf - Bugfix: removed the call to comment_moderation. 2003-01-29 23:29:01 +00:00
Dries Buytaert dc3940cc3d Patch by Ax:
- Removed the XML prolog from xtemplate.xtmpl because some browsers have difficulties with it and it's not required. see http://webstandards.org/learn/reference/prolog_problems.html.

  - Fixed the term link.
2003-01-21 05:45:52 +00:00
Dries Buytaert 8b6d92fc69 - Added a template driven theme. 2003-01-20 21:00:31 +00:00
Dries Buytaert 7e80b04c2c - Removed theme goofy from CVS. 2003-01-20 20:56:34 +00:00
Dries Buytaert 56d0434f82 - Fixed bug in update of taxonomy links. 2003-01-06 21:43:07 +00:00
Dries Buytaert 2647a943f0 - Forgot to update the taxonomy links. Reported by Adam. 2003-01-06 21:24:21 +00:00
Dries Buytaert de95001c92 - Tidied up the use of check_output(). Might make rendering pages a bit
snappier (performance improvement).
2002-12-31 12:34:07 +00:00
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00
Dries Buytaert eceead1819 - Removed the "comment anchors" in the themes; the anchor is emitted
by the comment module.  Patch by Ax.
2002-12-10 20:14:10 +00:00
Kjartan Mannes 15f1a61197 - changing theme patch. Now Drupal will init the $this->path automatically. 2002-11-17 16:32:03 +00:00
Kjartan Mannes 64f8781f78 - made the themes path aware. If your theme creates a constructor function it
will now be passed the filename as the first parameter.
2002-11-16 18:06:32 +00:00
Dries Buytaert a6a47a3257 - Applied Moshe's "theme head" patch:
"This patch to theme.inc adds the ability for modules to insert HTML
   into the <HEAD> section of all web pages. The additional modules in
   this directory [ed: blog.module] demonstate possible uses for the
   new _head() hook."
2002-11-09 16:24:46 +00:00
Kjartan Mannes 455eec7e41 - more short tags. 2002-09-08 18:32:28 +00:00
Steven Wittens e128899832 Theme update:
Got rid of the drop.org logo's in the themes and replaced them with the Drupal logo.
2002-06-01 23:17:05 +00:00
Steven Wittens 139a2fa37c UnConeD.theme
Removed 'nowrap' from box titles
2002-06-01 20:33:51 +00:00
Dries Buytaert 38aaf5f35d - Added missing translations and the like. 2002-05-31 20:29:30 +00:00
Dries Buytaert 73f9ffc8f4 - Removed a "nowrap" attribute to make theme Marvin look better on IE6.
(Suggested by UnConed.)

- Made theme Marvin support the taxonomy module.
2002-05-24 21:29:33 +00:00
Steven Wittens 037ad05475 Forgot to use l() for the taxonomy links. 2002-05-20 18:52:21 +00:00
Steven Wittens bf2b4f0b45 Added taxonomy support to themes Goofy and UnConeD 2002-05-20 11:48:24 +00:00
Steven Wittens 30066738c6 Fixed typo (td after tr) 2002-05-09 11:12:13 +00:00
Dries Buytaert 8043cb998f - Applied Marco's big patch, including contributions from Moshe:
+ Changed the db_query() API.

    + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions.

    + XHTML-ified some HTML.

    + Wrapped a lot of text in the administrative pages in a t()
      function.

    + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri().

    + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg.
      RSS code).

    + Fixed some bugs in the taxonomy module (eg. tree making bug), added
      new functionality (eg. new APIs for use by other modules), included
      Moshe's taxonomy extensions, and some documentation udpates.

    + ...
2002-04-20 11:52:50 +00:00
Dries Buytaert d8cd54969c - Added Marco's long-awaited taxonmy module and patches - a replacement
for the meta system.  The patches add some extra functionality to the
  comment system (for example, comments can be set read-only) and fix a
  couple of small problems.

  + I integrated the required SQL updates from the varius *.mysql files
    into the "update.php" script.  Upgrading should be easy ...

  + I did not apply/commit the "user.diff" as requested by Marco ...

  + I didn't know what to do with "forum.module" and "forum2.module":
    what do you want me to do with it Marco?  Which one should go in?

  + Can we remove "node_index()" now; both from "node.module" and the
    themes?

  + Thanks Marco!
2002-04-14 20:46:41 +00:00
Kjartan Mannes 6c0db2de16 - modified the SQL update to lowercase all user theme settings to let them
keep their settings.
- Change author fields in marvin and example theme. Dries is picky about his
  name ;)
2002-04-14 19:59:39 +00:00
Kjartan Mannes 5592761620 This is a major change to the system, needs more testing!
Committing Changes by Moshe Weitzman:
- admin_user_account(), user_edit(), and user_view() no longer have any
  hard code for authentication modules. instead authentication modules
  implement the _user hook.
- fixed a couple 'help' typos.
- linked the 'REGISTER' text in the login block to the register page.
  this page now advertises DA better if site employs DA.
- admins may now edit everything about a user account (was a feature
  request).
- user #1 may now login immediately, in addition to receiving his
  password via email.

Other changes:
- modules and themes are now enabled/disabled in the administrative /
  settings / modules | themes pages. Requires SQL update and things must
  be enabled before your site returns to normal. TODO: enable all
  functionality. (For now just do UPDATE system SET status = 1;)
- removed $themes from conf.php.
- added a $theme->system() function where theme can specify settings.
  All themes in the Drupal CVS have been updated to use this.
- added _system hook to modules. TODO: update modules to use this.
- changed strange use of sprintf to the usual strtr. The disadvantage of
  sprintf is that it requires translations to keep the string order,
  which may not be possible in all languages.
- an invalid/nonexisting theme in a user profile will now fallback to the
  BaseTheme instead of crashing.
2002-04-14 19:34:04 +00:00
Kjartan Mannes 9062b566b2 - applying patches from Axel Kollmorgen. See
http://list.drupal.org/drupal-devel/2002-February/thread.html#6678
  http://list.drupal.org/drupal-devel/2002-February/thread.html#6629
- removed references to $this->user() from themes.
- removed $BaseTheme->user(). It was deprecated a while back.

NOTE: this update will break custom themes, so make sure you update your
themes before updating!
2002-02-17 13:04:50 +00:00
Dries Buytaert 76cc8be622 - Removed theme "Trillian": it sucked. 2001-12-27 15:18:54 +00:00
Kjartan Mannes 44732b1c44 - fixed a parse error in the marvin theme 2001-12-16 01:28:41 +00:00
Steven Wittens 32ed753e0b - Reversed the $title - $sitename order in the title to be the same as the other themes. 2001-12-15 22:31:32 +00:00
Steven Wittens e28981f072 - Updated BaseTheme and the Drupal themes to have header($title = "") as the header declaration and use title when provided. This is just a step towards having unique titles.
In all themes, except Marvin which already had $title, I put the $title first, because it's usually the thing the page is about:

"The future of weblogs? - Drop.org"
"Your account settings - Drop.org"

rather than the other way around, right?
2001-12-15 16:22:31 +00:00
Dries Buytaert 5a9c77e8e1 - Display the current node's title in the <title></title>-tag. 2001-12-02 21:46:12 +00:00
Dries Buytaert c6a9f758ad - marvin.theme updates:
+ Some improvements to make it look better on Windows.  I don't
      have Windows though so I can't really test it.

    + Fixed the character encoding and the doctype, and polished on
      the XML well-formedness of the theme.
2001-11-25 14:40:40 +00:00
Kjartan Mannes f5be5fdfa4 - modified node_save so that revisions are not validated using check_input,
as this breaks revisions.
- modified link_node() to take a third parameter $main, which will be passed on
  to _link hooks. This lets modules decide which links a node will get when
  shown on the main page, or when not.
- updated themes to use the new syntax.
2001-11-23 17:10:46 +00:00
natrak dcf8e14a60 - modified node_save so that revisions are not validated using check_input,
as this breaks revisions.
- modified link_node() to take a third parameter $main, which will be passed on
  to _link hooks. This lets modules decide which links a node will get when
  shown on the main page, or when not.
- updated themes to use the new syntax.
2001-11-23 17:10:45 +00:00
Steven Wittens 8ae1611c40 Removed some 'debug' stuff :P 2001-11-17 15:08:26 +00:00