Commit Graph

58 Commits (994d9cf55d7554023bfa8c3358016c54f7cba4ed)

Author SHA1 Message Date
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 6248a26783 - Fixed CSS problem in Xtemplate theme. 2004-02-19 20:12:04 +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 d795565c32 - Patch 5789 by TDobes: added avatar support to the Xtemplate theme. 2004-02-11 19:11:59 +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 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 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 01979d430a - Accessibility improvement: made the search box use the alt-tag. 2003-12-22 14:58:19 +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 82233fc076 - Xtemplate improvements by Ax. Patch 190. 2003-12-09 18:55:36 +00:00
Dries Buytaert 8a50107bf7 - Fixed mission statement. 2003-12-06 13:11:17 +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 c0494c0a2b - Committed phase 4 of JonBob's menu system changes. 2003-11-25 19:26:21 +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 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 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 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 71ff873d7d - Added path aliasing support to the Xtemplate theme. Patch 98 by Matthias. 2003-08-16 06:31:49 +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 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 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 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 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 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 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 ffc893d55a - Changed 'node($node, $main)' to 'node($node, $main = 0)': cures a warning. 2003-03-06 19:38:22 +00:00