Commit Graph

188 Commits

Author SHA1 Message Date
ryan
75569d56f7 Menu styling updates. Props koopersmith. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 16:04:18 +00:00
ryan
e879a9ab0e New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 01:05:58 +00:00
nacin
6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
ryan
96bc63439a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-07 15:25:48 +00:00
nacin
589997d8cb Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-03 22:52:30 +00:00
nacin
90db286b69 Add beta testers note to nav menus admin panel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-02 22:46:48 +00:00
nacin
40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
ryan
c2a6f28bf5 Enable nav menu admin if theme supports widgets. Show notice if theme supports widgets but not nav-menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-24 18:35:31 +00:00
nacin
ba6f1cba07 Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-22 19:56:16 +00:00
nacin
0ac55fc053 Coding standards: When vertically aligning for readability, use spaces (not tabs). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 17:07:05 +00:00
markjaquith
6786e3ddb3 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 19:57:08 +00:00
ryan
e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
markjaquith
d5296edfad Separate update/create menu logic so new menus have name created properly. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:19:58 +00:00
markjaquith
7cf7df44d1 No need for three separate JS files if they are only ever enqueued together. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:13:16 +00:00
markjaquith
7f826c2420 "setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 22:56:38 +00:00
ryan
b98f319bcf Default target to _self. Add some sanitization and gettext. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-16 19:20:10 +00:00
ryan
f635d99754 Menus rework. Props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-15 16:26:46 +00:00
ryan
08cf9f0d98 Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-12 21:57:52 +00:00
markjaquith
4b45b18c1d Clean up whitespace in nav-menu.php see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 03:59:28 +00:00
markjaquith
c2ae1b8b7e Hide All/Show All buttons should be links. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 03:28:11 +00:00
ryan
25a2a06a9e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 20:00:49 +00:00
wpmuguru
fcf6942d33 more menu improvements, props ptahdunbar, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:06:56 +00:00
ryan
b77baf5afb Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:06:44 +00:00
wpmuguru
e8503ab54a move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 17:10:00 +00:00
ryan
4039b181c6 Set meta after new menu is inserted. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 16:49:57 +00:00
markjaquith
280a19ff6c Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:48:17 +00:00
markjaquith
18c313559f Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 05:40:03 +00:00
wpmuguru
9185676481 Use standard WP UI markup in menu admin, props ptahdunbar, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 00:03:42 +00:00
markjaquith
6141567b74 Hide URL editing UI for page and category menu items. TODO: eliminate all usage of guid. Use custom field instead. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 22:52:29 +00:00
markjaquith
a5b99ad4e6 Add missing form ending tag. Props ocean90. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:14:12 +00:00
ryan
9ab7306993 Remove author tags. fixes #12366
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
ryan
12f9c6113e Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 18:52:54 +00:00
markjaquith
39b5d188b5 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:37:00 +00:00
markjaquith
67aed4d0a2 Fix menu links. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:11:49 +00:00
markjaquith
654c7a3888 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 09:43:09 +00:00
ryan
091d1150d3 Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:45:26 +00:00
ryan
ee734e1e68 Reapply stomped part of [13364]. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:10:27 +00:00
ryan
d5074db5ea Reorg nav menu files. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:06:36 +00:00