Commit Graph

583 Commits (dd7b44c4179b39788a1a6d9b3f0cd4eba0410f0e)

Author SHA1 Message Date
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
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
Jeroen Bensch 9bb0f9fa54 Hey,
This is a more up-to-date version of "Yaroon". Glad some people are actually using it. If you encounter any bugs just drop them in my personal mailbox or fase them through to the mailinglist and let everyone know that I can't commit anything that, more or less,... works.

Greets,

Jeroen.
2001-08-18 16:10:47 +00:00
Dries Buytaert 808b6b6cae - Changed the authentication and login scheme as discussed on the mailing
list.
- Fixed the export function in book.module (patch my Julian).
- Fixed the comment alignment (comments got truncated).
2001-08-11 14:54:39 +00:00
Kjartan Mannes 491550531f common.inc
- format_username() now takes a second optional parameter which gives the
  real name of the user.

Rest
- updated the calls to format_username() where appropriate to show the name
  of the user instead of the account id. Clicking on a name will still give you
  the account info etc. If you find a place where the real name is not shown
  let me know.
2001-07-25 12:21:49 +00:00
natrak d016fb14f4 common.inc
- format_username() now takes a second optional parameter which gives the
  real name of the user.

Rest
- updated the calls to format_username() where appropriate to show the name
  of the user instead of the account id. Clicking on a name will still give you
  the account info etc. If you find a place where the real name is not shown
  let me know.
2001-07-25 12:21:48 +00:00
Dries Buytaert 8271f6c361 - A lot of (a) visual and (b) navigational improvements to import.module. 2001-07-14 19:02:36 +00:00
Dries Buytaert b99d4d7a42 - theme system:
+ added $theme->images()

- blog.module:
    + improved user-friendliness and rewrote most of the output routines
    + made quoted text /italic/ by default
    + integrated discussion system like it should
    + ...

- marvin.theme:
    + small visual improvements
2001-07-14 12:12:41 +00:00
Steven Wittens e62e3417f7 Update of the box function in themes to allow a difference in style/output/look of a box() depending on the position on the page.
Basically this is a 'nice version' of a hack that you could do as a theme author.
I've updated all the standard themes, but 3rd party themes will of course have to be updated by their authors, in the following manner:

