<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[13395] trunk: Nav Menu enhancements.</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13395">13395</a></dd>
<dt>Author</dt> <dd>markjaquith</dd>
<dt>Date</dt> <dd>2010-02-25 05:40:03 +0000 (Thu, 25 Feb 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see <a href="http://trac.wordpress.org/ticket/11817">#11817</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincsscustomnavigationcss">trunk/wp-admin/css/custom-navigation.css</a></li>
<li><a href="#trunkwpadmincsscustomnavigationdevcss">trunk/wp-admin/css/custom-navigation.dev.css</a></li>
<li><a href="#trunkwpadminnavmenusphp">trunk/wp-admin/nav-menus.php</a></li>
<li><a href="#trunkwpincludesnavmenutemplatephp">trunk/wp-includes/nav-menu-template.php</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsscustomnavigationcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/custom-navigation.css (13394 => 13395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/custom-navigation.css        2010-02-25 00:37:44 UTC (rev 13394)
+++ trunk/wp-admin/css/custom-navigation.css        2010-02-25 05:40:03 UTC (rev 13395)
</span><span class="lines">@@ -1 +1 @@
</span><del>-.maintitle{margin:0 0 20px 0!important;}.logo{vertical-align:middle;margin:0 10px 0 0;}h2.heading{margin:32px 0 10px 0;}.checkboxes{float:right;margin:10px 12px 0 0;}.list{zoom:1;}.list li{margin:0;}.list dt{display:none;float:left;width:260px;margin:0;padding:0 0 0 5px;line-height:30px;border-bottom:1px solid #e3e3e3;}.list dt span{float:left;}.list dt img{cursor:pointer;float:right;margin:7px 5px 0 0;}#menus-container{clear:both;}#nav-container .inside{padding:0 10px 10px;}#menus-container .submit{padding:0;}#menu-settings-column .inside{padding:10px;overflow:auto;}#custom-nav ul{width:100%;}#custom-nav li{margin:0;}.ui-draggable-dragging{width:500px;}#custom-nav li dl dt{-webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top-left-radius:6px;border-top-right-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;border:1px solid #E6E6E6;position:relative;padding-left:10px;background-color:#f1f1f1;height:35px;line-height:35px;}#custom-nav li dl dt:hover{cursor:move;}#custom-nav li dl dt .controls{position:absolute;right:15px;top:-1px;}#custom-nav li dl dt img{vertical-align:middle;}#custom-nav li .title{background:url(../images/ico-arrow.png) no-repeat 4px 5px;padding-left:15px;}#custom-nav li ul li{margin-left:20px;opacity:.7;}#custom-nav li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li ul li{opacity:.95;}#existing-pages li .title{background:url(../images/ico-arrow.png) no-repeat 4px 13px;padding-left:15px;}#existing-pages li ul li .title{margin-left:10px;}#existing-pages li ul li ul li .title{margin-left:20px;}#existing-pages li ul li ul li ul li .title{margin-left:30px;}#existing-pages li ul li ul li ul li ul li .title{margin-left:40px;}#existing-pages li ul li ul li ul li ul li ul li .title{margin-left:50px;}#existing-pages li ul li ul li ul li ul li ul li ul li .title{margin-left:60px;}#existing-pages li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:70px;}#existing-pages li ul li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:80px;}#existing-categories li .title{background:url(../images/ico-arrow.png) no-repeat 4px 13px;padding-left:15px;}#existing-categories li ul li .title{margin-left:10px;}#existing-categories li ul li ul li .title{margin-left:20px;}#existing-categories li ul li ul li ul li .title{margin-left:30px;}#existing-categories li ul li ul li ul li ul li .title{margin-left:40px;}#existing-categories li ul li ul li ul li ul li ul li .title{margin-left:50px;}#existing-categories li ul li ul li ul li ul li ul li ul li .title{margin-left:60px;}#existing-categories li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:70px;}#existing-categories li ul li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:80px;}img.remove,img.edit{cursor:pointer;margin:0 5px 0 0;}.dropzone{height:7px;margin:3px 0 3px 0;}.hide{display:none;}.type{text-transform:uppercase;font-size:11px;color:#999;padding-right:10px;}#menu_select{width:170px;}#dialog-confirm label{padding-left:10px;}.ui-dialog{background:#fff;border:1px solid #555;-moz-box-shadow:0 4px 30px #000;}.ui-dialog-titlebar{color:#CFCFCF;font-family:"Lucida Grande",Verdana,Arial,sans-serif;padding:6px 10px 6px;background-color:#222!important;border:none!important;-moz-border-radius:none!important;}#dialog-confirm{height:168px!important;padding:20px 10px 10px;}#dialog-confirm input{margin:0 0 15px 0;width:280px;}#dialog-confirm select{margin:0 0 15px 0;}.ui-dialog-buttonpane{padding:10px;}.ui-dialog-buttonpane button{margin:0 10px 0 0;background:#F2F2F2;text-shadow:0 1px 0 #FFF;border-color:#BBB;color:#464646;-moz-border-radius-bottomleft:11px;-moz-border-radius-bottomright:11px;-moz-border-radius-topleft:11px;-moz-border-radius-topright:11px;border-style:solid;border-width:1px;cursor:pointer;font-size:11px!important;line-height:14px;padding:2px 8px;text-decoration:none;}.ui-dialog-buttonpane button:hover{color:#000;border-color:#666;}.ui-icon{display:none;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);-moz-border-radius:8px;-webkit-border-radius:8px;}
</del><span class="cx">\ No newline at end of file
</span><ins>+.maintitle{margin:0 0 20px 0!important;}.logo{vertical-align:middle;margin:0 10px 0 0;}h2.heading{margin:32px 0 10px 0;}.checkboxes{float:right;margin:10px 12px 0 0;}#menus-container{clear:both;}#nav-container .inside{padding:0 10px 10px;}#menus-container .submit{padding:0;}#menu-settings-column .inside{padding:10px;}#custom-nav ul{width:100%;}#custom-nav li{margin:0;}.ui-draggable-dragging{width:500px;}#custom-nav li dl dt{-webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top-left-radius:6px;border-top-right-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;border:1px solid #E6E6E6;position:relative;padding-left:10px;background-color:#f1f1f1;height:35px;line-height:35px;}#custom-nav li dl dt:hover{cursor:move;}#custom-nav li dl dt .controls{position:absolute;right:15px;top:-1px;}#custom-nav li dl dt img{vertical-align:middle;}#custom-nav li .title{background:url(../images/ico-arrow.png) no-repeat 4px 5px;background-position:center left;padding-left:15px;}#custom-nav li ul li{margin-left:20px;opacity:.7;}#custom-nav li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li ul li{opacity:.95;}#add-custom-link .howto{font-size:11px;}#add-custom-link .widefat{width:85%;margin-right:5px;}.list-container{max-height:203px;overflow-y:auto;padding-left:2px;padding-right:5px;}.list{zoom:1;}.list li{margin:0;}.list dt{display:none;margin:0;border-bottom:1px solid #e3e3e3;overflow:hidden;}.list dt{background:url(../images/ico-add.png) no-repeat right;}.list li .title{cursor:pointer;display:block;width:95%;padding:5px 0;}.list li .title{background:url(../images/ico-arrow.png) no-repeat 4px 13px;background-position:center left;padding-left:5%;}.list li ul li .title{margin-left:14px;}.list li ul li ul li .title{margin-left:28px;}.list li ul li ul li ul li .title{margin-left:42px;}.list li ul li ul li ul li ul li .title{margin-left:56px;}.list li ul li ul li ul li ul li ul li .title{margin-left:70px;}.list li ul li ul li ul li ul li ul li ul li .title{margin-left:84px;}.list li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:98px;}.list li ul li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:112px;}img.remove,img.edit{cursor:pointer;margin:0 5px 0 0;}.dropzone{height:7px;margin:3px 0 3px 0;}.hide{display:none;}.type{text-transform:uppercase;font-size:11px;color:#999;padding-right:10px;}#menu_select{width:170px;}#dialog-confirm label{padding-left:10px;}.ui-dialog{background:#fff;border:1px solid #555;-moz-box-shadow:0 4px 30px #000;}.ui-dialog-titlebar{color:#CFCFCF;font-family:"Lucida Grande",Verdana,Arial,sans-serif;padding:6px 10px 6px;background-color:#222!important;border:none!important;-moz-border-radius:none!important;}#dialog-confirm{height:168px!important;padding:20px 10px 10px;}#dialog-confirm input{margin:0 0 15px 0;width:280px;}#dialog-confirm select{margin:0 0 15px 0;}.ui-dialog-buttonpane{padding:10px;}.ui-dialog-buttonpane button{margin:0 10px 0 0;background:#F2F2F2;text-shadow:0 1px 0 #FFF;border-color:#BBB;color:#464646;-moz-border-radius-bottomleft:11px;-moz-border-radius-bottomright:11px;-moz-border-radius-topleft:11px;-moz-border-radius-topright:11px;border-style:solid;border-width:1px;cursor:pointer;font-size:11px!important;line-height:14px;padding:2px 8px;text-decoration:none;}.ui-dialog-buttonpane button:hover{color:#000;border-color:#666;}.ui-icon{display:none;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);-moz-border-radius:8px;-webkit-border-radius:8px;}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadmincsscustomnavigationdevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/custom-navigation.dev.css (13394 => 13395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/custom-navigation.dev.css        2010-02-25 00:37:44 UTC (rev 13394)
+++ trunk/wp-admin/css/custom-navigation.dev.css        2010-02-25 05:40:03 UTC (rev 13395)
</span><span class="lines">@@ -13,82 +13,69 @@
</span><span class="cx"> h2.heading { margin: 32px 0 10px 0; }
</span><span class="cx"> .checkboxes { float: right; margin: 10px 12px 0 0; }
</span><span class="cx">
</span><del>-.list { zoom: 1; }
-.list li { margin: 0; }
-.list dt { display:none; float: left; width: 260px; margin: 0; padding: 0 0 0 5px; line-height: 30px; border-bottom: 1px solid #e3e3e3; }
-.list dt span { float: left; }
-.list dt img { cursor: pointer; float: right; margin: 7px 5px 0 0 }
-
-
</del><span class="cx"> #menus-container { clear: both; }
</span><span class="cx"> #nav-container .inside { padding: 0px 10px 10px; }
</span><span class="cx"> #menus-container .submit { padding: 0px; }
</span><del>-#menu-settings-column .inside { padding: 10px; overflow: auto; }
</del><ins>+#menu-settings-column .inside { padding: 10px; }
</ins><span class="cx">
</span><span class="cx"> #custom-nav ul { width: 100%; }
</span><span class="cx"> #custom-nav li { margin: 0; }
</span><span class="cx"> .ui-draggable-dragging { width: 500px; }
</span><del>-#custom-nav li dl dt { -webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top-left-radius:6px;border-top-right-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;
-border:1px solid #E6E6E6;position: relative; padding-left:10px;background-color: #f1f1f1; height: 35px; line-height: 35px; }
</del><ins>+#custom-nav li dl dt { -webkit-border-bottom-left-radius: 6px; -webkit-border-bottom-right-radius: 6px; -webkit-border-top-left-radius: 6px; -webkit-border-top-right-radius: 6px; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; border-top-left-radius: 6px; border-top-right-radius: 6px; -moz-border-radius-bottomleft: 6px; -moz-border-radius-bottomright: 6px; -moz-border-radius-topleft: 6px; -moz-border-radius-topright: 6px; border: 1px solid #E6E6E6;position: relative; padding-left:10px; background-color: #f1f1f1; height: 35px; line-height: 35px; }
</ins><span class="cx"> #custom-nav li dl dt:hover { cursor: move; }
</span><span class="cx"> #custom-nav li dl dt .controls { position: absolute; right: 15px; top: -1px; }
</span><span class="cx"> #custom-nav li dl dt img { vertical-align: middle; }
</span><span class="cx"> #custom-nav li dl dt a {}
</span><del>-#custom-nav li .title { background:url(../images/ico-arrow.png) no-repeat 4px 5px; padding-left:15px; }
-#custom-nav li ul li { margin-left:20px; opacity:.7;}
</del><ins>+#custom-nav li .title { background:url(../images/ico-arrow.png) no-repeat 4px 5px; background-position: center left; padding-left: 15px; }
+#custom-nav li ul li { margin-left: 20px; opacity: .7;}
</ins><span class="cx"> #custom-nav li ul li ul li { opacity: .9;}
</span><span class="cx"> #custom-nav li ul li ul li ul li { opacity: .9;}
</span><span class="cx"> #custom-nav li ul li ul li ul li ul li { opacity: .95; }
</span><span class="cx">
</span><del>-#existing-pages li .title { background:url(../images/ico-arrow.png) no-repeat 4px 13px; padding-left:15px; }
-#existing-pages li ul li .title { margin-left:10px; }
-#existing-pages li ul li ul li .title { margin-left:20px; }
-#existing-pages li ul li ul li ul li .title { margin-left:30px; }
-#existing-pages li ul li ul li ul li ul li .title { margin-left:40px; }
-#existing-pages li ul li ul li ul li ul li ul li .title { margin-left:50px; }
-#existing-pages li ul li ul li ul li ul li ul li ul li .title { margin-left:60px; }
-#existing-pages li ul li ul li ul li ul li ul li ul li ul li .title { margin-left:70px; }
-#existing-pages li ul li ul li ul li ul li ul li ul li ul li ul li .title { margin-left:80px; }
</del><ins>+#add-custom-link .howto { font-size: 11px; }
+#add-custom-link .widefat { width: 85%; margin-right: 5px; }
</ins><span class="cx">
</span><del>-#existing-categories li .title { background:url(../images/ico-arrow.png) no-repeat 4px 13px; padding-left:15px; }
-#existing-categories li ul li .title { margin-left:10px; }
-#existing-categories li ul li ul li .title { margin-left:20px; }
-#existing-categories li ul li ul li ul li .title { margin-left:30px; }
-#existing-categories li ul li ul li ul li ul li .title { margin-left:40px; }
-#existing-categories li ul li ul li ul li ul li ul li .title { margin-left:50px; }
-#existing-categories li ul li ul li ul li ul li ul li ul li .title { margin-left:60px; }
-#existing-categories li ul li ul li ul li ul li ul li ul li ul li .title { margin-left:70px; }
-#existing-categories li ul li ul li ul li ul li ul li ul li ul li ul li .title { margin-left:80px; }
</del><ins>+.list-container { max-height: 203px; overflow-y: auto; padding-left: 2px; padding-right: 5px; }
</ins><span class="cx">
</span><ins>+.list { zoom: 1; }
+.list li { margin: 0; }
+.list dt { display: none; margin: 0; border-bottom: 1px solid #e3e3e3; overflow: hidden; }
+.list dt { background: url(../images/ico-add.png) no-repeat right; }
</ins><span class="cx">
</span><del>-img.remove, img.edit { cursor: pointer; margin: 0 5px 0 0; }
</del><ins>+.list li .title { cursor: pointer; display: block; width: 95%; padding: 5px 0px; }
+.list li .title { background: url(../images/ico-arrow.png) no-repeat 4px 13px; background-position: center left; padding-left: 5%; }
</ins><span class="cx">
</span><del>-.dropzone {height:7px;margin: 3px 0 3px 0;}
</del><ins>+/* Visually shows the menu item hierarchy. */
+.list li ul li .title { margin-left: 14px; }
+.list li ul li ul li .title { margin-left: 28px; }
+.list li ul li ul li ul li .title { margin-left: 42px; }
+.list li ul li ul li ul li ul li .title { margin-left: 56px; }
+.list li ul li ul li ul li ul li ul li .title { margin-left: 70px; }
+.list li ul li ul li ul li ul li ul li ul li .title { margin-left: 84px; }
+.list li ul li ul li ul li ul li ul li ul li ul li .title { margin-left: 98px; }
+.list li ul li ul li ul li ul li ul li ul li ul li ul li .title { margin-left: 112px; }
</ins><span class="cx">
</span><del>-#custom-nav li dl {}
</del><ins>+img.remove, img.edit { cursor: pointer; margin: 0 5px 0 0; }
+.dropzone { height: 7px; margin: 3px 0 3px 0; }
+#custom-nav li dl { }
+.hide { display: none; }
+.type { text-transform: uppercase; font-size: 11px; color: #999999; padding-right: 10px; }
</ins><span class="cx">
</span><del>-.hide {display:none;}
-
-.type { text-transform: uppercase; font-size: 11px; color: #999999; padding-right:10px; }
-
</del><span class="cx"> #menu_select { width: 170px; }
</span><del>-
</del><span class="cx"> #dialog-confirm label { padding-left: 10px; }
</span><span class="cx">
</span><span class="cx"> /* EDIT LINK BOX */
</span><del>-.ui-dialog { background: #fff; border: 1px solid #555555; -moz-box-shadow:0 4px 30px #000000; }
-.ui-dialog-titlebar { color: #CFCFCF;font-family:"Lucida Grande",Verdana,Arial,sans-serif; padding: 6px 10px 6px; background-color: #222222!important; border: none!important; -moz-border-radius: none!important; }
-#dialog-confirm { height: 168px !important; padding: 20px 10px 10px; }
-#dialog-confirm input { margin: 0 0 15px 0; width: 280px; }
</del><ins>+.ui-dialog { background: #fff; border: 1px solid #555555; -moz-box-shadow:0 4px 30px #000000; }
+.ui-dialog-titlebar { color: #CFCFCF; font-family: "Lucida Grande", Verdana, Arial, sans-serif; padding: 6px 10px 6px; background-color: #222222 !important; border: none !important; -moz-border-radius: none !important; }
+#dialog-confirm { height: 168px !important; padding: 20px 10px 10px; }
+#dialog-confirm input { margin: 0 0 15px 0; width: 280px; }
</ins><span class="cx"> #dialog-confirm select { margin: 0 0 15px 0; }
</span><del>-.ui-dialog-buttonpane { padding: 10px; }
-.ui-dialog-buttonpane button { margin: 0 10px 0 0; background:#F2F2F2; text-shadow:0 1px 0 #FFFFFF; border-color:#BBBBBB; color:#464646; -moz-border-radius-bottomleft:11px; -moz-border-radius-bottomright:11px; -moz-border-radius-topleft:11px; -moz-border-radius-topright:11px; border-style:solid; border-width:1px; cursor:pointer; font-size:11px !important; line-height:14px; padding:2px 8px; text-decoration:none; }
-
-.ui-dialog-buttonpane button:hover {color:#000;border-color:#666;}
-
</del><ins>+.ui-dialog-buttonpane { padding: 10px; }
+.ui-dialog-buttonpane button { margin: 0 10px 0 0; background: #F2F2F2; text-shadow: 0 1px 0 #FFFFFF; border-color: #BBBBBB; color: #464646; -moz-border-radius-bottomleft: 11px; -moz-border-radius-bottomright: 11px; -moz-border-radius-topleft: 11px; -moz-border-radius-topright: 11px; border-style: solid; border-width: 1px; cursor: pointer; font-size: 11px !important; line-height: 14px; padding: 2px 8px; text-decoration: none; }
+.ui-dialog-buttonpane button:hover { color: #000; border-color: #666; }
</ins><span class="cx"> .ui-icon { display: none; }
</span><span class="cx">
</span><span class="cx"> /* Overlays */
</span><span class="cx"> .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
</span><del>-.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .60;filter:Alpha(Opacity=60); }
-.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .60;filter:Alpha(Opacity=60); -moz-border-radius: 8px; -webkit-border-radius: 8px; }
</del><ins>+.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .60; filter:Alpha(Opacity=60); }
+.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .60; filter: Alpha(Opacity=60); -moz-border-radius: 8px; -webkit-border-radius: 8px; }
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminnavmenusphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/nav-menus.php (13394 => 13395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/nav-menus.php        2010-02-25 00:37:44 UTC (rev 13394)
+++ trunk/wp-admin/nav-menus.php        2010-02-25 05:40:03 UTC (rev 13395)
</span><span class="lines">@@ -180,12 +180,36 @@
</span><span class="cx">                                                 <h3 class="hndle"><?php esc_html_e('Add Menu'); ?></h3>
</span><span class="cx">                                                 <div class="inside">
</span><span class="cx">                                                         <span>
</span><del>-                                                                <input id="add-menu-name" name="add-menu-name" type="text" value="" />
</del><ins>+                                                                <input id="add-menu-name" name="add-menu-name" type="text" class="regular-text" value="" />
</ins><span class="cx">                                                                 <input id="add-menu" type="submit" value="<?php esc_attr_e('Add Menu'); ?>" name="add-menu" class="button" />
</span><span class="cx">                                                         </span>
</span><span class="cx">                                                 </div><!-- /.inside-->
</span><span class="cx">                                         </div><!--END #add-menu-->
</span><span class="cx">                                         
</span><ins>+                                        <div id="add-custom-link" class="postbox">
+                                                <div class="handlediv" title="Click to toggle"><br /></div>
+                                                <h3 class="hndle"><?php esc_html_e('Add a Custom Link'); ?></h3>
+                                                <div class="inside">
+                                                        
+                                                        <p class="howto"><label for="custom-menu-item-url"><input id="custom-menu-item-url" type="text" class="widefat code" value="http://" /><?php _e('URL'); ?></label></p>
+                                                        
+                                                        <?php $template_dir = get_bloginfo('url'); ?>
+                                                        <input type="hidden" id="template-dir" value="<?php echo esc_attr($template_dir); ?>" />
+                                                        
+                                                        <p class="howto"><label for="custom-menu-item-name"><input id="custom-menu-item-name" type="text" class="widefat regular-text" value="<?php echo esc_attr( __('Menu Item') ); ?>" /><?php _e('Text'); ?></label></p>
+                                                        
+                                                        <label class="howto" for="custom_menu_item_description" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?>>
+                                                                <input id="custom_menu_item_description" type="text" class="widefat regular-text" value="<?php esc_attr_e('A description'); ?>" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> onfocus="jQuery('#custom_menu_item_description').attr('value','');" />
+                                                                <?php _e('Description'); ?>
+                                                        </label>
+                                                        
+                                                        <?php if ( 'no' != $advanced_option_descriptions ) { echo '<br />'; } ?>
+                                                        
+                                                        <a class="addtomenu button" onclick="appendToList('<?php echo $template_dir; ?>','<?php echo esc_js( _x('Custom', 'menu nav item type') ); ?>','','','','0','');jQuery('#custom-menu-item-name').attr('value','<?php echo esc_js( __('Menu Item') ); ?>');jQuery('#custom_menu_item_description').attr('value','<?php echo esc_js( __('A description') ); ?>');"><?php _e('Add Link'); ?></a>
+                                                        <br class="clear" />
+                                                </div><!-- /.inside-->
+                                        </div><!-- /#add-custom-link-->
+                                        
</ins><span class="cx">                                         <div id="add-pages" class="postbox">
</span><span class="cx">                                                 <div class="handlediv" title="Click to toggle"><br /></div>
</span><span class="cx">                                                 <h3 class="hndle"><?php esc_html_e('Add an Existing Page'); ?></h3>
</span><span class="lines">@@ -229,7 +253,7 @@
</span><span class="cx">                                                                         jQuery('#existing-pages').css('display','none');
</span><span class="cx">                                                                 });
</span><span class="cx">                                                         </script>
</span><del>-                                                        <input type="text" onfocus="jQuery('#page-search').attr('value','');" id="page-search" value="<?php esc_attr_e('Search Pages'); ?>" />
</del><ins>+                                                        <input type="text" onfocus="jQuery('#page-search').attr('value','');" id="page-search" class="regular-text" value="<?php esc_attr_e('Search Pages'); ?>" />
</ins><span class="cx">
</span><span class="cx">                                                         <a id="show-pages" style="cursor:pointer;" onclick="jQuery('#existing-pages').css('display','block');jQuery('#page-search').attr('value','');jQuery('#existing-pages dt').css('display','block');jQuery('#show-pages').hide();jQuery('#hide-pages').show();"><?php _e('View All'); ?></a>
</span><span class="cx">                                                         <a id="hide-pages" style="cursor:pointer;" onclick="jQuery('#existing-pages').css('display','none');jQuery('#page-search').attr('value','Search Pages');jQuery('#existing-pages dt').css('display','none');jQuery('#show-pages').show();jQuery('#hide-pages').hide();"><?php _e('Hide All'); ?></a>
</span><span class="lines">@@ -237,11 +261,14 @@
</span><span class="cx">                                                         <script type="text/javascript">
</span><span class="cx">                                                                 jQuery('#hide-pages').hide();
</span><span class="cx">                                                         </script>
</span><del>-
-                                                        <ul id="existing-pages" class="list">
-                                                        <?php $items_counter = wp_nav_menu_get_pages( 0,'default' ); ?>
-                                                        </ul>
-                                                        <div class="fix"></div>
</del><ins>+                                                        
+                                                        
+                                                        <div id="existing-pages" class="list-container">
+                                                                <ul class="list">
+                                                                <?php $items_counter = wp_nav_menu_get_pages( 0,'default' ); ?>
+                                                                </ul>
+                                                        </div><!-- /.list-container-->
+                                                        <br class="clear" />
</ins><span class="cx">                                                 </div><!-- /.inside-->
</span><span class="cx">                                         </div><!--END #add-pages-->
</span><span class="cx">                                         
</span><span class="lines">@@ -286,7 +313,7 @@
</span><span class="cx">                                                                 });
</span><span class="cx">                                                         </script>
</span><span class="cx">
</span><del>-                                                        <input type="text" onfocus="jQuery('#cat-search').attr('value','');" id="cat-search" value="<?php esc_attr_e('Search Categories'); ?>" />
</del><ins>+                                                        <input type="text" onfocus="jQuery('#cat-search').attr('value','');" id="cat-search" class="regular-text" value="<?php esc_attr_e('Search Categories'); ?>" />
</ins><span class="cx">
</span><span class="cx">                                                         <a id="show-cats" style="cursor:pointer;" onclick="jQuery('#existing-categories').css('display','block');jQuery('#cat-search').attr('value','');jQuery('#existing-categories dt').css('display','block');jQuery('#show-cats').hide();jQuery('#hide-cats').show();"><?php _e('View All'); ?></a>
</span><span class="cx">                                                         <a id="hide-cats" style="cursor:pointer;" onclick="jQuery('#existing-categories').css('display','none');jQuery('#cat-search').attr('value','Search Categories');jQuery('#existing-categories dt').css('display','none');jQuery('#show-cats').show();jQuery('#hide-cats').hide();"><?php _e('Hide All'); ?></a>
</span><span class="lines">@@ -295,43 +322,14 @@
</span><span class="cx">                                                                 jQuery('#hide-cats').hide();
</span><span class="cx">                                                         </script>
</span><span class="cx">
</span><del>-                                                        <ul id="existing-categories" class="list">
-                                                                <?php $items_counter = wp_nav_menu_get_categories( $items_counter, 'default' ); ?>
-                                                        </ul>
-
-                                                        <div class="fix"></div>
</del><ins>+                                                        <div id="existing-categories" class="list-container">
+                                                                <ul class="list">
+                                                                        <?php $items_counter = wp_nav_menu_get_categories( $items_counter, 'default' ); ?>
+                                                                </ul>
+                                                        </div><!-- /.list-container-->
+                                                        <br class="clear" />
</ins><span class="cx">                                                 </div><!-- /.inside-->
</span><span class="cx">                                         </div><!--END #add-categories-->
</span><del>-                                        
-                                        <div id="add-external-link" class="postbox">
-                                                <div class="handlediv" title="Click to toggle"><br /></div>
-                                                <h3 class="hndle"><?php esc_html_e('Add a Custom Link'); ?></h3>
-                                                <div class="inside">
-                                                        
-                                                        <label class="howto" for="custom-menu-item-url">
-                                                                <input id="custom-menu-item-url" type="text" value="http://" />
-                                                                <?php _e('URL'); ?>
-                                                        </label><br />
-                                                        
-                                                        <?php $template_dir = get_bloginfo('url'); ?>
-                                                        <input type="hidden" id="template-dir" value="<?php echo esc_attr($template_dir); ?>" />
-                                                        <label class="howto" for="custom-menu-item-name">
-                                                                <input id="custom-menu-item-name" type="text" value="<?php echo esc_attr( __('Menu Item') ); ?>" onfocus="jQuery('#custom-menu-item-name').attr('value','');" />
-                                                                <?php _e('Menu Text'); ?>
-                                                        </label><br />
-                                                        
-                                                        <label class="howto" for="custom_menu_item_description" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?>>
-                                                                <input id="custom_menu_item_description" type="text" value="<?php esc_attr_e('A description'); ?>" <?php if ($advanced_option_descriptions == 'no') { ?>style="display:none;"<?php } ?> onfocus="jQuery('#custom_menu_item_description').attr('value','');" />
-                                                                <?php _e('Description'); ?>
-                                                        </label>
-                                                        
-                                                        <?php if ( 'no' != $advanced_option_descriptions ) { echo '<br />'; } ?>
-                                                        
-                                                        <a class="addtomenu button" onclick="appendToList('<?php echo $template_dir; ?>','<?php echo esc_js( _x('Custom', 'menu nav item type') ); ?>','','','','0','');jQuery('#custom-menu-item-name').attr('value','<?php echo esc_js( __('Menu Item') ); ?>');jQuery('#custom_menu_item_description').attr('value','<?php echo esc_js( __('A description') ); ?>');"><?php _e('Add to menu'); ?></a>
-                                                        <div class="fix"></div>
-                                                </div><!-- /.inside-->
-                                        </div><!-- /#add-external-link-->
-                                        
</del><span class="cx">                                 </div><!-- /#side-sortables-->
</span><span class="cx">                         </div><!-- /#menu-settings-column -->
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpincludesnavmenutemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/nav-menu-template.php (13394 => 13395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/nav-menu-template.php        2010-02-25 00:37:44 UTC (rev 13394)
+++ trunk/wp-includes/nav-menu-template.php        2010-02-25 05:40:03 UTC (rev 13395)
</span><span class="lines">@@ -152,8 +152,7 @@
</span><span class="cx"> ?>
</span><span class="cx">                                         <dl>
</span><span class="cx">                                                 <dt>
</span><del>-                                                        <span class="title"><?php echo $menu_item->title; ?></span>
-                                                        <a onclick="appendToList('<?php echo esc_js( esc_url_raw( $template_dir ) ); ?>','<?php echo esc_js( $menu_item->append ); ?>','<?php echo esc_js( $menu_item->title ); ?>','<?php echo esc_js( $menu_item->link ); ?>','<?php echo esc_js( $menu_item->ID ); ?>','<?php echo esc_js( $menu_item->parent_item ); ?>','<?php echo esc_js( $menu_item->description ); ?>')" name="<?php echo esc_attr( $menu_item->title ); ?>" value="<?php echo esc_attr( $menu_item->link ); ?>"><img alt="<?php esc_attr_e('Add to Custom Menu'); ?>" title="<?php esc_attr_e('Add to Custom Menu'); ?>" src="<?php echo admin_url('images/ico-add.png'); ?>" /></a>
</del><ins>+                                                        <a class="title" title="<?php esc_attr_e('Add to Custom Menu'); ?>" onclick="appendToList('<?php echo esc_js( esc_url_raw( $template_dir ) ); ?>','<?php echo esc_js( $menu_item->append ); ?>','<?php echo esc_js( $menu_item->title ); ?>','<?php echo esc_js( $menu_item->link ); ?>','<?php echo esc_js( $menu_item->ID ); ?>','<?php echo esc_js( $menu_item->parent_item ); ?>','<?php echo esc_js( $menu_item->description ); ?>')" name="<?php echo esc_attr( $menu_item->title ); ?>" value="<?php echo esc_attr( $menu_item->link ); ?>"><?php echo $menu_item->title; ?></a>
</ins><span class="cx">                                                 </dt>
</span><span class="cx">                                         </dl>
</span><span class="cx"> <?php
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (13394 => 13395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2010-02-25 00:37:44 UTC (rev 13394)
+++ trunk/wp-includes/script-loader.php        2010-02-25 05:40:03 UTC (rev 13395)
</span><span class="lines">@@ -474,7 +474,7 @@
</span><span class="cx">         $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
</span><span class="cx">         $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
</span><span class="cx">         $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
</span><del>-        $styles->add( 'custom-navigation', "/wp-admin/css/custom-navigation$suffix.css", array(), '20100224' );
</del><ins>+        $styles->add( 'custom-navigation', "/wp-admin/css/custom-navigation$suffix.css", array(), '20100225' );
</ins><span class="cx">
</span><span class="cx">         foreach ( $rtl_styles as $rtl_style ) {
</span><span class="cx">                 $styles->add_data( $rtl_style, 'rtl', true );
</span></span></pre>
</div>
</div>
</body>
</html>