[ros-diffs] [dgoette] 396: fix some layout issues spotted by colin

dgoette at svn.reactos.org dgoette at svn.reactos.org
Fri May 1 23:40:11 CEST 2009


Author: dgoette
Date: Sat May  2 01:40:11 2009
New Revision: 396

URL: http://svn.reactos.org/svn/reactos?rev=396&view=rev
Log:
fix some layout issues spotted by colin

Modified:
    branches/danny-web/www/www.reactos.org/roscms/css/user.css
    branches/danny-web/www/www.reactos.org/roscms/js/cms_website.js
    branches/danny-web/www/www.reactos.org/roscms/lib/HTML_User.class.php

Modified: branches/danny-web/www/www.reactos.org/roscms/css/user.css
URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/roscms/css/user.css?rev=396&r1=395&r2=396&view=diff
==============================================================================
--- branches/danny-web/www/www.reactos.org/roscms/css/user.css [iso-8859-1] (original)
+++ branches/danny-web/www/www.reactos.org/roscms/css/user.css [iso-8859-1] Sat May  2 01:40:11 2009
@@ -25,7 +25,7 @@
 
 /* left menu */
 #leftNav { padding: 0px 10px 10px 10px; }
-#leftNav UL { margin: 0px 0px 1.5em 0px; padding: 0px; list-style-type: none; background-color: #EEEEEE; border-top: #3F3849 0px solid; border-right: #3F3849 1px solid; border-left: #3F3849 1px solid; }
+#leftNav UL { margin: 0px 0px 1em 0px; padding: 0px; list-style-type: none; background-color: #EEEEEE; border-top: #3F3849 0px solid; border-right: #3F3849 1px solid; border-left: #3F3849 1px solid; }
 #leftNav UL LI { font-size: 12px; font-weight: bold; border-bottom: 1px solid #3f3849; }
 #leftNav UL LI A { display: block; padding: 2px 4px; color: #3F3849; text-decoration: none; }
 #leftNav UL LI A:hover { color: black; background-color: #FFCC33; }

Modified: branches/danny-web/www/www.reactos.org/roscms/js/cms_website.js
URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/roscms/js/cms_website.js?rev=396&r1=395&r2=396&view=diff
==============================================================================
--- branches/danny-web/www/www.reactos.org/roscms/js/cms_website.js [iso-8859-1] (original)
+++ branches/danny-web/www/www.reactos.org/roscms/js/cms_website.js [iso-8859-1] Sat May  2 01:40:11 2009
@@ -2109,8 +2109,8 @@
 
   // prepare some commands
   var cmdhtml_space = ' ';
-  var cmdhtml_diff = '<div class="button" onclick="compareEntries()"><img src="'+roscms_intern_webserver_roscms+'images/compare.gif" alt="" /><span class="text">Compare</span></div>';
-  var cmdhtml_preview = '<div class="button" onclick="previewPage()"><img src="'+roscms_intern_webserver_roscms+'images/preview.gif" alt="" /><span class="text">Preview</span></div>';
+  var cmdhtml_diff = '<div class="button" onclick="compareEntries()"><img src="'+roscms_intern_webserver_roscms+'images/tool.gif" alt="" /><span class="text">Compare</span></div>';
+  var cmdhtml_preview = '<div class="button" onclick="previewPage()"><img src="'+roscms_intern_webserver_roscms+'images/search.gif" alt="" /><span class="text">Preview</span></div>';
   var cmdhtml_ready = '<div class="button" onclick="changeSelectedTags(\'mn\')"><img src="'+roscms_intern_webserver_roscms+'images/edit.gif" alt="" /><span class="text">Suggest</span></div>';
 
   

Modified: branches/danny-web/www/www.reactos.org/roscms/lib/HTML_User.class.php
URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/roscms/lib/HTML_User.class.php?rev=396&r1=395&r2=396&view=diff
==============================================================================
--- branches/danny-web/www/www.reactos.org/roscms/lib/HTML_User.class.php [iso-8859-1] (original)
+++ branches/danny-web/www/www.reactos.org/roscms/lib/HTML_User.class.php [iso-8859-1] Sat May  2 01:40:11 2009
@@ -89,7 +89,7 @@
       echo_strip('
         <h2>Account</h2>
         <ul>
-          <li title="'.$thisuser->name().'">&nbsp;Nick:&nbsp;'.substr($thisuser->name(), 0, 9).'</li>
+          <li title="'.htmlentities($thisuser->name()).'">&nbsp;Nick:&nbsp;'.htmlentities($thisuser->name()).'</li>
           <li><a href="'.$config->pathInstance().'?page=my">My Profile</a></li>
           <li><a href="'.$config->pathInstance().'?page=search">User Search</a></li>
           <li><a href="'.$config->pathGenerated().'peoplemap/">User Map</a></li>');



More information about the Ros-diffs mailing list