Commit Graph

673 Commits (5fc06cec4c440ac21b3913c0c9b0c892a6091bb9)

Author SHA1 Message Date
Dries Buytaert b75ed3f604 - Patch #34922 by Robert: order variables alphabetical. 2005-10-23 09:58:43 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Steven Wittens 3fad92fc59 - #34645: Make $links in theme_comment consistent with theme_node (Stefan) 2005-10-20 09:27:36 +00:00
Dries Buytaert a1ae4da70b - Removing tabs and trailing whitespaces. 2005-10-07 06:51:43 +00:00
Dries Buytaert 7e1527ee61 - Patch #29465: new form API by Adrian et al.
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.
2005-10-07 06:11:12 +00:00
Dries Buytaert d995621f2e - Patch #27781 by Robert Jacques: fixed node not being loaded. 2005-09-09 05:32:31 +00:00
Dries Buytaert 013b73e6ec - Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert 3ace768e50 - Patch by Rober: better fix for the extract() namespace problem in phptemplate.engine. 2005-09-04 13:52:08 +00:00
Dries Buytaert 0094e99b87 - Patch #28576 by Robrecht Jacques: 'file' is a reserved variable. 2005-09-04 13:13:31 +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 5aa2bad948 - Patch #29283: bluemarine mistakenly loads home page every time. 2005-08-24 15:28:53 +00:00
Dries Buytaert 26fa7c730f - Patch #16216 by nedjo: multiple block regions! 2005-08-16 18:06:18 +00:00
Dries Buytaert 6baa2ba140 - Patch #26637 by Robert Douglas: he documentation to theme_node clearly says the the parameter $teaser is "Whether to display the teaser only, as on the main page." Naming this parameter $main in the themes is confusing. 2005-08-10 20:55:59 +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
Steven Wittens 7782b1aca7 - #27844: Simplify pushbutton link generation. 2005-08-05 00:34:32 +00:00
Steven Wittens 5e7258d5f0 - Readding FOUC-preventing script tag 2005-08-02 18:12:11 +00:00
Dries Buytaert 8e629cd875 - Patch #27840 by Tobias: removed unnecessary script-tag from template. 2005-08-01 05:21:45 +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
Steven Wittens 563c00c92c - Oopsie 2005-07-30 20:54:02 +00:00
Steven Wittens 017e3d148a - #27794: Alphabetize phptemplate variables 2005-07-30 17:13:48 +00:00
Steven Wittens 6a988f92d4 - Get rid of useless global $theme declaration. 2005-07-30 11:20:17 +00:00
Steven Wittens 0af4707003 - #27346: Don't display trailing | in page title with empty slogan. 2005-07-25 06:59:37 +00:00
Dries Buytaert 28c72cd89d - Some fixes and some redundant code removed. 2005-07-17 19:59:00 +00:00
Dries Buytaert 7c61046a94 - Patch #24862 by chx: flatten the node object's member fields.
Also replaced some double quotes by single quotes.
2005-07-17 19:52:10 +00:00
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