<!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>[13402] trunk: move nav menu css/js to nav-menu prefix, See #11817</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13402">13402</a></dd>
<dt>Author</dt> <dd>wpmuguru</dd>
<dt>Date</dt> <dd>2010-02-25 17:10:00 +0000 (Thu, 25 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>move nav menu css/js to nav-menu prefix, See <a href="http://trac.wordpress.org/ticket/11817">#11817</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminnavmenusphp">trunk/wp-admin/nav-menus.php</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkwpadmincssnavmenucss">trunk/wp-admin/css/nav-menu.css</a></li>
<li><a href="#trunkwpadmincssnavmenudevcss">trunk/wp-admin/css/nav-menu.dev.css</a></li>
<li><a href="#trunkwpadminjsnavmenudefaultitemsdevjs">trunk/wp-admin/js/nav-menu-default-items.dev.js</a></li>
<li><a href="#trunkwpadminjsnavmenudefaultitemsjs">trunk/wp-admin/js/nav-menu-default-items.js</a></li>
<li><a href="#trunkwpadminjsnavmenudynamicfunctionsdevjs">trunk/wp-admin/js/nav-menu-dynamic-functions.dev.js</a></li>
<li><a href="#trunkwpadminjsnavmenudynamicfunctionsjs">trunk/wp-admin/js/nav-menu-dynamic-functions.js</a></li>
<li><a href="#trunkwpadminjsnavmenuphpfunctionsdevjs">trunk/wp-admin/js/nav-menu-php-functions.dev.js</a></li>
<li><a href="#trunkwpadminjsnavmenuphpfunctionsjs">trunk/wp-admin/js/nav-menu-php-functions.js</a></li>
</ul>

<h3>Removed 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="#trunkwpadminjscustomnavigationdefaultitemsdevjs">trunk/wp-admin/js/custom-navigation-default-items.dev.js</a></li>
<li><a href="#trunkwpadminjscustomnavigationdefaultitemsjs">trunk/wp-admin/js/custom-navigation-default-items.js</a></li>
<li><a href="#trunkwpadminjscustomnavigationdynamicfunctionsdevjs">trunk/wp-admin/js/custom-navigation-dynamic-functions.dev.js</a></li>
<li><a href="#trunkwpadminjscustomnavigationdynamicfunctionsjs">trunk/wp-admin/js/custom-navigation-dynamic-functions.js</a></li>
<li><a href="#trunkwpadminjscustomnavigationphpfunctionsdevjs">trunk/wp-admin/js/custom-navigation-php-functions.dev.js</a></li>
<li><a href="#trunkwpadminjscustomnavigationphpfunctionsjs">trunk/wp-admin/js/custom-navigation-php-functions.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsscustomnavigationcss"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/css/custom-navigation.css (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/custom-navigation.css        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/css/custom-navigation.css        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1 +0,0 @@
</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;}#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;}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadmincsscustomnavigationdevcss"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/css/custom-navigation.dev.css (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/custom-navigation.dev.css        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/css/custom-navigation.dev.css        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1,81 +0,0 @@
</span><del>-/**
- * WordPress Administration Custom Navigation
- * Interface CSS
- *
- * @version 1.1.0
- *
- * @package WordPress
- * @subpackage Administration
- */
-
-.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: 0px 10px 10px; }
-#menus-container .submit { padding: 0px; }
-#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 dl dt a {}
-#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 0px; }
-.list li .title { background: url(../images/ico-arrow.png) no-repeat 4px 13px; background-position: center left; padding-left: 5%; }
-
-/* 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; }
-
-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; }
-
-#menu_select { width: 170px; }
-#dialog-confirm label { padding-left: 10px; }
-
-/* EDIT LINK BOX */
-.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; }
-#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 #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; }
-.ui-icon  { display: none; }
-
-/* Overlays */
-.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
-.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><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadmincssnavmenucssfromrev13399trunkwpadmincsscustomnavigationcss"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/css/nav-menu.css (from rev 13399, trunk/wp-admin/css/custom-navigation.css) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/nav-menu.css                                (rev 0)
+++ trunk/wp-admin/css/nav-menu.css        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1 @@
</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="trunkwpadmincssnavmenucss"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/css/nav-menu.css</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadmincssnavmenudevcssfromrev13399trunkwpadmincsscustomnavigationdevcss"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/css/nav-menu.dev.css (from rev 13399, trunk/wp-admin/css/custom-navigation.dev.css) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/nav-menu.dev.css                                (rev 0)
+++ trunk/wp-admin/css/nav-menu.dev.css        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1,81 @@
</span><ins>+/**
+ * WordPress Administration Custom Navigation
+ * Interface CSS
+ *
+ * @version 1.1.0
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+
+.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: 0px 10px 10px; }
+#menus-container .submit { padding: 0px; }
+#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 dl dt a {}
+#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 0px; }
+.list li .title { background: url(../images/ico-arrow.png) no-repeat 4px 13px; background-position: center left; padding-left: 5%; }
+
+/* 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; }
+
+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; }
+
+#menu_select { width: 170px; }
+#dialog-confirm label { padding-left: 10px; }
+
+/* EDIT LINK BOX */
+.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; }
+#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 #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; }
+.ui-icon  { display: none; }
+
+/* Overlays */
+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
+.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="trunkwpadmincssnavmenudevcss"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/css/nav-menu.dev.css</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadminjscustomnavigationdefaultitemsdevjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/js/custom-navigation-default-items.dev.js (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-default-items.dev.js        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/js/custom-navigation-default-items.dev.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1,146 +0,0 @@
</span><del>-/**
- * WordPress Administration Custom Navigation
- * Interface JQuery functions
- *
- * @version 1.1.0
- *
- * @package WordPress
- * @subpackage Administration
- */
-
-/*
- * Init Functions
-*/
-jQuery(function($)
-        {
-                //Makes dialog box
-                $(&quot;#dialog-confirm&quot;).dialog({
-                        autoOpen: false,
-                        resizable: false,
-                        height: 210,
-                        width: 400,
-                        modal: true,
-                        buttons: {
-                                'Save': function() {
-
-                                        titletosave = $('#edittitle').attr('value');
-                                        linktosave = $('#editlink').attr('value');
-                                        anchortitletosave = $('#editanchortitle').attr('value');
-                                        newwindowtosave = $('#editnewwindow').attr('value');
-                                        desctosave = $('#editdescription').attr('value');
-
-                                        $('#title' + $(this).dialog('option', 'itemID')).attr('value',titletosave);
-                                        $('#linkurl' + $(this).dialog('option', 'itemID')).attr('value',linktosave);
-                                        $('#anchortitle' + $(this).dialog('option', 'itemID')).attr('value',anchortitletosave);
-                                        $('#newwindow' + $(this).dialog('option', 'itemID')).attr('value',newwindowtosave);
-                                        $('#description' + $(this).dialog('option', 'itemID')).attr('value',desctosave);
-
-                                        $('#menu-' + $(this).dialog('option', 'itemID') + ' &gt; dl &gt; dt &gt; span.title').text(titletosave);
-
-                                        $('#view' + + $(this).dialog('option', 'itemID')).attr('href', linktosave);
-
-                                        $(this).dialog('close');
-
-                                },
-                                Cancel: function() {
-                                        $(this).dialog('close');
-                                }
-                        }
-                });
-
-                // $('#message').animate({ opacity: 1.0 },2000).fadeOut(300, function(){ $(this).remove();});
-
-                //Add dropzone
-            $('#custom-nav li').prepend('&lt;div class=&quot;dropzone&quot;&gt;&lt;/div&gt;');
-
-                //Make li items draggable
-                $('#custom-nav li').draggable({
-                            handle: ' &gt; dl',
-                            opacity: .8,
-                            addClasses: false,
-                            helper: 'clone',
-                            zIndex: 100
-                });
-
-                //Make items droppable
-                $('#custom-nav dl, #custom-nav .dropzone').droppable(
-                {
-                    accept: '#custom-nav li',
-                    tolerance: 'pointer',
-                    drop: function(e, ui)
-                    {
-                        var li = $(this).parent();
-                        var child = !$(this).hasClass('dropzone');
-                        //Add UL to first child
-                        if (child &amp;&amp; li.children('ul').length == 0)
-                        {
-                            li.append('&lt;ul id=&quot;sub-menu&quot; /&gt;');
-                        }
-                        //Make it draggable
-                        if (child)
-                        {
-                            li.children('ul').append(ui.draggable);
-                        }
-                        else
-                        {
-                            li.before(ui.draggable);
-                        }
-
-                        li.find('dl,.dropzone').css({ backgroundColor: '', borderColor: '' });
-
-                        var draggablevalue = ui.draggable.attr('value');
-                        var droppablevalue = li.attr('value');
-                        li.find('#menu-' + draggablevalue).find('#parent' + draggablevalue).val(droppablevalue);
-                        $(this).parent().find(&quot;dt&quot;).removeAttr('style');
-                        $(this).parent().find(&quot;div:first&quot;).removeAttr('style');
-
-
-                    },
-                    over: function()
-                    {
-                            //Add child
-                            if ($(this).attr('class') == 'dropzone ui-droppable')
-                            {
-                                    $(this).parent().find(&quot;div:first&quot;).css('background', 'none').css('height', '50px');
-                            }
-                            //Add above
-                            else if ($(this).attr('class') == 'ui-droppable')
-                            {
-                                    $(this).parent().find(&quot;dt:first&quot;).css('background', '#d8d8d8');
-                            }
-                            //do nothing
-                            else {
-
-                            }
-                            var parentid = $(this).parent().attr('id');
-
-                       },
-                    out: function()
-                    {
-                        $(this).parent().find(&quot;dt&quot;).removeAttr('style');
-                        $(this).parent().find(&quot;div:first&quot;).removeAttr('style');
-                        $(this).filter('.dropzone').css({ borderColor: '' });
-                    },
-                    deactivate: function()
-                    {
-
-
-                    }
-
-
-                });
-
-                //Handle Save Button Clicks
-                $('#save_top').click(function()
-                {
-                        updatepostdata();
-                });
-                $('#save_bottom').click(function()
-                {
-                        updatepostdata();
-                });
-
-
-        });
-
-
</del></span></pre></div>
<a id="trunkwpadminjscustomnavigationdefaultitemsjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/js/custom-navigation-default-items.js (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-default-items.js        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/js/custom-navigation-default-items.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-jQuery(function($){$(&quot;#dialog-confirm&quot;).dialog({autoOpen:false,resizable:false,height:210,width:400,modal:true,buttons:{Save:function(){titletosave=$(&quot;#edittitle&quot;).attr(&quot;value&quot;);linktosave=$(&quot;#editlink&quot;).attr(&quot;value&quot;);anchortitletosave=$(&quot;#editanchortitle&quot;).attr(&quot;value&quot;);newwindowtosave=$(&quot;#editnewwindow&quot;).attr(&quot;value&quot;);desctosave=$(&quot;#editdescription&quot;).attr(&quot;value&quot;);$(&quot;#title&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,titletosave);$(&quot;#linkurl&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,linktosave);$(&quot;#anchortitle&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,anchortitletosave);$(&quot;#newwindow&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,newwindowtosave);$(&quot;#description&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,desctosave);$(&quot;#menu-&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)+&quot; &gt; dl &gt; dt &gt; span.title&quot;).text(titletosave);$(&quot;#view&quot;+ +$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;href&quot;,linktosave);$(this).dialog(&quot;close&quot;)},Cancel:function(){$(this).dialog(&quot;close&quot;)}}});$(&quot;#custom-nav li&quot;).prepend('&lt;div class=&quot;dropzone&quot;&gt;&lt;/div&gt;');$(&quot;#custom-nav li&quot;).draggable({handle:&quot; &gt; dl&quot;,opacity:0.8,addClasses:false,helper:&quot;clone&quot;,zIndex:100});$(&quot;#custom-nav dl, #custom-nav .dropzone&quot;).droppable({accept:&quot;#custom-nav li&quot;,tolerance:&quot;pointer&quot;,drop:function(e,ui){var li=$(this).parent();var child=!$(this).hasClass(&quot;dropzone&quot;);if(child&amp;&amp;li.children(&quot;ul&quot;).length==0){li.append('&lt;ul id=&quot;sub-menu&quot; /&gt;')}if(child){li.children(&quot;ul&quot;).append(ui.draggable)}else{li.before(ui.draggable)}li.find(&quot;dl,.dropzone&quot;).css({backgroundColor:&quot;&quot;,borderColor:&quot;&quot;});var draggablevalue=ui.draggable.attr(&quot;value&quot;);var droppablevalue=li.attr(&quot;value&quot;);li.find(&quot;#menu-&quot;+draggablevalue).find(&quot;#parent&quot;+draggablevalue).val(droppablevalue);$(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);$(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;)},over:function(){if($(this).attr(&quot;class&quot;)==&quot;dropzone ui-droppable&quot;){$(this).parent().find(&quot;div:first&quot;).css(&quot;background&quot;,&quot;none&quot;).css(&quot;height&quot;,&quot;50px&quot;)}else{if($(this).attr(&quot;class&quot;)==&quot;ui-droppable&quot;){$(this).parent().find(&quot;dt:first&quot;).css(&quot;background&quot;,&quot;#d8d8d8&quot;)}else{}}var parentid=$(this).parent().attr(&quot;id&quot;)},out:function(){$(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);$(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;);$(this).filter(&quot;.dropzone&quot;).css({borderColor:&quot;&quot;})},deactivate:function(){}});$(&quot;#save_top&quot;).click(function(){updatepostdata()});$(&quot;#save_bottom&quot;).click(function(){updatepostdata()})});
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjscustomnavigationdynamicfunctionsdevjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/js/custom-navigation-dynamic-functions.dev.js (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-dynamic-functions.dev.js        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/js/custom-navigation-dynamic-functions.dev.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1,293 +0,0 @@
</span><del>-/**
- * WordPress Administration Custom Navigation
- * Interface JS functions
- *
- * @version 1.1.0
- *
- * @package WordPress
- * @subpackage Administration
- */
-
-/*
- * Removes menu items from current menu
- * @param int o - the id of the menu li to remove.
-*/
-function removeitem(o)
-{
-
-        var todelete = document.getElementById('menu-' + o);
-
-        if (todelete)
-        {
-                var parenttodelete = document.getElementById('menu-' + o).parentNode;
-        throwaway_node = parenttodelete.removeChild(todelete);
-        }
-
-        updatepostdata();
-};
-
-/*
- * Loads dialog window to edit menu items from current menu
- * @param int o - the id of the menu li to edit.
-*/
-function edititem(o)
-{
-
-                itemTitle = jQuery('#title' + o).val();
-                itemURL = jQuery('#linkurl' + o).val();
-                itemAnchorTitle = jQuery('#anchortitle' + o).val();
-                itemNewWindow = jQuery('#newwindow' + o).val();
-                itemDesc = jQuery('#description' + o).val();
-
-                jQuery('#dialog-confirm').dialog( 'option' , 'itemID' , o )
-
-                jQuery('#dialog-confirm').dialog('open');
-
-                jQuery('#edittitle').val( itemTitle );
-                if ( 'custom' == jQuery( '#linktype' + o ).val() ) {
-                        jQuery( '#editlink-wrap' ).css( 'display', 'inline' );
-                } else {
-                        jQuery( '#editlink-wrap' ).css( 'display', 'none' );
-                }
-                jQuery('#editlink').val( itemURL );
-                jQuery('#editanchortitle').val( itemAnchorTitle );
-                jQuery(&quot;#editnewwindow option[value='&quot; + itemNewWindow  + &quot;']&quot;).attr('selected', 'selected');
-                jQuery('#editdescription').val( itemDesc );
-
-};
-
-/*
- * Prepares menu items for POST
-*/
-function updatepostdata()
-{
-
-        var i = 0;
-         jQuery(&quot;#custom-nav&quot;).find(&quot;li&quot;).each(function(i) {
-                i = i + 1;
-             var j = jQuery(this).attr('value');
-
-             jQuery(this).find('#position' + j).attr('value', i);
-             jQuery(this).attr('id','menu-' + i);
-             jQuery(this).attr('value', i);
-
-             jQuery(this).find('#dbid' + j).attr('name','dbid' + i);
-             jQuery(this).find('#dbid' + j).attr('id','dbid' + i);
-
-                jQuery(this).find('#postmenu' + j).attr('name','postmenu' + i);
-             jQuery(this).find('#postmenu' + j).attr('id','postmenu' + i);
-
-             var p = jQuery(this).find('#parent' + j).parent().parent().parent().attr('value');
-
-             jQuery(this).find('#parent' + j).attr('name','parent' + i);
-             jQuery(this).find('#parent' + j).attr('id','parent' + i);
-             if (p) {
-                     //Do nothing
-             }
-             else {
-                     //reset p to be top level
-                     p = 0;
-             }
-
-             jQuery(this).find('#parent' + j).attr('value', p);
-
-             jQuery(this).find('#title' + j).attr('name','title' + i);
-             jQuery(this).find('#title' + j).attr('id','title' + i);
-
-             jQuery(this).find('#linkurl' + j).attr('name','linkurl' + i);
-             jQuery(this).find('#linkurl' + j).attr('id','linkurl' + i);
-
-             jQuery(this).find('#description' + j).attr('name','description' + i);
-             jQuery(this).find('#description' + j).attr('id','description' + i);
-
-             jQuery(this).find('#icon' + j).attr('name','icon' + i);
-             jQuery(this).find('#icon' + j).attr('id','icon' + i);
-
-             jQuery(this).find('#position' + j).attr('name','position' + i);
-             jQuery(this).find('#position' + j).attr('id','position' + i);
-
-             jQuery(this).find('#linktype' + j).attr('name','linktype' + i);
-             jQuery(this).find('#linktype' + j).attr('id','linktype' + i);
-
-             jQuery(this).find('#anchortitle' + j).attr('name','anchortitle' + i);
-             jQuery(this).find('#anchortitle' + j).attr('id','anchortitle' + i);
-
-             jQuery(this).find('#newwindow' + j).attr('name','newwindow' + i);
-             jQuery(this).find('#newwindow' + j).attr('id','newwindow' + i);
-
-             jQuery(this).find('dl &gt; dt &gt; span &gt; #remove' + j).attr('value', i);
-             jQuery(this).find('dl &gt; dt &gt; span &gt; #remove' + j).attr('onClick', 'removeitem(' + i + ')');
-             jQuery(this).find('dl &gt; dt &gt; span &gt; #remove' + j).attr('id','remove' + i);
-
-             jQuery('#li-count').attr('value',i);
-
-   });
-
-
-
-};
-
-/*
- * Adds item from Page, Category, or Custom options menu
- * @param string templatedir - directory of the add, edit, view images.
- * @param string additemtype - Page, Category, or Custom.
- * @param string itemtext - menu text.
- * @param string itemurl - url of the menu.
- * @param int itemid - menu id.
- * @param int itemparentid - default 0.
- * @param string itemdescription - the description of the menu item.
-*/
-function appendToList(templatedir,additemtype,itemtext,itemurl,itemid,itemparentid,itemdescription)
-{
-        var inputvaluevarname = '';
-        var inputvaluevarurl = '';
-        var inputitemid = '';
-        var inputparentid= '';
-        var inputdescription = '';
-        var inputicon = '';
-
-        if (additemtype == navMenuL10n.custom)
-        {
-                inputvaluevarname = document.getElementById('custom-menu-item-name').value;
-                inputvaluevarurl = document.getElementById('custom-menu-item-url').value;
-                inputitemid = '';
-                inputparentid = '';
-                inputlinktype = 'custom';
-                inputdescription = '';
-        }
-        else if (additemtype == navMenuL10n.page)
-        {
-                inputvaluevarname = htmlentities(itemtext.toString());
-                inputvaluevarurl = itemurl.toString();
-                inputitemid = itemid.toString();
-                inputparentid = '0';
-                inputlinktype = 'page';
-                inputdescription = htmlentities(itemdescription.toString());
-
-        }
-        else if (additemtype == navMenuL10n.category)
-        {
-                inputvaluevarname = htmlentities(itemtext.toString());
-                inputvaluevarurl = itemurl.toString();
-                inputitemid = itemid.toString();
-                inputparentid = '0';
-                inputlinktype = 'category';
-                inputdescription = htmlentities(itemdescription.toString());
-        }
-        else
-        {
-                inputvaluevarname = '';
-                inputvaluevarname = '';
-                inputitemid = '';
-                inputparentid = '';
-                inputlinktype = 'custom';
-                inputdescription = '';
-        }
-
-        var count=document.getElementById('custom-nav').getElementsByTagName('li').length + 1;
-
-        var randomnumber = count;
-
-        var validatetest = 0;
-
-        try
-        {
-                var test=document.getElementById(&quot;menu-&quot; + randomnumber.toString()).value;
-        }
-        catch (err)
-        {
-                validatetest = 1;
-        }
-
-        while (validatetest == 0)
-        {
-                randomnumber = randomnumber + 1;
-
-                try
-                {
-                        var test2=document.getElementById(&quot;menu-&quot; + randomnumber.toString()).value;
-                }
-                catch (err)
-                {
-                        validatetest = 1;
-                }
-        }
-
-        //Notification Message
-        jQuery('.maintitle').after('&lt;div id=&quot;message&quot; class=&quot;updated fade below-h2&quot;&gt;&lt;p&gt;Menu Item added!&lt;/p&gt;&lt;/div&gt;');
-        jQuery('#message').animate({ opacity: 1.0 },2000).fadeOut(300, function(){ jQuery(this).remove();});
-
-        //Appends HTML to the menu
-        jQuery('#custom-nav').append('&lt;li id=&quot;menu-' + randomnumber + '&quot; value=&quot;' + randomnumber + '&quot;&gt;&lt;div class=&quot;dropzone ui-droppable&quot;&gt;&lt;/div&gt;&lt;dl class=&quot;ui-droppable&quot;&gt;&lt;dt&gt;&lt;span class=&quot;title&quot;&gt;' + inputvaluevarname + '&lt;/span&gt;&lt;span class=&quot;controls&quot;&gt;&lt;span class=&quot;type&quot;&gt;' + additemtype + '&lt;/span&gt;&lt;a id=&quot;edit' + randomnumber + '&quot; onclick=&quot;edititem(' + randomnumber + ')&quot; value=&quot;' + randomnumber +'&quot;&gt;&lt;img class=&quot;edit&quot; alt=&quot;Edit Menu Item&quot; title=&quot;Edit Menu Item&quot; src=&quot;' + templatedir + '/wp-admin/images/ico-edit.png&quot; /&gt;&lt;/a&gt; &lt;a id=&quot;remove' + randomnumber + '&quot; onclick=&quot;removeitem(' + randomnumber + ')&quot; value=&quot;' + randomnumber +'&quot;&gt;&lt;img class=&quot;remove&quot; alt=&quot;Remove from Custom Menu&quot; title=&quot;Remove from Custom Menu&quot; src=&quot;' + templatedir + '/wp-admin/images/ico-close.png&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;' + inputvaluevarurl + '&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;View Custom Link&quot; title=&quot;View Custom Link&quot; src=&quot;' + templatedir + '/wp-admin/images/ico-viewpage.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/dt&gt;&lt;/dl&gt;&lt;a class=&quot;hide&quot; href=&quot;' + inputvaluevarurl + '&quot;&gt;' + inputvaluevarname + '&lt;/a&gt;&lt;input type=&quot;hidden&quot; name=&quot;postmenu' + randomnumber + '&quot; id=&quot;postmenu' + randomnumber + '&quot; value=&quot;' + inputitemid + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;parent' + randomnumber + '&quot; id=&quot;parent' + randomnumber + '&quot; value=&quot;' + inputparentid + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;title' + randomnumber + '&quot; id=&quot;title' + randomnumber + '&quot; value=&quot;' + inputvaluevarname + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linkurl' + randomnumber + '&quot; id=&quot;linkurl' + randomnumber + '&quot; value=&quot;' + inputvaluevarurl + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;description' + randomnumber + '&quot; id=&quot;description' + randomnumber + '&quot; value=&quot;' + inputdescription + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;icon' + randomnumber + '&quot; id=&quot;icon' + randomnumber + '&quot; value=&quot;' + inputicon + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;position' + randomnumber + '&quot; id=&quot;position' + randomnumber + '&quot; value=&quot;' + randomnumber + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linktype' + randomnumber + '&quot; id=&quot;linktype' + randomnumber + '&quot; value=&quot;' + inputlinktype + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;anchortitle' + randomnumber + '&quot; id=&quot;anchortitle' + randomnumber + '&quot; value=&quot;' + inputvaluevarname + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;newwindow' + randomnumber + '&quot; id=&quot;newwindow' + randomnumber + '&quot; value=&quot;0&quot; /&gt;&lt;/li&gt;');
-
-        //make menu item draggable
-        jQuery('#menu-' + randomnumber + '').draggable(
-        {
-                handle: ' &gt; dl',
-                opacity: .8,
-                addClasses: false,
-                helper: 'clone',
-                zIndex: 100
-        });
-
-        //make menu item droppable
-        jQuery('#menu-' + randomnumber + ' dl, #menu-' + randomnumber + ' .dropzone').droppable({
-                accept: '#' + randomnumber + ', #custom-nav li',
-                tolerance: 'pointer',
-                drop: function(e, ui)
-                {
-                        var li = jQuery(this).parent();
-                        var child = !jQuery(this).hasClass('dropzone');
-                        //Append UL to first child
-                        if (child &amp;&amp; li.children('ul').length == 0)
-                        {
-                                li.append('&lt;ul/&gt;');
-                        }
-                        //Make it draggable
-                        if (child)
-                        {
-                                li.children('ul').append(ui.draggable);
-                        }
-                        else
-                        {
-                                li.before(ui.draggable);
-                        }
-
-                        li.find('dl,.dropzone').css({ backgroundColor: '', borderColor: '' });
-
-                        var draggablevalue = ui.draggable.attr('value');
-                       var droppablevalue = li.attr('value');
-                       li.find('#menu-' + draggablevalue).find('#parent' + draggablevalue).val(droppablevalue);
-                jQuery(this).parent().find(&quot;dt&quot;).removeAttr('style');
-                jQuery(this).parent().find(&quot;div:first&quot;).removeAttr('style');
-
-                },
-                over: function()
-                    {
-                            //Add child
-                            if (jQuery(this).attr('class') == 'dropzone ui-droppable')
-                            {
-                                    jQuery(this).parent().find(&quot;div:first&quot;).css('background', 'none').css('height', '50px');
-                            }
-                            //Add above
-                            else if (jQuery(this).attr('class') == 'ui-droppable')
-                            {
-                                    jQuery(this).parent().find(&quot;dt:first&quot;).css('background', '#d8d8d8');
-                            }
-                            //do nothing
-                            else {
-
-                            }
-                            var parentid = jQuery(this).parent().attr('id');
-
-                       },
-                    out: function()
-                    {
-                        jQuery(this).parent().find(&quot;dt&quot;).removeAttr('style');
-                        jQuery(this).parent().find(&quot;div:first&quot;).removeAttr('style');
-                        jQuery(this).filter('.dropzone').css({ borderColor: '' });
-                    }
-        });
-
-        updatepostdata();
-};
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjscustomnavigationdynamicfunctionsjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/js/custom-navigation-dynamic-functions.js (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-dynamic-functions.js        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/js/custom-navigation-dynamic-functions.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-function removeitem(c){var b=document.getElementById(&quot;menu-&quot;+c);if(b){var a=document.getElementById(&quot;menu-&quot;+c).parentNode;throwaway_node=a.removeChild(b)}updatepostdata()}function edititem(a){itemTitle=jQuery(&quot;#title&quot;+a).attr(&quot;value&quot;);itemURL=jQuery(&quot;#linkurl&quot;+a).attr(&quot;value&quot;);itemAnchorTitle=jQuery(&quot;#anchortitle&quot;+a).attr(&quot;value&quot;);itemNewWindow=jQuery(&quot;#newwindow&quot;+a).attr(&quot;value&quot;);itemDesc=jQuery(&quot;#description&quot;+a).attr(&quot;value&quot;);jQuery(&quot;#dialog-confirm&quot;).dialog(&quot;option&quot;,&quot;itemID&quot;,a);jQuery(&quot;#dialog-confirm&quot;).dialog(&quot;open&quot;);jQuery(&quot;#edittitle&quot;).attr(&quot;value&quot;,itemTitle);jQuery(&quot;#editlink&quot;).attr(&quot;value&quot;,itemURL);jQuery(&quot;#editanchortitle&quot;).attr(&quot;value&quot;,itemAnchorTitle);jQuery(&quot;#editnewwindow option[value='&quot;+itemNewWindow+&quot;']&quot;).attr(&quot;selected&quot;,&quot;selected&quot;);jQuery(&quot;#editdescription&quot;).attr(&quot;value&quot;,itemDesc)}function updatepostdata(){var a=0;jQuery(&quot;#custom-nav&quot;).find(&quot;li&quot;).each(function(c){c=c+1;var b=jQuery(this).attr(&quot;value&quot;);jQuery(this).find(&quot;#position&quot;+b).attr(&quot;value&quot;,c);jQuery(this).attr(&quot;id&quot;,&quot;menu-&quot;+c);jQuery(this).attr(&quot;value&quot;,c);jQuery(this).find(&quot;#dbid&quot;+b).attr(&quot;name&quot;,&quot;dbid&quot;+c);jQuery(this).find(&quot;#dbid&quot;+b).attr(&quot;id&quot;,&quot;dbid&quot;+c);jQuery(this).find(&quot;#postmenu&quot;+b).attr(&quot;name&quot;,&quot;postmenu&quot;+c);jQuery(this).find(&quot;#postmenu&quot;+b).attr(&quot;id&quot;,&quot;postmenu&quot;+c);var d=jQuery(this).find(&quot;#parent&quot;+b).parent().parent().parent().attr(&quot;value&quot;);jQuery(this).find(&quot;#parent&quot;+b).attr(&quot;name&quot;,&quot;parent&quot;+c);jQuery(this).find(&quot;#parent&quot;+b).attr(&quot;id&quot;,&quot;parent&quot;+c);if(d){}else{d=0}jQuery(this).find(&quot;#parent&quot;+b).attr(&quot;value&quot;,d);jQuery(this).find(&quot;#title&quot;+b).attr(&quot;name&quot;,&quot;title&quot;+c);jQuery(this).find(&quot;#title&quot;+b).attr(&quot;id&quot;,&quot;title&quot;+c);jQuery(this).find(&quot;#linkurl&quot;+b).attr(&quot;name&quot;,&quot;linkurl&quot;+c);jQuery(this).find(&quot;#linkurl&quot;+b).attr(&quot;id&quot;,&quot;linkurl&quot;+c);jQuery(this).find(&quot;#description&quot;+b).attr(&quot;name&quot;,&quot;description&quot;+c);jQuery(this).find(&quot;#description&quot;+b).attr(&quot;id&quot;,&quot;description&quot;+c);jQuery(this).find(&quot;#icon&quot;+b).attr(&quot;name&quot;,&quot;icon&quot;+c);jQuery(this).find(&quot;#icon&quot;+b).attr(&quot;id&quot;,&quot;icon&quot;+c);jQuery(this).find(&quot;#position&quot;+b).attr(&quot;name&quot;,&quot;position&quot;+c);jQuery(this).find(&quot;#position&quot;+b).attr(&quot;id&quot;,&quot;position&quot;+c);jQuery(this).find(&quot;#linktype&quot;+b).attr(&quot;name&quot;,&quot;linktype&quot;+c);jQuery(this).find(&quot;#linktype&quot;+b).attr(&quot;id&quot;,&quot;linktype&quot;+c);jQuery(this).find(&quot;#anchortitle&quot;+b).attr(&quot;name&quot;,&quot;anchortitle&quot;+c);jQuery(this).find(&quot;#anchortitle&quot;+b).attr(&quot;id&quot;,&quot;anchortitle&quot;+c);jQuery(this).find(&quot;#newwindow&quot;+b).attr(&quot;name&quot;,&quot;newwindow&quot;+c);jQuery(this).find(&quot;#newwindow&quot;+b).attr(&quot;id&quot;,&quot;newwindow&quot;+c);jQuery(this).find(&quot;dl &gt; dt &gt; span &gt; #remove&quot;+b).attr(&quot;value&quot;,c);jQuery(this).find(&quot;dl &gt; dt &gt; span &gt; #remove&quot;+b).attr(&quot;onClick&quot;,&quot;removeitem(&quot;+c+&quot;)&quot;);jQuery(this).find(&quot;dl &gt; dt &gt; span &gt; #remove&quot;+b).attr(&quot;id&quot;,&quot;remove&quot;+c);jQuery(&quot;#li-count&quot;).attr(&quot;value&quot;,c)})}function appendToList(b,s,d,n,h,l,e){var k=&quot;&quot;;var c=&quot;&quot;;var r=&quot;&quot;;var o=&quot;&quot;;var i=&quot;&quot;;var a=&quot;&quot;;if(s==navMenuL10n.custom){k=document.getElementById(&quot;custom-menu-item-name&quot;).value;c=document.getElementById(&quot;custom-menu-item-url&quot;).value;r=&quot;&quot;;o=&quot;&quot;;inputlinktype=&quot;custom&quot;;i=&quot;&quot;}else{if(s==navMenuL10n.page){k=htmlentities(d.toString());c=n.toString();r=h.toString();o=&quot;0&quot;;inputlinktype=&quot;page&quot;;i=htmlentities(e.toString())}else{if(s==navMenuL10n.category){k=htmlentities(d.toString());c=n.toString();r=h.toString();o=&quot;0&quot;;inputlinktype=&quot;category&quot;;i=htmlentities(e.toString())}else{k=&quot;&quot;;k=&quot;&quot;;r=&quot;&quot;;o=&quot;&quot;;inputlinktype=&quot;custom&quot;;i=&quot;&quot;}}}var g=document.getElementById(&quot;custom-nav&quot;).getElementsByTagName(&quot;li&quot;).length+1;var p=g;var m=0;try{var q=document.getElementById(&quot;menu-&quot;+p.toString()).value}catch(f){m=1}while(m==0){p=p+1;try{var j=document.getElementById(&quot;menu-&quot;+p.toString()).value}catch(f){m=1}}jQuery(&quot;.maintitle&quot;).after('&lt;div id=&quot;message&quot; class=&quot;updated fade below-h2&quot;&gt;&lt;p&gt;Menu Item added!&lt;/p&gt;&lt;/div&gt;');jQuery(&quot;#message&quot;).animate({opacity:1},2000).fadeOut(300,function(){jQuery(this).remove()});jQuery(&quot;#custom-nav&quot;).append('&lt;li id=&quot;menu-'+p+'&quot; value=&quot;'+p+'&quot;&gt;&lt;div class=&quot;dropzone ui-droppable&quot;&gt;&lt;/div&gt;&lt;dl class=&quot;ui-droppable&quot;&gt;&lt;dt&gt;&lt;span class=&quot;title&quot;&gt;'+k+'&lt;/span&gt;&lt;span class=&quot;controls&quot;&gt;&lt;span class=&quot;type&quot;&gt;'+s+'&lt;/span&gt;&lt;a id=&quot;edit'+p+'&quot; onclick=&quot;edititem('+p+')&quot; value=&quot;'+p+'&quot;&gt;&lt;img class=&quot;edit&quot; alt=&quot;Edit Menu Item&quot; title=&quot;Edit Menu Item&quot; src=&quot;'+b+'/wp-admin/images/ico-edit.png&quot; /&gt;&lt;/a&gt; &lt;a id=&quot;remove'+p+'&quot; onclick=&quot;removeitem('+p+')&quot; value=&quot;'+p+'&quot;&gt;&lt;img class=&quot;remove&quot; alt=&quot;Remove from Custom Menu&quot; title=&quot;Remove from Custom Menu&quot; src=&quot;'+b+'/wp-admin/images/ico-close.png&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;'+c+'&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;View Custom Link&quot; title=&quot;View Custom Link&quot; src=&quot;'+b+'/wp-admin/images/ico-viewpage.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/dt&gt;&lt;/dl&gt;&lt;a class=&quot;hide&quot; href=&quot;'+c+'&quot;&gt;'+k+'&lt;/a&gt;&lt;input type=&quot;hidden&quot; name=&quot;postmenu'+p+'&quot; id=&quot;postmenu'+p+'&quot; value=&quot;'+r+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;parent'+p+'&quot; id=&quot;parent'+p+'&quot; value=&quot;'+o+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;title'+p+'&quot; id=&quot;title'+p+'&quot; value=&quot;'+k+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linkurl'+p+'&quot; id=&quot;linkurl'+p+'&quot; value=&quot;'+c+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;description'+p+'&quot; id=&quot;description'+p+'&quot; value=&quot;'+i+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;icon'+p+'&quot; id=&quot;icon'+p+'&quot; value=&quot;'+a+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;position'+p+'&quot; id=&quot;position'+p+'&quot; value=&quot;'+p+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linktype'+p+'&quot; id=&quot;linktype'+p+'&quot; value=&quot;'+inputlinktype+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;anchortitle'+p+'&quot; id=&quot;anchortitle'+p+'&quot; value=&quot;'+k+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;newwindow'+p+'&quot; id=&quot;newwindow'+p+'&quot; value=&quot;0&quot; /&gt;&lt;/li&gt;');jQuery(&quot;#menu-&quot;+p+&quot;&quot;).draggable({handle:&quot; &gt; dl&quot;,opacity:0.8,addClasses:false,helper:&quot;clone&quot;,zIndex:100});jQuery(&quot;#menu-&quot;+p+&quot; dl, #menu-&quot;+p+&quot; .dropzone&quot;).droppable({accept:&quot;#&quot;+p+&quot;, #custom-nav li&quot;,tolerance:&quot;pointer&quot;,drop:function(x,w){var t=jQuery(this).parent();var y=!jQuery(this).hasClass(&quot;dropzone&quot;);if(y&amp;&amp;t.children(&quot;ul&quot;).length==0){t.append(&quot;&lt;ul/&gt;&quot;)}if(y){t.children(&quot;ul&quot;).append(w.draggable)}else{t.before(w.draggable)}t.find(&quot;dl,.dropzone&quot;).css({backgroundColor:&quot;&quot;,borderColor:&quot;&quot;});var v=w.draggable.attr(&quot;value&quot;);var u=t.attr(&quot;value&quot;);t.find(&quot;#menu-&quot;+v).find(&quot;#parent&quot;+v).val(u);jQuery(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);jQuery(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;)},over:function(){if(jQuery(this).attr(&quot;class&quot;)==&quot;dropzone ui-droppable&quot;){jQuery(this).parent().find(&quot;div:first&quot;).css(&quot;background&quot;,&quot;none&quot;).css(&quot;height&quot;,&quot;50px&quot;)}else{if(jQuery(this).attr(&quot;class&quot;)==&quot;ui-droppable&quot;){jQuery(this).parent().find(&quot;dt:first&quot;).css(&quot;background&quot;,&quot;#d8d8d8&quot;)}else{}}var t=jQuery(this).parent().attr(&quot;id&quot;)},out:function(){jQuery(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);jQuery(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;);jQuery(this).filter(&quot;.dropzone&quot;).css({borderColor:&quot;&quot;})}});updatepostdata()};
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjscustomnavigationphpfunctionsdevjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/js/custom-navigation-php-functions.dev.js (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-php-functions.dev.js        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/js/custom-navigation-php-functions.dev.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1,300 +0,0 @@
</span><del>-/*
- * More info at: http://phpjs.org
- *
- * This is version: 3.08
- * php.js is copyright 2010 Kevin van Zonneveld.
- *
- * Portions copyright Brett Zamir (http://brett-zamir.me), Kevin van Zonneveld
- * (http://kevin.vanzonneveld.net), Onno Marsman, Theriault, Michael White
- * (http://getsprink.com), Waldo Malqui Silva, Paulo Ricardo F. Santos, Jack,
- * Jonas Raoni Soares Silva (http://www.jsfromhell.com), Philip Peterson, Ates
- * Goral (http://magnetiq.com), Legaev Andrey, Alex, Ratheous, Martijn
- * Wieringa, Nate, lmeyrick (https://sourceforge.net/projects/bcmath-js/),
- * Enrique Gonzalez, Philippe Baumann, Webtoolkit.info
- * (http://www.webtoolkit.info/), travc, Carlos R. L. Rodrigues
- * (http://www.jsfromhell.com), Jani Hartikainen, Ash Searle
- * (http://hexmen.com/blog/), Ole Vrijenhoek, stag019, d3x, Erkekjetter,
- * GeekFG (http://geekfg.blogspot.com), T.Wild, Johnny Mast
- * (http://www.phpvrouwen.nl), Michael Grier,
- * http://stackoverflow.com/questions/57803/how-to-convert-decimal-to-hex-in-javascript,
- * pilus, marrtins, Andrea Giammarchi (http://webreflection.blogspot.com),
- * WebDevHobo (http://webdevhobo.blogspot.com/), Caio Ariede
- * (http://caioariede.com), Thunder.m, Aman Gupta, Martin
- * (http://www.erlenwiese.de/), Tyler Akins (http://rumkin.com), Lars Fischer,
- * Paul Smith, Alfonso Jimenez (http://www.alfonsojimenez.com), Michael White,
- * mdsjack (http://www.mdsjack.bo.it), Pellentesque Malesuada, gettimeofday,
- * David, Joris, saulius, Robin, Steven Levithan
- * (http://blog.stevenlevithan.com), Public Domain
- * (http://www.json.org/json2.js), Kankrelune (http://www.webfaktory.info/),
- * Tim de Koning (http://www.kingsquare.nl), Arpad Ray (mailto:arpad@php.net),
- * AJ, KELAN, Sakimori, Mailfaker (http://www.weedem.fr/), Oleg Eremeev, Marc
- * Palau, Josh Fraser
- * (http://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/),
- * Karol Kowalski, Chris, Breaking Par Consulting Inc
- * (http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256CFB006C45F7),
- * Mirek Slugen, majak, Felix Geisendoerfer (http://www.debuggable.com/felix),
- * gorthaur, Steve Hilder, LH, Stoyan Kyosev (http://www.svest.org/), Der
- * Simon (http://innerdom.sourceforge.net/), HKM, echo is bad, nord_ua, Ozh,
- * metjay, XoraX (http://www.xorax.info), Eugene Bulkin
- * (http://doubleaw.com/), JB, strcasecmp, strcmp, Taras Bogach, Francesco,
- * Marco, noname, class_exists, madipta, Alan C, mktime, Douglas Crockford
- * (http://javascript.crockford.com), uestla, Frank Forte, David James, Steve
- * Clay, J A R, jpfle, Marc Jansen, Paul, Hyam Singer
- * (http://www.impact-computing.com/), T. Wild, Ole Vrijenhoek
- * (http://www.nervous.nl/), Raphael (Ao RUDLER), kenneth, Brad Touesnard,
- * ChaosNo1, Subhasis Deb, Norman &quot;zEh&quot; Fuchs, 0m3r, Sanjoy Roy, Rob, Gilbert,
- * Bayron Guevara, paulo kuong, Orlando, duncan, sankai, hitwork, Philippe
- * Jausions (http://pear.php.net/user/jausions), Aidan Lister
- * (http://aidanlister.com/), ejsanders, Nick Callen, Brian Tafoya
- * (http://www.premasolutions.com/), johnrembo, sowberry, Yves Sucaet, Denny
- * Wardhana, Ulrich, kilops, dptr1988, john (http://www.jd-tech.net), MeEtc
- * (http://yass.meetcweb.com), Peter-Paul Koch
- * (http://www.quirksmode.org/js/beat.html), T0bsn, Tim Wiel, Bryan Elliott,
- * Alexander Ermolaev (http://snippets.dzone.com/user/AlexanderErmolaev), JT,
- * Thomas Beaucourt (http://www.webapp.fr), David Randall, DxGx, Soren Hansen,
- * lmeyrick (https://sourceforge.net/projects/bcmath-js/this.), Le Torbi,
- * djmix, Lincoln Ramsay, Linuxworld, Thiago Mata
- * (http://thiagomata.blog.com), Pedro Tainha (http://www.pedrotainha.com),
- * James, Pyerre, Jon Hohle, felix, ger, Russell Walker
- * (http://www.nbill.co.uk/), Garagoth, Andrej Pavlovic, Dino, Jamie Beck
- * (http://www.terabit.ca/), DtTvB
- * (http://dt.in.th/2008-09-16.string-length-in-bytes.html), setcookie, YUI
- * Library: http://developer.yahoo.com/yui/docs/YAHOO.util.DateLocale.html,
- * Blues at http://hacks.bluesmoon.info/strftime/strftime.js, Andreas, rem,
- * meo, Jay Klehr, Kheang Hok Chin (http://www.distantia.ca/), Luke Smith
- * (http://lucassmith.name), Rival, Amir Habibi
- * (http://www.residence-mixte.com/), Cagri Ekin, Greenseed, mk.keck, Leslie
- * Hoare, booeyOH, Ben Bryan, Michael, Christian Doebler, Kirk Strobeck, Brant
- * Messenger (http://www.brantmessenger.com/), Rick Waldron, Mick@el, Martin
- * Pool, Pierre-Luc Paour, Daniel Esteban, Christoph, Saulo Vallory, Kristof
- * Coomans (SCK-CEN Belgian Nucleair Research Centre), rezna, Tomasz
- * Wesolowski, Gabriel Paderni, Marco van Oort, Philipp Lenssen,
- * penutbutterjelly, Simon Willison (http://simonwillison.net), Anton Ongson,
- * Eric Nagel, Bobby Drake, Pul, Blues (http://tech.bluesmoon.info/), Luke
- * Godfrey, Diogo Resende, Howard Yeend, vlado houba, Jalal Berrami, Itsacon
- * (http://www.itsacon.net/), date, Billy, stensi, Cord, fearphage
- * (http://http/my.opera.com/fearphage/), Victor, Matteo, Artur Tchernychev,
- * Francois, nobbler, Fox, marc andreu, Nick Kolosov (http://sammy.ru),
- * Nathan, Arno, Scott Cariss, Slawomir Kaniecki, ReverseSyntax, Jason Wong
- * (http://carrot.org/), Mateusz &quot;loonquawl&quot; Zalega, Manish, Wagner B. Soares,
- * 3D-GRAF, jakes, Yannoo, gabriel paderni, daniel airton wermann
- * (http://wermann.com.br), Atli ?\x97r, Allan Jensen
- * (http://www.winternet.no), Benjamin Lupton, davook, Maximusya, FGFEmperor,
- * baris ozdil, Luis Salazar (http://www.freaky-media.com/), Tim de Koning,
- * taith, Matt Bradley, FremyCompany, T.J. Leahy, Greg Frazier, Valentina De
- * Rosa, Tod Gentille, Riddler (http://www.frontierwebdev.com/), Alexander M
- * Beedie
- *
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the
- * &quot;Software&quot;), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL KEVIN VAN ZONNEVELD BE LIABLE FOR ANY CLAIM, DAMAGES
- * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-
-function get_html_translation_table (table, quote_style) {
-    // http://kevin.vanzonneveld.net
-    // +   original by: Philip Peterson
-    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
-    // +   bugfixed by: noname
-    // +   bugfixed by: Alex
-    // +   bugfixed by: Marco
-    // +   bugfixed by: madipta
-    // +   improved by: KELAN
-    // +   improved by: Brett Zamir (http://brett-zamir.me)
-    // +   bugfixed by: Brett Zamir (http://brett-zamir.me)
-    // +      input by: Frank Forte
-    // +   bugfixed by: T.Wild
-    // +      input by: Ratheous
-    // %          note: It has been decided that we're not going to add global
-    // %          note: dependencies to php.js, meaning the constants are not
-    // %          note: real constants, but strings instead. Integers are also supported if someone
-    // %          note: chooses to create the constants themselves.
-    // *     example 1: get_html_translation_table('HTML_SPECIALCHARS');
-    // *     returns 1: {'&quot;': '&amp;quot;', '&amp;': '&amp;amp;', '&lt;': '&amp;lt;', '&gt;': '&amp;gt;'}
-
-    var entities = {}, hash_map = {}, decimal = 0, symbol = '';
-    var constMappingTable = {}, constMappingQuoteStyle = {};
-    var useTable = {}, useQuoteStyle = {};
-
-    // Translate arguments
-    constMappingTable[0]      = 'HTML_SPECIALCHARS';
-    constMappingTable[1]      = 'HTML_ENTITIES';
-    constMappingQuoteStyle[0] = 'ENT_NOQUOTES';
-    constMappingQuoteStyle[2] = 'ENT_COMPAT';
-    constMappingQuoteStyle[3] = 'ENT_QUOTES';
-
-    useTable       = !isNaN(table) ? constMappingTable[table] : table ? table.toUpperCase() : 'HTML_SPECIALCHARS';
-    useQuoteStyle = !isNaN(quote_style) ? constMappingQuoteStyle[quote_style] : quote_style ? quote_style.toUpperCase() : 'ENT_COMPAT';
-
-    if (useTable !== 'HTML_SPECIALCHARS' &amp;&amp; useTable !== 'HTML_ENTITIES') {
-        throw new Error(&quot;Table: &quot;+useTable+' not supported');
-        // return false;
-    }
-
-    entities['38'] = '&amp;amp;';
-    if (useTable === 'HTML_ENTITIES') {
-        entities['160'] = '&amp;nbsp;';
-        entities['161'] = '&amp;iexcl;';
-        entities['162'] = '&amp;cent;';
-        entities['163'] = '&amp;pound;';
-        entities['164'] = '&amp;curren;';
-        entities['165'] = '&amp;yen;';
-        entities['166'] = '&amp;brvbar;';
-        entities['167'] = '&amp;sect;';
-        entities['168'] = '&amp;uml;';
-        entities['169'] = '&amp;copy;';
-        entities['170'] = '&amp;ordf;';
-        entities['171'] = '&amp;laquo;';
-        entities['172'] = '&amp;not;';
-        entities['173'] = '&amp;shy;';
-        entities['174'] = '&amp;reg;';
-        entities['175'] = '&amp;macr;';
-        entities['176'] = '&amp;deg;';
-        entities['177'] = '&amp;plusmn;';
-        entities['178'] = '&amp;sup2;';
-        entities['179'] = '&amp;sup3;';
-        entities['180'] = '&amp;acute;';
-        entities['181'] = '&amp;micro;';
-        entities['182'] = '&amp;para;';
-        entities['183'] = '&amp;middot;';
-        entities['184'] = '&amp;cedil;';
-        entities['185'] = '&amp;sup1;';
-        entities['186'] = '&amp;ordm;';
-        entities['187'] = '&amp;raquo;';
-        entities['188'] = '&amp;frac14;';
-        entities['189'] = '&amp;frac12;';
-        entities['190'] = '&amp;frac34;';
-        entities['191'] = '&amp;iquest;';
-        entities['192'] = '&amp;Agrave;';
-        entities['193'] = '&amp;Aacute;';
-        entities['194'] = '&amp;Acirc;';
-        entities['195'] = '&amp;Atilde;';
-        entities['196'] = '&amp;Auml;';
-        entities['197'] = '&amp;Aring;';
-        entities['198'] = '&amp;AElig;';
-        entities['199'] = '&amp;Ccedil;';
-        entities['200'] = '&amp;Egrave;';
-        entities['201'] = '&amp;Eacute;';
-        entities['202'] = '&amp;Ecirc;';
-        entities['203'] = '&amp;Euml;';
-        entities['204'] = '&amp;Igrave;';
-        entities['205'] = '&amp;Iacute;';
-        entities['206'] = '&amp;Icirc;';
-        entities['207'] = '&amp;Iuml;';
-        entities['208'] = '&amp;ETH;';
-        entities['209'] = '&amp;Ntilde;';
-        entities['210'] = '&amp;Ograve;';
-        entities['211'] = '&amp;Oacute;';
-        entities['212'] = '&amp;Ocirc;';
-        entities['213'] = '&amp;Otilde;';
-        entities['214'] = '&amp;Ouml;';
-        entities['215'] = '&amp;times;';
-        entities['216'] = '&amp;Oslash;';
-        entities['217'] = '&amp;Ugrave;';
-        entities['218'] = '&amp;Uacute;';
-        entities['219'] = '&amp;Ucirc;';
-        entities['220'] = '&amp;Uuml;';
-        entities['221'] = '&amp;Yacute;';
-        entities['222'] = '&amp;THORN;';
-        entities['223'] = '&amp;szlig;';
-        entities['224'] = '&amp;agrave;';
-        entities['225'] = '&amp;aacute;';
-        entities['226'] = '&amp;acirc;';
-        entities['227'] = '&amp;atilde;';
-        entities['228'] = '&amp;auml;';
-        entities['229'] = '&amp;aring;';
-        entities['230'] = '&amp;aelig;';
-        entities['231'] = '&amp;ccedil;';
-        entities['232'] = '&amp;egrave;';
-        entities['233'] = '&amp;eacute;';
-        entities['234'] = '&amp;ecirc;';
-        entities['235'] = '&amp;euml;';
-        entities['236'] = '&amp;igrave;';
-        entities['237'] = '&amp;iacute;';
-        entities['238'] = '&amp;icirc;';
-        entities['239'] = '&amp;iuml;';
-        entities['240'] = '&amp;eth;';
-        entities['241'] = '&amp;ntilde;';
-        entities['242'] = '&amp;ograve;';
-        entities['243'] = '&amp;oacute;';
-        entities['244'] = '&amp;ocirc;';
-        entities['245'] = '&amp;otilde;';
-        entities['246'] = '&amp;ouml;';
-        entities['247'] = '&amp;divide;';
-        entities['248'] = '&amp;oslash;';
-        entities['249'] = '&amp;ugrave;';
-        entities['250'] = '&amp;uacute;';
-        entities['251'] = '&amp;ucirc;';
-        entities['252'] = '&amp;uuml;';
-        entities['253'] = '&amp;yacute;';
-        entities['254'] = '&amp;thorn;';
-        entities['255'] = '&amp;yuml;';
-    }
-
-    if (useQuoteStyle !== 'ENT_NOQUOTES') {
-        entities['34'] = '&amp;quot;';
-    }
-    if (useQuoteStyle === 'ENT_QUOTES') {
-        entities['39'] = '&amp;#39;';
-    }
-    entities['60'] = '&amp;lt;';
-    entities['62'] = '&amp;gt;';
-
-
-    // ascii decimals to real symbols
-    for (decimal in entities) {
-        symbol = String.fromCharCode(decimal);
-        hash_map[symbol] = entities[decimal];
-    }
-
-    return hash_map;
-}
-
-
-function htmlentities (string, quote_style) {
-    // http://kevin.vanzonneveld.net
-    // +   original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
-    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
-    // +   improved by: nobbler
-    // +    tweaked by: Jack
-    // +   bugfixed by: Onno Marsman
-    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
-    // +    bugfixed by: Brett Zamir (http://brett-zamir.me)
-    // +      input by: Ratheous
-    // -    depends on: get_html_translation_table
-    // *     example 1: htmlentities('Kevin &amp; van Zonneveld');
-    // *     returns 1: 'Kevin &amp;amp; van Zonneveld'
-    // *     example 2: htmlentities(&quot;foo'bar&quot;,&quot;ENT_QUOTES&quot;);
-    // *     returns 2: 'foo&amp;#039;bar'
-
-    var hash_map = {}, symbol = '', tmp_str = '', entity = '';
-    tmp_str = string.toString();
-
-    if (false === (hash_map = this.get_html_translation_table('HTML_ENTITIES', quote_style))) {
-        return false;
-    }
-    hash_map[&quot;'&quot;] = '&amp;#039;';
-    for (symbol in hash_map) {
-        entity = hash_map[symbol];
-        tmp_str = tmp_str.split(symbol).join(entity);
-    }
-
-    return tmp_str;
-}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjscustomnavigationphpfunctionsjs"></a>
<div class="delfile"><h4>Deleted: trunk/wp-admin/js/custom-navigation-php-functions.js (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-php-functions.js        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/js/custom-navigation-php-functions.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-function get_html_translation_table(i,g){var d={},f={},c=0,a=&quot;&quot;;var e={},b={};var j={},h={};e[0]=&quot;HTML_SPECIALCHARS&quot;;e[1]=&quot;HTML_ENTITIES&quot;;b[0]=&quot;ENT_NOQUOTES&quot;;b[2]=&quot;ENT_COMPAT&quot;;b[3]=&quot;ENT_QUOTES&quot;;j=!isNaN(i)?e[i]:i?i.toUpperCase():&quot;HTML_SPECIALCHARS&quot;;h=!isNaN(g)?b[g]:g?g.toUpperCase():&quot;ENT_COMPAT&quot;;if(j!==&quot;HTML_SPECIALCHARS&quot;&amp;&amp;j!==&quot;HTML_ENTITIES&quot;){throw new Error(&quot;Table: &quot;+j+&quot; not supported&quot;)}d[&quot;38&quot;]=&quot;&amp;amp;&quot;;if(j===&quot;HTML_ENTITIES&quot;){d[&quot;160&quot;]=&quot;&amp;nbsp;&quot;;d[&quot;161&quot;]=&quot;&amp;iexcl;&quot;;d[&quot;162&quot;]=&quot;&amp;cent;&quot;;d[&quot;163&quot;]=&quot;&amp;pound;&quot;;d[&quot;164&quot;]=&quot;&amp;curren;&quot;;d[&quot;165&quot;]=&quot;&amp;yen;&quot;;d[&quot;166&quot;]=&quot;&amp;brvbar;&quot;;d[&quot;167&quot;]=&quot;&amp;sect;&quot;;d[&quot;168&quot;]=&quot;&amp;uml;&quot;;d[&quot;169&quot;]=&quot;&amp;copy;&quot;;d[&quot;170&quot;]=&quot;&amp;ordf;&quot;;d[&quot;171&quot;]=&quot;&amp;laquo;&quot;;d[&quot;172&quot;]=&quot;&amp;not;&quot;;d[&quot;173&quot;]=&quot;&amp;shy;&quot;;d[&quot;174&quot;]=&quot;&amp;reg;&quot;;d[&quot;175&quot;]=&quot;&amp;macr;&quot;;d[&quot;176&quot;]=&quot;&amp;deg;&quot;;d[&quot;177&quot;]=&quot;&amp;plusmn;&quot;;d[&quot;178&quot;]=&quot;&amp;sup2;&quot;;d[&quot;179&quot;]=&quot;&amp;sup3;&quot;;d[&quot;180&quot;]=&quot;&amp;acute;&quot;;d[&quot;181&quot;]=&quot;&amp;micro;&quot;;d[&quot;182&quot;]=&quot;&amp;para;&quot;;d[&quot;183&quot;]=&quot;&amp;middot;&quot;;d[&quot;184&quot;]=&quot;&amp;cedil;&quot;;d[&quot;185&quot;]=&quot;&amp;sup1;&quot;;d[&quot;186&quot;]=&quot;&amp;ordm;&quot;;d[&quot;187&quot;]=&quot;&amp;raquo;&quot;;d[&quot;188&quot;]=&quot;&amp;frac14;&quot;;d[&quot;189&quot;]=&quot;&amp;frac12;&quot;;d[&quot;190&quot;]=&quot;&amp;frac34;&quot;;d[&quot;191&quot;]=&quot;&amp;iquest;&quot;;d[&quot;192&quot;]=&quot;&amp;Agrave;&quot;;d[&quot;193&quot;]=&quot;&amp;Aacute;&quot;;d[&quot;194&quot;]=&quot;&amp;Acirc;&quot;;d[&quot;195&quot;]=&quot;&amp;Atilde;&quot;;d[&quot;196&quot;]=&quot;&amp;Auml;&quot;;d[&quot;197&quot;]=&quot;&amp;Aring;&quot;;d[&quot;198&quot;]=&quot;&amp;AElig;&quot;;d[&quot;199&quot;]=&quot;&amp;Ccedil;&quot;;d[&quot;200&quot;]=&quot;&amp;Egrave;&quot;;d[&quot;201&quot;]=&quot;&amp;Eacute;&quot;;d[&quot;202&quot;]=&quot;&amp;Ecirc;&quot;;d[&quot;203&quot;]=&quot;&amp;Euml;&quot;;d[&quot;204&quot;]=&quot;&amp;Igrave;&quot;;d[&quot;205&quot;]=&quot;&amp;Iacute;&quot;;d[&quot;206&quot;]=&quot;&amp;Icirc;&quot;;d[&quot;207&quot;]=&quot;&amp;Iuml;&quot;;d[&quot;208&quot;]=&quot;&amp;ETH;&quot;;d[&quot;209&quot;]=&quot;&amp;Ntilde;&quot;;d[&quot;210&quot;]=&quot;&amp;Ograve;&quot;;d[&quot;211&quot;]=&quot;&amp;Oacute;&quot;;d[&quot;212&quot;]=&quot;&amp;Ocirc;&quot;;d[&quot;213&quot;]=&quot;&amp;Otilde;&quot;;d[&quot;214&quot;]=&quot;&amp;Ouml;&quot;;d[&quot;215&quot;]=&quot;&amp;times;&quot;;d[&quot;216&quot;]=&quot;&amp;Oslash;&quot;;d[&quot;217&quot;]=&quot;&amp;Ugrave;&quot;;d[&quot;218&quot;]=&quot;&amp;Uacute;&quot;;d[&quot;219&quot;]=&quot;&amp;Ucirc;&quot;;d[&quot;220&quot;]=&quot;&amp;Uuml;&quot;;d[&quot;221&quot;]=&quot;&amp;Yacute;&quot;;d[&quot;222&quot;]=&quot;&amp;THORN;&quot;;d[&quot;223&quot;]=&quot;&amp;szlig;&quot;;d[&quot;224&quot;]=&quot;&amp;agrave;&quot;;d[&quot;225&quot;]=&quot;&amp;aacute;&quot;;d[&quot;226&quot;]=&quot;&amp;acirc;&quot;;d[&quot;227&quot;]=&quot;&amp;atilde;&quot;;d[&quot;228&quot;]=&quot;&amp;auml;&quot;;d[&quot;229&quot;]=&quot;&amp;aring;&quot;;d[&quot;230&quot;]=&quot;&amp;aelig;&quot;;d[&quot;231&quot;]=&quot;&amp;ccedil;&quot;;d[&quot;232&quot;]=&quot;&amp;egrave;&quot;;d[&quot;233&quot;]=&quot;&amp;eacute;&quot;;d[&quot;234&quot;]=&quot;&amp;ecirc;&quot;;d[&quot;235&quot;]=&quot;&amp;euml;&quot;;d[&quot;236&quot;]=&quot;&amp;igrave;&quot;;d[&quot;237&quot;]=&quot;&amp;iacute;&quot;;d[&quot;238&quot;]=&quot;&amp;icirc;&quot;;d[&quot;239&quot;]=&quot;&amp;iuml;&quot;;d[&quot;240&quot;]=&quot;&amp;eth;&quot;;d[&quot;241&quot;]=&quot;&amp;ntilde;&quot;;d[&quot;242&quot;]=&quot;&amp;ograve;&quot;;d[&quot;243&quot;]=&quot;&amp;oacute;&quot;;d[&quot;244&quot;]=&quot;&amp;ocirc;&quot;;d[&quot;245&quot;]=&quot;&amp;otilde;&quot;;d[&quot;246&quot;]=&quot;&amp;ouml;&quot;;d[&quot;247&quot;]=&quot;&amp;divide;&quot;;d[&quot;248&quot;]=&quot;&amp;oslash;&quot;;d[&quot;249&quot;]=&quot;&amp;ugrave;&quot;;d[&quot;250&quot;]=&quot;&amp;uacute;&quot;;d[&quot;251&quot;]=&quot;&amp;ucirc;&quot;;d[&quot;252&quot;]=&quot;&amp;uuml;&quot;;d[&quot;253&quot;]=&quot;&amp;yacute;&quot;;d[&quot;254&quot;]=&quot;&amp;thorn;&quot;;d[&quot;255&quot;]=&quot;&amp;yuml;&quot;}if(h!==&quot;ENT_NOQUOTES&quot;){d[&quot;34&quot;]=&quot;&amp;quot;&quot;}if(h===&quot;ENT_QUOTES&quot;){d[&quot;39&quot;]=&quot;&amp;#39;&quot;}d[&quot;60&quot;]=&quot;&amp;lt;&quot;;d[&quot;62&quot;]=&quot;&amp;gt;&quot;;for(c in d){a=String.fromCharCode(c);f[a]=d[c]}return f}function htmlentities(c,f){var e={},d=&quot;&quot;,a=&quot;&quot;,b=&quot;&quot;;a=c.toString();if(false===(e=this.get_html_translation_table(&quot;HTML_ENTITIES&quot;,f))){return false}e[&quot;'&quot;]=&quot;&amp;#039;&quot;;for(d in e){b=e[d];a=a.split(d).join(b)}return a};
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudefaultitemsdevjsfromrev13399trunkwpadminjscustomnavigationdefaultitemsdevjs"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/js/nav-menu-default-items.dev.js (from rev 13399, trunk/wp-admin/js/custom-navigation-default-items.dev.js) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu-default-items.dev.js                                (rev 0)
+++ trunk/wp-admin/js/nav-menu-default-items.dev.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1,146 @@
</span><ins>+/**
+ * WordPress Administration Custom Navigation
+ * Interface JQuery functions
+ *
+ * @version 1.1.0
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+
+/*
+ * Init Functions
+*/
+jQuery(function($)
+        {
+                //Makes dialog box
+                $(&quot;#dialog-confirm&quot;).dialog({
+                        autoOpen: false,
+                        resizable: false,
+                        height: 210,
+                        width: 400,
+                        modal: true,
+                        buttons: {
+                                'Save': function() {
+
+                                        titletosave = $('#edittitle').attr('value');
+                                        linktosave = $('#editlink').attr('value');
+                                        anchortitletosave = $('#editanchortitle').attr('value');
+                                        newwindowtosave = $('#editnewwindow').attr('value');
+                                        desctosave = $('#editdescription').attr('value');
+
+                                        $('#title' + $(this).dialog('option', 'itemID')).attr('value',titletosave);
+                                        $('#linkurl' + $(this).dialog('option', 'itemID')).attr('value',linktosave);
+                                        $('#anchortitle' + $(this).dialog('option', 'itemID')).attr('value',anchortitletosave);
+                                        $('#newwindow' + $(this).dialog('option', 'itemID')).attr('value',newwindowtosave);
+                                        $('#description' + $(this).dialog('option', 'itemID')).attr('value',desctosave);
+
+                                        $('#menu-' + $(this).dialog('option', 'itemID') + ' &gt; dl &gt; dt &gt; span.title').text(titletosave);
+
+                                        $('#view' + + $(this).dialog('option', 'itemID')).attr('href', linktosave);
+
+                                        $(this).dialog('close');
+
+                                },
+                                Cancel: function() {
+                                        $(this).dialog('close');
+                                }
+                        }
+                });
+
+                // $('#message').animate({ opacity: 1.0 },2000).fadeOut(300, function(){ $(this).remove();});
+
+                //Add dropzone
+            $('#custom-nav li').prepend('&lt;div class=&quot;dropzone&quot;&gt;&lt;/div&gt;');
+
+                //Make li items draggable
+                $('#custom-nav li').draggable({
+                            handle: ' &gt; dl',
+                            opacity: .8,
+                            addClasses: false,
+                            helper: 'clone',
+                            zIndex: 100
+                });
+
+                //Make items droppable
+                $('#custom-nav dl, #custom-nav .dropzone').droppable(
+                {
+                    accept: '#custom-nav li',
+                    tolerance: 'pointer',
+                    drop: function(e, ui)
+                    {
+                        var li = $(this).parent();
+                        var child = !$(this).hasClass('dropzone');
+                        //Add UL to first child
+                        if (child &amp;&amp; li.children('ul').length == 0)
+                        {
+                            li.append('&lt;ul id=&quot;sub-menu&quot; /&gt;');
+                        }
+                        //Make it draggable
+                        if (child)
+                        {
+                            li.children('ul').append(ui.draggable);
+                        }
+                        else
+                        {
+                            li.before(ui.draggable);
+                        }
+
+                        li.find('dl,.dropzone').css({ backgroundColor: '', borderColor: '' });
+
+                        var draggablevalue = ui.draggable.attr('value');
+                        var droppablevalue = li.attr('value');
+                        li.find('#menu-' + draggablevalue).find('#parent' + draggablevalue).val(droppablevalue);
+                        $(this).parent().find(&quot;dt&quot;).removeAttr('style');
+                        $(this).parent().find(&quot;div:first&quot;).removeAttr('style');
+
+
+                    },
+                    over: function()
+                    {
+                            //Add child
+                            if ($(this).attr('class') == 'dropzone ui-droppable')
+                            {
+                                    $(this).parent().find(&quot;div:first&quot;).css('background', 'none').css('height', '50px');
+                            }
+                            //Add above
+                            else if ($(this).attr('class') == 'ui-droppable')
+                            {
+                                    $(this).parent().find(&quot;dt:first&quot;).css('background', '#d8d8d8');
+                            }
+                            //do nothing
+                            else {
+
+                            }
+                            var parentid = $(this).parent().attr('id');
+
+                       },
+                    out: function()
+                    {
+                        $(this).parent().find(&quot;dt&quot;).removeAttr('style');
+                        $(this).parent().find(&quot;div:first&quot;).removeAttr('style');
+                        $(this).filter('.dropzone').css({ borderColor: '' });
+                    },
+                    deactivate: function()
+                    {
+
+
+                    }
+
+
+                });
+
+                //Handle Save Button Clicks
+                $('#save_top').click(function()
+                {
+                        updatepostdata();
+                });
+                $('#save_bottom').click(function()
+                {
+                        updatepostdata();
+                });
+
+
+        });
+
+
</ins></span></pre></div>
<a id="trunkwpadminjsnavmenudefaultitemsdevjs"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/js/nav-menu-default-items.dev.js</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudefaultitemsjsfromrev13399trunkwpadminjscustomnavigationdefaultitemsjs"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/js/nav-menu-default-items.js (from rev 13399, trunk/wp-admin/js/custom-navigation-default-items.js) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu-default-items.js                                (rev 0)
+++ trunk/wp-admin/js/nav-menu-default-items.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+jQuery(function($){$(&quot;#dialog-confirm&quot;).dialog({autoOpen:false,resizable:false,height:210,width:400,modal:true,buttons:{Save:function(){titletosave=$(&quot;#edittitle&quot;).attr(&quot;value&quot;);linktosave=$(&quot;#editlink&quot;).attr(&quot;value&quot;);anchortitletosave=$(&quot;#editanchortitle&quot;).attr(&quot;value&quot;);newwindowtosave=$(&quot;#editnewwindow&quot;).attr(&quot;value&quot;);desctosave=$(&quot;#editdescription&quot;).attr(&quot;value&quot;);$(&quot;#title&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,titletosave);$(&quot;#linkurl&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,linktosave);$(&quot;#anchortitle&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,anchortitletosave);$(&quot;#newwindow&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,newwindowtosave);$(&quot;#description&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,desctosave);$(&quot;#menu-&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)+&quot; &gt; dl &gt; dt &gt; span.title&quot;).text(titletosave);$(&quot;#view&quot;+ +$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;href&quot;,linktosave);$(this).dialog(&quot;close&quot;)},Cancel:function(){$(this).dialog(&quot;close&quot;)}}});$(&quot;#custom-nav li&quot;).prepend('&lt;div class=&quot;dropzone&quot;&gt;&lt;/div&gt;');$(&quot;#custom-nav li&quot;).draggable({handle:&quot; &gt; dl&quot;,opacity:0.8,addClasses:false,helper:&quot;clone&quot;,zIndex:100});$(&quot;#custom-nav dl, #custom-nav .dropzone&quot;).droppable({accept:&quot;#custom-nav li&quot;,tolerance:&quot;pointer&quot;,drop:function(e,ui){var li=$(this).parent();var child=!$(this).hasClass(&quot;dropzone&quot;);if(child&amp;&amp;li.children(&quot;ul&quot;).length==0){li.append('&lt;ul id=&quot;sub-menu&quot; /&gt;')}if(child){li.children(&quot;ul&quot;).append(ui.draggable)}else{li.before(ui.draggable)}li.find(&quot;dl,.dropzone&quot;).css({backgroundColor:&quot;&quot;,borderColor:&quot;&quot;});var draggablevalue=ui.draggable.attr(&quot;value&quot;);var droppablevalue=li.attr(&quot;value&quot;);li.find(&quot;#menu-&quot;+draggablevalue).find(&quot;#parent&quot;+draggablevalue).val(droppablevalue);$(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);$(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;)},over:function(){if($(this).attr(&quot;class&quot;)==&quot;dropzone ui-droppable&quot;){$(this).parent().find(&quot;div:first&quot;).css(&quot;background&quot;,&quot;none&quot;).css(&quot;height&quot;,&quot;50px&quot;)}else{if($(this).attr(&quot;class&quot;)==&quot;ui-droppable&quot;){$(this).parent().find(&quot;dt:first&quot;).css(&quot;background&quot;,&quot;#d8d8d8&quot;)}else{}}var parentid=$(this).parent().attr(&quot;id&quot;)},out:function(){$(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);$(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;);$(this).filter(&quot;.dropzone&quot;).css({borderColor:&quot;&quot;})},deactivate:function(){}});$(&quot;#save_top&quot;).click(function(){updatepostdata()});$(&quot;#save_bottom&quot;).click(function(){updatepostdata()})});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudefaultitemsjs"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/js/nav-menu-default-items.js</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudynamicfunctionsdevjsfromrev13399trunkwpadminjscustomnavigationdynamicfunctionsdevjs"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/js/nav-menu-dynamic-functions.dev.js (from rev 13399, trunk/wp-admin/js/custom-navigation-dynamic-functions.dev.js) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu-dynamic-functions.dev.js                                (rev 0)
+++ trunk/wp-admin/js/nav-menu-dynamic-functions.dev.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1,293 @@
</span><ins>+/**
+ * WordPress Administration Custom Navigation
+ * Interface JS functions
+ *
+ * @version 1.1.0
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+
+/*
+ * Removes menu items from current menu
+ * @param int o - the id of the menu li to remove.
+*/
+function removeitem(o)
+{
+
+        var todelete = document.getElementById('menu-' + o);
+
+        if (todelete)
+        {
+                var parenttodelete = document.getElementById('menu-' + o).parentNode;
+        throwaway_node = parenttodelete.removeChild(todelete);
+        }
+
+        updatepostdata();
+};
+
+/*
+ * Loads dialog window to edit menu items from current menu
+ * @param int o - the id of the menu li to edit.
+*/
+function edititem(o)
+{
+
+                itemTitle = jQuery('#title' + o).val();
+                itemURL = jQuery('#linkurl' + o).val();
+                itemAnchorTitle = jQuery('#anchortitle' + o).val();
+                itemNewWindow = jQuery('#newwindow' + o).val();
+                itemDesc = jQuery('#description' + o).val();
+
+                jQuery('#dialog-confirm').dialog( 'option' , 'itemID' , o )
+
+                jQuery('#dialog-confirm').dialog('open');
+
+                jQuery('#edittitle').val( itemTitle );
+                if ( 'custom' == jQuery( '#linktype' + o ).val() ) {
+                        jQuery( '#editlink-wrap' ).css( 'display', 'inline' );
+                } else {
+                        jQuery( '#editlink-wrap' ).css( 'display', 'none' );
+                }
+                jQuery('#editlink').val( itemURL );
+                jQuery('#editanchortitle').val( itemAnchorTitle );
+                jQuery(&quot;#editnewwindow option[value='&quot; + itemNewWindow  + &quot;']&quot;).attr('selected', 'selected');
+                jQuery('#editdescription').val( itemDesc );
+
+};
+
+/*
+ * Prepares menu items for POST
+*/
+function updatepostdata()
+{
+
+        var i = 0;
+         jQuery(&quot;#custom-nav&quot;).find(&quot;li&quot;).each(function(i) {
+                i = i + 1;
+             var j = jQuery(this).attr('value');
+
+             jQuery(this).find('#position' + j).attr('value', i);
+             jQuery(this).attr('id','menu-' + i);
+             jQuery(this).attr('value', i);
+
+             jQuery(this).find('#dbid' + j).attr('name','dbid' + i);
+             jQuery(this).find('#dbid' + j).attr('id','dbid' + i);
+
+                jQuery(this).find('#postmenu' + j).attr('name','postmenu' + i);
+             jQuery(this).find('#postmenu' + j).attr('id','postmenu' + i);
+
+             var p = jQuery(this).find('#parent' + j).parent().parent().parent().attr('value');
+
+             jQuery(this).find('#parent' + j).attr('name','parent' + i);
+             jQuery(this).find('#parent' + j).attr('id','parent' + i);
+             if (p) {
+                     //Do nothing
+             }
+             else {
+                     //reset p to be top level
+                     p = 0;
+             }
+
+             jQuery(this).find('#parent' + j).attr('value', p);
+
+             jQuery(this).find('#title' + j).attr('name','title' + i);
+             jQuery(this).find('#title' + j).attr('id','title' + i);
+
+             jQuery(this).find('#linkurl' + j).attr('name','linkurl' + i);
+             jQuery(this).find('#linkurl' + j).attr('id','linkurl' + i);
+
+             jQuery(this).find('#description' + j).attr('name','description' + i);
+             jQuery(this).find('#description' + j).attr('id','description' + i);
+
+             jQuery(this).find('#icon' + j).attr('name','icon' + i);
+             jQuery(this).find('#icon' + j).attr('id','icon' + i);
+
+             jQuery(this).find('#position' + j).attr('name','position' + i);
+             jQuery(this).find('#position' + j).attr('id','position' + i);
+
+             jQuery(this).find('#linktype' + j).attr('name','linktype' + i);
+             jQuery(this).find('#linktype' + j).attr('id','linktype' + i);
+
+             jQuery(this).find('#anchortitle' + j).attr('name','anchortitle' + i);
+             jQuery(this).find('#anchortitle' + j).attr('id','anchortitle' + i);
+
+             jQuery(this).find('#newwindow' + j).attr('name','newwindow' + i);
+             jQuery(this).find('#newwindow' + j).attr('id','newwindow' + i);
+
+             jQuery(this).find('dl &gt; dt &gt; span &gt; #remove' + j).attr('value', i);
+             jQuery(this).find('dl &gt; dt &gt; span &gt; #remove' + j).attr('onClick', 'removeitem(' + i + ')');
+             jQuery(this).find('dl &gt; dt &gt; span &gt; #remove' + j).attr('id','remove' + i);
+
+             jQuery('#li-count').attr('value',i);
+
+   });
+
+
+
+};
+
+/*
+ * Adds item from Page, Category, or Custom options menu
+ * @param string templatedir - directory of the add, edit, view images.
+ * @param string additemtype - Page, Category, or Custom.
+ * @param string itemtext - menu text.
+ * @param string itemurl - url of the menu.
+ * @param int itemid - menu id.
+ * @param int itemparentid - default 0.
+ * @param string itemdescription - the description of the menu item.
+*/
+function appendToList(templatedir,additemtype,itemtext,itemurl,itemid,itemparentid,itemdescription)
+{
+        var inputvaluevarname = '';
+        var inputvaluevarurl = '';
+        var inputitemid = '';
+        var inputparentid= '';
+        var inputdescription = '';
+        var inputicon = '';
+
+        if (additemtype == navMenuL10n.custom)
+        {
+                inputvaluevarname = document.getElementById('custom-menu-item-name').value;
+                inputvaluevarurl = document.getElementById('custom-menu-item-url').value;
+                inputitemid = '';
+                inputparentid = '';
+                inputlinktype = 'custom';
+                inputdescription = '';
+        }
+        else if (additemtype == navMenuL10n.page)
+        {
+                inputvaluevarname = htmlentities(itemtext.toString());
+                inputvaluevarurl = itemurl.toString();
+                inputitemid = itemid.toString();
+                inputparentid = '0';
+                inputlinktype = 'page';
+                inputdescription = htmlentities(itemdescription.toString());
+
+        }
+        else if (additemtype == navMenuL10n.category)
+        {
+                inputvaluevarname = htmlentities(itemtext.toString());
+                inputvaluevarurl = itemurl.toString();
+                inputitemid = itemid.toString();
+                inputparentid = '0';
+                inputlinktype = 'category';
+                inputdescription = htmlentities(itemdescription.toString());
+        }
+        else
+        {
+                inputvaluevarname = '';
+                inputvaluevarname = '';
+                inputitemid = '';
+                inputparentid = '';
+                inputlinktype = 'custom';
+                inputdescription = '';
+        }
+
+        var count=document.getElementById('custom-nav').getElementsByTagName('li').length + 1;
+
+        var randomnumber = count;
+
+        var validatetest = 0;
+
+        try
+        {
+                var test=document.getElementById(&quot;menu-&quot; + randomnumber.toString()).value;
+        }
+        catch (err)
+        {
+                validatetest = 1;
+        }
+
+        while (validatetest == 0)
+        {
+                randomnumber = randomnumber + 1;
+
+                try
+                {
+                        var test2=document.getElementById(&quot;menu-&quot; + randomnumber.toString()).value;
+                }
+                catch (err)
+                {
+                        validatetest = 1;
+                }
+        }
+
+        //Notification Message
+        jQuery('.maintitle').after('&lt;div id=&quot;message&quot; class=&quot;updated fade below-h2&quot;&gt;&lt;p&gt;Menu Item added!&lt;/p&gt;&lt;/div&gt;');
+        jQuery('#message').animate({ opacity: 1.0 },2000).fadeOut(300, function(){ jQuery(this).remove();});
+
+        //Appends HTML to the menu
+        jQuery('#custom-nav').append('&lt;li id=&quot;menu-' + randomnumber + '&quot; value=&quot;' + randomnumber + '&quot;&gt;&lt;div class=&quot;dropzone ui-droppable&quot;&gt;&lt;/div&gt;&lt;dl class=&quot;ui-droppable&quot;&gt;&lt;dt&gt;&lt;span class=&quot;title&quot;&gt;' + inputvaluevarname + '&lt;/span&gt;&lt;span class=&quot;controls&quot;&gt;&lt;span class=&quot;type&quot;&gt;' + additemtype + '&lt;/span&gt;&lt;a id=&quot;edit' + randomnumber + '&quot; onclick=&quot;edititem(' + randomnumber + ')&quot; value=&quot;' + randomnumber +'&quot;&gt;&lt;img class=&quot;edit&quot; alt=&quot;Edit Menu Item&quot; title=&quot;Edit Menu Item&quot; src=&quot;' + templatedir + '/wp-admin/images/ico-edit.png&quot; /&gt;&lt;/a&gt; &lt;a id=&quot;remove' + randomnumber + '&quot; onclick=&quot;removeitem(' + randomnumber + ')&quot; value=&quot;' + randomnumber +'&quot;&gt;&lt;img class=&quot;remove&quot; alt=&quot;Remove from Custom Menu&quot; title=&quot;Remove from Custom Menu&quot; src=&quot;' + templatedir + '/wp-admin/images/ico-close.png&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;' + inputvaluevarurl + '&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;View Custom Link&quot; title=&quot;View Custom Link&quot; src=&quot;' + templatedir + '/wp-admin/images/ico-viewpage.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/dt&gt;&lt;/dl&gt;&lt;a class=&quot;hide&quot; href=&quot;' + inputvaluevarurl + '&quot;&gt;' + inputvaluevarname + '&lt;/a&gt;&lt;input type=&quot;hidden&quot; name=&quot;postmenu' + randomnumber + '&quot; id=&quot;postmenu' + randomnumber + '&quot; value=&quot;' + inputitemid + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;parent' + randomnumber + '&quot; id=&quot;parent' + randomnumber + '&quot; value=&quot;' + inputparentid + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;title' + randomnumber + '&quot; id=&quot;title' + randomnumber + '&quot; value=&quot;' + inputvaluevarname + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linkurl' + randomnumber + '&quot; id=&quot;linkurl' + randomnumber + '&quot; value=&quot;' + inputvaluevarurl + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;description' + randomnumber + '&quot; id=&quot;description' + randomnumber + '&quot; value=&quot;' + inputdescription + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;icon' + randomnumber + '&quot; id=&quot;icon' + randomnumber + '&quot; value=&quot;' + inputicon + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;position' + randomnumber + '&quot; id=&quot;position' + randomnumber + '&quot; value=&quot;' + randomnumber + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linktype' + randomnumber + '&quot; id=&quot;linktype' + randomnumber + '&quot; value=&quot;' + inputlinktype + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;anchortitle' + randomnumber + '&quot; id=&quot;anchortitle' + randomnumber + '&quot; value=&quot;' + inputvaluevarname + '&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;newwindow' + randomnumber + '&quot; id=&quot;newwindow' + randomnumber + '&quot; value=&quot;0&quot; /&gt;&lt;/li&gt;');
+
+        //make menu item draggable
+        jQuery('#menu-' + randomnumber + '').draggable(
+        {
+                handle: ' &gt; dl',
+                opacity: .8,
+                addClasses: false,
+                helper: 'clone',
+                zIndex: 100
+        });
+
+        //make menu item droppable
+        jQuery('#menu-' + randomnumber + ' dl, #menu-' + randomnumber + ' .dropzone').droppable({
+                accept: '#' + randomnumber + ', #custom-nav li',
+                tolerance: 'pointer',
+                drop: function(e, ui)
+                {
+                        var li = jQuery(this).parent();
+                        var child = !jQuery(this).hasClass('dropzone');
+                        //Append UL to first child
+                        if (child &amp;&amp; li.children('ul').length == 0)
+                        {
+                                li.append('&lt;ul/&gt;');
+                        }
+                        //Make it draggable
+                        if (child)
+                        {
+                                li.children('ul').append(ui.draggable);
+                        }
+                        else
+                        {
+                                li.before(ui.draggable);
+                        }
+
+                        li.find('dl,.dropzone').css({ backgroundColor: '', borderColor: '' });
+
+                        var draggablevalue = ui.draggable.attr('value');
+                       var droppablevalue = li.attr('value');
+                       li.find('#menu-' + draggablevalue).find('#parent' + draggablevalue).val(droppablevalue);
+                jQuery(this).parent().find(&quot;dt&quot;).removeAttr('style');
+                jQuery(this).parent().find(&quot;div:first&quot;).removeAttr('style');
+
+                },
+                over: function()
+                    {
+                            //Add child
+                            if (jQuery(this).attr('class') == 'dropzone ui-droppable')
+                            {
+                                    jQuery(this).parent().find(&quot;div:first&quot;).css('background', 'none').css('height', '50px');
+                            }
+                            //Add above
+                            else if (jQuery(this).attr('class') == 'ui-droppable')
+                            {
+                                    jQuery(this).parent().find(&quot;dt:first&quot;).css('background', '#d8d8d8');
+                            }
+                            //do nothing
+                            else {
+
+                            }
+                            var parentid = jQuery(this).parent().attr('id');
+
+                       },
+                    out: function()
+                    {
+                        jQuery(this).parent().find(&quot;dt&quot;).removeAttr('style');
+                        jQuery(this).parent().find(&quot;div:first&quot;).removeAttr('style');
+                        jQuery(this).filter('.dropzone').css({ borderColor: '' });
+                    }
+        });
+
+        updatepostdata();
+};
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudynamicfunctionsdevjs"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/js/nav-menu-dynamic-functions.dev.js</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudynamicfunctionsjsfromrev13399trunkwpadminjscustomnavigationdynamicfunctionsjs"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/js/nav-menu-dynamic-functions.js (from rev 13399, trunk/wp-admin/js/custom-navigation-dynamic-functions.js) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu-dynamic-functions.js                                (rev 0)
+++ trunk/wp-admin/js/nav-menu-dynamic-functions.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+function removeitem(c){var b=document.getElementById(&quot;menu-&quot;+c);if(b){var a=document.getElementById(&quot;menu-&quot;+c).parentNode;throwaway_node=a.removeChild(b)}updatepostdata()}function edititem(a){itemTitle=jQuery(&quot;#title&quot;+a).attr(&quot;value&quot;);itemURL=jQuery(&quot;#linkurl&quot;+a).attr(&quot;value&quot;);itemAnchorTitle=jQuery(&quot;#anchortitle&quot;+a).attr(&quot;value&quot;);itemNewWindow=jQuery(&quot;#newwindow&quot;+a).attr(&quot;value&quot;);itemDesc=jQuery(&quot;#description&quot;+a).attr(&quot;value&quot;);jQuery(&quot;#dialog-confirm&quot;).dialog(&quot;option&quot;,&quot;itemID&quot;,a);jQuery(&quot;#dialog-confirm&quot;).dialog(&quot;open&quot;);jQuery(&quot;#edittitle&quot;).attr(&quot;value&quot;,itemTitle);jQuery(&quot;#editlink&quot;).attr(&quot;value&quot;,itemURL);jQuery(&quot;#editanchortitle&quot;).attr(&quot;value&quot;,itemAnchorTitle);jQuery(&quot;#editnewwindow option[value='&quot;+itemNewWindow+&quot;']&quot;).attr(&quot;selected&quot;,&quot;selected&quot;);jQuery(&quot;#editdescription&quot;).attr(&quot;value&quot;,itemDesc)}function updatepostdata(){var a=0;jQuery(&quot;#custom-nav&quot;).find(&quot;li&quot;).each(function(c){c=c+1;var b=jQuery(this).attr(&quot;value&quot;);jQuery(this).find(&quot;#position&quot;+b).attr(&quot;value&quot;,c);jQuery(this).attr(&quot;id&quot;,&quot;menu-&quot;+c);jQuery(this).attr(&quot;value&quot;,c);jQuery(this).find(&quot;#dbid&quot;+b).attr(&quot;name&quot;,&quot;dbid&quot;+c);jQuery(this).find(&quot;#dbid&quot;+b).attr(&quot;id&quot;,&quot;dbid&quot;+c);jQuery(this).find(&quot;#postmenu&quot;+b).attr(&quot;name&quot;,&quot;postmenu&quot;+c);jQuery(this).find(&quot;#postmenu&quot;+b).attr(&quot;id&quot;,&quot;postmenu&quot;+c);var d=jQuery(this).find(&quot;#parent&quot;+b).parent().parent().parent().attr(&quot;value&quot;);jQuery(this).find(&quot;#parent&quot;+b).attr(&quot;name&quot;,&quot;parent&quot;+c);jQuery(this).find(&quot;#parent&quot;+b).attr(&quot;id&quot;,&quot;parent&quot;+c);if(d){}else{d=0}jQuery(this).find(&quot;#parent&quot;+b).attr(&quot;value&quot;,d);jQuery(this).find(&quot;#title&quot;+b).attr(&quot;name&quot;,&quot;title&quot;+c);jQuery(this).find(&quot;#title&quot;+b).attr(&quot;id&quot;,&quot;title&quot;+c);jQuery(this).find(&quot;#linkurl&quot;+b).attr(&quot;name&quot;,&quot;linkurl&quot;+c);jQuery(this).find(&quot;#linkurl&quot;+b).attr(&quot;id&quot;,&quot;linkurl&quot;+c);jQuery(this).find(&quot;#description&quot;+b).attr(&quot;name&quot;,&quot;description&quot;+c);jQuery(this).find(&quot;#description&quot;+b).attr(&quot;id&quot;,&quot;description&quot;+c);jQuery(this).find(&quot;#icon&quot;+b).attr(&quot;name&quot;,&quot;icon&quot;+c);jQuery(this).find(&quot;#icon&quot;+b).attr(&quot;id&quot;,&quot;icon&quot;+c);jQuery(this).find(&quot;#position&quot;+b).attr(&quot;name&quot;,&quot;position&quot;+c);jQuery(this).find(&quot;#position&quot;+b).attr(&quot;id&quot;,&quot;position&quot;+c);jQuery(this).find(&quot;#linktype&quot;+b).attr(&quot;name&quot;,&quot;linktype&quot;+c);jQuery(this).find(&quot;#linktype&quot;+b).attr(&quot;id&quot;,&quot;linktype&quot;+c);jQuery(this).find(&quot;#anchortitle&quot;+b).attr(&quot;name&quot;,&quot;anchortitle&quot;+c);jQuery(this).find(&quot;#anchortitle&quot;+b).attr(&quot;id&quot;,&quot;anchortitle&quot;+c);jQuery(this).find(&quot;#newwindow&quot;+b).attr(&quot;name&quot;,&quot;newwindow&quot;+c);jQuery(this).find(&quot;#newwindow&quot;+b).attr(&quot;id&quot;,&quot;newwindow&quot;+c);jQuery(this).find(&quot;dl &gt; dt &gt; span &gt; #remove&quot;+b).attr(&quot;value&quot;,c);jQuery(this).find(&quot;dl &gt; dt &gt; span &gt; #remove&quot;+b).attr(&quot;onClick&quot;,&quot;removeitem(&quot;+c+&quot;)&quot;);jQuery(this).find(&quot;dl &gt; dt &gt; span &gt; #remove&quot;+b).attr(&quot;id&quot;,&quot;remove&quot;+c);jQuery(&quot;#li-count&quot;).attr(&quot;value&quot;,c)})}function appendToList(b,s,d,n,h,l,e){var k=&quot;&quot;;var c=&quot;&quot;;var r=&quot;&quot;;var o=&quot;&quot;;var i=&quot;&quot;;var a=&quot;&quot;;if(s==navMenuL10n.custom){k=document.getElementById(&quot;custom-menu-item-name&quot;).value;c=document.getElementById(&quot;custom-menu-item-url&quot;).value;r=&quot;&quot;;o=&quot;&quot;;inputlinktype=&quot;custom&quot;;i=&quot;&quot;}else{if(s==navMenuL10n.page){k=htmlentities(d.toString());c=n.toString();r=h.toString();o=&quot;0&quot;;inputlinktype=&quot;page&quot;;i=htmlentities(e.toString())}else{if(s==navMenuL10n.category){k=htmlentities(d.toString());c=n.toString();r=h.toString();o=&quot;0&quot;;inputlinktype=&quot;category&quot;;i=htmlentities(e.toString())}else{k=&quot;&quot;;k=&quot;&quot;;r=&quot;&quot;;o=&quot;&quot;;inputlinktype=&quot;custom&quot;;i=&quot;&quot;}}}var g=document.getElementById(&quot;custom-nav&quot;).getElementsByTagName(&quot;li&quot;).length+1;var p=g;var m=0;try{var q=document.getElementById(&quot;menu-&quot;+p.toString()).value}catch(f){m=1}while(m==0){p=p+1;try{var j=document.getElementById(&quot;menu-&quot;+p.toString()).value}catch(f){m=1}}jQuery(&quot;.maintitle&quot;).after('&lt;div id=&quot;message&quot; class=&quot;updated fade below-h2&quot;&gt;&lt;p&gt;Menu Item added!&lt;/p&gt;&lt;/div&gt;');jQuery(&quot;#message&quot;).animate({opacity:1},2000).fadeOut(300,function(){jQuery(this).remove()});jQuery(&quot;#custom-nav&quot;).append('&lt;li id=&quot;menu-'+p+'&quot; value=&quot;'+p+'&quot;&gt;&lt;div class=&quot;dropzone ui-droppable&quot;&gt;&lt;/div&gt;&lt;dl class=&quot;ui-droppable&quot;&gt;&lt;dt&gt;&lt;span class=&quot;title&quot;&gt;'+k+'&lt;/span&gt;&lt;span class=&quot;controls&quot;&gt;&lt;span class=&quot;type&quot;&gt;'+s+'&lt;/span&gt;&lt;a id=&quot;edit'+p+'&quot; onclick=&quot;edititem('+p+')&quot; value=&quot;'+p+'&quot;&gt;&lt;img class=&quot;edit&quot; alt=&quot;Edit Menu Item&quot; title=&quot;Edit Menu Item&quot; src=&quot;'+b+'/wp-admin/images/ico-edit.png&quot; /&gt;&lt;/a&gt; &lt;a id=&quot;remove'+p+'&quot; onclick=&quot;removeitem('+p+')&quot; value=&quot;'+p+'&quot;&gt;&lt;img class=&quot;remove&quot; alt=&quot;Remove from Custom Menu&quot; title=&quot;Remove from Custom Menu&quot; src=&quot;'+b+'/wp-admin/images/ico-close.png&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;'+c+'&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;View Custom Link&quot; title=&quot;View Custom Link&quot; src=&quot;'+b+'/wp-admin/images/ico-viewpage.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/dt&gt;&lt;/dl&gt;&lt;a class=&quot;hide&quot; href=&quot;'+c+'&quot;&gt;'+k+'&lt;/a&gt;&lt;input type=&quot;hidden&quot; name=&quot;postmenu'+p+'&quot; id=&quot;postmenu'+p+'&quot; value=&quot;'+r+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;parent'+p+'&quot; id=&quot;parent'+p+'&quot; value=&quot;'+o+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;title'+p+'&quot; id=&quot;title'+p+'&quot; value=&quot;'+k+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linkurl'+p+'&quot; id=&quot;linkurl'+p+'&quot; value=&quot;'+c+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;description'+p+'&quot; id=&quot;description'+p+'&quot; value=&quot;'+i+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;icon'+p+'&quot; id=&quot;icon'+p+'&quot; value=&quot;'+a+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;position'+p+'&quot; id=&quot;position'+p+'&quot; value=&quot;'+p+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;linktype'+p+'&quot; id=&quot;linktype'+p+'&quot; value=&quot;'+inputlinktype+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;anchortitle'+p+'&quot; id=&quot;anchortitle'+p+'&quot; value=&quot;'+k+'&quot; /&gt;&lt;input type=&quot;hidden&quot; name=&quot;newwindow'+p+'&quot; id=&quot;newwindow'+p+'&quot; value=&quot;0&quot; /&gt;&lt;/li&gt;');jQuery(&quot;#menu-&quot;+p+&quot;&quot;).draggable({handle:&quot; &gt; dl&quot;,opacity:0.8,addClasses:false,helper:&quot;clone&quot;,zIndex:100});jQuery(&quot;#menu-&quot;+p+&quot; dl, #menu-&quot;+p+&quot; .dropzone&quot;).droppable({accept:&quot;#&quot;+p+&quot;, #custom-nav li&quot;,tolerance:&quot;pointer&quot;,drop:function(x,w){var t=jQuery(this).parent();var y=!jQuery(this).hasClass(&quot;dropzone&quot;);if(y&amp;&amp;t.children(&quot;ul&quot;).length==0){t.append(&quot;&lt;ul/&gt;&quot;)}if(y){t.children(&quot;ul&quot;).append(w.draggable)}else{t.before(w.draggable)}t.find(&quot;dl,.dropzone&quot;).css({backgroundColor:&quot;&quot;,borderColor:&quot;&quot;});var v=w.draggable.attr(&quot;value&quot;);var u=t.attr(&quot;value&quot;);t.find(&quot;#menu-&quot;+v).find(&quot;#parent&quot;+v).val(u);jQuery(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);jQuery(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;)},over:function(){if(jQuery(this).attr(&quot;class&quot;)==&quot;dropzone ui-droppable&quot;){jQuery(this).parent().find(&quot;div:first&quot;).css(&quot;background&quot;,&quot;none&quot;).css(&quot;height&quot;,&quot;50px&quot;)}else{if(jQuery(this).attr(&quot;class&quot;)==&quot;ui-droppable&quot;){jQuery(this).parent().find(&quot;dt:first&quot;).css(&quot;background&quot;,&quot;#d8d8d8&quot;)}else{}}var t=jQuery(this).parent().attr(&quot;id&quot;)},out:function(){jQuery(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);jQuery(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;);jQuery(this).filter(&quot;.dropzone&quot;).css({borderColor:&quot;&quot;})}});updatepostdata()};
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsnavmenudynamicfunctionsjs"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/js/nav-menu-dynamic-functions.js</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadminjsnavmenuphpfunctionsdevjsfromrev13399trunkwpadminjscustomnavigationphpfunctionsdevjs"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/js/nav-menu-php-functions.dev.js (from rev 13399, trunk/wp-admin/js/custom-navigation-php-functions.dev.js) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu-php-functions.dev.js                                (rev 0)
+++ trunk/wp-admin/js/nav-menu-php-functions.dev.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1,300 @@
</span><ins>+/*
+ * More info at: http://phpjs.org
+ *
+ * This is version: 3.08
+ * php.js is copyright 2010 Kevin van Zonneveld.
+ *
+ * Portions copyright Brett Zamir (http://brett-zamir.me), Kevin van Zonneveld
+ * (http://kevin.vanzonneveld.net), Onno Marsman, Theriault, Michael White
+ * (http://getsprink.com), Waldo Malqui Silva, Paulo Ricardo F. Santos, Jack,
+ * Jonas Raoni Soares Silva (http://www.jsfromhell.com), Philip Peterson, Ates
+ * Goral (http://magnetiq.com), Legaev Andrey, Alex, Ratheous, Martijn
+ * Wieringa, Nate, lmeyrick (https://sourceforge.net/projects/bcmath-js/),
+ * Enrique Gonzalez, Philippe Baumann, Webtoolkit.info
+ * (http://www.webtoolkit.info/), travc, Carlos R. L. Rodrigues
+ * (http://www.jsfromhell.com), Jani Hartikainen, Ash Searle
+ * (http://hexmen.com/blog/), Ole Vrijenhoek, stag019, d3x, Erkekjetter,
+ * GeekFG (http://geekfg.blogspot.com), T.Wild, Johnny Mast
+ * (http://www.phpvrouwen.nl), Michael Grier,
+ * http://stackoverflow.com/questions/57803/how-to-convert-decimal-to-hex-in-javascript,
+ * pilus, marrtins, Andrea Giammarchi (http://webreflection.blogspot.com),
+ * WebDevHobo (http://webdevhobo.blogspot.com/), Caio Ariede
+ * (http://caioariede.com), Thunder.m, Aman Gupta, Martin
+ * (http://www.erlenwiese.de/), Tyler Akins (http://rumkin.com), Lars Fischer,
+ * Paul Smith, Alfonso Jimenez (http://www.alfonsojimenez.com), Michael White,
+ * mdsjack (http://www.mdsjack.bo.it), Pellentesque Malesuada, gettimeofday,
+ * David, Joris, saulius, Robin, Steven Levithan
+ * (http://blog.stevenlevithan.com), Public Domain
+ * (http://www.json.org/json2.js), Kankrelune (http://www.webfaktory.info/),
+ * Tim de Koning (http://www.kingsquare.nl), Arpad Ray (mailto:arpad@php.net),
+ * AJ, KELAN, Sakimori, Mailfaker (http://www.weedem.fr/), Oleg Eremeev, Marc
+ * Palau, Josh Fraser
+ * (http://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/),
+ * Karol Kowalski, Chris, Breaking Par Consulting Inc
+ * (http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256CFB006C45F7),
+ * Mirek Slugen, majak, Felix Geisendoerfer (http://www.debuggable.com/felix),
+ * gorthaur, Steve Hilder, LH, Stoyan Kyosev (http://www.svest.org/), Der
+ * Simon (http://innerdom.sourceforge.net/), HKM, echo is bad, nord_ua, Ozh,
+ * metjay, XoraX (http://www.xorax.info), Eugene Bulkin
+ * (http://doubleaw.com/), JB, strcasecmp, strcmp, Taras Bogach, Francesco,
+ * Marco, noname, class_exists, madipta, Alan C, mktime, Douglas Crockford
+ * (http://javascript.crockford.com), uestla, Frank Forte, David James, Steve
+ * Clay, J A R, jpfle, Marc Jansen, Paul, Hyam Singer
+ * (http://www.impact-computing.com/), T. Wild, Ole Vrijenhoek
+ * (http://www.nervous.nl/), Raphael (Ao RUDLER), kenneth, Brad Touesnard,
+ * ChaosNo1, Subhasis Deb, Norman &quot;zEh&quot; Fuchs, 0m3r, Sanjoy Roy, Rob, Gilbert,
+ * Bayron Guevara, paulo kuong, Orlando, duncan, sankai, hitwork, Philippe
+ * Jausions (http://pear.php.net/user/jausions), Aidan Lister
+ * (http://aidanlister.com/), ejsanders, Nick Callen, Brian Tafoya
+ * (http://www.premasolutions.com/), johnrembo, sowberry, Yves Sucaet, Denny
+ * Wardhana, Ulrich, kilops, dptr1988, john (http://www.jd-tech.net), MeEtc
+ * (http://yass.meetcweb.com), Peter-Paul Koch
+ * (http://www.quirksmode.org/js/beat.html), T0bsn, Tim Wiel, Bryan Elliott,
+ * Alexander Ermolaev (http://snippets.dzone.com/user/AlexanderErmolaev), JT,
+ * Thomas Beaucourt (http://www.webapp.fr), David Randall, DxGx, Soren Hansen,
+ * lmeyrick (https://sourceforge.net/projects/bcmath-js/this.), Le Torbi,
+ * djmix, Lincoln Ramsay, Linuxworld, Thiago Mata
+ * (http://thiagomata.blog.com), Pedro Tainha (http://www.pedrotainha.com),
+ * James, Pyerre, Jon Hohle, felix, ger, Russell Walker
+ * (http://www.nbill.co.uk/), Garagoth, Andrej Pavlovic, Dino, Jamie Beck
+ * (http://www.terabit.ca/), DtTvB
+ * (http://dt.in.th/2008-09-16.string-length-in-bytes.html), setcookie, YUI
+ * Library: http://developer.yahoo.com/yui/docs/YAHOO.util.DateLocale.html,
+ * Blues at http://hacks.bluesmoon.info/strftime/strftime.js, Andreas, rem,
+ * meo, Jay Klehr, Kheang Hok Chin (http://www.distantia.ca/), Luke Smith
+ * (http://lucassmith.name), Rival, Amir Habibi
+ * (http://www.residence-mixte.com/), Cagri Ekin, Greenseed, mk.keck, Leslie
+ * Hoare, booeyOH, Ben Bryan, Michael, Christian Doebler, Kirk Strobeck, Brant
+ * Messenger (http://www.brantmessenger.com/), Rick Waldron, Mick@el, Martin
+ * Pool, Pierre-Luc Paour, Daniel Esteban, Christoph, Saulo Vallory, Kristof
+ * Coomans (SCK-CEN Belgian Nucleair Research Centre), rezna, Tomasz
+ * Wesolowski, Gabriel Paderni, Marco van Oort, Philipp Lenssen,
+ * penutbutterjelly, Simon Willison (http://simonwillison.net), Anton Ongson,
+ * Eric Nagel, Bobby Drake, Pul, Blues (http://tech.bluesmoon.info/), Luke
+ * Godfrey, Diogo Resende, Howard Yeend, vlado houba, Jalal Berrami, Itsacon
+ * (http://www.itsacon.net/), date, Billy, stensi, Cord, fearphage
+ * (http://http/my.opera.com/fearphage/), Victor, Matteo, Artur Tchernychev,
+ * Francois, nobbler, Fox, marc andreu, Nick Kolosov (http://sammy.ru),
+ * Nathan, Arno, Scott Cariss, Slawomir Kaniecki, ReverseSyntax, Jason Wong
+ * (http://carrot.org/), Mateusz &quot;loonquawl&quot; Zalega, Manish, Wagner B. Soares,
+ * 3D-GRAF, jakes, Yannoo, gabriel paderni, daniel airton wermann
+ * (http://wermann.com.br), Atli ?\x97r, Allan Jensen
+ * (http://www.winternet.no), Benjamin Lupton, davook, Maximusya, FGFEmperor,
+ * baris ozdil, Luis Salazar (http://www.freaky-media.com/), Tim de Koning,
+ * taith, Matt Bradley, FremyCompany, T.J. Leahy, Greg Frazier, Valentina De
+ * Rosa, Tod Gentille, Riddler (http://www.frontierwebdev.com/), Alexander M
+ * Beedie
+ *
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the
+ * &quot;Software&quot;), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL KEVIN VAN ZONNEVELD BE LIABLE FOR ANY CLAIM, DAMAGES
+ * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+function get_html_translation_table (table, quote_style) {
+    // http://kevin.vanzonneveld.net
+    // +   original by: Philip Peterson
+    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
+    // +   bugfixed by: noname
+    // +   bugfixed by: Alex
+    // +   bugfixed by: Marco
+    // +   bugfixed by: madipta
+    // +   improved by: KELAN
+    // +   improved by: Brett Zamir (http://brett-zamir.me)
+    // +   bugfixed by: Brett Zamir (http://brett-zamir.me)
+    // +      input by: Frank Forte
+    // +   bugfixed by: T.Wild
+    // +      input by: Ratheous
+    // %          note: It has been decided that we're not going to add global
+    // %          note: dependencies to php.js, meaning the constants are not
+    // %          note: real constants, but strings instead. Integers are also supported if someone
+    // %          note: chooses to create the constants themselves.
+    // *     example 1: get_html_translation_table('HTML_SPECIALCHARS');
+    // *     returns 1: {'&quot;': '&amp;quot;', '&amp;': '&amp;amp;', '&lt;': '&amp;lt;', '&gt;': '&amp;gt;'}
+
+    var entities = {}, hash_map = {}, decimal = 0, symbol = '';
+    var constMappingTable = {}, constMappingQuoteStyle = {};
+    var useTable = {}, useQuoteStyle = {};
+
+    // Translate arguments
+    constMappingTable[0]      = 'HTML_SPECIALCHARS';
+    constMappingTable[1]      = 'HTML_ENTITIES';
+    constMappingQuoteStyle[0] = 'ENT_NOQUOTES';
+    constMappingQuoteStyle[2] = 'ENT_COMPAT';
+    constMappingQuoteStyle[3] = 'ENT_QUOTES';
+
+    useTable       = !isNaN(table) ? constMappingTable[table] : table ? table.toUpperCase() : 'HTML_SPECIALCHARS';
+    useQuoteStyle = !isNaN(quote_style) ? constMappingQuoteStyle[quote_style] : quote_style ? quote_style.toUpperCase() : 'ENT_COMPAT';
+
+    if (useTable !== 'HTML_SPECIALCHARS' &amp;&amp; useTable !== 'HTML_ENTITIES') {
+        throw new Error(&quot;Table: &quot;+useTable+' not supported');
+        // return false;
+    }
+
+    entities['38'] = '&amp;amp;';
+    if (useTable === 'HTML_ENTITIES') {
+        entities['160'] = '&amp;nbsp;';
+        entities['161'] = '&amp;iexcl;';
+        entities['162'] = '&amp;cent;';
+        entities['163'] = '&amp;pound;';
+        entities['164'] = '&amp;curren;';
+        entities['165'] = '&amp;yen;';
+        entities['166'] = '&amp;brvbar;';
+        entities['167'] = '&amp;sect;';
+        entities['168'] = '&amp;uml;';
+        entities['169'] = '&amp;copy;';
+        entities['170'] = '&amp;ordf;';
+        entities['171'] = '&amp;laquo;';
+        entities['172'] = '&amp;not;';
+        entities['173'] = '&amp;shy;';
+        entities['174'] = '&amp;reg;';
+        entities['175'] = '&amp;macr;';
+        entities['176'] = '&amp;deg;';
+        entities['177'] = '&amp;plusmn;';
+        entities['178'] = '&amp;sup2;';
+        entities['179'] = '&amp;sup3;';
+        entities['180'] = '&amp;acute;';
+        entities['181'] = '&amp;micro;';
+        entities['182'] = '&amp;para;';
+        entities['183'] = '&amp;middot;';
+        entities['184'] = '&amp;cedil;';
+        entities['185'] = '&amp;sup1;';
+        entities['186'] = '&amp;ordm;';
+        entities['187'] = '&amp;raquo;';
+        entities['188'] = '&amp;frac14;';
+        entities['189'] = '&amp;frac12;';
+        entities['190'] = '&amp;frac34;';
+        entities['191'] = '&amp;iquest;';
+        entities['192'] = '&amp;Agrave;';
+        entities['193'] = '&amp;Aacute;';
+        entities['194'] = '&amp;Acirc;';
+        entities['195'] = '&amp;Atilde;';
+        entities['196'] = '&amp;Auml;';
+        entities['197'] = '&amp;Aring;';
+        entities['198'] = '&amp;AElig;';
+        entities['199'] = '&amp;Ccedil;';
+        entities['200'] = '&amp;Egrave;';
+        entities['201'] = '&amp;Eacute;';
+        entities['202'] = '&amp;Ecirc;';
+        entities['203'] = '&amp;Euml;';
+        entities['204'] = '&amp;Igrave;';
+        entities['205'] = '&amp;Iacute;';
+        entities['206'] = '&amp;Icirc;';
+        entities['207'] = '&amp;Iuml;';
+        entities['208'] = '&amp;ETH;';
+        entities['209'] = '&amp;Ntilde;';
+        entities['210'] = '&amp;Ograve;';
+        entities['211'] = '&amp;Oacute;';
+        entities['212'] = '&amp;Ocirc;';
+        entities['213'] = '&amp;Otilde;';
+        entities['214'] = '&amp;Ouml;';
+        entities['215'] = '&amp;times;';
+        entities['216'] = '&amp;Oslash;';
+        entities['217'] = '&amp;Ugrave;';
+        entities['218'] = '&amp;Uacute;';
+        entities['219'] = '&amp;Ucirc;';
+        entities['220'] = '&amp;Uuml;';
+        entities['221'] = '&amp;Yacute;';
+        entities['222'] = '&amp;THORN;';
+        entities['223'] = '&amp;szlig;';
+        entities['224'] = '&amp;agrave;';
+        entities['225'] = '&amp;aacute;';
+        entities['226'] = '&amp;acirc;';
+        entities['227'] = '&amp;atilde;';
+        entities['228'] = '&amp;auml;';
+        entities['229'] = '&amp;aring;';
+        entities['230'] = '&amp;aelig;';
+        entities['231'] = '&amp;ccedil;';
+        entities['232'] = '&amp;egrave;';
+        entities['233'] = '&amp;eacute;';
+        entities['234'] = '&amp;ecirc;';
+        entities['235'] = '&amp;euml;';
+        entities['236'] = '&amp;igrave;';
+        entities['237'] = '&amp;iacute;';
+        entities['238'] = '&amp;icirc;';
+        entities['239'] = '&amp;iuml;';
+        entities['240'] = '&amp;eth;';
+        entities['241'] = '&amp;ntilde;';
+        entities['242'] = '&amp;ograve;';
+        entities['243'] = '&amp;oacute;';
+        entities['244'] = '&amp;ocirc;';
+        entities['245'] = '&amp;otilde;';
+        entities['246'] = '&amp;ouml;';
+        entities['247'] = '&amp;divide;';
+        entities['248'] = '&amp;oslash;';
+        entities['249'] = '&amp;ugrave;';
+        entities['250'] = '&amp;uacute;';
+        entities['251'] = '&amp;ucirc;';
+        entities['252'] = '&amp;uuml;';
+        entities['253'] = '&amp;yacute;';
+        entities['254'] = '&amp;thorn;';
+        entities['255'] = '&amp;yuml;';
+    }
+
+    if (useQuoteStyle !== 'ENT_NOQUOTES') {
+        entities['34'] = '&amp;quot;';
+    }
+    if (useQuoteStyle === 'ENT_QUOTES') {
+        entities['39'] = '&amp;#39;';
+    }
+    entities['60'] = '&amp;lt;';
+    entities['62'] = '&amp;gt;';
+
+
+    // ascii decimals to real symbols
+    for (decimal in entities) {
+        symbol = String.fromCharCode(decimal);
+        hash_map[symbol] = entities[decimal];
+    }
+
+    return hash_map;
+}
+
+
+function htmlentities (string, quote_style) {
+    // http://kevin.vanzonneveld.net
+    // +   original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
+    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
+    // +   improved by: nobbler
+    // +    tweaked by: Jack
+    // +   bugfixed by: Onno Marsman
+    // +    revised by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
+    // +    bugfixed by: Brett Zamir (http://brett-zamir.me)
+    // +      input by: Ratheous
+    // -    depends on: get_html_translation_table
+    // *     example 1: htmlentities('Kevin &amp; van Zonneveld');
+    // *     returns 1: 'Kevin &amp;amp; van Zonneveld'
+    // *     example 2: htmlentities(&quot;foo'bar&quot;,&quot;ENT_QUOTES&quot;);
+    // *     returns 2: 'foo&amp;#039;bar'
+
+    var hash_map = {}, symbol = '', tmp_str = '', entity = '';
+    tmp_str = string.toString();
+
+    if (false === (hash_map = this.get_html_translation_table('HTML_ENTITIES', quote_style))) {
+        return false;
+    }
+    hash_map[&quot;'&quot;] = '&amp;#039;';
+    for (symbol in hash_map) {
+        entity = hash_map[symbol];
+        tmp_str = tmp_str.split(symbol).join(entity);
+    }
+
+    return tmp_str;
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsnavmenuphpfunctionsdevjs"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/js/nav-menu-php-functions.dev.js</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadminjsnavmenuphpfunctionsjsfromrev13399trunkwpadminjscustomnavigationphpfunctionsjs"></a>
<div class="copfile"><h4>Copied: trunk/wp-admin/js/nav-menu-php-functions.js (from rev 13399, trunk/wp-admin/js/custom-navigation-php-functions.js) (0 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu-php-functions.js                                (rev 0)
+++ trunk/wp-admin/js/nav-menu-php-functions.js        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+function get_html_translation_table(i,g){var d={},f={},c=0,a=&quot;&quot;;var e={},b={};var j={},h={};e[0]=&quot;HTML_SPECIALCHARS&quot;;e[1]=&quot;HTML_ENTITIES&quot;;b[0]=&quot;ENT_NOQUOTES&quot;;b[2]=&quot;ENT_COMPAT&quot;;b[3]=&quot;ENT_QUOTES&quot;;j=!isNaN(i)?e[i]:i?i.toUpperCase():&quot;HTML_SPECIALCHARS&quot;;h=!isNaN(g)?b[g]:g?g.toUpperCase():&quot;ENT_COMPAT&quot;;if(j!==&quot;HTML_SPECIALCHARS&quot;&amp;&amp;j!==&quot;HTML_ENTITIES&quot;){throw new Error(&quot;Table: &quot;+j+&quot; not supported&quot;)}d[&quot;38&quot;]=&quot;&amp;amp;&quot;;if(j===&quot;HTML_ENTITIES&quot;){d[&quot;160&quot;]=&quot;&amp;nbsp;&quot;;d[&quot;161&quot;]=&quot;&amp;iexcl;&quot;;d[&quot;162&quot;]=&quot;&amp;cent;&quot;;d[&quot;163&quot;]=&quot;&amp;pound;&quot;;d[&quot;164&quot;]=&quot;&amp;curren;&quot;;d[&quot;165&quot;]=&quot;&amp;yen;&quot;;d[&quot;166&quot;]=&quot;&amp;brvbar;&quot;;d[&quot;167&quot;]=&quot;&amp;sect;&quot;;d[&quot;168&quot;]=&quot;&amp;uml;&quot;;d[&quot;169&quot;]=&quot;&amp;copy;&quot;;d[&quot;170&quot;]=&quot;&amp;ordf;&quot;;d[&quot;171&quot;]=&quot;&amp;laquo;&quot;;d[&quot;172&quot;]=&quot;&amp;not;&quot;;d[&quot;173&quot;]=&quot;&amp;shy;&quot;;d[&quot;174&quot;]=&quot;&amp;reg;&quot;;d[&quot;175&quot;]=&quot;&amp;macr;&quot;;d[&quot;176&quot;]=&quot;&amp;deg;&quot;;d[&quot;177&quot;]=&quot;&amp;plusmn;&quot;;d[&quot;178&quot;]=&quot;&amp;sup2;&quot;;d[&quot;179&quot;]=&quot;&amp;sup3;&quot;;d[&quot;180&quot;]=&quot;&amp;acute;&quot;;d[&quot;181&quot;]=&quot;&amp;micro;&quot;;d[&quot;182&quot;]=&quot;&amp;para;&quot;;d[&quot;183&quot;]=&quot;&amp;middot;&quot;;d[&quot;184&quot;]=&quot;&amp;cedil;&quot;;d[&quot;185&quot;]=&quot;&amp;sup1;&quot;;d[&quot;186&quot;]=&quot;&amp;ordm;&quot;;d[&quot;187&quot;]=&quot;&amp;raquo;&quot;;d[&quot;188&quot;]=&quot;&amp;frac14;&quot;;d[&quot;189&quot;]=&quot;&amp;frac12;&quot;;d[&quot;190&quot;]=&quot;&amp;frac34;&quot;;d[&quot;191&quot;]=&quot;&amp;iquest;&quot;;d[&quot;192&quot;]=&quot;&amp;Agrave;&quot;;d[&quot;193&quot;]=&quot;&amp;Aacute;&quot;;d[&quot;194&quot;]=&quot;&amp;Acirc;&quot;;d[&quot;195&quot;]=&quot;&amp;Atilde;&quot;;d[&quot;196&quot;]=&quot;&amp;Auml;&quot;;d[&quot;197&quot;]=&quot;&amp;Aring;&quot;;d[&quot;198&quot;]=&quot;&amp;AElig;&quot;;d[&quot;199&quot;]=&quot;&amp;Ccedil;&quot;;d[&quot;200&quot;]=&quot;&amp;Egrave;&quot;;d[&quot;201&quot;]=&quot;&amp;Eacute;&quot;;d[&quot;202&quot;]=&quot;&amp;Ecirc;&quot;;d[&quot;203&quot;]=&quot;&amp;Euml;&quot;;d[&quot;204&quot;]=&quot;&amp;Igrave;&quot;;d[&quot;205&quot;]=&quot;&amp;Iacute;&quot;;d[&quot;206&quot;]=&quot;&amp;Icirc;&quot;;d[&quot;207&quot;]=&quot;&amp;Iuml;&quot;;d[&quot;208&quot;]=&quot;&amp;ETH;&quot;;d[&quot;209&quot;]=&quot;&amp;Ntilde;&quot;;d[&quot;210&quot;]=&quot;&amp;Ograve;&quot;;d[&quot;211&quot;]=&quot;&amp;Oacute;&quot;;d[&quot;212&quot;]=&quot;&amp;Ocirc;&quot;;d[&quot;213&quot;]=&quot;&amp;Otilde;&quot;;d[&quot;214&quot;]=&quot;&amp;Ouml;&quot;;d[&quot;215&quot;]=&quot;&amp;times;&quot;;d[&quot;216&quot;]=&quot;&amp;Oslash;&quot;;d[&quot;217&quot;]=&quot;&amp;Ugrave;&quot;;d[&quot;218&quot;]=&quot;&amp;Uacute;&quot;;d[&quot;219&quot;]=&quot;&amp;Ucirc;&quot;;d[&quot;220&quot;]=&quot;&amp;Uuml;&quot;;d[&quot;221&quot;]=&quot;&amp;Yacute;&quot;;d[&quot;222&quot;]=&quot;&amp;THORN;&quot;;d[&quot;223&quot;]=&quot;&amp;szlig;&quot;;d[&quot;224&quot;]=&quot;&amp;agrave;&quot;;d[&quot;225&quot;]=&quot;&amp;aacute;&quot;;d[&quot;226&quot;]=&quot;&amp;acirc;&quot;;d[&quot;227&quot;]=&quot;&amp;atilde;&quot;;d[&quot;228&quot;]=&quot;&amp;auml;&quot;;d[&quot;229&quot;]=&quot;&amp;aring;&quot;;d[&quot;230&quot;]=&quot;&amp;aelig;&quot;;d[&quot;231&quot;]=&quot;&amp;ccedil;&quot;;d[&quot;232&quot;]=&quot;&amp;egrave;&quot;;d[&quot;233&quot;]=&quot;&amp;eacute;&quot;;d[&quot;234&quot;]=&quot;&amp;ecirc;&quot;;d[&quot;235&quot;]=&quot;&amp;euml;&quot;;d[&quot;236&quot;]=&quot;&amp;igrave;&quot;;d[&quot;237&quot;]=&quot;&amp;iacute;&quot;;d[&quot;238&quot;]=&quot;&amp;icirc;&quot;;d[&quot;239&quot;]=&quot;&amp;iuml;&quot;;d[&quot;240&quot;]=&quot;&amp;eth;&quot;;d[&quot;241&quot;]=&quot;&amp;ntilde;&quot;;d[&quot;242&quot;]=&quot;&amp;ograve;&quot;;d[&quot;243&quot;]=&quot;&amp;oacute;&quot;;d[&quot;244&quot;]=&quot;&amp;ocirc;&quot;;d[&quot;245&quot;]=&quot;&amp;otilde;&quot;;d[&quot;246&quot;]=&quot;&amp;ouml;&quot;;d[&quot;247&quot;]=&quot;&amp;divide;&quot;;d[&quot;248&quot;]=&quot;&amp;oslash;&quot;;d[&quot;249&quot;]=&quot;&amp;ugrave;&quot;;d[&quot;250&quot;]=&quot;&amp;uacute;&quot;;d[&quot;251&quot;]=&quot;&amp;ucirc;&quot;;d[&quot;252&quot;]=&quot;&amp;uuml;&quot;;d[&quot;253&quot;]=&quot;&amp;yacute;&quot;;d[&quot;254&quot;]=&quot;&amp;thorn;&quot;;d[&quot;255&quot;]=&quot;&amp;yuml;&quot;}if(h!==&quot;ENT_NOQUOTES&quot;){d[&quot;34&quot;]=&quot;&amp;quot;&quot;}if(h===&quot;ENT_QUOTES&quot;){d[&quot;39&quot;]=&quot;&amp;#39;&quot;}d[&quot;60&quot;]=&quot;&amp;lt;&quot;;d[&quot;62&quot;]=&quot;&amp;gt;&quot;;for(c in d){a=String.fromCharCode(c);f[a]=d[c]}return f}function htmlentities(c,f){var e={},d=&quot;&quot;,a=&quot;&quot;,b=&quot;&quot;;a=c.toString();if(false===(e=this.get_html_translation_table(&quot;HTML_ENTITIES&quot;,f))){return false}e[&quot;'&quot;]=&quot;&amp;#039;&quot;;for(d in e){b=e[d];a=a.split(d).join(b)}return a};
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminjsnavmenuphpfunctionsjs"></a>
<div class="propset"><h4>Property changes: trunk/wp-admin/js/nav-menu-php-functions.js</h4>
<pre class="diff"><span>
<span class="cx">Name: svn:mergeinfo
</span><span class="cx">   + 
</span></span></pre></div>
<a id="trunkwpadminnavmenusphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/nav-menus.php (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/nav-menus.php        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-admin/nav-menus.php        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -14,16 +14,16 @@
</span><span class="cx"> if ( ! current_user_can('switch_themes') )
</span><span class="cx">         wp_die( __( 'Cheatin&amp;#8217; uh?' ));
</span><span class="cx"> 
</span><del>-wp_admin_css( 'custom-navigation' );
</del><ins>+wp_admin_css( 'nav-menu' );
</ins><span class="cx"> wp_enqueue_script( 'jquery' );
</span><span class="cx"> wp_enqueue_script( 'jquery-ui-draggable' );
</span><span class="cx"> wp_enqueue_script( 'jquery-ui-droppable' );
</span><span class="cx"> wp_enqueue_script( 'jquery-ui-sortable' );
</span><span class="cx"> wp_enqueue_script( 'jquery-ui-dialog' );
</span><del>-wp_enqueue_script( 'custom-navigation-dynamic-functions' );
-wp_enqueue_script( 'custom-navigation-default-items' );
</del><ins>+wp_enqueue_script( 'nav-menu-dynamic-functions' );
+wp_enqueue_script( 'nav-menu-default-items' );
</ins><span class="cx"> wp_enqueue_script( 'jquery-autocomplete' );
</span><del>-wp_enqueue_script( 'custom-navigation-php-functions' );
</del><ins>+wp_enqueue_script( 'nav-menu-php-functions' );
</ins><span class="cx"> 
</span><span class="cx"> require_once( 'admin-header.php' );
</span><span class="cx"> require_once( ABSPATH . 'wp-admin/includes/nav-menu.php' );
</span><span class="lines">@@ -393,4 +393,4 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><del>-include( 'admin-footer.php' );
</del><span class="cx">\ No newline at end of file
</span><ins>+include( 'admin-footer.php' );
</ins></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (13401 => 13402)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2010-02-25 16:57:57 UTC (rev 13401)
+++ trunk/wp-includes/script-loader.php        2010-02-25 17:10:00 UTC (rev 13402)
</span><span class="lines">@@ -397,15 +397,15 @@
</span><span class="cx">                 ) );
</span><span class="cx"> 
</span><span class="cx">                 // Custom Navigation
</span><del>-                $scripts-&gt;add( 'custom-navigation-default-items', &quot;/wp-admin/js/custom-navigation-default-items$suffix.js&quot;, false, '20100223' );
-                $scripts-&gt;add( 'custom-navigation-dynamic-functions', &quot;/wp-admin/js/custom-navigation-dynamic-functions$suffix.js&quot;, false, '20100224b' );
-                $scripts-&gt;localize( 'custom-navigation-dynamic-functions', 'navMenuL10n', array(
</del><ins>+                $scripts-&gt;add( 'nav-menu-default-items', &quot;/wp-admin/js/nav-menu-default-items$suffix.js&quot;, false, '20100223' );
+                $scripts-&gt;add( 'nav-menu-dynamic-functions', &quot;/wp-admin/js/nav-menu-dynamic-functions$suffix.js&quot;, false, '20100224b' );
+                $scripts-&gt;localize( 'nav-menu-dynamic-functions', 'navMenuL10n', array(
</ins><span class="cx">                         'custom' =&gt; _x('Custom', 'menu nav item type'),
</span><span class="cx">                         'page' =&gt; _x('Page', 'menu nav item type'),
</span><span class="cx">                         'category' =&gt; _x('Category', 'menu nav item type')
</span><span class="cx">                 ) );
</span><span class="cx">                 
</span><del>-                $scripts-&gt;add( 'custom-navigation-php-functions', &quot;/wp-admin/js/custom-navigation-php-functions$suffix.js&quot;, false, '20100220' );
</del><ins>+                $scripts-&gt;add( 'nav-menu-php-functions', &quot;/wp-admin/js/nav-menu-php-functions$suffix.js&quot;, false, '20100220' );
</ins><span class="cx">         }
</span><span class="cx"> }
</span><span class="cx"> 
</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(), '20100225' );
</del><ins>+        $styles-&gt;add( 'nav-menu', &quot;/wp-admin/css/nav-menu$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>