Commit f612f1eb authored by filip's avatar filip
Browse files

Fixed code formatting to tabs

parent 06697fd2
...@@ -65,7 +65,8 @@ $form['tabs']['message'] = array( ...@@ -65,7 +65,8 @@ $form['tabs']['message'] = array(
'keyfield' => 'hfs_id', 'keyfield' => 'hfs_id',
'valuefield' => 'hfs_name' 'valuefield' => 'hfs_name'
), ),
'validators' => array ( 0 => array ( 'type' => 'ISINT', 'validators' => array ( 0 => array (
'type' => 'ISINT',
'errmsg'=> 'recipient_id_is_not_integer'), 'errmsg'=> 'recipient_id_is_not_integer'),
), ),
'value' => ($_SESSION['s']['user']['typ'] != 'admin')?array(1 => 'Administrator'):'' 'value' => ($_SESSION['s']['user']['typ'] != 'admin')?array(1 => 'Administrator'):''
...@@ -88,7 +89,7 @@ $form['tabs']['message'] = array( ...@@ -88,7 +89,7 @@ $form['tabs']['message'] = array(
'datatype' => 'TEXT', 'datatype' => 'TEXT',
'formtype' => 'TEXTAREA', 'formtype' => 'TEXTAREA',
'validators' => array( 0 => array( 'type' => 'NOTEMPTY', 'validators' => array( 0 => array( 'type' => 'NOTEMPTY',
'errmsg'=> 'message_is_empty' 'errmsg' => 'message_is_empty'
), ),
), ),
'default' => '', 'default' => '',
......
...@@ -59,7 +59,7 @@ $form['tabs']['message'] = array( ...@@ -59,7 +59,7 @@ $form['tabs']['message'] = array(
'hfs_name' => array( 'hfs_name' => array(
'datatype' => 'VARCHAR', 'datatype' => 'VARCHAR',
'formtype' => 'TEXT', 'formtype' => 'TEXT',
'validators' => array( 0 => array( 'type' => 'NOTEMPTY', 'validators'=> array( 0 => array( 'type' => 'NOTEMPTY',
'errmsg'=> 'subject_is_empty' 'errmsg'=> 'subject_is_empty'
), ),
), ),
...@@ -68,7 +68,7 @@ $form['tabs']['message'] = array( ...@@ -68,7 +68,7 @@ $form['tabs']['message'] = array(
'width' => '30', 'width' => '30',
'maxlength' => '255' 'maxlength' => '255'
), ),
//*** END Datatable columns ********************************** //*** END Datatable columns *********************************
) )
); );
?> ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment