From 7b31ed2a42d780808825c30c9a793054d5b77e26 Mon Sep 17 00:00:00 2001 From: secretr Date: Wed, 10 Dec 2008 20:54:06 +0000 Subject: [PATCH] Admin Images - grand changes finshed --- e107_admin/image.php | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/e107_admin/image.php b/e107_admin/image.php index 555df8702..63e2e881d 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.10 $ - * $Date: 2008-12-10 16:59:19 $ + * $Revision: 1.11 $ + * $Date: 2008-12-10 20:54:06 $ * $Author: secretr $ * */ @@ -517,6 +517,9 @@ if (isset($_POST['check_avatar_sizes'])) $ns->tablerender(IMALAN_37, $message.$text); } +/* + * MAIN CONFIG SCREEN + */ if(function_exists('gd_info')) { $gd_info = gd_info(); @@ -560,7 +563,8 @@ $text = " ".IMALAN_1." - ". ($pref['image_post'] ? "" : "")." + +
".IMALAN_2."
@@ -568,7 +572,8 @@ $text = " ".IMALAN_10." - ".r_userclass('image_post_class',$pref['image_post_class'],"off","public,guest,nobody,member,admin,main,classes")." + + ".r_userclass('image_post_class',$pref['image_post_class'],"off","public,guest,nobody,member,admin,main,classes")."
".IMALAN_11."
@@ -578,7 +583,9 @@ $text = " ".IMALAN_12." - + +
".IMALAN_13."
@@ -587,7 +594,10 @@ $text = " ".IMALAN_3."
".IMALAN_54." {$gd_version}
- + gd1 + gd2 + ImageMagick
".IMALAN_4."
@@ -596,7 +606,7 @@ $text = " ".IMALAN_5."
{$IM_NOTE}
- +
".IMALAN_6."
@@ -604,7 +614,8 @@ $text = " ".IMALAN_34." - ".($pref['enable_png_image_fix'] ? "" : "")." + +
".IMALAN_35."
@@ -625,7 +636,7 @@ $text = "
- +
"; @@ -665,15 +676,16 @@ function headerjs() tCheckHandler: function(event) { //do nothing if checkbox or link is clicked - var tmp = event.element(); + var tmp = event.element(); if(tmp.nodeName.toLowerCase() == 'input' || tmp.nodeName.toLowerCase() == 'a') return; //stop event event.stop(); + //checkbox container element var element = event.findElement('.options'), check = null; - if(element) { + if(element) { check = element.select('input.checkbox'); //search for checkbox - } + } console.log(element, check); //toggle checked property if(check && check[0] && !(\$(check[0]).disabled)) { \$(check[0]).checked = !(\$(check[0]).checked);