Commit Graph

230 Commits (a806b7bc3994db768bd9f6ec2b563453723f57d6)

Author SHA1 Message Date
Gábor Hojtsy 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy aaaf8f572d #198620 by yched: a tiny bit of optimization in menu_router_rebuild(); do not try to use the cache when resetting is asked 2007-12-07 18:24:55 +00:00
Gábor Hojtsy cd8afc2be1 #196043 by chx: menu items saved in the update but broken on the new system (due to coming from disabled or old modules) were not possible to delete 2007-12-06 21:35:14 +00:00
Gábor Hojtsy d83289f857 #196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions 2007-12-06 09:58:34 +00:00
Dries Buytaert 58852d4b7b - Patch #192736 by quicksketch et al: drag and drop for book module. 2007-11-26 16:19:37 +00:00
Gábor Hojtsy abd2477d7b #170514 by pwolanin: drastically reduce calls to cache clearing when the menu needs to be rebuilt 2007-11-26 08:49:03 +00:00
Gábor Hojtsy 5dcacebf26 #194166 rollback and additional comments by chx: developers can modify menu editing behavior with hook_form_alter(), no need for menu API hacks, which were half done anyway 2007-11-24 20:59:32 +00:00
Gábor Hojtsy 01b4583a01 #164330 follow up by webernet and Crell: remove XHTML invalidating ID attribute on links, where the classes are enough to identify them 2007-11-21 09:37:07 +00:00
Gábor Hojtsy a42a9d3efd #178608 by chx: convert menu overview page to a form to overcome any CSRF vulnerabilities 2007-11-09 22:14:41 +00:00
Gábor Hojtsy 4e187261ab #177497 by chx and Desbeers: revive Drupal 5's menu_set_location() functionality by introducing menu_set_item() (for consistency in function naming), thus fixing a regression in the current development code. Also fixing some misuse of menu_set_location() by using drupal_set_breadcrumb() instead. 2007-10-25 08:24:43 +00:00
Gábor Hojtsy 900fc4025f #177497 reverted - caused fatal problems with modules using menu_set_location() 2007-10-24 14:16:33 +00:00
Gábor Hojtsy 5e48ed60e7 #177497 by chx: revive Drupal 5's menu_set_location() functionality by introducing menu_set_item() (for consistency in function naming), thus fixing a regression in the current development code 2007-10-24 11:59:34 +00:00
Gábor Hojtsy b94f2716cf #184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +00:00
Gábor Hojtsy 988d4f505a #173188 follow up patch by chx: return mlid when a new menu link is added 2007-10-17 19:42:02 +00:00
Gábor Hojtsy e95c8d5b08 #184022 bx chx and merlinofchaos with documentation improvements from me: %index and %map menu path placeholders for Views module to be able to use the new menu system 2007-10-17 14:46:34 +00:00
Gábor Hojtsy 79641f5312 #173188 by chx: update aggregator menu items when an aggregator category is changed 2007-10-16 13:48:11 +00:00
Dries Buytaert b274bf87f3 - Patch #182950: fieldset massaging for usability. 2007-10-12 14:10:18 +00:00
Gábor Hojtsy 2a19a5c3e1 #180588 by merlinofchaos: run tabs through theme('menu_item_link') compared to just l() directly, so they can be properly themed 2007-10-08 18:49:03 +00:00
Gábor Hojtsy 8ac45b1a75 #181564 follow up patch by webernet: fix a notice introduced by the earlier patch committed 2007-10-08 15:01:05 +00:00
Gábor Hojtsy 4f4d08c23d #181564 by Crell: add first and last CSS classes to menu tree lists and themed item lists for themers to use 2007-10-08 14:15:09 +00:00
Gábor Hojtsy 0e04fbd43d #170514 by pwolanin: block and page cache should be cleaned when a menu item is changed (saved, deleted) or the menu router is rebuilt 2007-10-05 13:17:09 +00:00
Gábor Hojtsy fbe674e263 #179578 by pwolanin: multiple menu links to the same node were not shown (but were stored) 2007-10-01 09:53:03 +00:00
Gábor Hojtsy 888fd6415f #179474 by JirkaRybka and pwolanin: proper depth counting for menu tabs when parents are missing inbetween 2007-10-01 09:49:14 +00:00
Gábor Hojtsy 0cf669611f #179475 by JirkaRybka: fix code comments on menu_local_tasks() 2007-09-29 08:12:06 +00:00
Dries Buytaert 0351f4ca5d - Patch #164330 by Crell et al: restore menu classes. 2007-09-26 18:14:05 +00:00
Gábor Hojtsy 8f9143ad0d #172764 by pwolanin and chx: avoid using the expensive array_shift() in menu.inc 2007-09-10 12:21:30 +00:00
Gábor Hojtsy 9643ec9e70 #172754 by pwolanin: page titles were broken when outside the active menu or on a callback 2007-09-07 20:31:02 +00:00
Gábor Hojtsy 9307321817 #148677 by pwolanin: set active menu item on 403/404 pages (and on the user page) 2007-09-06 12:47:20 +00:00
Gábor Hojtsy 306fca8ec9 #172604 by pwolanin: remove leading space at _menu_find_router_path() to comply to coding standards 2007-09-06 12:07:31 +00:00
Dries Buytaert 2db2c039fb - Patch #172950 by webernet: code style fixes. 2007-09-04 21:10:45 +00:00
Gábor Hojtsy 2765d143c0 #147657 by chx: menu module update function 2007-08-29 20:46:18 +00:00
Gábor Hojtsy ffb803bae2 #157510 by pwolanin and chx: search module needs menu tail arguments (arbitrary 'directory' looking parts) 2007-08-25 10:29:18 +00:00
Dries Buytaert f2ce877d43 - Patch #145218 by profix898, bennybobw, Crell, forngren et al: use href instead of @import for CSS. 2007-08-23 16:41:19 +00:00
Gábor Hojtsy 6721bc580a #166593 by hswong3i: move literal values out of some core queries to support cross-database compatibility (ie. better SQL parsing and altering options) 2007-08-22 08:36:34 +00:00
Gábor Hojtsy 6eaaa3c1b3 #160168 by kkaefer and pwolanin: restore lost Drupal 5 functionality of being able to set primary and secondary links differently 2007-08-20 18:26:41 +00:00
Gábor Hojtsy 85509811e1 #155621 follow up patch by pwolanin: really delete menu links by refreshing the cache 2007-08-20 18:15:05 +00:00
Dries Buytaert d48660c524 - Patch #166719 by pwoladin: help system fix. 2007-08-20 06:44:02 +00:00
Dries Buytaert 78dcd8e03f - Patch #155621 by pwolanin: Use API function to delete menu links during rebuild. 2007-08-19 09:46:15 +00:00
Dries Buytaert c17499b6fe - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. (Correct version this time.) 2007-08-12 16:12:00 +00:00
Dries Buytaert b134b023e1 - Patch #163191 by hswong3i: removed db_num_rows() for compatibility with Oracle and DB2. Also a performance improvement. 2007-08-12 15:55:36 +00:00
Dries Buytaert 15c68075d9 - Patch #154470 by pwolanin et al: optimize menu queries and indices. 2007-08-11 14:06:15 +00:00
Dries Buytaert a21275a58f - Patch #165160 by hswong3i: made two SQL queries work on DB2. 2007-08-07 08:41:24 +00:00
Gábor Hojtsy ffa40a9be3 #162095 by pwolanin: fix MySQL error when moving menu links, not applicable to PostgreSQL 2007-08-04 13:58:06 +00:00
Gábor Hojtsy 50955e3801 #156626 by pwolanin: allow deletion of custom menus 2007-07-25 14:44:03 +00:00
Gábor Hojtsy 306d3b150b #154469 follow up patch by pwolanin: fix parameter order in menu_tree_collect_node_links() call 2007-07-17 06:13:34 +00:00
Dries Buytaert 78031b77e1 - Patch #154469 by pwolanin: improve performance of access checks and add localized sorting. 2007-07-16 12:51:03 +00:00
Dries Buytaert c7eef3d27b - Patch #151055 by pwolanin et al: fixed problems with moving menu items. 2007-07-09 18:08:15 +00:00
Gábor Hojtsy 806d0a3dee #156910 by asimmonds: fix code indentation problems introduced with new code in this development cycle; only whitespace changes 2007-07-05 08:48:58 +00:00
Gábor Hojtsy 07a8d9bcb3 #156782 by webernet and pwolanin: clean up menu API and menu module code comments, fix typos, wrap lines properly and fix some coding style issues 2007-07-04 21:33:55 +00:00
Dries Buytaert e0fe1ae8eb - Patch #151583 by pwolanin, Shakur, webernet, Arancaytar et al: various menu module fixes. 2007-07-04 15:49:44 +00:00