diff --git a/e107_admin/banlist.php b/e107_admin/banlist.php
index 0f1d3eb3b..270b8ec23 100644
--- a/e107_admin/banlist.php
+++ b/e107_admin/banlist.php
@@ -109,7 +109,7 @@ class banlist_ui extends e_admin_ui
protected $fields = array (
'checkboxes' => array ( 'title' => '', 'type' => null, 'data' => null, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ),
'banlist_id' => array ( 'title' => LAN_ID, 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
- 'banlist_ip' => array ( 'title' => BANLAN_126, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
+ 'banlist_ip' => array ( 'title' => BANLAN_126, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => array(), 'class' => 'left', 'thclass' => 'left', ),
'banlist_bantype' => array ( 'title' => LAN_TYPE, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'filter'=>true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'banlist_datestamp' => array ( 'title' => LAN_DATESTAMP, 'type' => 'datestamp', 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => 'auto=1&hidden=1&readonly=1', 'class' => 'left', 'thclass' => 'left', ),
'banlist_banexpires' => array ( 'title' => BANLAN_124, 'type' => 'method', 'data' => 'int', 'inline'=>true, 'width' => 'auto', 'batch' => true, 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
diff --git a/e107_admin/cron.php b/e107_admin/cron.php
index e0e51a5dc..a67c70bd2 100644
--- a/e107_admin/cron.php
+++ b/e107_admin/cron.php
@@ -149,7 +149,7 @@ class cron_admin_ui extends e_admin_ui
'name' => LAN_CRON_06_1,
'category' => 'user',
'function' => 'procBanRetrigger',
- 'description' => LAN_CRON_06_2 ."
". LAN_CRON_06_3,
+ 'description' => defset('LAN_CRON_06_2') ."
". defset('LAN_CRON_06_3'),
// 'available' => e107::getPref('ban_retrigger')
),
6 => array(
diff --git a/e107_admin/header.php b/e107_admin/header.php
index a3f61e79b..dadbbe324 100644
--- a/e107_admin/header.php
+++ b/e107_admin/header.php
@@ -19,11 +19,11 @@ if (!defined('e107_INIT'))
if (!defined('ADMIN_AREA'))
{
//avoid PHP warning
- define("ADMIN_AREA", TRUE);
+ define("ADMIN_AREA", true);
}
if(!defined('USER_AREA'))
{
- define("USER_AREA", FALSE);
+ define("USER_AREA", false);
}
e107::getDebug()->logTime('(Header Top)');
diff --git a/e107_admin/image.php b/e107_admin/image.php
index 96163b197..1251b3564 100644
--- a/e107_admin/image.php
+++ b/e107_admin/image.php
@@ -610,8 +610,8 @@ class media_form_ui extends e_admin_form_ui
foreach($options as $key=>$title)
{
$title = ucwords(str_replace("-"," ",$key));
- $valW = vartrue($curval[$key]['w']);
- $valH = vartrue($curval[$key]['h']);
+ $valW = !empty($curval[$key]['w']) ? $curval[$key]['w'] : 400;
+ $valH = !empty($curval[$key]['h']) ? $curval[$key]['h'] : 400;
$text .= "