Project

General

Profile

« Previous | Next » 

Revision 398

Added by Matthias almost 18 years ago

Fixed IE allows to set a page as parent of itself (#320)

View differences:

settings.php
1 1
<?php
2 2

  
3
// $Id$
4

  
3 5
/*
4 6

  
5 7
 Website Baker Project <http://www.websitebaker.org/>
......
253 255
			if($results_array['parent'] == $page['page_id']) {
254 256
				$template->set_var('SELECTED', ' selected');
255 257
			} elseif($results_array['page_id'] == $page['page_id']) {
256
				$template->set_var('SELECTED', ' disabled');
258
				$template->set_var('SELECTED', ' disabled="disabled" style="color: #aaa;"');
257 259
				$list_next_level=false;
258 260
			} elseif($can_modify != true) {
259
				$template->set_var('SELECTED', ' disabled');
261
				$template->set_var('SELECTED', ' disabled="disabled" style="color: #aaa;"');
260 262
			} else {
261 263
				$template->set_var('SELECTED', '');
262 264
			}

Also available in: Unified diff