summaryrefslogtreecommitdiff
path: root/modules/block.module
Commit message (Collapse)AuthorAge
* - Added some missing quotes.Dries Buytaert2003-04-21
|
* - Applied modified version of Al's "block delta" patch. I left out theDries Buytaert2003-04-19
| | | | | | | | blogroll feature as I think it would get very confusing. I don't mind to add it but it need some thought and documentation as it somewhat conflicts with the existing cloud module. These changes require you to run update.php.
* - Fixed some SQL query directives.Dries Buytaert2003-03-29
|
* - Fixed typo in the block delete link. Reported by Paul C.Dries Buytaert2003-03-29
|
* - 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
|
* - Tidied up XHTML. Patch by Ulf.Dries Buytaert2003-01-23
| | | | - Added missing t() function. Patch by Stefan.
* - Clean URL patch.Dries Buytaert2003-01-06
|
* - Bugfix: some variables were not being reset causing wrong links to beDries Buytaert2003-01-02
| | | | displayed. Patch by Ax.
* - Tidied up the use of check_output(). Might make rendering pages a bitDries Buytaert2002-12-31
| | | | snappier (performance improvement).
* CHANGES:Dries Buytaert2002-12-29
| | | | | | | | | | | | | | | | - Usability improvement: made the block administration pages use the new table rendering functions. By the way, the old code rendered invalid HTML code. - Usability improvement: saving block changes will now show a status message. - Usability improvement: quite a few strings could not be translated. TODO: - I think the "enabled" and "custom" field are somewhat confusing. Suggestions?
* - Refactored the administration pages.Dries Buytaert2002-12-24
|
* * 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.
* - changing case for consistency.Kjartan Mannes2002-11-20
|
* Patch based on work of Kjartan:Dries Buytaert2002-11-17
| | | | | | | | | | | | | | - Changed cache API. - Fixed caching bug in comment.module. Odd this hasn't been reported yet. - Fixed caching bug in forum.module. - Fixed caching bug in system.module. - Fixed caching bug in block.module. - Simplified caching support in forum.module thanks to improved cache API.
* - Fixed bug in block module: "Array" was displayed on the user informationDries Buytaert2002-11-16
| | | | page.
* - Fixed glitch in block module: the admin links were not composedDries Buytaert2002-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | correctly. Patch by Stefan. - Added missing t() functions and improved the %x directives for better readability and to ease the process of translating your site. Patches by Stefan. - Made two small additions to the 'code-clean.sh' script; it will now remove patch related junk. NOTES: - I removed the · related bits. Let's tackle these later on in a separate patch after we got some sort of consensus. - I removed the 'module_exist("drupal")' check in the user module; I *think* it is incomplete and therefore incorrect. - Stefan, try using quotes in your translations and check whether everything still works. Example: translate the "Create account" button to "Create \"haha\" account \'hihi\'" and see if you can still create new accounts. Maybe automate this using a quick hack in the locale module ...
* - Made sure blocks are sorted by weight. Patch by Ax.Dries Buytaert2002-10-30
|
* - Committed Marco's block rewrite:Dries Buytaert2002-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + Blocks are not longer called if not rendered: major performance improvement. + Fixed some bugs (preview option was broken, path option was broken). + Removed "ascii"-type blocks. + Added permission to for "PHP blocks" + ... NOTES: + You'll want to run "update.php": ALTER TABLE blocks DROP remove; ALTER TABLE blocks DROP name; + You'll want to update your custom modules as well as the modules in the contrib repository. Block function should now read: function *_block($op = "list", $delta = 0) { if ($op == "list") { return array of block infos } else { return subject and content of $delta block } }
* - removed function module_rehash().Kjartan Mannes2002-10-17
| | | | | - updated database dump. - removed tables modules, layout and referrer (don't forget to backup!).
* - fixing block configuration not working when user is disabling all blocks.Kjartan Mannes2002-09-30
|
* - Applied Axel's patch to sort blocks by weight.Dries Buytaert2002-09-26
|
* - Changed a " drupal " into " Drupal ".Dries Buytaert2002-06-09
|
* - improved module descriptions.Kjartan Mannes2002-06-08
| | | | | | | - removed admin options for queue and comment module if the modules are not loaded. - nodes are now auto promoted when queue module isn't enabled. - moderation result block is now visible by the node author.
* - 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.
* - Added missing translations and the like.Dries Buytaert2002-05-31
|
* - 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.
* - changed block, module and theme config pages to use checkboxes.Kjartan Mannes2002-05-11
| | | | | - coding style clean ups. - fixed taxonomy causing errors.
* - user.module used a obsolete variable_get.Kjartan Mannes2002-05-02
| | | | - set blocks for new users.
* - changed from a select to checkbox on edit account page.Kjartan Mannes2002-05-02
| | | | - added a basic help text.
* - small update .htaccess, fixed the blog link.Kjartan Mannes2002-05-02
| | | | - some interface changes in block admin page.
* - merged block and box modules. modules/box.module should be removedKjartan Mannes2002-05-02
| | | | | | | | | | or disabled as it will cause errors otherwise. - split status into status and custom. Status will turn the block on/off, and custom defined if the user can change the status. Requires sql update. - reintroduced user page to configure blocks.
* - Bugfix: solve problem with locales being "disabled". Reported by Jerritt,Dries Buytaert2002-04-24
| | | | fixed by Marco.
* - 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. + ...
* code-style.plKjartan Mannes2001-11-17
| | | | | | | - allow $var++ and $var-- syntax. update.php / block.module - cleaned up coding style, and trailing spaces.
* - A large batch of updates, amongst them a rewritten node system. MoreDries Buytaert2001-11-01
| | | | information available on the mailing list.
* - added a path field to the blocks. Its a regexp to define which pages youKjartan Mannes2001-10-22
| | | | | | | want the blocks to show up on. - updated the help. - did some XMLification. - SQL update script has a new table collumn which needs to be applied.
* - added the CVS keyword $Id$ to all files to make future version trackingKjartan Mannes2001-10-20
| | | | easier. Also changed the <? tag to <?php in some cases.
* - Removed a node's link ID (lid) as discussed on the mailing list. SeeDries Buytaert2001-10-16
| | | | | | | | | | | | | | 'updates/3.00-to.x.xx.mysql' for the required MySQL updates. - Renamed some "author" fields to "uid" fields for sake of consistency. - Fixed the coding style of some PHP files. - Fixed the moderation queue (fairly untested though). - Re-introduced the temporary SQL table in _node_get(). - Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
* - various small updates:Dries Buytaert2001-07-07
| | | | | | + fixed 2 small HTML typos in meta.module + better watchdog messages in comment.module + fixed typo in block.module
* Extremely large commit:Dries Buytaert2001-06-29
| | | | | | | | | | | | | | | | | | - 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!
* - Small but significant improvements to block and box.module whichDries Buytaert2001-06-23
| | | | | | | | | | | | makes the ever-confusing "rehash modules" (see module.module) no longer needed, hence making module.module redundant. :-) - Removed module.module. - Renamed conf.module to system.module, and added some information about the available modules to system.module. - Various small changes.
* - Added a brand-new access.module which allows you to manage 'roles'Dries Buytaert2001-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | (groups) and 'permissions' ... (inspired by Zope's system). + Once installed, click the help-link for more information. + See updates/2.00-to-x.xx.sql for the SQL updates. - Modified loads of code to use our new access.module. The system still has to mature though: new permissions have to be added and existing permissions need stream-lining. Awaiting suggestions. - As a direct result of the new access system, I had to rewrite the way the top-level links in admin.php are rendered and displayed, and xhtml-ified admin.php while I was at it. TODO - Home-brewed modules need updating, home-brewed themes not. (Examples: file.module, trip_link.module) - As soon we *finished* the refactoring of the user system (KJ has been working on this refactoring already) we should consider to embed this role and permission code into account.module ...
* - block.module:Dries Buytaert2001-06-18
| | | | | | | | | | | | + renamed 'overview' to 'preview' as suggested by Kristjan. - meta.module: + renamed 'verify' to 'preview' to make it consistent with block.module. + fixed comma-bug with attribute list reported by Kristjan. - node.module: + fixed typo: "id$nid" should have been "id=$nid"
* - Made the main page display sub-topics when a specific topicDries Buytaert2001-05-12
| | | | | | | | | | | | is selected. - Made theme_link() less "hard coded", we still have to make it fully configurable though. - Fixed glitch in story submission: the warning messages were not displayed. - Tidied up block.module a bit.
* - Uhm. Rewrote the module system: less code clutter, less run-timeDries Buytaert2001-05-05
| | | | | | | | | | | | | | | | | | | | overhead, and a lot better (simpler) module API. I had to edit a LOT of files to get this refactored but I'm sure it was worth the effort. For module writers / maintainers: None of the hooks changed, so 95% of the old modules should still work. You can remove some code instead as "$module = array(...)" just became obsolete. Also - and let's thank God for this - the global variable "$repository" has been eliminated to avoid modules relying on, and poking in drupal's internal data structures. Take a look at include/module.inc to investigate the details/changes. - Improved design of the content modules "story", "book" and "node" (to aid smooth integration of permisions + moderate.module). I'm still working on the permissions but I got side tracked for which I "Oops!".
* A lot of small changes (search-n-replace) make a big commit:Dries Buytaert2001-04-06
| | | | | | | | | | - 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
* - applied David Norman's patch to turn all <?'s into fully qualifiedDries Buytaert2001-03-10
| | | | <?php's.
* A rather large and important update:Dries Buytaert2001-03-07
| | | | revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks). For drupal's sake, try to screw something up. See the mail about PHPNuke being hacked appr. 6 days ago. The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required). I beg you to be evil. Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)