Commit Graph

355 Commits (47328efca6b662587929208a0646f6fdbbb759ee)

Author SHA1 Message Date
Dries Buytaert 913d538871 - Patch #218319 by Moshe: added support for dynamic menu items in query strings. 2008-02-06 19:41:24 +00:00
Dries Buytaert b8a1eab1fb - Patch #210131 by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy 39d28bd43e #215858 by pwolanin: localized menu options were saved into the database, avoid this by using different variable names / array keys 2008-02-04 12:07:23 +00:00
Gábor Hojtsy e85fa6970f #215127 by chx, webernet, catch; testing by theborg: menu item parenting was broken when moving menu items 2008-01-30 21:01:20 +00:00
Gábor Hojtsy 518c56917b #215361 by bec: phpdoc for menu_load_objects(), _menu_item_localize() and _menu_link_translate() 2008-01-29 11:01:32 +00:00
Gábor Hojtsy bf28630a5e #213664 by chx, theborg: menu item not expanded on front page 2008-01-28 19:09:19 +00:00
Gábor Hojtsy 279d2d4c44 #213517 by ax: inline documentation cleanup, fixing four unclosed @defgroups 2008-01-28 16:05:17 +00:00
Gábor Hojtsy 23607968df #207029 by JohnAlbin: some menu item properties were not passed along for theming (regression) 2008-01-28 15:55:25 +00:00
Gábor Hojtsy 0fa792bdd1 #187075 by dvessel: do not compute a breadcrumb for the home page (regression) 2008-01-27 17:43:23 +00:00
Gábor Hojtsy 154bfccf15 #212409 by theborg: avoid calling check_plain() twice on menu links 2008-01-22 17:19:28 +00:00
Gábor Hojtsy 536fe2bbfb #210479 by catch, dvessel: add newlines to list items, so inline display and RTL issues are resolved 2008-01-21 12:05:36 +00:00
Gábor Hojtsy 7ecd63ed9f #208262 by jvandyk: better name for variable signing a menu rebuild requirement 2008-01-10 20:16:50 +00:00
Gábor Hojtsy f02c737296 A missing empty line 2008-01-10 20:05:30 +00:00
Gábor Hojtsy 23a80e22d1 #207908 by chx, docs by jvandyk: menu title custom translation was not invoked properly 2008-01-10 20:04:19 +00:00
Gábor Hojtsy be9f7bf206 #206510 by pwolanin, chx: menu title arguments were not properly stored when they were empty 2008-01-06 16:47:19 +00:00
Gábor Hojtsy 819772ea65 #202955 by chx: menu_rebuild() needs to be called after maintenance mode, because stale data might end up in menu tables in maintenance mode 2008-01-03 10:51:30 +00:00
Gábor Hojtsy 18cabdb8d3 #205843 report by asimmonds, patch by chx: menu_valid_path() was used as an API function, but was located in menu.module, move to menu.inc 2008-01-03 09:59:00 +00:00
Gábor Hojtsy d3c14ad6fe #50901 by chx: do not allow user login under maintenance mode, if the logged in user has no site config permission 2008-01-02 14:29:32 +00:00
Dries Buytaert a88c178b91 - Patch #204221 by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Dries Buytaert fc2805b30a - Patch #204083 by pwolanin: PHPdoc improvement. 2007-12-28 10:47:59 +00:00
Gábor Hojtsy 34afaf8f28 #176748 follow up by pwolanin: fix bad breadcrumbs and missing/wrong titles 2007-12-27 14:03:37 +00:00
Gábor Hojtsy d0940351af #204081 by chx: check menu arguments by type, so type casting will not cause problems 2007-12-27 12:23:59 +00:00
Dries Buytaert 2a1e980cdd - Patch #203509 by pwolanin, chx, cwgordon7 et al: fixed menu inheritenace. 2007-12-26 19:02:24 +00:00
Gábor Hojtsy ac4c8f7ab0 #203274 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy 1e63dd1ae6 #201536 by chx: centralizing permission checking code in node revision handling, removing lots of duplicate code 2007-12-20 09:20:41 +00:00
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
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Gábor Hojtsy 9e6ef53c2c #154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array 2007-06-30 19:46:58 +00:00
Steven Wittens f4e7cabb2b #132226: Single tabs should not appear. 2007-06-22 06:12:09 +00:00
Gábor Hojtsy f22b5d31ea #115847 by chx and pwolanin: traverse to upper menu items for default tabs 2007-06-17 14:55:39 +00:00
Dries Buytaert f3c5932a8a - Patch #150676 by lyrincz: removed debug comment. 2007-06-12 20:51:27 +00:00
Dries Buytaert cd0c56481d - Patch #149562 by chx: avoid duplicate menu items. 2007-06-06 06:26:15 +00:00
Dries Buytaert 27388f6655 - Patch #149176 by chx, David et al: getting rid of the sequences table, using db_last_insert_id() instead of db_next_id(). 2007-06-05 12:13:23 +00:00
Dries Buytaert c4d170c961 - Patch #147656 by pwolanin and chx: menu module update for Drupal 6. 2007-06-05 09:15:02 +00:00
Dries Buytaert 7744bd90c5 - Patch #147873 by hswong3i: made an SQL query Oracle-friendly. 2007-06-01 09:40:40 +00:00
Dries Buytaert 97a09cb998 - Patch #147873 by hswong3i: menu SQL fix. 2007-05-31 11:54:39 +00:00
Dries Buytaert e9c11ad72f - Patch #147873 rollback. 2007-05-30 15:26:33 +00:00
Dries Buytaert 682c4cc2e7 - Patch #147873 by hswong3i: made menu.inc Oracle-friendly. 2007-05-30 08:35:56 +00:00
Dries Buytaert ee2afa19d0 - Patch #145058 by pwolanin: update parents when a child is deleted. 2007-05-28 06:24:41 +00:00
Dries Buytaert a8ceb7613b - Patch #145058 by pwolanin (and chx): re-parenting and caching for menu links. 2007-05-27 20:31:13 +00:00
Dries Buytaert 7f83d274b5 - Patch #146937 by merlinofchaos: restore maintenance mode. 2007-05-26 10:54:12 +00:00
Dries Buytaert 5094312d3b - Patch #140218 by Crell et al: make it possible to move page callbacks to their own include files. 2007-05-22 05:52:17 +00:00
Dries Buytaert a243145d3f - Patch #137767 by chx and pwolanin: multiple menu support. 2007-05-16 13:45:17 +00:00
Dries Buytaert e66371cac1 - Patch #137211 by merlinofchaos: move theme information to .info files and improved theme inheritance. 2007-05-06 05:47:52 +00:00
Dries Buytaert 7d4f2836ba - Patch #128082 by Goba et al: Allow localization of built-in menu items. 2007-04-30 17:03:29 +00:00
Dries Buytaert 768faa988b - Patch #138703 by chx: Menu inheritance is wrong. 2007-04-24 08:26:58 +00:00
Dries Buytaert 7c89dee568 - Patch #131009 by chx: menu system fixes/improvements. 2007-04-15 14:38:16 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Steven Wittens f3cd2da113 #130991: Custom menu items, part 1 2007-04-06 04:39:51 +00:00
Steven Wittens f7440d4d73 #130971: Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc) 2007-03-27 05:13:55 +00:00
Dries Buytaert eb6b848de6 - Patch #110888 by Eaton: unify hook _alter() 2007-03-26 00:35:59 +00:00
Steven Wittens 081d6d662f #127172: Fix negative weights in menu system (admin page was out of order) 2007-03-19 01:13:28 +00:00
Dries Buytaert 66b99866b0 - Patch #126128 by chx and Steven: menu fixes and enhancements. Yay. 2007-03-12 13:01:10 +00:00
Dries Buytaert 0cb5532a23 - Patch #125763 by chx: menu system fixes/enhancements. 2007-03-08 19:03:48 +00:00
Dries Buytaert 5254053812 - Patch #118183 by chx: tabs fixes. 2007-02-14 16:43:38 +00:00
Dries Buytaert a1e6728a46 - Patch #113603 by chx: first crack at re-implementing tabs. 2007-02-11 09:30:51 +00:00
Dries Buytaert f0e783d369 - Patch #114753 by chx: the return of the titles 2007-01-31 21:55:37 +00:00
Dries Buytaert 489903a08e - Patch #113603 by chx: first crack at re-implementing tabs. 2007-01-31 21:26:56 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 3b543c18f5 - Rollback of E_ALL patch. Too much extra breakage. 2007-01-25 22:14:06 +00:00
Dries Buytaert fd32b42196 - Patch #112715 by webchick et al: fixed some E_ALL errors. 2007-01-25 21:32:07 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Steven Wittens 5790f43620 #109074: Avoid random segfaults in _menu_sort() 2007-01-14 01:37:48 +00:00
Neil Drumm dfd86399c0 #106232 by chx. Add spaces for code style. 2007-01-02 05:05:38 +00:00
Dries Buytaert 96c913dca9 - Patch #88707 by chx: Make menu_set_active_item a complete inner redirection. 2006-12-23 17:27:03 +00:00
Steven Wittens 4610499856 #101203: Fix 'more help' appearing when there is none. 2006-12-12 06:02:52 +00:00
Dries Buytaert 38f3050777 - Patch #101236 by Uwe Herman: fixed typos in the documentation. 2006-12-05 05:47:37 +00:00
Dries Buytaert ad1c9e69d8 - Patch #97907 by webchick: restore 'more help' links. 2006-11-17 17:16:56 +00:00
Neil Drumm 968a51a442 #72674 by kkaefer. Make adding menu items for local tasks not interfere with the local task. 2006-11-16 07:28:18 +00:00
Dries Buytaert eae420960f - Patch #88707 by kkaefer: make menu_set_active_item recompute the contextual menu items. Bugfix. 2006-10-23 17:57:31 +00:00
Steven Wittens 756cb72d33 - Menu item capitalization 2006-10-22 09:02:29 +00:00
Neil Drumm 4a36c9446a #46935 by markus_petrux and edkwh. Don't output empty title attributes. 2006-10-17 08:27:24 +00:00
Neil Drumm 292d28c831 #42826 by jvandyk, mfb, macgirvin. Only show 'edit primary links' link if the user has access to it. 2006-09-27 07:02:32 +00:00
Neil Drumm c0498c3aaf #78129 by Harry Slaughter. Fix up the breadcrumb home link. 2006-09-06 08:32:51 +00:00
Dries Buytaert 8fdf7a8750 - Patch #72290 by killes: split up the cache table. 2006-08-30 08:46:17 +00:00
Steven Wittens 55eec8f66f #79601: module_exist() -> module_exists() 2006-08-20 05:57:41 +00:00
Dries Buytaert b138793b68 - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) 2006-07-31 11:25:55 +00:00
Steven Wittens 3b4e9d4a26 Leftovers from #71925: remove # from hook_link keys 2006-07-13 05:32:22 +00:00
Neil Drumm f9ecf1b212 #72352 by quiptime, properly generate home link in breadcrumb. 2006-07-07 07:57:30 +00:00
Dries Buytaert e93f8be871 - Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants. 2006-07-05 11:45:51 +00:00
Neil Drumm e2ade02680 #71629 by keve, fix an undefined index. 2006-07-02 18:56:42 +00:00
Neil Drumm 9f1450c989 #71621 by keve, avoid an undefined variable 2006-07-02 18:47:09 +00:00
Dries Buytaert 1a68f48c30 - Patch #69270 by gordon: add query to the menu items. Required for CiviCRM integration. 2006-06-17 15:21:44 +00:00
Dries Buytaert 6fb5f9059b - Patch #68703 by jvandyk: corrected the PHPDoc of menu_get_item(). 2006-06-14 13:33:20 +00:00
Dries Buytaert b0ba5ef4f5 - Patch #67434 by fgm: small performance improvement. Unset variables as soon as possible. 2006-06-07 07:40:34 +00:00
Dries Buytaert e600c28f19 - Patch #65854 by m3avrck: fixed invalid class names. 2006-06-01 12:31:43 +00:00
Dries Buytaert 29ba34deae - Patch #64692 by psycotic: theme_menu_links() returning Array 2006-05-21 09:18:47 +00:00
Dries Buytaert 1b291a2917 - Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules 2006-05-18 14:58:57 +00:00
Dries Buytaert 9472fbae38 - Patch #59222 by Zen: fixed problem with breadcrumb navigation. 2006-04-24 19:25:37 +00:00
Gerhard Killesreiter 361c7c7ed8 #58034, make suggested menu items show up in breadcrumbs, results in less code. Patch by Zen 2006-04-14 22:16:02 +00:00
Gerhard Killesreiter fc59697d5d #58590, Very tiny performance enhancement in menu_set_active_item(), patch by timcn 2006-04-13 15:02:35 +00:00
Gerhard Killesreiter c56896224a #57810, avoid running in infinite loop, patch by chx 2006-04-09 21:44:42 +00:00
Gerhard Killesreiter 77dc67ec92 #56415, menu_set_location (menu_set_active) mangles $_GET/arg(), patch by JonBob 2006-04-07 15:18:40 +00:00
Gerhard Killesreiter c706d11a0d #16542, add db rewriting for menus, patch by chx
fixes 57406 too
2006-04-07 11:28:20 +00:00
Steven Wittens 3e9948e529 #55869: Redirect back to requested page after log-in 2006-04-04 07:46:02 +00:00
Steven Wittens d87aa9e464 #56796: Don't show offline notice more than once per page 2006-04-04 06:17:52 +00:00
Gerhard Killesreiter dae2bdbb3b #45988, Nodes with menu items bypass node permissions system
patch by chx
2006-03-20 20:48:19 +00:00
Gerhard Killesreiter 07fe4198ad #42388, Rehaul menu builder, patch by chx 2006-03-15 08:49:24 +00:00
Steven Wittens a70522881e - #53857: External URL suppor for menus broken by SA-2006-001 2006-03-14 15:20:41 +00:00
Steven Wittens 0539f5483b - sa-2006-001: Custom menu items are accessible to anyone 2006-03-13 21:33:18 +00:00
Gerhard Killesreiter 3fccc5b2eb #42388, Out of range value adjusted for column, patch by drumm 2006-03-09 22:12:53 +00:00