From e50dd8d467a323591e514393b95bc5134dd00fee Mon Sep 17 00:00:00 2001 From: secretr Date: Thu, 11 Dec 2008 11:25:21 +0000 Subject: [PATCH] Admin area - checkbox field auto-toggle feature finished --- e107_admin/image.php | 36 ++++++++++++++++-------------- e107_files/jslib/core/admin.js | 22 ++++++++++-------- e107_themes/_blank/admin_style.css | 2 ++ 3 files changed, 34 insertions(+), 26 deletions(-) diff --git a/e107_admin/image.php b/e107_admin/image.php index 15b47e96b..f94faff49 100644 --- a/e107_admin/image.php +++ b/e107_admin/image.php @@ -9,8 +9,8 @@ * Image Administration Area * * $Source: /cvs_backup/e107_0.8/e107_admin/image.php,v $ - * $Revision: 1.13 $ - * $Date: 2008-12-10 23:46:47 $ + * $Revision: 1.14 $ + * $Date: 2008-12-11 11:25:21 $ * $Author: secretr $ * */ @@ -279,10 +279,7 @@ if (isset($_POST['show_avatars'])) if(is_dir(e_FILE."public/avatars/".$image_name)) { //File info - $users = "".IMALAN_66.": {$image_name} ".IMALAN_69.""; - - // Control over the image size (design) - $image_size = getimagesize(e_FILE."public/avatars/".$image_name); + $users = "".IMALAN_66.": {$image_name} ".IMALAN_69.""; //Friendly UI - click text to select a form element $img_src = ''.IMALAN_70.''; @@ -303,14 +300,15 @@ if (isset($_POST['show_avatars'])) $img_src = "".IMALAN_57.""; } } + //style attribute allowed here - server side width/height control - //options class - used for JS selectors (see eCoreImage object) + //autocheck class - used for JS selectors (see eCoreImage object) $text .= " -
+
{$users}
{$img_src}
-
+
@@ -441,7 +439,7 @@ if (isset($_POST['check_avatar_sizes'])) $found = true; $text .= " - + @@ -563,9 +561,11 @@ $text = " ".IMALAN_1." - - -
".IMALAN_2."
+ +
+ +
".IMALAN_2."
+
@@ -614,9 +614,11 @@ $text = " ".IMALAN_34." - - -
".IMALAN_35."
+ +
+ +
".IMALAN_35."
+
@@ -653,7 +655,7 @@ if(!e_AJAX_REQUEST) require_once("footer.php"); function headerjs() { require_once(e_HANDLER.'js_helper.php'); - //FIXME - how exactly to call JS lan? + //FIXME - how exactly to call JS lan? $ret = "