- Replace the box() declaration:
< function box($subject, $content) {
> function box($subject, $content, $region = "main") {

- Replace the theme_account call:
< theme_account($this);
> theme_account("region", $this);

Note that you'll have to replace "region" with the correct region that the box is placed in. However if you have a one-column theme, you should use "all", and not for example "left" (if all boxes are on the left).
Usually the "region" here should be the same as the nearest theme_blocks() call.

Those theme authors who want to can make boxes that appear in the center look different from those that appear in the sides for example.
2001-07-14 01:01:45 +00:00
Steven Wittens 95a818107d - Made horizontal rulers flat instead of 3D 2001-07-13 22:40:29 +00:00
Steven Wittens d7684e4757 - Made the font in the links bar a bit smaller to accomodate for the increase in links lately 2001-07-13 22:19:05 +00:00
Steven Wittens 54e1557e1b - Increased width to 100% to reduce wasted space (and that link bar at the top was getting too wide) 2001-07-13 22:00:18 +00:00
Dries Buytaert adfbda3d9a - Tidied up some stuff in account.php and theme.inc.
- Tidied up the box() API.
2001-07-07 11:14:25 +00:00
Steven Wittens 712e38a852 Made the links bar at the top and bottom smaller, to accomodate for the longer link texts. 2001-07-03 12:32:53 +00:00
Dries Buytaert e6a67118eb - Made search.php a module, being search.module.
- Updated the permission names to be more consistent.

- Small improvement to node.php.
2001-06-30 09:50:36 +00:00
Dries Buytaert 9c43e8fc7a Extremely large commit:
- Fixed tiny quote problem in account.php.

- Fixed tiny bug in comment.inc.

- Fixed tiny bug in comment.module.

- Fixed tiny bug in meta.module.

- Simplified user_access() API.

- Rewrote link system: still needs fine-tuning and testing so don't
  upgrade if you are running a production site. ;)

  Updated all modules and themes to reflect this change.  All other
  themes and modules need updating too!
2001-06-29 22:08:57 +00:00
Steven Wittens 4ace70a120 Updated my themes: added [ and ] around node-links. 2001-06-24 11:48:28 +00:00
Dries Buytaert 03c06a86eb Oops, a rather large commit:
- Changed meta.module, node.module and index.php to use comma-seperated
  lists of attributes rather then "foo=a,bar=b" lists.  This makes it a
  a lot easier to use both modules.  In addition, error handling can be
  discarded as it can't be made any simpler, really ...

  It fits rather nicely in Drupal's design so I'm getting more and more
  happy with this meta.module (but we are not 100% there yet).

- node.module, node.inc:

   + Improved the node-related admin interface so that navigating back
     and forth the administrative menus is made both easier and faster.

   + Removed some redundant database fields from the node table.  See
     2.00-to-x.xx.sql!

   + Added 2 news hooks called "node_insert" and "node_update".  Just
     like this is the case with the existing hook "node_delete" these
     new hooks will automatically get called when a node has been
     inserted or udpated.  Note that this is an optional call-back that
     only needs to be implemented when required.  With the addition of
     these two hooks, the node mechanism (version 1) is pretty well
     completed.

- watchdog.module:
   + Fixed bug whit the 'regular messages' query in the watchdog.module.

- book.module:
   + Fixed bug in book.module: the 'parent' was not set properly when
     updating a book page.
   + Made it so that older versions of a book page are automatically
     reactived upon deletion of the most recent version, i.e. when
     doing a version roll-back.

- comment.inc:
   + Undid Remco's patch to comment.inc; it does not work in some cases.


- conf.module:
   + Fine-tuned some of the options in conf.module a bit.

- marvin.theme:
   + Visual changes to make it look better on Windows browsers.  Mind
     to give some feedback on this?
   + Fixed 3 HTML typos/bugs.
   + XHTML-ified the theme at a best effort basis; I didn't carry the
     XHTML specification with me.
   + Made use of the theme_slogan variable to display the site's slogan.
   + As soon we have at least one valid XHTML theme we can wonder on how
     to integrate other XML namespaces (cfr. MathML story at drop.org).

- database.mysql:
   + Updated database.mysql so that it contains all the latest "database
     patches".
2001-06-17 18:31:25 +00:00
Dries Buytaert c56ee67e29 - Changed field_set(), field_get() and field_merge() to use ',' and
'=' instead of ';' and ':'.  It is considered to be more readable.
  --> A _first_ step towards and improved index.module.  Stay tuned
      for more.

  + Important:
     If you update from CVS - apply the queries in 2.00-to-x.xx.sql!

- Changed all 'attribute' to 'attributes'.

  + Important:
     If you update from CVS - apply the queries in 2.00-to-x.xx.sql!

  + Important:
     This might require to ieni-wieni small update to your custom
     themes and/or node-related modules:
      - themes: node_index($node->attribute) -> node_index($node)
      - node modules: attribute -> attributes
2001-06-11 20:01:13 +00:00
natrak 83542a1b01 Changes
- fixed the trailing | in some cases.
- removed theme_morelinks().
- added node_links().
- simplified BaseTheme->links().
- updated themes.

Notes
- the new links system is taking form, but concider it beta. There might still
  be some major changes ahead so I suggest waiting a little longer before
  modifying your theme to take advantage of it.
2001-06-11 17:42:52 +00:00
Kjartan Mannes 8f7eddbed6 Changes
- fixed the trailing | in some cases.
- removed theme_morelinks().
- added node_links().
- simplified BaseTheme->links().
- updated themes.

Notes
- the new links system is taking form, but concider it beta. There might still
  be some major changes ahead so I suggest waiting a little longer before
  modifying your theme to take advantage of it.
2001-06-11 17:42:51 +00:00
Dries Buytaert d397bbe935 This a rather large commit that needs a lot of fine-tuning. If you
update, you'll break your site as you need switching from structure
to index.module: so this can be considered an intermediate commit.

If you upgrade, and you are welcome to, just create a collection
called "section" (for now) and assign your nodes some attributes
in the described format.

Feedback and bugreports are welcomed.  Questions will be answered.

CHANGES:

- comment system:
   + when replying to a node (rather then to a comment), that
     node is displayed above the reply form.
   + when replying to a comment (rather then to a node), that
     comment is displayd above the reply form.

- removed structure.inc, removed structure.module.

- node.inc:
   + added 2 new node functions called 'node_attribute_edit()' and
     'node_attribute_save()' used to 'hook in' any indexing system
    including your home-brewed stuff if you'd want to.  Currently,
    index.module is the facto default index system.

    See story.module for usage.

- book.module, story.module, poll.module, page.module, forum.module:
   + added preview functionality to administration section (via node
     module).
   + removed all references to structure.inc (category, topic).

- moderate.module:
   + removed all references to structure.inc (category, topic).

- book.module, story.module, page.module, forum.module:
   + increased the sizes of some textareas.

- submit.php:
   + removed all references to structure.inc (category, topic).

- marvin.theme:
   + removed dead code: function story() was depricated.

- unconed.theme:
   + removed hardcoded references to drop.org.

- marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
   + removed all references to structure.inc (category, topic).

TODO:

- file.module, trip_link.module:
   + update preview functionality:
       see story.module for example.
   + remove references to 'cid' and 'tid', use 'attribute' instead:
       see story.module for example.

- extend and build upon index.module as well as making it configurable
2001-06-10 15:01:20 +00:00
natrak 6b34310626 Changes
- created a BaseTheme class in theme.inc.
- added links($links = array(), $status = 0, $node = 0) to BaseTheme.
- modified all themes to extend from BaseTheme.
- modiefied theme_link() to take advantage of $theme->links().
- theme_morelink() does not require a $theme argument.

Todo
- add the other standard variables and functions to BaseTheme.
- some themes could use some more modifications.

Weird
- marvin.theme still has a story() function.
2001-06-10 13:53:45 +00:00
Kjartan Mannes 9e4984588c Changes
- created a BaseTheme class in theme.inc.
- added links($links = array(), $status = 0, $node = 0) to BaseTheme.
- modified all themes to extend from BaseTheme.
- modiefied theme_link() to take advantage of $theme->links().
- theme_morelink() does not require a $theme argument.

Todo
- add the other standard variables and functions to BaseTheme.
- some themes could use some more modifications.

Weird
- marvin.theme still has a story() function.
2001-06-10 13:53:44 +00:00
Steven Wittens 959b77c3fa - Added $theme->foreground and $theme->background vars to provide some general usable colors outside of a theme.
- Updated poll.module to use the new $theme color variables
2001-06-09 19:31:34 +00:00
Steven Wittens 445d821db5 Missing trailing space in the "[ extra@user.info | http://extra.user.info/ ]" for comments. 2001-06-06 19:40:39 +00:00
Steven Wittens b574833210 Fixed a goofy bug in Goofy :) 2001-05-27 20:45:39 +00:00
Dries Buytaert 540fdfc0c6 - Replaced $theme->story() by a more generic $theme->node(). All themes
required an update (and so will your custom themes).
2001-05-24 10:05:18 +00:00
natrak 9c075b1007 - Fixed a minor JavaScript bug. 2001-05-22 17:51:09 +00:00
Steven Wittens 395554903d Added nowrap to the category-cell to prevent it from looking ugly on long category/topics 2001-05-21 15:39:39 +00:00
Steven Wittens c5f9c709fd There was an "echo $story->cid;" after the date in $theme->story, which caused date/times for stories to appear like:
on Tuesday, 05/15/2001 - 18:393
on Friday, 05/11/2001 - 07:033
...
2001-05-19 11:58:37 +00:00
Dries Buytaert a669485bc4 - Renamed ./themes/jeroen2/ in ./themes/yaroon/ (again). 2001-05-15 19:50:11 +00:00
Dries Buytaert 14ddbc473c - Created 2 new functions:
+ path_uri(): returns the fully-qualified URI of your drupal site.
    + path_img(): returns the image directory or http://image-server.com/
                  in case you prefer to load-balance bandwidth usage.

  Replaced all occurences of the variable "site_url" with path_uri()
  and removed "site_url" from "setting.module".

