- 11 Jun, 2001 1 commit
-
-
Dries 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
-
- 10 Jun, 2001 1 commit
-
-
Dries 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
-
- 09 Jun, 2001 2 commits
-
-
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
-
Kjartan authored
-
- 08 Jun, 2001 2 commits
-
-
Steven Wittens authored
-
Steven Wittens authored
- Added "dirty" support for theming the poll-bars... uses $theme->pollfill and $theme->pollempty for now.
-
- 07 Jun, 2001 1 commit
-
-
Steven Wittens authored
- Fixed votes being reset to zero when updating a poll - Fixed that weird crashing bug on the poll form (Natrak)
-
- 06 Jun, 2001 2 commits
-
-
Steven Wittens authored
-
Steven Wittens authored
- Added "read more" link for the block-version of a poll - Added mini-docs :)
-
- 02 Jun, 2001 1 commit
-
-
Dries authored
- Moved most of the options in structure.module to node.module. The structure.module either needs work, or replacement by index.module: see "admin > node > node settings". It will do for now and it can always made better when we can think of a better solution; it is the best I could think of. Now what? index.module or structure.module? I'm currently pro index.module. - Drastically simplified "variable.inc". - Removed most dependecies on structure.module from all content related modules. Thus making our modules more modular. ;) - Fixed calculation glitch in queue.module. - Fixed potential function name clash/conflict in rating.module, and simplified some code on my way. - Started removing all global variables $status and $rstatus. Global variables are "yucky" so in near future, we will replace all global $status variables by a call to node_status(). Originally, $status was only introduced as a temporary hack and nothing is as permanent as a temporary hack so I took it out when still possible. - Changed the watchdog messages a bit.
-
- 01 Jun, 2001 1 commit
-
-
Steven Wittens authored
-
- 24 May, 2001 2 commits
-
-
Steven Wittens authored
Hmmm for some reason the \r\n's in the poll output where being changed into <br>'s... is that because of the check_output() legacy functions inside the themes? In anycase, I removed em.
-
Dries authored
- Replaced $theme->story() by a more generic $theme->node(). All themes required an update (and so will your custom themes).
-
- 23 May, 2001 1 commit
-
-
Steven Wittens authored
Please update drop.org as soon as possible, coz my crappy poll.mod is making drupal look bad :(
-
- 22 May, 2001 4 commits
-
-
Steven Wittens authored
-
Steven Wittens authored
This baby is fixed.
-
Steven Wittens authored
-
Steven Wittens authored
(Hopefully) a fix for the "n.active" watchdog error... forgot that node_get_XXXX() only queries node properties.
-
- 20 May, 2001 5 commits
-
-
Dries authored
- Removed includes/timer.inc: it has been integrated in common.inc. - Fixed a bug in node.php: UnConeD forgot to update 1 node_get_object(). - I changed the look of theme_morelink() a bit: it might not look better, but at least the output is "correct". - Various small improvements.
-
Dries authored
- Improved node_get() so that it will try to skip one additional query if possible (ie. to reduce the number of queries). - Automatically removed tabs and trailing spaces from the poll.module.
-
Steven Wittens authored
- Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary. - Updated all node-modules
-
Dries authored
- Redid settings.module and even renamed it to conf.module. * Settings are now grouped in basic categories like "system settings", "module settings" and "filters". * Added new settings to make Drupal easier to configure and to make some aspects like the watchdog scale better. - Renamed includes/settings.php to includes/conf.php. - Added filter support to conf.module and introduced filter hooks so modules can implement and export new filters. Example filters are an HTML filter (implemented), a profanity filter, an url converter, ASCII smileys to images filter and so on ... - Reworked the check_* functions: user contributed content/input is only verified and filtered once in its lifespan. NOTES - Altough this is a large commit, no database changes are required.
-
Steven Wittens authored
- Cleaned up the coding style
-
- 19 May, 2001 1 commit
-
-
Steven Wittens authored
It's mainly intended as a sideblock-element as there's no real use in having them show up on the mainpage. There's no real poll-browsing system for now either. I still need to write documentation, and I'm not yet satisfied with the node-output (non-sideblock). I should be able to improve it once the $theme->nodebox ideas get finalized.
-