mirror of
https://github.com/e107inc/e107.git
synced 2025-07-16 12:36:26 +02:00
Notice removal
This commit is contained in:
@ -9,8 +9,8 @@
|
||||
* Custom Menus/Pages Administration
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/cpage.php,v $
|
||||
* $Revision: 1.32 $
|
||||
* $Date: 2009-12-06 15:39:31 $
|
||||
* $Revision: 1.33 $
|
||||
* $Date: 2010-01-03 12:14:06 $
|
||||
* $Author: e107steved $
|
||||
*
|
||||
*/
|
||||
@ -141,7 +141,7 @@ class page
|
||||
$this->fieldpref = (varset($user_pref['admin_cpage_columns'])) ? $user_pref['admin_cpage_columns'] : array("page_id","page_title","page_theme"); ;
|
||||
|
||||
$this->fields = array(
|
||||
'page_id' => array('title'=> ID, 'width'=>'5%', 'forced'=> TRUE),
|
||||
'page_id' => array('title'=> 'ID', 'width'=>'5%', 'forced'=> TRUE),
|
||||
'page_title' => array('title'=> CUSLAN_1, 'type' => 'text', 'width'=>'auto'),
|
||||
'page_theme' => array('title'=> CUSLAN_2, 'type' => 'text', 'width' => 'auto','nolist'=>true),
|
||||
'page_template' => array('title'=> 'Template', 'type' => 'text', 'width' => 'auto'),
|
||||
@ -214,7 +214,7 @@ class page
|
||||
{
|
||||
$pge['page_title'] = $pge['page_title'] ? $pge['page_title'] : ($pge['page_theme'] ? CUSLAN_43.$pge['page_theme'] : CUSLAN_44);
|
||||
$authorData = get_user_data($pge['page_author']);
|
||||
$pge['page_author'] = $authorData['user_name'];
|
||||
$pge['page_author'] = varset($authorData['user_name'], '?');
|
||||
|
||||
$text .= $frm->renderTableRow($this->fields,$this->fieldpref,$pge,'page_id');
|
||||
}
|
||||
|
@ -9,9 +9,9 @@
|
||||
* Form Handler
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
|
||||
* $Revision: 1.108 $
|
||||
* $Date: 2009-12-28 01:02:26 $
|
||||
* $Author: e107coders $
|
||||
* $Revision: 1.109 $
|
||||
* $Date: 2010-01-03 12:14:06 $
|
||||
* $Author: e107steved $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -977,7 +977,7 @@ class e_form
|
||||
foreach ($fieldarray as $field => $data)
|
||||
{
|
||||
// shouldn't happen...
|
||||
if(!isset($fieldvalues[$field]) && $data['alias'])
|
||||
if(!isset($fieldvalues[$field]) && isset($data['alias']))
|
||||
{
|
||||
$fieldvalues[$data['alias']] = $fieldvalues[$data['field']];
|
||||
$field = $data['alias'];
|
||||
@ -1002,7 +1002,7 @@ class e_form
|
||||
$tdclass = vartrue($data['class']);
|
||||
if($field == 'checkboxes') $tdclass = $tdclass ? $tdclass.' autocheck e-pointer' : 'autocheck e-pointer';
|
||||
// there is no other way for now - prepare user data
|
||||
if('user' == $data['type']/* && isset($data['readParms']['idField'])*/)
|
||||
if('user' == varset($data['type'], '')/* && isset($data['readParms']['idField'])*/)
|
||||
{
|
||||
if(is_string($data['readParms'])) parse_str($data['readParms'], $data['readParms']);
|
||||
if(isset($data['readParms']['idField']))
|
||||
@ -1099,7 +1099,7 @@ class e_form
|
||||
break;
|
||||
}
|
||||
|
||||
switch($attributes['type'])
|
||||
switch(varset($attributes['type'],''))
|
||||
{
|
||||
case 'number':
|
||||
if($parms)
|
||||
|
Reference in New Issue
Block a user