mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 23:36:29 +02:00
Issue #4299 - PHP8 compatibility fixes.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
|
||||
if(USER_AREA) // prevents inclusion of JS/CSS/meta in the admin area.
|
||||
if(deftrue('USER_AREA')) // prevents inclusion of JS/CSS/meta in the admin area.
|
||||
{
|
||||
//e107::js('_blank', 'js/blank.js'); // loads e107_plugins/_blank/js/blank.js on every page.
|
||||
e107::css('_blank', 'css/blank.css'); // loads e107_plugins/_blank/css/blank.css on every page
|
||||
|
@@ -32,7 +32,7 @@ class chatbox_menu_search extends e_search // include plugin-folder in the name.
|
||||
'return_fields' => array('cb_id', 'cb_nick', 'cb_message', 'cb_datestamp'),
|
||||
'search_fields' => array('cb_nick' => '1', 'cb_message' => '1'), // fields and weights.
|
||||
|
||||
'order' => array('cb_datestamp' => DESC),
|
||||
'order' => array('cb_datestamp' => 'DESC'),
|
||||
'refpage' => 'chat.php'
|
||||
);
|
||||
|
||||
|
@@ -196,7 +196,13 @@ class download_cat_ui extends e_admin_ui
|
||||
|
||||
while($row = $sql->fetch())
|
||||
{
|
||||
$num = $row['_depth'] - 1;
|
||||
$num = (int) $row['_depth'] - 1;
|
||||
|
||||
if($num < 0)
|
||||
{
|
||||
$num = 0;
|
||||
}
|
||||
|
||||
$id = $row['download_category_id'];
|
||||
$this->downloadCats[$id] = str_repeat(" ",$num).$row['download_category_name'];
|
||||
}
|
||||
@@ -2314,7 +2320,7 @@ $columnInfo = array(
|
||||
<col style='width:70%'/>
|
||||
</colgroup>
|
||||
<tr>
|
||||
<td>".DOWLAN_XXX."</td>
|
||||
<td>".defset('DOWLAN_XXX')."</td>
|
||||
<td>//TODO</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -21,7 +21,7 @@ class faqs_search extends e_search // include plugin-folder in the name.
|
||||
|
||||
'return_fields' => array('t.faq_question','t.faq_answer','t.faq_datestamp','x.faq_info_title','t.faq_id','x.faq_info_id','x.faq_info_title', 'x.faq_info_class','x.faq_info_sef'),
|
||||
'search_fields' => array('t.faq_question'=>1.0, 't.faq_answer'=>1.2, "x.faq_info_title"=>0.6, 't.faq_tags'=> 1.4), // fields and weights.
|
||||
'order' => array('t.faq_question' => DESC),
|
||||
'order' => array('t.faq_question' => 'DESC'),
|
||||
'refpage' => 'faqs.php'
|
||||
);
|
||||
|
||||
|
@@ -42,7 +42,7 @@ class forum_event
|
||||
fclose($myfile);
|
||||
echo('hola');
|
||||
print_a($data);*/
|
||||
e107::getDb()->update('user_extended', "user_plugin_forum_viewed = NULL WHERE user_extended_id = ".$data[user_id]);
|
||||
e107::getDb()->update('user_extended', "user_plugin_forum_viewed = NULL WHERE user_extended_id = ".$data['user_id']);
|
||||
|
||||
}
|
||||
|
||||
|
@@ -46,7 +46,7 @@ class forum_search extends e_search // include plugin-folder in the name.
|
||||
'return_fields' => array('t.thread_id', 't.thread_name', 'p.post_id', 'p.post_entry', 't.thread_forum_id', 't.thread_datestamp', 't.thread_user', 'u.user_id', 'u.user_name', 'f.forum_class', 'f.forum_id', 'f.forum_name', 'f.forum_sef'),
|
||||
'search_fields' => array('t.thread_name'=>'1.2', 'p.post_entry'=>'0.6'), // fields and weights.
|
||||
|
||||
'order' => array('thread_datestamp' => DESC),
|
||||
'order' => array('thread_datestamp' => 'DESC'),
|
||||
'refpage' => 'forum'
|
||||
);
|
||||
|
||||
|
@@ -437,7 +437,7 @@ class hero_form_ui extends e_admin_form_ui
|
||||
foreach($amt as $v)
|
||||
{
|
||||
$name = 'hero_bullets['.$v.']';
|
||||
$val = varset($value[$v]);
|
||||
$val = varset($value[$v], array());
|
||||
|
||||
$text .= "<tr>
|
||||
<td class='text-center'>".$this->glyphPicker($name.'[icon]', $val['icon'])."</td>
|
||||
|
@@ -286,7 +286,7 @@ class list_admin
|
||||
//menu preference : caption
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_2;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_3;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_4;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_4');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-caption";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_caption", "30", $tp->toHTML($this->parent->list_pref[$type."_caption"],"","defs"), "50", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -294,7 +294,7 @@ class list_admin
|
||||
//menu preference : icon : use
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_5;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_6;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_7;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_7');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-icon-use";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_icon_use", "1", ($this->parent->list_pref[$type."_icon_use"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -305,7 +305,7 @@ class list_admin
|
||||
//menu preference : icon : show default theme bullet
|
||||
$this->row['TOPIC'] = LIST_ADMIN_MENU_2;
|
||||
$this->row['HEADING'] = LIST_ADMIN_MENU_3;
|
||||
$this->row['HELP'] = LIST_ADMIN_MENU_4;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_MENU_4');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-icon-show";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_icon_default", "1", ($this->parent->list_pref[$type."_icon_default"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -316,7 +316,7 @@ class list_admin
|
||||
//menu preference : amount chars
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_8;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_9;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_10;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_10');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-amount-chars";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_char_heading", "3", $this->parent->list_pref[$type."_char_heading"], "3", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -324,7 +324,7 @@ class list_admin
|
||||
//menu preference : postfix
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_11;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_12;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_13;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_13');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-postfix";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_char_postfix", "3", $this->parent->list_pref[$type."_char_postfix"], "3", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -332,7 +332,7 @@ class list_admin
|
||||
//menu preference : date
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_14;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_15;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_16;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_16');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-date";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_datestyle", "30", $this->parent->list_pref[$type."_datestyle"], "50", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -340,7 +340,7 @@ class list_admin
|
||||
//menu preference : date today
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_17;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_18;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_19;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_19');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-datet";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_datestyletoday", "30", $this->parent->list_pref[$type."_datestyletoday"], "50", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -348,7 +348,7 @@ class list_admin
|
||||
//menu preference : show empty
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_26;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_27;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_28;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_28');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-sempty";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_showempty", "1", ($this->parent->list_pref[$type."_showempty"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -359,7 +359,7 @@ class list_admin
|
||||
//menu preference : open section if content exists? this will override the individual setting of the section
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_39;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_40;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_41;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_41');
|
||||
$this->row['CONTID'] = "list-new-menu-{$type}-expandable-osie";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_openifrecords", "1", ($this->parent->list_pref[$type."_openifrecords"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -396,7 +396,7 @@ class list_admin
|
||||
//page preference : caption
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_2;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_3;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_4;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_4');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-caption";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_caption", "30", $tp->toHTML($this->parent->list_pref[$type."_caption"],"","defs"), "50", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -404,7 +404,7 @@ class list_admin
|
||||
//page preference : icon : use
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_5;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_6;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_7;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_7');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-icon-use";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_icon_use", "1", ($this->parent->list_pref[$type."_icon_use"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -415,7 +415,7 @@ class list_admin
|
||||
//page preference : icon : show default theme bullet
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_29;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_30;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_31;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_31');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-icon-show";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_icon_default", "1", ($this->parent->list_pref[$type."_icon_default"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -426,7 +426,7 @@ class list_admin
|
||||
//page preference : amount chars
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_8;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_9;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_10;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_10');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-amount-chars";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_char_heading", "3", $this->parent->list_pref[$type."_char_heading"], "3", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -434,7 +434,7 @@ class list_admin
|
||||
//page preference : postfix
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_11;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_12;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_13;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_13');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-postfix";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_char_postfix", "3", $this->parent->list_pref[$type."_char_postfix"], "3", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -442,7 +442,7 @@ class list_admin
|
||||
//page preference : date
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_14;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_15;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_16;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_16');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-date";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_datestyle", "30", $this->parent->list_pref[$type."_datestyle"], "50", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -450,7 +450,7 @@ class list_admin
|
||||
//page preference : date today
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_17;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_18;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_19;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_19');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-datet";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_datestyletoday", "30", $this->parent->list_pref[$type."_datestyletoday"], "50", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -458,7 +458,7 @@ class list_admin
|
||||
//page preference : show empty
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_26;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_27;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_28;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_28');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-showe";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_showempty", "1", ($this->parent->list_pref[$type."_showempty"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -469,7 +469,7 @@ class list_admin
|
||||
//page preference : colomn
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_20;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_21;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_22;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_22');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-colomn";
|
||||
$this->row['FIELD'] = $rs->form_select_open($type."_colomn");
|
||||
for($a=1, $aMax = count($this->parent->sections); $a<= $aMax; $a++)
|
||||
@@ -482,7 +482,7 @@ class list_admin
|
||||
//page preference : welcome text
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_23;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_24;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_25;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_25');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-wtext";
|
||||
$this->row['FIELD'] = $rs->form_textarea($type."_welcometext", "50", "5", $tp->toHTML($this->parent->list_pref[$type."_welcometext"],"","defs"), "", "tbox");
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -492,7 +492,7 @@ class list_admin
|
||||
//timelapse:show
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_36;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_37;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_38;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_38');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-timelapse-show";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_timelapse", "1", ($this->parent->list_pref[$type."_timelapse"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
@@ -503,7 +503,7 @@ class list_admin
|
||||
//timelapse day number maximum
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_32;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_33;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_34;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_34');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-timelapse-dnm";
|
||||
$this->row['FIELD'] = $rs->form_text($type."_timelapse_days", "3", $this->parent->list_pref[$type."_timelapse_days"], "3", "tbox")." ".LIST_ADMIN_LAN_35;
|
||||
$text .= $this->parseTemplate('TOPIC_ROW');
|
||||
@@ -512,7 +512,7 @@ class list_admin
|
||||
//page preference : open section if content exists? this will override the individual setting of the section
|
||||
$this->row['TOPIC'] = LIST_ADMIN_LAN_39;
|
||||
$this->row['HEADING'] = LIST_ADMIN_LAN_40;
|
||||
$this->row['HELP'] = LIST_ADMIN_LAN_41;
|
||||
$this->row['HELP'] = defset('LIST_ADMIN_LAN_41');
|
||||
$this->row['CONTID'] = "list-new-page-{$type}-expandable-osie";
|
||||
$this->row['FIELD'] = "
|
||||
".$rs->form_radio($type."_openifrecords", "1", ($this->parent->list_pref[$type."_openifrecords"] ? "1" : "0"), "", "").LIST_ADMIN_7."
|
||||
|
@@ -78,7 +78,7 @@ class page_search extends e_search // include plugin-folder in the name.
|
||||
'return_fields' => array('p.page_id', 'p.page_title', 'p.page_sef', 'p.page_text', 'p.page_chapter', 'p.page_datestamp', 'p.menu_image'),
|
||||
'search_fields' => array('p.page_title' => '1.2', 'p.page_text' => '0.6', 'p.page_metakeys'=> '1.0', 'p.page_fields' => '0.5'), // fields and their weights.
|
||||
|
||||
'order' => array('page_datestamp' => DESC),
|
||||
'order' => array('page_datestamp' => 'DESC'),
|
||||
'refpage' => 'page.php'
|
||||
);
|
||||
|
||||
|
@@ -102,19 +102,19 @@ class private_msg_ui extends e_admin_ui
|
||||
protected $listOrder = "p.pm_id DESC";
|
||||
|
||||
protected $fields = array ( 'checkboxes' => array ( 'title' => '', 'type' => null, 'data' => null, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ),
|
||||
'pm_id' => array ( 'title' => LAN_ID, 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_from' => array ( 'title' => LAN_PLUGIN_PM_FROM, 'type' => 'method', 'noedit'=>true, 'data' => 'int', 'filter'=>true, 'width' => '5%%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_to' => array ( 'title' => LAN_PLUGIN_PM_TO, 'type' => 'user', 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_sent' => array ( 'title' => LAN_DATE, 'type' => 'datestamp', 'data' => 'int', 'width' => '15%', 'help' => '', 'readParms' => '', 'writeParms' => 'auto=1&readonly=1', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_subject' => array ( 'title' => LAN_PLUGIN_PM_SUB, 'type' => 'text', 'data' => 'str', 'width' => '15%', 'help' => '', 'readParms' => '', 'writeParms' => array('size'=>'xlarge'), 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_id' => array ( 'title' => LAN_ID, 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_from' => array ( 'title' => LAN_PLUGIN_PM_FROM, 'type' => 'method', 'noedit'=>true, 'data' => 'int', 'filter'=>true, 'width' => '5%%', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_to' => array ( 'title' => LAN_PLUGIN_PM_TO, 'type' => 'user', 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_sent' => array ( 'title' => LAN_DATE, 'type' => 'datestamp', 'data' => 'int', 'width' => '15%', 'help' => '', 'readParms' => array(), 'writeParms' => 'auto=1&readonly=1', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_subject' => array ( 'title' => LAN_PLUGIN_PM_SUB, 'type' => 'text', 'data' => 'str', 'width' => '15%', 'help' => '', 'readParms' => array(), 'writeParms' => array('size'=>'xlarge'), 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_text' => array ( 'title' => LAN_PLUGIN_PM_MESS, 'type' => 'bbarea', 'data' => 'str', 'width' => '40%', 'help' => '', 'readParms' => 'expand=1&truncate=50', 'writeParms' => 'rows=5&size=block&cols=80', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_read' => array ( 'title' => LAN_PLUGIN_PM_READ, 'type' => 'boolean', 'noedit'=>1, 'data' => 'int', 'batch'=>true, 'filter'=>true, 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_read' => array ( 'title' => LAN_PLUGIN_PM_READ, 'type' => 'boolean', 'noedit'=>1, 'data' => 'int', 'batch'=>true, 'filter'=>true, 'width' => '5%', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
|
||||
'pm_sent_del' => array ( 'title' => LAN_PLUGIN_PM_DEL, 'type' => 'boolean', 'noedit'=>true, 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_read_del' => array ( 'title' => LAN_PLUGIN_PM_DEL, 'type' => 'boolean', 'noedit'=>true, 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_attachments' => array ( 'title' => LAN_PLUGIN_PM_ATTACHMENT, 'type' => 'text', 'noedit'=>true, 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_option' => array ( 'title' => 'Option', 'type' => 'text', 'noedit'=>true, 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_size' => array ( 'title' => LAN_PLUGIN_PM_SIZE, 'type' => 'boolean', 'noedit'=>true, 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_sent_del' => array ( 'title' => LAN_PLUGIN_PM_DEL, 'type' => 'boolean', 'noedit'=>true, 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_read_del' => array ( 'title' => LAN_PLUGIN_PM_DEL, 'type' => 'boolean', 'noedit'=>true, 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_attachments' => array ( 'title' => LAN_PLUGIN_PM_ATTACHMENT, 'type' => 'text', 'noedit'=>true, 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_option' => array ( 'title' => 'Option', 'type' => 'text', 'noedit'=>true, 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_size' => array ( 'title' => LAN_PLUGIN_PM_SIZE, 'type' => 'boolean', 'noedit'=>true, 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'options' => array ( 'title' => LAN_OPTIONS, 'type' => 'method', 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ),
|
||||
);
|
||||
|
||||
@@ -991,11 +991,11 @@ class private_msg_block_ui extends e_admin_ui
|
||||
protected $perPage = 10;
|
||||
|
||||
protected $fields = array ( 'checkboxes' => array ( 'title' => '', 'type' => null, 'data' => null, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ),
|
||||
'pm_block_id' => array ( 'title' => 'LAN_ID', 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_block_from' => array ( 'title' => 'From', 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_block_to' => array ( 'title' => 'To', 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_block_datestamp' => array ( 'title' => 'LAN_DATESTAMP', 'type' => 'datestamp', 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_block_count' => array ( 'title' => 'Count', 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_block_id' => array ( 'title' => 'LAN_ID', 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_block_from' => array ( 'title' => 'From', 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_block_to' => array ( 'title' => 'To', 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'pm_block_datestamp' => array ( 'title' => 'LAN_DATESTAMP', 'type' => 'datestamp', 'data' => 'int', 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'left', 'thclass' => 'left', ),
|
||||
'pm_block_count' => array ( 'title' => 'Count', 'type' => 'boolean', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => array(), 'writeParms' => array(), 'class' => 'center', 'thclass' => 'center', ),
|
||||
'options' => array ( 'title' => 'Options', 'type' => null, 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ),
|
||||
);
|
||||
|
||||
|
@@ -15,7 +15,7 @@ if( !e107::isInstalled('tinymce4'))
|
||||
exit();
|
||||
}
|
||||
|
||||
e107::lan('tinymce4','admin', true);
|
||||
$result = e107::lan('tinymce4', true);
|
||||
|
||||
|
||||
class tinymce4_admin extends e_admin_dispatcher
|
||||
|
Reference in New Issue
Block a user