- Drastically simplified the node_save() API, which should make the
  node-forms more secure.  Updated "story.module", "book.module",
  "forum.module", "page.module" and "node.module" to reflect this
  change.  This is needs more testing so hit it, beat it, tease it.

- Fixed an occasional glitch in the configuration file loading logic.

- Made "queue.module" display an informative notice when an anonymous
  user tries accessing the moderation queue.

- Updated the hard-coded information in drupal.module a bit.
2001-05-15 18:38:57 +00:00
Jeroen Bensch 1da587a9d9 Hey,
I updated the theme a bit, changed some variables and the drop down menu... I hope it works because frankly I haven't tested it... I mean, I tested it but not that toroughly. Hope with me :)

I'll write a short story about it.

Jeroen.
2001-05-15 17:33:07 +00:00
Dries Buytaert 05676ba03b - Fixed bug in theme Yaroon: the image-path was set to ./themes/jeroen2/
instead of ./themes/yaroon/.
2001-05-15 07:37:13 +00:00
Steven Wittens bd76632b96 This is a major rewrite of the Goofy-theme.... the major problem with it was that it required a *lot* of overhead for a simple box, due to the fancy borders. To counter this, I've added simple functions in JavaScript to output the actual boxes, while the PHP functions themselves output simple function calls to them.
The result is an incredible loss of size, especially on larger pages.... on a typical drupal page (header/footer, 1 story box, 1 comment mod box, 4 comments and 1 side box) the difference was 23K vs 15K, which I find quite good. You should also notice how big some pages were in the old version, which are still tiny in the new version.

There are a few problems though:
 - You can't use it in some parts of the admin section (preview a story), since admin.php leaves out the header(), so the html-generating functions are not included there.
 - Because drop can occasionally insert HTML directly, without going through themes, I have to wrap each box in its own <script> tag. The optimization would benefit even more if i could group all function calls in one <script> tag, but it's not possible at the moment.

I suggest you take a snapshot of an original goofy-page (drop.org) and compare it with the output of this one (cvs-version) to see how it works exactly. And finally, it works on both IE5 and NS4, so I assume it does on most browsers.
2001-05-14 23:27:41 +00:00
Steven Wittens 97ec8e0c10 fixed typoe 2001-05-03 17:04:29 +00:00
Steven Wittens 0f27761e93 locale update 2001-05-03 17:01:58 +00:00
Jeroen Bensch e10572d75b Hey,
Deleted jeroen2.theme from /yaroon/

Jeroen.
2001-05-02 21:00:01 +00:00
Dries Buytaert 343e71c8eb CHANGES:
- Added moderator permissions to nodes.

- Added moderator support to structure.module.

- Added new moderate.module.

- Renamed moderation.module to queue.module to avoid confusing.
  Updated theme yaroon as it seems to have a hard-coded reference
  to moderation.module.

- Polished on:
   + account.module: improved access list
   + fixed HTML typo in node.module

ACTIONS:

- Jeroen: can jeroen2.theme be removed from ./themes/yaroon?
2001-05-02 20:52:19 +00:00
Dries Buytaert 45ed041b12 - structure.inc: added category_name($cid) and topic_name($tid).
They both return a linked string with the respective category,
  or topic name.  Updated all themes to use these new functions.

