Project

General

Profile

« Previous | Next » 

Revision 1849

Added by Dietmar almost 12 years ago

  1. typofix page_extended in admin/settings and admin/pages/
    ! Fill empty option modules dropdown in admin/pages/sections.php

View differences:

sections.php
537 537
		$sql  = 'SELECT `section_id` FROM `'.TABLE_PREFIX.'sections` ';
538 538
		$sql .= 'WHERE `page_id` = '.$page_id.' AND `module` = "menu_link"';
539 539
		$query_sections = $database->query($sql);
540
		$tpl->set_var('TEXT_PLEASE_SELECT', $TEXT['NONE']);
540 541
		if($query_sections->numRows() == 0)
541 542
		{
543
			$tpl->set_var('TEXT_PLEASE_SELECT', $TEXT['PLEASE_SELECT']);
542 544
			// Modules list
543 545
		    $sql  = 'SELECT `name`,`directory`,`type` FROM `'.TABLE_PREFIX.'addons` ';
544 546
		    $sql .= 'WHERE `type` = "module" AND `function` = "page" AND `directory` != "menu_link" ';

Also available in: Unified diff