Revision 1244
Added by Dietmar almost 15 years ago
settings.php | ||
---|---|---|
142 | 142 |
// Work-out if we should show the "manage sections" link |
143 | 143 |
$query_sections = $database->query("SELECT section_id FROM ".TABLE_PREFIX."sections WHERE page_id = '$page_id' AND module = 'menu_link'"); |
144 | 144 |
if($query_sections->numRows() > 0) { |
145 |
$template->set_var('DISPLAY_MANAGE_SECTIONS', 'none');
|
|
145 |
$template->set_var('DISPLAY_MANAGE_SECTIONS', 'display:none;');
|
|
146 | 146 |
} elseif(MANAGE_SECTIONS == 'enabled') { |
147 | 147 |
$template->set_var('TEXT_MANAGE_SECTIONS', $HEADING['MANAGE_SECTIONS']); |
148 | 148 |
} else { |
149 |
$template->set_var('DISPLAY_MANAGE_SECTIONS', 'none');
|
|
149 |
$template->set_var('DISPLAY_MANAGE_SECTIONS', 'display:none;');
|
|
150 | 150 |
} |
151 | 151 |
|
152 | 152 |
// Visibility |
... | ... | |
158 | 158 |
$template->set_var('REGISTERED_SELECTED', ' selected="selected"'); |
159 | 159 |
} elseif($results_array['visibility'] == 'hidden') { |
160 | 160 |
$template->set_var('HIDDEN_SELECTED', ' selected="selected"'); |
161 |
} elseif($results_array['visibility'] == 'none') {
|
|
161 |
} elseif($results_array['visibility'] == 'display:none;') {
|
|
162 | 162 |
$template->set_var('NO_VIS_SELECTED', ' selected="selected"'); |
163 | 163 |
} |
164 | 164 |
// Group list 1 (admin_groups) |
... | ... | |
270 | 270 |
if($results_array['visibility'] == 'private' OR $results_array['visibility'] == 'registered') { |
271 | 271 |
$template->set_var('DISPLAY_VIEWERS', ''); |
272 | 272 |
} else { |
273 |
$template->set_var('DISPLAY_VIEWERS', 'none');
|
|
273 |
$template->set_var('DISPLAY_VIEWERS', 'display:none;');
|
|
274 | 274 |
} |
275 | 275 |
|
276 | 276 |
//-- insert page_code 20090904--> |
... | ... | |
405 | 405 |
'TITLE' => ($title_prefix.$page['menu_title']), |
406 | 406 |
'MENU-TITLE' => ($title_prefix.$page['menu_title']), |
407 | 407 |
'PAGE-TITLE' => ($title_prefix.$page['page_title']), |
408 |
'FLAG_ICON' => 'none',
|
|
408 |
'FLAG_ICON' => ' none ',
|
|
409 | 409 |
)); |
410 | 410 |
|
411 | 411 |
if($results_array['parent'] == $page['page_id']) { |
... | ... | |
468 | 468 |
|
469 | 469 |
// Menu list |
470 | 470 |
if(MULTIPLE_MENUS == false) { |
471 |
$template->set_var('DISPLAY_MENU_LIST', 'none');
|
|
471 |
$template->set_var('DISPLAY_MENU_LIST', 'display:none;');
|
|
472 | 472 |
} |
473 | 473 |
// Include template info file (if it exists) |
474 | 474 |
if($results_array['template'] != '') { |
Also available in: Unified diff
Ticket #911 2. continue to fix CSS-errors in WB backend