- report bug 206 correction and some template improvement from branch 1.5

- feature 195 : add an "Admin" link under "Home" in the menu bar of the admin page


git-svn-id: http://piwigo.org/svn/trunk@948 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
chrisaga
2005-11-19 23:46:18 +00:00
parent 1ba53a2ffa
commit a291085987
30 changed files with 108 additions and 95 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ function get_icon( $date )
$title .= $user['recent_period'];
$title .= ' '.$lang['days'];
$size = getimagesize( $icon_url );
$output = '<img title="'.$title.'" src="'.$icon_url.'" style="border:0;';
$output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="" />';
$output = '<img title="'.$title.'" src="'.$icon_url.'" class="icon" style="border:0;';
$output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="(!)" />';
}
return $output;
}
+5 -2
View File
@@ -6,7 +6,9 @@ function correctPNG()
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i]
var img = document.images[i]
if (img.className == "button" || img.className == "icon")
{
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
{
@@ -24,6 +26,7 @@ function correctPNG()
img.outerHTML = strNewHTML
i = i-1
}
}
}
}
window.attachEvent("onload", correctPNG);
window.attachEvent("onload", correctPNG);