- (stripped tabs from emsa files, nevermind)
2001-04-19 07:16:57 +00:00
Dries Buytaert 8e94fe1625 - structure.inc: added category_name($cid) and topic_name($tid).
They both return a linked string with the respective category,
  or topic name.  Updated all themes to use these new functions.

- (stripped tabs from emsa files, nevermind)
2001-04-18 20:40:21 +00:00
Jeroen Bensch 16c316c816 Hey,
I also applied UnConeD's remark about the PHP_SELF. And remover jeroen2.theme, added yaroon.theme and commit it now. Dries, if you have 5 minutes, just move the jeroen2 directory to yaroon.

Jeroen.
2001-04-17 18:51:17 +00:00
Jeroen Bensch cedbefc967 I updated my theme, and changed something about the update Dries did. I think you left a <a href> there... But now it's OK. Also when I first looked at my theme it looked real ugly in NS .76, but then after some fiddling around, but restoring everything I changed it looked OK again. Weird. I haven't changed a thing. We'll see, if anything else happens make sure to let me know. 2001-04-16 20:39:12 +00:00
Dries Buytaert a637313205 - updated the forgotten theme: theme Jeroen doesn't render 100% correct in Netscape btw - it is certainly not due to my changes. I have this feeling that there is an unclosed tag somewhere.
- all these themes are getting a pain to maintain but I guess nothing we can do about it.  Hopefully the theme API is about to stabalize soon.  In future, we should certainly keep the number of "supported" below 10 so as so we have, say, 11 themes I suggest to kick out the one that is less interesting.  It will then become an "unsupported theme" available through drop.org/drupal but maybe not in prime condition.  It think we'll have our hands full with 10 themes already.  It is really the max IMHO.  Comments/suggestions/noding heads?
2001-04-16 19:54:08 +00:00
Dries Buytaert b1c66cb5de Another big update so please read this carefully because there is important information hidden in it.
Made it so that we can disable/enable comments on a category by category basis. In order to accomplish this I had to make a few (*temporary*) changes.

I moved all comment code from the "module level" (eg. story.module) to the "node level".  It was nothing but the logical next step in nodifying drupal.  This enables us to add comments to all existing content types including book entries.  But also for book entries, this to can be toggled on and off. :-)

Moreover module writers don't have to worry about the complex comment logic: it is "abstracted" away.  This implies that story.module got smaller, faster and easier to comprehend. :-)

In order to accomplish this, I had to update ALL THEMES, which I did - and on my way I updated Goofy, Oranzh and UnConeD - with the previous changes.  All themes are up-to-date now!  I also had to remove the [ reply to this story ] links, and temporally re-introcuded the "Add comment" button in the "Comment control".  Tempora lly that is, UnConeD. ;)

I plan to upgrade drop.org either tommorow or wednesday so test away if you have some time to kill. ;)

Oh, I also fixed a few bugs and made various small improvements.
2001-04-16 18:21:22 +00:00
Jeroen Bensch 2f898ebcff Hey,
This should be it. For now... I applied most of the remarks you told me to. Only the seemingly floating squares... well let's just say they add to the mysteriousness of the page. I can't delete them. I don't think my site would look without them. We'll just see what the users think of it shall we? I can ask them abou the squares once it's released. So, all there is now is the fat vertical bar in NS 4.76. I also don't know what it looks like in Opera... and UnConeD, does it show a bit OK in IE? I polished the navigation box' algorithm a bit. Even more stable now.

I do have one remark Dries. When submitting something you don't have to choose story or book anymore but you have to select one of the categories. Is this OK? But wouldn't it be more logical to choose what type of thing you are going to submit. I don't think you will be placing an Announcement in the book. By the way how do you add a page to the book now? I can't find it... Or do I have to create book and story myself... Ahh heck Dries it's just broken OK? ;)

For the rest. Oh yes, I am not going to work with the categories. The squares in front of a $story->title represent the topic the title is under (e.g.: linux, science, Media, Announcements) But not the category (I see them as a some sort of sub-folder in each topic) I haven't found a good way to display it yet. I still have to find how to import it in the lay-out so it wouldn't mess up. I already liked the fact that I don't have text-links for the former categories anymore... We'll see what happens...

Jeroen.
2001-04-16 15:55:04 +00:00
Dries Buytaert 657c3bb209 - removed departement code 2001-04-16 13:23:06 +00:00
Dries Buytaert b9952f537d Large commit, read it carefully, and make the required changes to
your theme:

- corrected some missing translations in story.module.  Oops!
- grealty simplified the "moderation threshold mechanism"(tm) so
  that module writers don't have to worry about this.  As a result
  story.module and book.module became a bit smaller and easier to
  grasp.
- greatly simplified new "category" and "topic" code which is soon
  going to replace the "section" code.  Needs more work though so
  hang on thight.
- includes/section.inc and modules/section.module are replaced by
  includes/structure.module and modules/structure.module.
- beautified example.theme a bit without adding HTML complexity:
  it is a good example but still useful as a theme
- made theme example use "categories" and "topics"
    --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
- made theme marvin use "categories" and "topics"
    --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
- added 2 new "story listings" to administrator interface of
  story.module to verify story integrity.
