Project

General

Profile

« Previous | Next » 

Revision 1301

Added by Dietmar over 14 years ago

Tickets #932 change deprecated eregi functions
Tickets #948 fixed Multiple use of same parametrised droplet - parameter handling
Upgrade Droplets to Version 1.0.3
update some headerinfos
non existing pages, will be created if clicking save in page settings

View differences:

settings.php
277 277

  
278 278
		while($page = $get_pages->fetchRow())
279 279
        {
280
			if($admin->page_is_visible($page)==false)
281
				continue;
280
			if($admin->page_is_visible($page)==false) { continue; }
281

  
282 282
			$template->set_var('FLAG_CODE_ICON',' none ');
283 283
			if( $page['parent'] == 0 )
284 284
            {
285 285
				$template->set_var('FLAG_CODE_ICON','url('.THEME_URL.'/images/flags/'.strtolower($page['language']).'.png)');
286 286
			}
287

  
287 288
			// If the current page cannot be parent, then its children neither
288 289
			$list_next_level = true;
289 290
			// Stop users from adding pages with a level of more than the set page level limit
......
314 315
                // $space = str_repeat(' ', 3);  $space.'<'..'>'
315 316
				$template->set_var(array(
316 317
										'VALUE' => $page['page_code'],
317
                                        'PAGE_VALUE' => $title_prefix.$page['page_code'],
318
										'PAGE_CODE' => $title_prefix.$page['menu_title']
318
                                        'PAGE_VALUE' => $title_prefix.$page['menu_title'],
319
										'PAGE_CODE' => $title_prefix.$page['page_id']
319 320
										)
320 321
								);
321
				if($results_array['page_code'] == $page['page_code']) {
322
				if($results_array['page_code'] == $page['page_code'])
323
                {
322 324
					$template->set_var('SELECTED', ' selected="selected"');
323
				} elseif($results_array['page_code'] == $page['page_code']) {
325
				} elseif($results_array['page_code'] == $page['page_code'])
326
                {
324 327
					$template->set_var('SELECTED', ' disabled="disabled" class="disabled"');
325 328
					$list_next_level=false;
326
				} elseif($can_modify != true) {
329
				} elseif($can_modify != true)
330
                {
327 331
					$template->set_var('SELECTED', ' disabled="disabled" class="disabled"');
328 332
				} else {
329 333
					$template->set_var('SELECTED', '');

Also available in: Unified diff