<!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:&quot;Lucida Grande&quot;,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:&quot;Lucida Grande&quot;,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:&quot;Lucida Grande&quot;,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: &quot;Lucida Grande&quot;, 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">                                                 &lt;h3 class=&quot;hndle&quot;&gt;&lt;?php esc_html_e('Add Menu'); ?&gt;&lt;/h3&gt;
</span><span class="cx">                                                 &lt;div class=&quot;inside&quot;&gt;
</span><span class="cx">                                                         &lt;span&gt;
</span><del>-                                                                &lt;input id=&quot;add-menu-name&quot; name=&quot;add-menu-name&quot; type=&quot;text&quot; value=&quot;&quot;  /&gt;
</del><ins>+                                                                &lt;input id=&quot;add-menu-name&quot; name=&quot;add-menu-name&quot; type=&quot;text&quot; class=&quot;regular-text&quot; value=&quot;&quot;  /&gt;
</ins><span class="cx">                                                                 &lt;input id=&quot;add-menu&quot; type=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e('Add Menu'); ?&gt;&quot; name=&quot;add-menu&quot; class=&quot;button&quot; /&gt;
</span><span class="cx">                                                         &lt;/span&gt;
</span><span class="cx">                                                 &lt;/div&gt;&lt;!-- /.inside--&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!--END #add-menu--&gt;
</span><span class="cx">                                         
</span><ins>+                                        &lt;div id=&quot;add-custom-link&quot; class=&quot;postbox&quot;&gt;
+                                                &lt;div class=&quot;handlediv&quot; title=&quot;Click to toggle&quot;&gt;&lt;br /&gt;&lt;/div&gt;
+                                                &lt;h3 class=&quot;hndle&quot;&gt;&lt;?php esc_html_e('Add a Custom Link'); ?&gt;&lt;/h3&gt;
+                                                &lt;div class=&quot;inside&quot;&gt;
+                                                        
+                                                        &lt;p class=&quot;howto&quot;&gt;&lt;label for=&quot;custom-menu-item-url&quot;&gt;&lt;input id=&quot;custom-menu-item-url&quot; type=&quot;text&quot; class=&quot;widefat code&quot; value=&quot;http://&quot; /&gt;&lt;?php _e('URL'); ?&gt;&lt;/label&gt;&lt;/p&gt;
+                                                        
+                                                        &lt;?php $template_dir = get_bloginfo('url'); ?&gt;
+                                                        &lt;input type=&quot;hidden&quot; id=&quot;template-dir&quot; value=&quot;&lt;?php echo esc_attr($template_dir); ?&gt;&quot; /&gt;
+                                                        
+                                                        &lt;p class=&quot;howto&quot;&gt;&lt;label for=&quot;custom-menu-item-name&quot;&gt;&lt;input id=&quot;custom-menu-item-name&quot; type=&quot;text&quot; class=&quot;widefat regular-text&quot; value=&quot;&lt;?php echo esc_attr( __('Menu Item') ); ?&gt;&quot; /&gt;&lt;?php _e('Text'); ?&gt;&lt;/label&gt;&lt;/p&gt;
+                                                        
+                                                        &lt;label class=&quot;howto&quot; for=&quot;custom_menu_item_description&quot; &lt;?php if ($advanced_option_descriptions == 'no') { ?&gt;style=&quot;display:none;&quot;&lt;?php } ?&gt;&gt;
+                                                                &lt;input id=&quot;custom_menu_item_description&quot; type=&quot;text&quot; class=&quot;widefat regular-text&quot; value=&quot;&lt;?php esc_attr_e('A description'); ?&gt;&quot; &lt;?php if ($advanced_option_descriptions == 'no') { ?&gt;style=&quot;display:none;&quot;&lt;?php } ?&gt; onfocus=&quot;jQuery('#custom_menu_item_description').attr('value','');&quot; /&gt;
+                                                                &lt;?php _e('Description'); ?&gt;
+                                                        &lt;/label&gt;
+                                                        
+                                                        &lt;?php if ( 'no' != $advanced_option_descriptions ) { echo '&lt;br /&gt;'; } ?&gt;
+                                                        
+                                                        &lt;a class=&quot;addtomenu button&quot; onclick=&quot;appendToList('&lt;?php echo $template_dir; ?&gt;','&lt;?php echo esc_js( _x('Custom', 'menu nav item type') ); ?&gt;','','','','0','');jQuery('#custom-menu-item-name').attr('value','&lt;?php echo esc_js( __('Menu Item') ); ?&gt;');jQuery('#custom_menu_item_description').attr('value','&lt;?php echo esc_js( __('A description') ); ?&gt;');&quot;&gt;&lt;?php _e('Add Link'); ?&gt;&lt;/a&gt;
+                                                        &lt;br class=&quot;clear&quot; /&gt;
+                                                &lt;/div&gt;&lt;!-- /.inside--&gt;
+                                        &lt;/div&gt;&lt;!-- /#add-custom-link--&gt;
+                                        
</ins><span class="cx">                                         &lt;div id=&quot;add-pages&quot; class=&quot;postbox&quot;&gt;
</span><span class="cx">                                                 &lt;div class=&quot;handlediv&quot; title=&quot;Click to toggle&quot;&gt;&lt;br /&gt;&lt;/div&gt;
</span><span class="cx">                                                 &lt;h3 class=&quot;hndle&quot;&gt;&lt;?php esc_html_e('Add an Existing Page'); ?&gt;&lt;/h3&gt;
</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">                                                         &lt;/script&gt;
</span><del>-                                                        &lt;input type=&quot;text&quot; onfocus=&quot;jQuery('#page-search').attr('value','');&quot; id=&quot;page-search&quot; value=&quot;&lt;?php esc_attr_e('Search Pages'); ?&gt;&quot; /&gt;
</del><ins>+                                                        &lt;input type=&quot;text&quot; onfocus=&quot;jQuery('#page-search').attr('value','');&quot; id=&quot;page-search&quot; class=&quot;regular-text&quot; value=&quot;&lt;?php esc_attr_e('Search Pages'); ?&gt;&quot; /&gt;
</ins><span class="cx"> 
</span><span class="cx">                                                         &lt;a id=&quot;show-pages&quot; style=&quot;cursor:pointer;&quot; onclick=&quot;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();&quot;&gt;&lt;?php _e('View All'); ?&gt;&lt;/a&gt;
</span><span class="cx">                                                         &lt;a id=&quot;hide-pages&quot; style=&quot;cursor:pointer;&quot; onclick=&quot;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();&quot;&gt;&lt;?php _e('Hide All'); ?&gt;&lt;/a&gt;
</span><span class="lines">@@ -237,11 +261,14 @@
</span><span class="cx">                                                         &lt;script type=&quot;text/javascript&quot;&gt;
</span><span class="cx">                                                                 jQuery('#hide-pages').hide();
</span><span class="cx">                                                         &lt;/script&gt;
</span><del>-
-                                                        &lt;ul id=&quot;existing-pages&quot; class=&quot;list&quot;&gt;
-                                                        &lt;?php $items_counter = wp_nav_menu_get_pages( 0,'default' ); ?&gt;
-                                                        &lt;/ul&gt;
-                                                        &lt;div class=&quot;fix&quot;&gt;&lt;/div&gt;
</del><ins>+                                                        
+                                                        
+                                                        &lt;div id=&quot;existing-pages&quot; class=&quot;list-container&quot;&gt;
+                                                                &lt;ul class=&quot;list&quot;&gt;
+                                                                &lt;?php $items_counter = wp_nav_menu_get_pages( 0,'default' ); ?&gt;
+                                                                &lt;/ul&gt;
+                                                        &lt;/div&gt;&lt;!-- /.list-container--&gt;
+                                                        &lt;br class=&quot;clear&quot; /&gt;
</ins><span class="cx">                                                 &lt;/div&gt;&lt;!-- /.inside--&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!--END #add-pages--&gt;
</span><span class="cx">                                         
</span><span class="lines">@@ -286,7 +313,7 @@
</span><span class="cx">                                                                 });
</span><span class="cx">                                                         &lt;/script&gt;
</span><span class="cx"> 
</span><del>-                                                        &lt;input type=&quot;text&quot; onfocus=&quot;jQuery('#cat-search').attr('value','');&quot; id=&quot;cat-search&quot; value=&quot;&lt;?php esc_attr_e('Search Categories'); ?&gt;&quot; /&gt;
</del><ins>+                                                        &lt;input type=&quot;text&quot; onfocus=&quot;jQuery('#cat-search').attr('value','');&quot; id=&quot;cat-search&quot; class=&quot;regular-text&quot; value=&quot;&lt;?php esc_attr_e('Search Categories'); ?&gt;&quot; /&gt;
</ins><span class="cx"> 
</span><span class="cx">                                                         &lt;a id=&quot;show-cats&quot; style=&quot;cursor:pointer;&quot; onclick=&quot;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();&quot;&gt;&lt;?php _e('View All'); ?&gt;&lt;/a&gt;
</span><span class="cx">                                                         &lt;a id=&quot;hide-cats&quot; style=&quot;cursor:pointer;&quot; onclick=&quot;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();&quot;&gt;&lt;?php _e('Hide All'); ?&gt;&lt;/a&gt;
</span><span class="lines">@@ -295,43 +322,14 @@
</span><span class="cx">                                                                 jQuery('#hide-cats').hide();
</span><span class="cx">                                                         &lt;/script&gt;
</span><span class="cx"> 
</span><del>-                                                        &lt;ul id=&quot;existing-categories&quot; class=&quot;list&quot;&gt;
-                                                                &lt;?php $items_counter = wp_nav_menu_get_categories( $items_counter, 'default' ); ?&gt;
-                                                        &lt;/ul&gt;
-
-                                                        &lt;div class=&quot;fix&quot;&gt;&lt;/div&gt;
</del><ins>+                                                        &lt;div id=&quot;existing-categories&quot; class=&quot;list-container&quot;&gt;
+                                                                &lt;ul class=&quot;list&quot;&gt;
+                                                                        &lt;?php $items_counter = wp_nav_menu_get_categories( $items_counter, 'default' ); ?&gt;
+                                                                &lt;/ul&gt;
+                                                        &lt;/div&gt;&lt;!-- /.list-container--&gt;
+                                                        &lt;br class=&quot;clear&quot; /&gt;
</ins><span class="cx">                                                 &lt;/div&gt;&lt;!-- /.inside--&gt;
</span><span class="cx">                                         &lt;/div&gt;&lt;!--END #add-categories--&gt;
</span><del>-                                        
-                                        &lt;div id=&quot;add-external-link&quot; class=&quot;postbox&quot;&gt;
-                                                &lt;div class=&quot;handlediv&quot; title=&quot;Click to toggle&quot;&gt;&lt;br /&gt;&lt;/div&gt;
-                                                &lt;h3 class=&quot;hndle&quot;&gt;&lt;?php esc_html_e('Add a Custom Link'); ?&gt;&lt;/h3&gt;
-                                                &lt;div class=&quot;inside&quot;&gt;
-                                                        
-                                                        &lt;label class=&quot;howto&quot; for=&quot;custom-menu-item-url&quot;&gt;
-                                                                &lt;input id=&quot;custom-menu-item-url&quot; type=&quot;text&quot; value=&quot;http://&quot; /&gt;
-                                                                &lt;?php _e('URL'); ?&gt;
-                                                        &lt;/label&gt;&lt;br /&gt;
-                                                        
-                                                        &lt;?php $template_dir = get_bloginfo('url'); ?&gt;
-                                                        &lt;input type=&quot;hidden&quot; id=&quot;template-dir&quot; value=&quot;&lt;?php echo esc_attr($template_dir); ?&gt;&quot; /&gt;
-                                                        &lt;label class=&quot;howto&quot; for=&quot;custom-menu-item-name&quot;&gt;
-                                                                &lt;input id=&quot;custom-menu-item-name&quot; type=&quot;text&quot; value=&quot;&lt;?php echo esc_attr( __('Menu Item') ); ?&gt;&quot; onfocus=&quot;jQuery('#custom-menu-item-name').attr('value','');&quot;  /&gt;
-                                                                &lt;?php _e('Menu Text'); ?&gt;
-                                                        &lt;/label&gt;&lt;br /&gt;
-                                                        
-                                                        &lt;label class=&quot;howto&quot; for=&quot;custom_menu_item_description&quot; &lt;?php if ($advanced_option_descriptions == 'no') { ?&gt;style=&quot;display:none;&quot;&lt;?php } ?&gt;&gt;
-                                                                &lt;input id=&quot;custom_menu_item_description&quot; type=&quot;text&quot; value=&quot;&lt;?php esc_attr_e('A description'); ?&gt;&quot; &lt;?php if ($advanced_option_descriptions == 'no') { ?&gt;style=&quot;display:none;&quot;&lt;?php } ?&gt; onfocus=&quot;jQuery('#custom_menu_item_description').attr('value','');&quot; /&gt;
-                                                                &lt;?php _e('Description'); ?&gt;
-                                                        &lt;/label&gt;
-                                                        
-                                                        &lt;?php if ( 'no' != $advanced_option_descriptions ) { echo '&lt;br /&gt;'; } ?&gt;
-                                                        
-                                                        &lt;a class=&quot;addtomenu button&quot; onclick=&quot;appendToList('&lt;?php echo $template_dir; ?&gt;','&lt;?php echo esc_js( _x('Custom', 'menu nav item type') ); ?&gt;','','','','0','');jQuery('#custom-menu-item-name').attr('value','&lt;?php echo esc_js( __('Menu Item') ); ?&gt;');jQuery('#custom_menu_item_description').attr('value','&lt;?php echo esc_js( __('A description') ); ?&gt;');&quot;&gt;&lt;?php _e('Add to menu'); ?&gt;&lt;/a&gt;
-                                                        &lt;div class=&quot;fix&quot;&gt;&lt;/div&gt;
-                                                &lt;/div&gt;&lt;!-- /.inside--&gt;
-                                        &lt;/div&gt;&lt;!-- /#add-external-link--&gt;
-                                        
</del><span class="cx">                                 &lt;/div&gt;&lt;!-- /#side-sortables--&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- /#menu-settings-column --&gt;
</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"> ?&gt;
</span><span class="cx">                                         &lt;dl&gt;
</span><span class="cx">                                                 &lt;dt&gt;
</span><del>-                                                        &lt;span class=&quot;title&quot;&gt;&lt;?php echo $menu_item-&gt;title; ?&gt;&lt;/span&gt;
-                                                        &lt;a onclick=&quot;appendToList('&lt;?php echo esc_js( esc_url_raw( $template_dir ) ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;append ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;title ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;link ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;ID ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;parent_item ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;description ); ?&gt;')&quot; name=&quot;&lt;?php echo esc_attr( $menu_item-&gt;title ); ?&gt;&quot; value=&quot;&lt;?php echo esc_attr( $menu_item-&gt;link ); ?&gt;&quot;&gt;&lt;img alt=&quot;&lt;?php esc_attr_e('Add to Custom Menu'); ?&gt;&quot; title=&quot;&lt;?php esc_attr_e('Add to Custom Menu'); ?&gt;&quot; src=&quot;&lt;?php echo admin_url('images/ico-add.png'); ?&gt;&quot; /&gt;&lt;/a&gt;
</del><ins>+                                                        &lt;a class=&quot;title&quot; title=&quot;&lt;?php esc_attr_e('Add to Custom Menu'); ?&gt;&quot; onclick=&quot;appendToList('&lt;?php echo esc_js( esc_url_raw( $template_dir ) ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;append ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;title ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;link ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;ID ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;parent_item ); ?&gt;','&lt;?php echo esc_js( $menu_item-&gt;description ); ?&gt;')&quot; name=&quot;&lt;?php echo esc_attr( $menu_item-&gt;title ); ?&gt;&quot; value=&quot;&lt;?php echo esc_attr( $menu_item-&gt;link ); ?&gt;&quot;&gt;&lt;?php echo $menu_item-&gt;title; ?&gt;&lt;/a&gt;
</ins><span class="cx">                                                 &lt;/dt&gt;
</span><span class="cx">                                         &lt;/dl&gt;
</span><span class="cx"> &lt;?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-&gt;add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
</span><span class="cx">         $styles-&gt;add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
</span><span class="cx">         $styles-&gt;add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
</span><del>-        $styles-&gt;add( 'custom-navigation', &quot;/wp-admin/css/custom-navigation$suffix.css&quot;, array(), '20100224' );
</del><ins>+        $styles-&gt;add( 'custom-navigation', &quot;/wp-admin/css/custom-navigation$suffix.css&quot;, array(), '20100225' );
</ins><span class="cx"> 
</span><span class="cx">         foreach ( $rtl_styles as $rtl_style ) {
</span><span class="cx">                 $styles-&gt;add_data( $rtl_style, 'rtl', true );
</span></span></pre>
</div>
</div>

</body>
</html>