Revision 1907
Added by Dietmar about 11 years ago
modify.php | ||
---|---|---|
4 | 4 |
* @category modules |
5 | 5 |
* @package menu_link |
6 | 6 |
* @author WebsiteBaker Project |
7 |
* @copyright 2009-2011, Website Baker Org. e.V.
|
|
8 |
* @link http://www.websitebaker2.org/
|
|
7 |
* @copyright 2009-2013, WebsiteBaker Org. e.V.
|
|
8 |
* @link http://www.websitebaker.org/
|
|
9 | 9 |
* @license http://www.gnu.org/licenses/gpl.html |
10 | 10 |
* @platform WebsiteBaker 2.8.x |
11 | 11 |
* @requirements PHP 5.2.2 and higher |
12 | 12 |
* @version $Id$ |
13 |
* @filesource $HeadURL$
|
|
13 |
* @filesource $HeadURL$
|
|
14 | 14 |
* @lastmodified $Date$ |
15 | 15 |
* |
16 | 16 |
*/ |
... | ... | |
85 | 85 |
$table_s = TABLE_PREFIX."sections"; |
86 | 86 |
foreach($links as $pid=>$l) { |
87 | 87 |
if($query_section = $database->query("SELECT section_id, module FROM $table_s WHERE page_id = '$pid' ORDER BY position")) { |
88 |
while($section = $query_section->fetchRow()) { |
|
88 |
while($section = $query_section->fetchRow(MYSQL_ASSOC)) {
|
|
89 | 89 |
// get section-anchor |
90 |
if(defined('SEC_ANCHOR') && SEC_ANCHOR!='') { |
|
90 |
if(defined('SEC_ANCHOR') && SEC_ANCHOR!='none') {
|
|
91 | 91 |
$targets[$pid][] = SEC_ANCHOR.$section['section_id']; |
92 | 92 |
} else { |
93 | 93 |
$targets[$pid] = array(); |
Also available in: Unified diff
update headerinfo