- optimized comment table a bit (work in progress)
2001-04-16 11:38:12 +00:00
Jeroen Bensch 9505251f0d Hey,
Again, a nightly commit :) The last one because tomorrow I'll be in bed at a reasonable time since the morning after school starts... I wish they had a pill for _that_ ;) I think it's ready for release. Added more stability concerning the navigation box. It should now handle all possible URL's on a drupal site. To make sure I catch them all I implemented something that check whether a value is not set to one. It is set to one when the URL matches an option in the list. I saw that we also have a ?mod=moderation (which should only be visible to people that are logged in so I couldn't put it in the list standard) and for the rest nodes. Therefore, when in moderation/a node page it displays Moderation/Node in the list, else not. If I didn't do this Main would be set to the default value... we had that problem before... I needed to use $REQUEST_URI for the modules because it gives you the whole URL, $PHP_SELF only gives you a string until the first ? in the URL... This way I couldn't make up whether you were on the diary or book page. (module.php?mod=book and module.php?mod=diary) With a substr($REQUEST_URI,12,9) I could. Dries told me today that $REQUEST_URI isn't as good as $PHP_SELF, but this is an easy way to fix it. Voila I think that's it. (now that I think of it, I don't even have to do a substr() for the book module since there isn't anything that can be put behind it. With diary for example I have to do the substring because things like &op=add can be put behind it, but that's not the case with the book...) After this change I think that everything is fixed. Oh yes I also fixed a rather flagrant allignment bug. I align the big right td centered which would cause the comment's tree to be centered too so there wasn't much left of a tree anymore. ;) Added one table that fixed this. OK, I think the theme is ready for release. The only problem still is the vertical spacer which is fat in NS 4.76. If someone knows why or finds any other bugs in my theme please let me know. But for me, it's finished, until the next block code is stable and released, I'm planning to get rid of the account box too and expand the navigation menu somewhat. with indented options etc... but that's for later... Now I am going to sleep (after some more fixes I already have in mind) Bye!

Jeroen.

(I'm not sending the mail right away, first the fixes.) OK, it's 04.32. I did some other nice thing IMO, but it's not going to work anymore one we have more than 1000 nodes... Ack.. Just click a story or comment somewhere and check out the navigation box... Goodmorning. ;)
2001-04-16 02:45:17 +00:00
Dries Buytaert 1f0565806b - improved submit.php:
it now uses the new category code, incl content bindings.
  You can setup different "categories" which map on a content
  type.  Example:
    review   -> review.module
    article  -> story.module
    column   -> story.module
    announc. -> story.module
    addons   -> file.module
    themes   -> file.module
- "generalised" story.module and book.module's output.
- fixed bug in includes/timer.inc
- fixed glitch in theme example.theme: it said "$how by" but
  the variable $how has never been declared.
- added "drupal development settings" to display some timings
- more work on the categories/topics -> does NOT work yet
2001-04-15 17:01:32 +00:00
Jeroen Bensch 460706b903 Hey,
OK after a boring family 50 year marriage anniversary (what's the exact word...) of my grand-parents which lasted twelve hours (no computer in the mean time, ack) I got home and stared themeing. All I did in these three hours is fix the navigation box. In the code there was an attribute "selected" set in <option> main of the drop-down list. I copied that from linux.com... But now it seems that the option with selected appears as default in the list. So, when going to account it should be account appearing as default in the drop down list. But we load the same HTML for each page in Drupal. This caused Main to be "selected" for every page we load. That's where the problem was. So, how do we change that... After some time I went to irc.homelien.no #php (cool people by the way) and asked how I could get the URL the browser was currently on. They told me about $REQUEST_URI. OK... REQUEST_URI... Then the standard procedure followed when discovering something new. You tink that it returns the whole URL, but it doesn't only the last significant part (which is a good thing) After finding that out, you wonder why it still doesn't work, and it takes you some more time to find out that you have to globlify the variable $REQUEST_URI if you want to use it. OK, and after that it worked. :) So what I do now for every option in the list is: <?if ($REQUEST_URI == "/index.php") echo "selected"; ?> And this for every page we have. Houston we have a working drop-down list. :) Not only that I found out but also that NS 4.76 can't do CSS good. It just sucks actually, it can't even do a a:hover { color: <?php echo $color; ?> } That's one of the reasons Dries why you didn't notice much. It can't even do a a.active or a.visited either... (40 minutes and a NS 4.76-looking-nice theme later, happy Easter Dries :), it is 03.40, I should really start getting some normal hours again, school starts Tuesday...) OK Dries as you read, I added some twenty <font face="Helvetica">'s in the theme (NS 4.76 didn't seem to be able to do Arial) set the color links differently and hope that you like it a bit. I know the font is still a bit small, but if I do a +1 there it's huge in NS 6.01. But Dries, why don't you just back off from the NS 4.76 (there's a new version 4.77 btw) and get yourself something a bit more recent. You'll be astonished of how beautiful the wired actually is :) There is however still one pain in the ass. I can't the vertical spacer to be only one pixel in width. But I'll manage to get that right to eventually. OK, I am off to bed. Goodnight, and to all of you, a happy Easter (Google's cool too :))

Jeroen.
2001-04-15 01:54:22 +00:00
Dries Buytaert d32216f8b6 - added new variable: theme_footer which can be used to provide a
footer message like a copyright notice. Themes should use this!
- small improvement to example theme
- added theme_footer to theme marvin
- small improvement to database.inc
2001-04-14 19:29:27 +00:00
Dries Buytaert f0594d757e - fixed a small detail
On a side not, I'm browsing drop.org from a Windows ME computer and came
to the conclusion that only theme UnConeD looks cool, and that the other
themes not 100%.  Theme marvin's font seems to be huge and the sideboxes
wrap (which is ugly).
2001-04-14 11:01:17 +00:00
Jeroen Bensch a6a0e80550 Hey,
I am sorry UnConeD, but I really didn't find the option to commit as binary...

This is the missing square.gif.

Jeroen.
2001-04-13 23:38:07 +00:00
Jeroen Bensch 77eb317637 Hey,
This is another version of my theme. I hope things will look better now, allthough UnConeD but also Dries told me that there were no/only one fat border. It was due to the DOCTYPE I added. People at irc.homelien.no #html told me that the doctype _should_ not affect the code, and that the browser _should_ ommit the doctype line. Well it looks like it doesn't always do that. Therefore I commented out <!-- --> the doctype. I don't know if w3 is going to like this but I sure hope so. For the drop down menu at the top. I know that it doesn't work, and it still doesn't I just copy pasted the code from http://linux.com/ but it doesn't seem to work. It doesn't remember the current page. If anyone knows why this would be, make sure to let me know please. They set the variable location to something in the javascript but don't do anything with it... I did a search on the linux.com code and they only use it somewhere at the top (they compare top.location.href with location.href... But I don't know what it means... Even if I copy pasted that part in my code it still didn't work. Therefore, this commit with a drop down menu that works for 95%... *snif*
I added a bit more color, as UnConeD asked with some random stuff too (you know how I love random thingies), and I changed the font-size, but already said that in another mail... All I am looking for now is a logo to go in the upper left corner... I tried some thingies, but really suck at doing logos, not only that but also the HTML didn't want to co-operate.

Jeroen.

P.S.: this can count as a bug report. When clicking a section at the main page it should give you a search of all stories of that section shouldn't it? Well it doesn't do that, nomatter what you click there are never any results...

Oh UnConeD, what do you mean with the td on the left being to wide? It's OK here in linux, it is set to 20%. Maybe you could mail me a little screenshot?
2001-04-13 23:25:32 +00:00
Jeroen Bensch c1770795e4 Hey,
It's 03.40, I've had enough. HTML sucks big time. Wanna know why? Check out http://php.net and look at their purple 1-pixel-high seperator lines at the top and the bottom. Look at the source, and then look at mine. Tell me what I do wrong. Please please please please. This has been driving me nuts today... So ever fat border you see in my theme should be in fact 1 pixel high. That way it'll look a whole lot nicer. But I just can't do it. So UnConeD or anyone else knows how to? Just let me know please. Every section has it's own color. I have 8 colors at the moment. Comments have not yet been implemented. Just have a look at the main page.
I like this theme a lot more, then the one I committed yesterday, but who knows what I'll think of it tomorrow. Oh by the way, again about the seperator lines. They did seem to work in the theme I sent last night did they? I simply don't get it.

Goodnight,

Jeroen.
2001-04-13 01:47:36 +00:00
Jeroen Bensch 7a5d688af4 Hey,
These are some .gifs for a new draft of a theme I tried to make.

Jeroen.
2001-04-13 01:42:08 +00:00
Jeroen Bensch 2f309aa5c8 Hey,
Just a theme... Guess I was kindof bored today and made a theme. I discovered the tags: topmargin="0" leftmargin="0" marginwidth="0" marginheight="0", and thought, well, how about I build a theme around those tags... And so I did. It isn't finished yet. Not even close, but when you add my theme to the array in your_hostname.conf in the includes dir (insert it as the first element, so it'd be the default theme) and load the main page locally on your computer you should see something with the color scheme of the Petit Bateau clothing line for babies. Something without gfx (Yes it sounds weird reading this from Jeroen :)) No subliminal random messages or changing graphics involved. Nothing. I especcially mention the header on the page. It says drop.org in the left upper corner. I don't want a logo there, just the text. Somehow I must find it _cool_ or so, don't know why. Mmm, now that I think of it, I might just make it http://drop.org/ too. Going to try that. Well, it's 01.40 now, I think you'll understand that I didn't really feel like implementing the whole comment function at this time... :) So, there are no comments visible yet. The layout is still crappy, and the links don't have the desired color yet.

Nevertheless, tell me what you think of it. :) Doesn't have to be good opinions. Color schemes are to be discussed, but I must've already adapted to the childish blue I think. So what do we got? A freaky, yet simple design that somehow makes the hair on my butt arise... A stupid color scheme. No graphics. No specials. Boxes only on the left while news on the right (something I haven't seen to much up untill now. Despite all of this I seem to like it :)

Goodnight,

Jeroen.
2001-04-11 23:52:22 +00:00
Jeroen Bensch 8c567858b0 Hey,
Another .gif...

Jeroen.
2001-04-11 23:37:29 +00:00
Jeroen Bensch 4385610ea6 Hey,
Just a .gif that I commit...

Jeroen.
2001-04-11 23:36:34 +00:00
Dries Buytaert 0f567be0ed - improved administrator interface of account, node, story and book
by (1) adding a few extra features to "easify" navigation and (b)
  to start using "status messages" as once suggested on the mailing
  list by Jeroen
2001-04-10 20:07:27 +00:00
Jeroen Bensch 3872d45eef Hey,
I updated my jeroen.theme. Its navigation box on the right is nicer now :), also, in that navigation box, I changed help into handbook. It looked more appropriate.

