Commit Graph

214 Commits (47095ffb3cc73f45763b707b7f082707fe9180dd)

Author SHA1 Message Date
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
Dries Buytaert 308d1f200f - Patch #48993 by jvandyck: removed notices. 2006-02-14 19:19:34 +00:00
Dries Buytaert 583d5a4ee9 - Patch #48622 by adrian: remove drupal_goto from _submit functions. 2006-02-10 05:25:57 +00:00
Dries Buytaert 5c75ee8947 - Patch #46184 by Jaza: breadcrumb gone for pages that use menu_set_location() 2006-01-29 07:43:22 +00:00
Dries Buytaert ca9f0fab45 - Patch #45854 by Jaza: fixed problem with menu_rebuild(). 2006-01-23 07:27:18 +00:00
Dries Buytaert 14ae238973 - Patch #45320 by Zen: improved usability of off-line mode. 2006-01-22 07:51:06 +00:00
Dries Buytaert a177c29622 - Patch #40849 by wtanaka and Richard: killed some menu.inc warnings/notices. 2006-01-20 09:12:26 +00:00
Dries Buytaert f828c0ade2 - Patch #39430 by Jaza and Richard: code improvements: improved separation between UI and logic. 2006-01-19 08:58:00 +00:00
Dries Buytaert b7a993639b - Patch #9477 by Neil and Richard: fixed inconsistent behavior of user-specified paths. 2006-01-16 08:45:30 +00:00
Dries Buytaert 6ff8147a75 - Patch #44176 by Zen: performance improvement: split() -> explode(). 2006-01-13 14:38:38 +00:00
Dries Buytaert 3607a2b059 - Patch #44373 by m3avrck: improved generated HTML/CSS. 2006-01-12 09:58:49 +00:00
Dries Buytaert 70c097f2be - Modified patch #43082 by chx: return a 404 when a callback function does not exist. 2006-01-08 12:17:57 +00:00
Dries Buytaert 34a5d46022 - Patch #36465 by chx / Richard: made it possible to link to the front page. 2005-12-27 10:36:16 +00:00
Dries Buytaert b4552cd977 - Patch #40512 by Richard: fixed coding style + performance improvements. 2005-12-10 20:01:55 +00:00
Dries Buytaert c7bce9efd4 - Patch #35768 by JonBob/Richard: separate callback handling from menu handling.
Moves callbacks and arguments to a separate data structure from the visible menu tree. As mentioned on drupal-devel, this change has little impact except to slightly improve code legibility and prepare the code base for future separation of these tasks, with an eye toward performance improvements of the menu system.  Also changes array_key_exists() to isset() in several places, which is reported to perform better.
2005-12-03 14:50:27 +00:00
Dries Buytaert c1dbd83e40 - Patch #11758 by Richard Archer: fixed mbstring clash. 2005-11-28 15:45:04 +00:00
Steven Wittens 5cf74ccb72 #27582: menu.inc doc update 2005-11-24 22:04:10 +00:00
Dries Buytaert ea53aad7c8 - Patch #22215 by Richard Archer: refactored primary and secondary links.
Deprecates the primary_links module.

  This patch was much needed.  Thanks Richards!

  NOTE: if some themers could investigate if there is room for improvement
        with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert 22cf0b4ef7 - Patch #35410 by kbahey: made site offline feature work. 2005-10-29 06:58:56 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Dries Buytaert 709b9005f5 - Modified version of patch #32622 by kbahey: added 'site offline/maintenance' feature.
(Untested because the admin/settings page doesn't work yet.)
2005-10-08 12:38:20 +00:00
Dries Buytaert f906d2dd50 - Patch #31306 by ax: fixed menu system warning. 2005-09-18 17:03:26 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert b69b43d1ec - Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s.
Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
2005-08-11 12:57:41 +00:00
Dries Buytaert 5c8843704c - Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
up the documentation a little.

  chx: can you double-check whether the global $conf variable is secure?
       (That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +00:00
Dries Buytaert efdd76ad3d - Patch #22416: fixed typo that prevented menu item descriptions from showing up in links. 2005-06-05 09:47:13 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Dries Buytaert 6ba8f32cca - Patch #13503 by chx: made the menu cache locale aware. 2005-04-07 20:00:48 +00:00
Dries Buytaert 2b6d4c566e - Patch #17869: make local tasks more themeable. 2005-02-28 16:23:27 +00:00
Dries Buytaert 1e15bed312 - Patch #17687 by Gerhard: removed some cruft. 2005-02-21 19:47:44 +00:00
Dries Buytaert 42e7e7d519 - Small clean-up: '>= 1' => '> 0' => ''. 2005-01-22 09:10:59 +00:00
Dries Buytaert df3b371853 - Patch #15976 by Neil: if one single admin modifiable menu item is added then it is not put in the menu table because the comparison is > 1 instead of > 0. 2005-01-22 09:09:06 +00:00
Dries Buytaert 24a68b209c - Patch #9477 by JonBob: improved handling of user-specified paths. 2005-01-19 21:57:58 +00:00
Dries Buytaert 76eace311e - Usability improvement: only display subtabs if there is more than one subtab. If there is only one, make sure it is the set to be the default subtab and all is well. 2004-11-28 12:03:11 +00:00
Dries Buytaert c214cee319 - On popular demand, patch #10178 by jhriggs: made it possible to expand menu items. 2004-11-06 12:11:02 +00:00
Steven Wittens b228f0183a #11449: Adding a failsafe check for an improperly prefixed menu sequence. This is a temporary fix, awaiting a proper install system to end manual prefixing ;). 2004-10-16 19:42:52 +00:00
Dries Buytaert 12eb20238c - Patch #11430 by JonBob: reseting the menus broke the admin pages. 2004-10-14 21:38:12 +00:00
Steven Wittens 986a476c45 Reverting the last #9292 (php 5 compatibility) patch, by request of killes. It broke stuff. 2004-10-12 23:33:38 +00:00
Dries Buytaert 306cfdf17a - Patch #9292 by Gerhard: fixed another array_merge + PHP5 woe. 2004-10-12 20:20:28 +00:00
Dries Buytaert 5c7983c4de - Patch #8179 by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00
Dries Buytaert b84b6e42cf - Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments. 2004-09-09 05:51:08 +00:00
Dries Buytaert 27f055b5cd - Patch #10192 by JonBob: fixed issue with menus not expanding. 2004-09-07 21:48:49 +00:00