Commit Graph

226 Commits (baf6910cc1002c7b40b2899162a122b3ed441e6d)

Author SHA1 Message Date
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
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