Commit Graph

282 Commits (ad9b03033a2bfcbb4cb0b7d64698d6b12a57e13f)

Author SHA1 Message Date
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
Dries Buytaert 03c670a414 - removed trailing whitespaces 2001-11-12 20:15:51 +00:00
Steven Wittens 4bcc1c23e7 Updated Goofy: added a few explicit styles such as "font-weight: normal;" and "text-align: left" to make IE6 behave good again. 2001-11-11 04:11:04 +00:00
Dries Buytaert e205fee081 - Changed the Druplicon logo (courtesey of UnConeD) 2001-11-01 20:51:43 +00:00
Dries Buytaert 336b713a5f - A large batch of updates, amongst them a rewritten node system. More
information available on the mailing list.
2001-11-01 11:00:51 +00:00
natrak e7fd76a1c9 - added the CVS keyword $Id$ to all files to make future version tracking
easier. Also changed the <? tag to <?php in some cases.
2001-10-20 18:57:10 +00:00
Kjartan Mannes 864c18d4c3 - added the CVS keyword $Id$ to all files to make future version tracking
easier. Also changed the <? tag to <?php in some cases.
2001-10-20 18:57:09 +00:00
Dries Buytaert 0a4d2a5588 - Updated example.theme: it's being reduced to a minimum as it can inherit
most/all of its functions from the BaseTheme.
2001-10-20 13:37:30 +00:00
Dries Buytaert 47c6fce5ce - added a comment() function to the base theme: you don't have to overload
it in your custom themes

- moved 'theme_account()' to the base theme as '$theme->user()' so that it
  can be themed.
2001-10-07 12:27:58 +00:00
Dries Buytaert 458f95104c - Added a new theme! 2001-10-07 12:16:54 +00:00
Dries Buytaert 12e8aa66e4 - Moved theme 'jeroen' and 'yaroon' to drupal-contrib. 2001-10-06 21:34:56 +00:00
Dries Buytaert ef3de8e1ec - fixed bug in theme unconed 2001-09-23 06:36:27 +00:00
Dries Buytaert 5a6a4206b9 - fixed HTML/XHTML typos 2001-09-21 21:10:47 +00:00
Dries Buytaert 2d1e9126cb - Added the new user module! 2001-09-16 11:33:14 +00:00
Dries Buytaert 3f0d37484f - added UnConeD's drupal.png to the development branch 2001-09-16 11:25:08 +00:00
Dries Buytaert 676475d9ea - Fixed a bug in theme UnConeD 2001-09-13 06:54:06 +00:00
Dries Buytaert ec1fa56a22 - Added new Drupal logo made by UnConeD. 2001-09-12 20:38:10 +00:00
Dries Buytaert be8a911787 - small collection of visual improvements I added the past days to make
theme marvin display on Mozilla and Opera: hopefully it looks nice on
  IE as well.
2001-08-24 15:40:24 +00:00