Jeroen.
2001-04-08 12:11:24 +00:00
Dries Buytaert 8213f5b262 A lot of small changes (search-n-replace) make a big commit:
- fixed update bug in book.module
  - provide a log message when both adding and updating book pages
  - all configurable variables are now accessed through "variable_get()":
  - rewrote watchdog and submission throttle and removed watchdog.inc
  - improved robustness of sections.inc
  - imporved story.module
  - updated ./database/database.sql
2001-04-06 14:14:16 +00:00
Dries Buytaert 805107cd22 Commiting my work of last Sunday:
- removed ban.inc and ban.module and integrated it in account.module
   under the name "access control" --> the ban code was not really up
   to standard so this has now been dealt with.  This refactoring and
   reintegration cuts down the code size with 100 lines too.  :-)
   (The ban.module code was really old and it showed.)

 - added node.module and made the other modules reuse some of this
   code --> cut down the code size of modules by at least 100 lines
   and adds stability.

 - added a status() function to admin.php to display a conform status
   message where appropriate.  See admin.php for usage.

 - removed $theme->control() and made comments.inc handle this itself
   wrapped in a $theme->box().  No need to clutter the themes with
   such complexity --> updated all themes already. :-)

 - some small visual changes to some administration pages to be more
   consistent across different modules.
