- Jul 14, 2001
-
-
Dries Buytaert authored
- A lot of (a) visual and (b) navigational improvements to import.module.
-
Dries Buytaert authored
- 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
-
Steven Wittens authored
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.
-
- Jul 13, 2001
-
-
Steven Wittens authored
-
Steven Wittens authored
-
Steven Wittens authored
- Increased width to 100% to reduce wasted space (and that link bar at the top was getting too wide)
-
- Jul 07, 2001
-
-
Dries Buytaert authored
- Tidied up some stuff in account.php and theme.inc. - Tidied up the box() API.
-
- Jul 03, 2001
-
-
Steven Wittens authored
-
- Jun 30, 2001
-
-
Dries Buytaert authored
- Made search.php a module, being search.module. - Updated the permission names to be more consistent. - Small improvement to node.php.
-
- Jun 29, 2001
-
-
Dries Buytaert authored
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!
-
- Jun 24, 2001
-
-
Steven Wittens authored
-
- Jun 17, 2001
-
-
Dries Buytaert authored
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".
-
- Jun 11, 2001
-
-
Dries Buytaert authored
'=' 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
-
natrak authored
- 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.
-
Kjartan Mannes authored
- 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.
-
- Jun 10, 2001
-
-
Dries Buytaert authored
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
-
natrak authored
- 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.
-
Kjartan Mannes authored
- 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.
-
- Jun 09, 2001
-
-
Steven Wittens authored
- 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
-
- Jun 06, 2001
-
-
http://extra.user.info/Steven Wittens authored
-
- May 27, 2001
-
-
Steven Wittens authored
-
- May 24, 2001
-
-
Dries Buytaert authored
- Replaced $theme->story() by a more generic $theme->node(). All themes required an update (and so will your custom themes).
-
- May 22, 2001
-
-
natrak authored
-
- May 21, 2001
-
-
Steven Wittens authored
-
- May 19, 2001
-
-
Steven Wittens authored
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 ...
-
- May 15, 2001
-
-
Dries Buytaert authored
- Renamed ./themes/jeroen2/ in ./themes/yaroon/ (again).
-
Dries Buytaert authored
- 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.
-
Jeroen authored
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.
-
Dries Buytaert authored
- Fixed bug in theme Yaroon: the image-path was set to ./themes/jeroen2/ instead of ./themes/yaroon/.
-
- May 14, 2001
-
-
Steven Wittens authored
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.
-
- May 03, 2001
-
-
Steven Wittens authored
-
Steven Wittens authored
-
- May 02, 2001
-
-
Jeroen authored
Deleted jeroen2.theme from /yaroon/ Jeroen.
-
Dries Buytaert authored
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?
-
- Apr 19, 2001
-
-
Dries Buytaert authored
- 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)
-
- Apr 18, 2001
-
-
Dries Buytaert authored
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)
-
- Apr 17, 2001
-
-
Jeroen authored
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.
-
- Apr 16, 2001
-
-
Jeroen authored
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.
-
Dries Buytaert authored
- 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?
-
Dries Buytaert authored
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.
-