<ul>
<?php if (isset($characterSheets) || isset($characterSheet) || isset($this->data['CharacterSheet'])): ?>
- <li><?php echo $html->link(__('List of All CharacterSheets', true), array('action' => 'index'));?></li>
- <li><?php echo $html->link(__('New CharacterSheet', true), array('action' => 'add')); ?><?php endif; ?>
+<li><?php echo $html->link(__('List of All CharacterSheets', true), array('action' => 'index'));?></li>
+<li><?php echo $html->link(__('New CharacterSheet', true), array('action' => 'add')); ?>
+<?php endif; ?>
+
<?php if (isset($system['System']['name'])): ?>
- <li><?php echo sprintf(__("%s's Home", true), $html->link($system['System']['name']), array('controller' => 'systems', 'action' => 'view', $system['System']['id'])); ?> </li>
+<li>
+<?php
+ echo $html->link(
+ sprintf(__("%s's Home", true), $system['System']['name']),
+ array('controller' => 'systems', 'action' => 'view', $system['System']['id'])
+ );
+?>
+</li>
<?php elseif (isset($this->data['System']['name'])): ?>
- <li><?php echo $html->link(sprintf(__("%s's Home", true), $this->data['System']['name']), array('controller' => 'systems', 'action' => 'view', $this->data['System']['id'])); ?> </li>
+<li>
+<?php
+ echo $html->link(
+ sprintf(__("%s's Home", true), $this->data['System']['name']),
+ array('controller' => 'systems', 'action' => 'view', $this->data['System']['id'])
+ );
+?>
+</li>
<?php elseif (isset($characterSheet['System']['name'])): ?>
- <li><?php echo $html->link(sprintf(__("%s's Home", true), $characterSheet['System']['name']), array('controller' => 'systems', 'action' => 'view', $characterSheet['System']['id'])); ?> </li>
+<li>
+<?php
+ echo $html->link(
+ sprintf(__("%s's Home", true), $characterSheet['System']['name']),
+ array('controller' => 'systems', 'action' => 'view', $characterSheet['System']['id'])
+ );
+?>
+</li>
<?php endif; ?>
<li><?php echo $html->link(__('List of All Systems', true), '/admin/systems/index'); ?></li>
<ul>
<?php if (isset($system['System']['name'])): ?>
- <li><?php echo $html->link((sprintf(__("%s's Home", true), $system['System']['name']), array('controller' => 'systems', 'action' => 'view', $system['System']['id'])); ?> </li>
+<li>
+<?php
+ echo $html->link(
+ sprintf(__("%s's Home", true), $system['System']['name']),
+ array('controller' => 'systems', 'action' => 'view', $system['System']['id'])
+ );
+?>
+</li>
<?php endif; ?>
- <li><?php echo $html->link(__('List of All Systems', true), array('controller' => 'systems', 'action' => 'index')); ?></li>
+<li><?php echo $html->link(__('List of All Systems', true), array('controller' => 'systems', 'action' => 'index')); ?></li>
<?php if ($user['User']['id'] && isset($system['System']['id'])): ?>
- <li><?php echo $html->link(__('New Character', true), array('controller' => 'characters', 'action' => 'add', 'system_id:'.$system['System']['id'])); ?></li>
+<li><?php echo $html->link(__('New Character', true), array('controller' => 'characters', 'action' => 'add', 'system_id:'.$system['System']['id'])); ?></li>
<?php endif; ?>
</ul>