summaryrefslogtreecommitdiff
path: root/modules/book.module
Commit message (Collapse)AuthorAge
* - The book_admin_orphan() function is using the table() function to renderDries Buytaert2003-05-13
| | | | | | | the orphan pages. Patch by Nick. - The "printer-friendly link" is only shown when the book page is not on the main page. Patch by Nick.
* - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.Dries Buytaert2003-05-13
| | | | | | | | | | | | | - 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.
* - Applied Michael Caerwyn's "%s -> %d" patch.Dries Buytaert2003-05-07
| | | | - Changed all occurences of '%d' to %d as suggested on the mailing list.
* - Fixed some PHP "notices".Dries Buytaert2003-04-21
|
* - Bugfix: show the 'printer-friendly version' link for everybody not just forDries Buytaert2003-04-21
| | | | people with the update book permission. Patch by Nick Berendsen.
* - Made book_tree_recurse() emit code that validates as XHTML. Patch by NickDries Buytaert2003-04-14
| | | | Berendsen.
* - Patch by Ax. Fixed some syntax errors:Dries Buytaert2003-04-04
| | | | | - case t("whatever"); + case t("whatever"):
* - All LIMIT queries must go through the pager or through db_query_range().Dries Buytaert2003-03-16
| | | | | | | | | | | | | | | The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.
* Patch by Ax:Dries Buytaert2003-03-13
| | | | | | | | | | | - the index link ("View this book's table of contents.") which pointed to http://drupal/book instead of to ... this book's table of contents. - it doesn't print "previous", "next", "up", "index" if there are no "previous", "next", "up", "index" - it doesn't print "index" if "up" /is/ the "index" - it swaps the order of "up" and "index", ie. "up" is in the row above "index", between "previous" and "next" now. this is more logical and the way all tree-browsing apps (python doc, info, ...) do it.
* - Committed Ax' book patch to "fix" the "next/prev" navigation.Dries Buytaert2003-03-10
|
* - Removing some trailing whitespace I forgot to clean up.Kjartan Mannes2003-03-09
|
* - Renamed "form.admin" to "form admin".Kjartan Mannes2003-03-07
| | | | | | | | | | - Added node_admin_settings() to let users set node defaults. * Added _nodeapi("conf") - Modified form_checkbox() to unset options. (Modified the patch from Ax.) - Removed the _save() hook. - Fixed a logical flaw in field_get() and field_set() which would break moderation. - Moved some admin menus around and cleaned up some typos.
* - This commit fixes URLs, and makes the "edit book outline" link at the bottomDries Buytaert2003-03-02
| | | | of an "/admin/node/edit/n" page work properly. Patch by Al.
* - Removed stripslashes(). See ↵Dries Buytaert2003-02-26
| | | | http://lists.drupal.org/pipermail/drupal-devel/2003-February/022233.html. Patch by Ax.
* - New menu houskeeping. Prototyped by Zbynek.Dries Buytaert2003-02-20
| | | | | | | | | | | | | | | | The following modules need updating: * glossary module * feed module (Breyten's version) * mailhandler module * notify module * project module * smileys module * admin module * style module * taxonomy_dhtml module To avoid unexpected problems menu_add() is deprecated (it will print an error message when used) and menu() should be used instead.
* - Everything is using theme("function") now instead of $theme->function().Dries Buytaert2003-02-15
|
* - Moved the filter()s back to the individual node modules as it used to be.Dries Buytaert2003-01-23
|
* - Tidied up XHTML. Patch by Ulf.Dries Buytaert2003-01-23
| | | | - Added missing t() function. Patch by Stefan.
* - Made sure all table headers could be translated.Dries Buytaert2003-01-12
| | | | - Made the book module use the new table rendering function.
* - Clean URL patch.Dries Buytaert2003-01-06
|
* - Tidied up the use of check_output(). Might make rendering pages a bitDries Buytaert2002-12-31
| | | | snappier (performance improvement).
* - Refactored the administration pages.Dries Buytaert2002-12-24
|
* - Fixed rendering bug in book module. Reported by vmole atDries Buytaert2002-12-22
| | | | http://drupal.org/node.php?id=923.
* - Bugfix: printer-friendly book pages were not being displayed in the properDries Buytaert2002-12-22
| | | | order.
* o Permission improvements:Dries Buytaert2002-12-10
| | | | | | | | | | | | | | | | | | | | | | + Removed the "post content" permission and replaced it by more fine-grained permissions such as "maintain static pages", "maintain personal blog", "maintain stories", etc. o Usability improvements to teasers: + Teaser forms are no more. Teasers are extracted automatically but can also be instructed using a delimiter "---". Furthermore, when a post it too short for a teaser, the user won't be bother with teaser stuff anymore. + Added an option to set the teaser length, or to disable teasers all together. + When previewing a post, both the short (if any) and the full version of a post are shown. This addresses a common complaint; for example, when writing a book page there was no way you could preview the short version of your post. + Forum posts can be teasered now. This is particularly helpful in the context of drupal.org where we promote forum topics. o Bugfix: replaced all PHP short tags (<?) with long tags (<?php). o Bugfix: removed hard-coded dependence on comment module. o Bugfix: when the queue module was disabled, it was not possible to approve updated book pages. o Bugfix: applied modified version of Marco's node_teaser() fix.
* * Applied slightly modified version of Marco's taxonomy patch:Dries Buytaert2002-12-02
| | | | | | | | | | | | | | | | | - Fixed a bug with get_tree and multiple parents. - Fixed 3 wrong caches (this will avoid some queries). - Extension to taxonomy_term_count_nodes() (feature #159): "currently calling taxonomy_term_count_nodes() returns the amount of nodes in each term, would it be possible to extend this function so that it would only return the amount of nodes of a certain type under each term. - Confirm deleting a vocabulary or a term (requested by Moshe). - Use form_weight() in vocabulary and term forms. - After submitting a term, we end up at the term page (requested by Moshe). - Added status messages when adding, editing and deleting vocabularies and terms - Minor clean ups * Made sure all modules use the same link delimiter; "|" for now.
* - Applied Natrak's "create PHP content" patch.Dries Buytaert2002-11-18
|
* - Made "<root>" translatable. Patch by Stefan.Dries Buytaert2002-11-15
|
* - Some improvements to streamline book maintanance: weights and titles canDries Buytaert2002-11-10
| | | | | | now be changed on the book overview page in the admin page. Editing the "Drupal handbook" (100+ pages?) on drupal.org became a time-consuming process, hence these improvements ...
* - Added printer-friendly links to the book pages.Dries Buytaert2002-11-09
|
* - Applied db_query() fix. Thanks Gerhard and Marco.Dries Buytaert2002-10-30
|
* - sort books by weight, then title in book_render().Kjartan Mannes2002-10-24
|
* - Updated the book module documentation a bit.Dries Buytaert2002-06-09
|
* - adding descriptions to modules (thanks Joe + Scott).Kjartan Mannes2002-06-01
| | | | | | | | | | - fixed comment flat list view missing 1 comment. - changed update.php around a bit. * security check isn't in effect if the db hasn't been updated. * instructions re-organized. * fixed some minor updates. - updated database.mysql done by UnConeD. - changelog update.
* - pending user accounts will not be notified to the site_email.Kjartan Mannes2002-05-23
| | | | | | | | | | | | | - fixed access checks on the register form, do this before you enter the _save function. If registrations are disabled the register link will no longer show (again). - changed &#187 to &raquo, using the names of entities are better than the numbers. - fixed user information being set when account is registered (properly this time, really!) - reversed the if(!...) commit. - node_add specifies more defaults. - added link to blog entries from user page.
* - node security fixes.Kjartan Mannes2002-05-22
| | | | - fixing the UI to represent what actually happens when you are an admin.
* - updating all nodes to use taxonomy terms.Kjartan Mannes2002-05-19
| | | | | | | - updated node modules not to cause errors when taxonomy module is disabled. - added %date variable to user mail configuration. - added hyperlinks to admin.php?mod=system (site configuration) for easy access. - usual coding style and xhtml fixes.
* - fixing a parse error.Kjartan Mannes2002-05-13
|
* - and I missed one of those l() calls. These things are tricky :)Kjartan Mannes2002-05-12
|
* - messed up the parameters.Kjartan Mannes2002-05-12
|
* - fixed some nav links.Kjartan Mannes2002-05-12
|
* - applied Stevens link patch.Kjartan Mannes2002-05-12
| | | | | | - fixed block permissions. - fixed user admin page errors: http://www.drupal.org/node.php?id=173. - cleaned up common.inc a bit: removed format_info, path_img, field_merge.
* - making sure the nodes call filter().Kjartan Mannes2002-05-04
|
* - bug fixes:Kjartan Mannes2002-04-22
| | | | | | | | | | * fixed mails not being parsed properly. * tracker now shows user name when you view your own recent comments. * link to submission queue now points to the right place. * fixed jabber module. * theme is now activated when changed. - applied Gerhards coding style patch.
* - Applied Marco's big patch, including contributions from Moshe:Dries Buytaert2002-04-20
| | | | | | | | | | | | | | | | | | | | | | + 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. + ...
* - book log is now saved and shown when necessary.Kjartan Mannes2002-04-17
| | | | - fixed poll title not showing up.
* This is a major change to the system, needs more testing!Kjartan Mannes2002-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - made the user information block into two different blocks. One forKjartan Mannes2002-04-02
| | | | | | | | | | | | | | | | login and one for user information. - added link to help in book module (post-patch, see below). - applied various patches: Patch by Greg Tyrelle <greg@tyrelle.net> - tracker module now shows usernames next to comments. Patch by Moshe Weitzman <moshe@wallaware.com> - book module has a more complete help. - added administrative link to export book to html - fixed non book nodes not showing up in trees. Patch by moshe weitzman <weitzman@tejasa.com> - links can be defined in the configuration file.
* - Included documentation contributed by Moshe.Dries Buytaert2002-03-26
|
* - changed the access on the menu.create link to post content.Kjartan Mannes2002-02-28
| | | | http://www.drupal.org/node.php?id=91