added defaults plugin, repaired navigation edit

This commit is contained in:
Logsol 2013-07-19 12:23:05 +02:00
parent 6b689ae915
commit e6317a6326
4 changed files with 15 additions and 2 deletions

View file

@ -30,13 +30,16 @@
<dt>Url</dt>
<dd>
<table>
<?php
// Wenn hier echte Controller hinzukommen sollen, einfach in der defaults.config.ini unter sites eintragen
if(!empty($this->sites['defaults'])): ?>
<tr>
<td>
<?php foreach($this->sites['defaults'] as $key => $site): ?>
<input type="radio" checked="checked" name="url" id="sitedefault_<?php echo $key ?>" value="<?php echo $site ?>"/><label for="sitedefault_<?php echo $key ?>"><?php echo $site ?></label><br/>
<?php endforeach ?>
</td>
<?php endif; ?>
<td>
<?php foreach($this->sites['pages'] as $key => $site): ?>
<input type="radio" name="url" id="sitepage_<?php echo $key ?>" value="<?php echo $site ?>"/><label for="sitepage_<?php echo $key ?>"><?php echo $site ?></label><br/>