Korrektur beim Erzeugen von Übersicht-Seiten, Links waren nicht bei allen Unterseitentypen korrekt gesetzt
This commit is contained in:
@@ -103,6 +103,7 @@ if ($specialSite !== false)
|
||||
$tmp_data['content']['pageContents'] = fnc_getSiteContents($tmp_content['siteContents'], $prefix);
|
||||
$sub_content = $tmp_data['content']['pageContents'];
|
||||
$sub_content['type'] = 'standard';
|
||||
$sub_content['siteId'] = $content[$prefix . '_navId'];
|
||||
}
|
||||
}
|
||||
$data['content']['uebersicht'][] = $sub_content;
|
||||
|
||||
@@ -99,6 +99,7 @@ if ($specialSite !== false)
|
||||
$tmp_data['content']['pageContents'] = fnc_getSiteContents($tmp_content['siteContents'], $prefix);
|
||||
$sub_content = $tmp_data['content']['pageContents'];
|
||||
$sub_content['type'] = 'standard';
|
||||
$sub_content['siteId'] = $content[$prefix . '_navId'];
|
||||
}
|
||||
}
|
||||
$data['content']['uebersicht'][] = $sub_content;
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
var <?php echo $var; ?> ="<?php echo $value; ?>";
|
||||
var <?php echo $var; ?> = "<?php echo $value; ?>";
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<div class="uebersicht grid_40col wrapper">
|
||||
<?php
|
||||
|
||||
foreach ( $this -> _data as $data )
|
||||
foreach ($this->_data as $data)
|
||||
{
|
||||
?>
|
||||
<div class="grid_40col">
|
||||
<a class="link" href="index.php?siteId=20&navId=<?php echo $data[ 'siteId' ]; ?>">
|
||||
<a class="link" href="index.php?siteId=20&navId=<?php echo $data['siteId']; ?>">
|
||||
<?php
|
||||
$content = clone( $this );;
|
||||
$content -> setTemplate ( 'uebersicht_' . $data[ 'type' ] );
|
||||
$content -> setData ( $data );
|
||||
echo $content -> output ( );
|
||||
$content = clone($this);;
|
||||
$content->setTemplate('uebersicht_' . $data['type']);
|
||||
$content->setData($data);
|
||||
echo $content->output();
|
||||
?>
|
||||
<br class="fix"/>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user