Commit Graph

46 Commits (ceb346b7414abc6e85d195b32546a351726d1360)

Author SHA1 Message Date
Dries Buytaert f6cdee1e14 - Patch #81554 by m3avrck: remove legacy archive CSS. 2006-08-31 07:28:14 +00:00
Neil Drumm e57fac565a #65151 by m3avrck. theme_links() is now marked up as a list. 2006-08-30 07:37:14 +00:00
Dries Buytaert 3c30ae6715 - Patch #80979 by stefan/ma3vrck: move colors from admin.css to themes. 2006-08-28 07:56:21 +00:00
Dries Buytaert 4ffdd6dfe6 - Patch #80717 by jeff/ma3vrck: clean up admin css. 2006-08-27 07:44:55 +00:00
Neil Drumm a58d877108 #66569 by m3avrck. Put all the feed icons in the same place. 2006-08-23 05:55:38 +00:00
Dries Buytaert a8de1e92d7 - Patch #76637 by timnc: streamline JavaScript addition and add settings storage. 2006-08-22 09:00:31 +00:00
Neil Drumm f2837eed28 #60453 by Flanker, CSS cleanup. 2006-05-23 02:11:17 +00:00
Steven Wittens 8b04c7f0db #51002: Admins could not see unpublished comments (plus minor usability enhancements for previewing/unpublished) 2006-04-15 04:07:18 +00:00
Steven Wittens ee207b4869 #56915: Align search form in pushbutton and bluemarine (Zen) 2006-04-03 22:20:48 +00:00
Gerhard Killesreiter 84cb44c698 #51153, Boxes may be themed without a title; don't spit the header., patch by Morbus 2006-02-27 22:39:24 +00:00
Dries Buytaert dcb092e627 - Patch #46927 by markus/killes: added missing t() functions. 2006-02-01 16:04:03 +00:00
Dries Buytaert 81660bc662 - Patch #13148: fix problems with using relative path names! (Please document this change.) 2006-01-29 07:36:29 +00:00
Dries Buytaert 9c4d4fe7b2 - Patch #45228 and patch #45025 by m3avrck and Uwe: aggregator module HTML/CSS cleanups. 2006-01-20 09:09:18 +00:00
Dries Buytaert 56d0d76f0f - Patch #27884 by gordon: js addLoadEvent not working. 2006-01-20 08:54:07 +00:00
Dries Buytaert 630e820ed0 - Patch #45446 by jakeg: don't generate empty >> 2006-01-19 10:29:12 +00:00
Dries Buytaert 764f1177ef - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty(). 2005-12-14 20:10:45 +00:00
Dries Buytaert 132517a8cb - Patch #22215 by Richard Archer: theme system improvements for the primary links menu. 2005-11-04 08:17:22 +00:00
Dries Buytaert ea53aad7c8 - Patch #22215 by Richard Archer: refactored primary and secondary links.
Deprecates the primary_links module.

  This patch was much needed.  Thanks Richards!

  NOTE: if some themers could investigate if there is room for improvement
        with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert 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 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
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
Steven Wittens 6a988f92d4 - Get rid of useless global $theme declaration. 2005-07-30 11:20:17 +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 48d3ef6040 - Get rid of double node title in Bluemarine PHPTemplate 2005-05-25 04:57:48 +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 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 66f228f2b4 - Adding paragraph margins which were removed from drupal.css 2005-03-05 14:34:39 +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
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
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 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