|
@@ -178,6 +178,7 @@ function handle_stylesheets() {
|
|
|
global $_configuration;
|
|
|
// Current style.
|
|
|
$currentstyle = api_get_setting('stylesheets');
|
|
|
+
|
|
|
$is_style_changeable = false;
|
|
|
|
|
|
if ($_configuration['access_url'] != 1) {
|
|
@@ -1148,7 +1149,7 @@ function generate_settings_form($settings, $settings_by_access_list) {
|
|
|
if (file_exists($file)) {
|
|
|
$value = file_get_contents($file);
|
|
|
}
|
|
|
- $form->addElement('textarea', $row['variable'], array(get_lang($row['title']), get_lang($row['comment'])) , array('rows'=>'10','cols'=>'50'), $hideme);
|
|
|
+ $form->addElement('textarea', $row['variable'], array(get_lang($row['title']), get_lang($row['comment'])) , array('class'=>'span6','rows'=>'10'), $hideme);
|
|
|
$default_values[$row['variable']] = $value;
|
|
|
} elseif ($row['variable'] == 'footer_extra_content') {
|
|
|
$file = api_get_path(SYS_PATH).api_get_home_path().'footer_extra_content.txt';
|
|
@@ -1156,10 +1157,10 @@ function generate_settings_form($settings, $settings_by_access_list) {
|
|
|
if (file_exists($file)) {
|
|
|
$value = file_get_contents($file);
|
|
|
}
|
|
|
- $form->addElement('textarea', $row['variable'], array(get_lang($row['title']), get_lang($row['comment'])) , array('rows'=>'10','cols'=>'50'), $hideme);
|
|
|
+ $form->addElement('textarea', $row['variable'], array(get_lang($row['title']), get_lang($row['comment'])) , array('rows'=>'10', 'class'=>'span6'), $hideme);
|
|
|
$default_values[$row['variable']] = $value;
|
|
|
} else {
|
|
|
- $form->addElement('textarea', $row['variable'], array(get_lang($row['title']), get_lang($row['comment'])) , array('rows'=>'10','cols'=>'50'), $hideme);
|
|
|
+ $form->addElement('textarea', $row['variable'], array(get_lang($row['title']), get_lang($row['comment'])) , array('rows'=>'10','class'=>'span6'), $hideme);
|
|
|
$default_values[$row['variable']] = $row['selected_value'];
|
|
|
}
|
|
|
break;
|