diff --git a/e107_admin/image.php b/e107_admin/image.php index 88155c6f5..fabd90521 100644 --- a/e107_admin/image.php +++ b/e107_admin/image.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/image.php,v $ -| $Revision: 1.8 $ -| $Date: 2008-12-09 15:19:02 $ +| $Revision: 1.9 $ +| $Date: 2008-12-09 17:49:59 $ | $Author: secretr $ +----------------------------------------------------------------------------+ */ @@ -136,6 +136,10 @@ if (isset($_POST['show_avatars'])) } else { + $text = " +
+ "; + $count = 0; while (list($key, $image_name) = each($dirlist)) { @@ -156,7 +160,7 @@ if (isset($_POST['show_avatars'])) } //File info - $users = " ".$users; + $users = "".IMALAN_66.": {$image_name} ".$users; // Control over the image size (design) $image_size = getimagesize(e_FILE."public/avatars/".$image_name); @@ -165,21 +169,21 @@ if (isset($_POST['show_avatars'])) $img_src = ""; if ($image_size[0] > $pref['im_width'] || $image_size[1] > $pref['im_height']) { - $img_src = "".IMALAN_57.""; + $img_src = "".IMALAN_57.""; } $text .= "
-
{$users}
{$img_src}
-
- +
+
- +
+ "; $count++; @@ -188,15 +192,15 @@ if (isset($_POST['show_avatars'])) //FIXME add multi delete for better user experience (not working yet), make check/uncheck-all work $text .= "
-
+
-
"; + "; } @@ -295,7 +299,7 @@ if (isset($_POST['check_avatar_sizes'])) $text .= " - + ".$user_name." @@ -324,7 +328,7 @@ if (isset($_POST['check_avatar_sizes']))
- +
@@ -439,7 +443,7 @@ $text = " - ".IMALAN_3."
".IMALAN_54." {$gd_version} + ".IMALAN_3."
".IMALAN_54." {$gd_version}
@@ -448,7 +452,7 @@ $text = " - ".IMALAN_5."
{$IM_NOTE} + ".IMALAN_5."
{$IM_NOTE}
".IMALAN_6."
@@ -487,6 +491,74 @@ $ns->tablerender(IMALAN_7, $text); require_once("footer.php"); + +function headerjs() +{ + require_once(e_HANDLER.'js_helper.php'); + $ret = " + + "; + + return $ret; +} /* XXX - remove this odd thing?! diff --git a/e107_languages/English/admin/lan_image.php b/e107_languages/English/admin/lan_image.php index 050e80289..de9afe8f0 100644 --- a/e107_languages/English/admin/lan_image.php +++ b/e107_languages/English/admin/lan_image.php @@ -4,8 +4,8 @@ | e107 website system - Language File. | | $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_image.php,v $ -| $Revision: 1.5 $ -| $Date: 2008-12-09 15:19:03 $ +| $Revision: 1.6 $ +| $Date: 2008-12-09 17:49:59 $ | $Author: secretr $ +----------------------------------------------------------------------------+ */ @@ -42,7 +42,7 @@ define("IMALAN_30", "Everyone (public)"); define("IMALAN_31", "Guests only"); define("IMALAN_32", "Members only"); define("IMALAN_33", "Admin only"); -define("IMALAN_34", "Enable Sleight"); +define("IMALAN_34", "Enable PNG Fix"); define("IMALAN_35", "Fixes transparent PNG-24's with alpha transparency in IE 5 / 6 (Applies Sitewide)"); define("IMALAN_36", "Validate avatar size and access"); @@ -75,7 +75,7 @@ define('IMALAN_57', 'Image too big - click to enlarge'); define('IMALAN_58', 'Delete checked'); define('IMALAN_59', 'Check All'); define('IMALAN_60', 'Uncheck All'); -define('IMALAN_66', 'Filename'); + //avatar check define('IMALAN_61', 'Options'); @@ -84,10 +84,7 @@ define('IMALAN_63', 'URL'); define('IMALAN_64', 'User'); define('IMALAN_65', 'Nothing found'); -/* -define('IMALAN_60', ''); -define('IMALAN_60', ''); -define('IMALAN_60', ''); -define('IMALAN_60', ''); - */ +define('IMALAN_66', 'Filename'); +define('IMALAN_67', 'Are you\' sure?'); + ?> \ No newline at end of file