Commit 0cc22c0e authored by cfoe's avatar cfoe

removed duplicated language change

parent bdbd9955
......@@ -139,25 +139,6 @@ $form['tabs']['main'] = array (
'rows' => '',
'cols' => ''
),
'language' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'language_is_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-z]{2}$/i',
'errmsg'=> 'language_regex_mismatch'),
),
'regex' => '',
'errmsg' => '',
'default' => '',
'value' => $language_list,
'separator' => '',
'width' => '30',
'maxlength' => '2',
'rows' => '',
'cols' => ''
),
'app_theme' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
......
......@@ -5,12 +5,6 @@
<div class="pnl_formsarea">
<fieldset class="inlineLabels">
<div class="ctrlHolder">
<label for="language">{tmpl_var name='language_txt'}</label>
<select name="language" id="language" class="selectInput flags">
{tmpl_var name='language'}
</select>
</div>
<!-- TODO: If user theme change is activated -->
<div class="ctrlHolder">
<label for="app_theme">{tmpl_var name='app_theme_txt'}</label>
......
Markdown is supported
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