2001-04-02 15:54:37 +00:00
Steven Wittens ce5a005d9e Make the logo slightly better... removed the color from the center dots. 2001-03-31 21:29:57 +00:00
Steven Wittens 74fe7990d2 Fixed article/body bug 2001-03-31 15:39:29 +00:00
Steven Wittens 025dcfb44d Fixed bug with $story->body 2001-03-31 15:29:30 +00:00
Steven Wittens e6886e28ee Fixed bug:
"na" appeared when a story didn't have "read more"
2001-03-31 15:11:21 +00:00
Dries Buytaert d1a07a2e8f - fixed "you-have-to-logout-and-login-before-permissions-change" bug
(reported by UnConeD)
- added "add node" link to book selection box and made it display the
  current location
- removed tabs and whitespaces from themes - done automatically
2001-03-31 14:58:37 +00:00
Steven Wittens c43cf0c432 Added/updated the theme-description at the top... 2001-03-31 11:57:31 +00:00
Dries Buytaert 2ac7aa425b - visual improvements to example.theme, simplified HMTL code (- 20
lines)
- made node.inc more robust: it should roll-back when something goes
  fubar and it should work in subdirectories
2001-03-31 11:00:04 +00:00
Dries Buytaert c765cb206b - fixed small problem in example.theme 2001-03-28 21:31:08 +00:00
Dries Buytaert 1f79863053 - large commit of everything else that has been queued in my backlog:
it's not 100% stable yet
2001-03-25 10:57:01 +00:00
Dries Buytaert a45fc1a20e - themes now get there header/footer links through theme_link();
- tidied up example.theme
2001-03-24 17:50:08 +00:00
Dries Buytaert 811dc1046f - removed all trailing whitespaces and replaced tabs by 2 spaces
(done automatically by my script)
2001-03-24 16:44:21 +00:00
Dries Buytaert de7e1fb66a - fixed potential quote problem: wrapped $story->section in a check_output
- removed all $story->update related logic - the update field is redundant
2001-03-24 16:26:56 +00:00
Dries Buytaert 7afe387d9a - changes to the font
- removed all $story->update related logic - the update field is redundant
2001-03-24 16:23:00 +00:00
Jeroen Bensch c1519c908b Hey,
I changed cellpadding="0" to cellpadding is="1" in the box function. I saw on http://drop.org/ that the box subjects sticked to the border. This shoud fix it.

Jeroen.
2001-03-24 09:59:06 +00:00
Steven Wittens 673fa2c31c Moved the style sheet back IN the theme. It seems Netscape resolves url's inside stylesheets relative to the page it is in, while IE/Opera resolve them relative to the path of the stylesheet. 2001-03-23 22:45:36 +00:00
Steven Wittens 33845fa17b oops 2001-03-23 17:10:35 +00:00
Steven Wittens ea01dd25b9 theme update 2001-03-23 17:10:09 +00:00
Dries Buytaert 56582dcf86 - fixed quote problem reported by Jared 2001-03-22 17:30:23 +00:00
Steven Wittens 397d29692f fixed the background 2001-03-21 14:06:57 +00:00
Steven Wittens 7c1eef9852 Hopefully this will fix the theme, but I doubt it... some very strange things are going on here. 2001-03-21 14:00:55 +00:00
Steven Wittens 62baf4c24e Added my new theme "Goofy". It's bright and very summer-ish.
Test it out :) (I wouldn't put it on drop.org yet)
2001-03-20 23:40:13 +00:00
Steven Wittens c79e114b9b oops small typo 2001-03-20 22:33:32 +00:00
Steven Wittens 5f1f1b88ed Theme update:
- added a small 'info header' in comments... might be better for when we get more themes.
2001-03-20 20:45:21 +00:00
Steven Wittens c0751ec2b2 theme update:
- removed the department stuff
 - boxed the comment controls
2001-03-20 18:10:03 +00:00
Dries Buytaert a6466b68e0 - removed useless slashes 2001-03-19 10:07:15 +00:00
Jeroen Bensch f96497e214 Hey,
Fixed jeroen.theme.

1. comment() function only gets 2 arguments. And as I made example.theme from jeroen.theme I don't see how thread got in there.

2. That must have sneaked in while I stripped down my theme to get to example.theme.

3. Fixed, it was already done in my top-right navigation box, but I must've forgotten it at the bottom.

4. OK, no more variable timestamp but straigt in the code. :)

Jeroen.
2001-03-12 17:12:36 +00:00
Dries Buytaert ef0e2d167b During my nigthly session I fixed a few glitches in the example theme.
Read them carefully because the other theme might need updating too (I
don't think so though).  I could only commit it now because I didn't
had the time to write up these comments/remarks yet.  So here goes:

1. the comment() function only takes 2 arguments - $thread is no longer
   needed and shouldn't be used in the code either.

2. I added 2 COLSPAN's to fix a <TD> problem in the story() function.

3. <A HREF="">home</A> is will not work properly when using drupal in
   a subdirectory!  Simply use <A HREF="index.php">home</A> instead -
   it does matters. ;-)

4. Removed the $timestamp = format_timestamp(...)'s and used them
   "directly" just like this is done for format_username and others.
   It's generally more consistent now. :-)
2001-03-12 16:40:33 +00:00
Jeroen Bensch 17718e1842 Hey,
did some stupid things in my previous update. But now it's OK (I did </BR> instead of <BR>.

Jeroen.
2001-03-11 20:54:59 +00:00
Jeroen Bensch 74bfacf8cc Hey,
OK, this is perfectionism. I had http://jeroen.drop.org/ validated once again, and noticed an error with a </P>, it said that the paragraph wasn't opened. But it occured near a story as we do <P> check_output(story->abstract) </P> I was pretty certain the paragraph was open. :) OK, so it wasn't the theme's fault, neither was it the engine. Then I went to take a look at the actual story and what did I see. It used a BLOCKQUOTE. After deleting the BLOCKQUOTE, messing around with the HTML, trying to insert it again. It always gave me the error when it was inserted... What's my conclusion? BLOCKQUOTE isn't allowed inside a paragraph...
Solution? We could take the option to use the blockquote HTML tag in a story or comment out of drupal. But I really like blockquote. So I now changed <P> check_output(story->abstract) </P> to <BR> check_output(story->abstract) </BR> because, basicly, that does the same thing. I'd advise you to do so too, I might do it for you if you please. Not that I really care about it, but lately we've got some queer w3-lovers on our back. Let's shake them off, allright? ;)

Jeroen.
2001-03-11 19:57:07 +00:00
Jeroen Bensch b873cb9e6d Hey,
If we're lucky this tiny jeroen.theme update might just save us from 5 HTML 4.01 bugs.
If we're very lucky it'll solve 7.
If we're unlucky only the code has improved.

Jeroen.
2001-03-11 18:47:18 +00:00
Jeroen Bensch f9841d8aac Hi,
OK and this should be marvin.theme. We gained like 20 lines or so. But there aren't many graphics in marvin and a lot of stuff I'd put on several lines, Dries doesn't. Nevertheless, a good optimalization. Glad Dries came up with this. :)

Jeroen.
2001-03-11 11:06:49 +00:00
Jeroen Bensch d7a363338d Hi,
OK I fixed UnConeD's theme. Let's hope I didn't break anything. It were 256 lines and now there are 227 left. A save of 30 lines. Not too bad huh?
Let me check Dries' theme now.

Jeroen.
2001-03-11 10:56:43 +00:00
Jeroen Bensch 02e344403a OK, lets hope this works... I should've added a directory example/ in themes/ and in example/ there should be example.theme
Jeroen.
2001-03-10 15:14:08 +00:00
Jeroen Bensch 529f5a9532 Tidyed up the code a bit, so it'd generate less errors when running it throught w3's HTML validator. Couldn't check it because I don't have any working webspace, so Dries, upload it and I'll check, I am pretty certain that it'll solve a whole lot of errors, since I fixed a bug in story... story being generated about ten times in the HTML code on drop's main page. I expect about 30 errors less...
Jeroen.

P.S.: I don't think I'll get unconed.theme and marvin.theme updated today. But I promise I'll do it tomorrow. Had to go eat with my family, just got back and in 2 hours I am leavin for the movies. Hope you don't mind, but it's always cooler to commit patches closer to the release date... gives you this "rush" feeling. Ahh, deliberately doing stuff on  the nick of time... sweet :)
2001-03-10 15:11:12 +00:00
Dries Buytaert accd5f0c31 - applied David Norman's patch to turn all <?'s into fully qualified
<?php's.
2001-03-10 11:07:52 +00:00
Jeroen Bensch 473198178d I think you all read the mail about what has changed, I also did the tiny abstract/Editor's note update. :)
Jeroen.
2001-03-09 15:59:44 +00:00