</li>
<?php foreach($character['System']['CharacterSheet'] as $characterSheet): ?>
+<?php if (file_exists(APP.DS.'views'.DS.'themed'.DS.$characterSheet['key_name'].DS.'characters'.DS.'view.ctp')): ?>
<li class="CharcterViewName" id="CharacterView<?php echo $characterSheet['id'] ?>">
<?php if (isset($this->params['named']['mode']) && $this->params['named']['mode'] == $characterSheet['key_name'] ): ?>
<?php
?>
<?php endif; ?>
</li>
+<?php endif; ?>
<?php endforeach; ?>
<?php if ($site_configs['System.allowUserSheet']['value']): ?>
+<li class="YourSkinLink">
+<?php
+echo $html->link("[".__('Your Skins', true)."]", array(
+ 'controller' => 'character_sheets',
+ 'action' => 'myindex',
+ ), array('escape' => false), false
+);
+ ?>
+</li>
<li class="SkinAddLink">
<?php
echo $html->link("[".__('Add', true)."]", array(
<div class="character_sheets">
<?php
- $header = __('CharacterSheets', true).
- $html->tag(
+ $header = __('CharacterSheets', true);
+ $header .= $html->tag(
'span',
$html->link(
__(' ...More', true),
'class' => 'link',
)
);
+ if (!$isAdmin) {
+ $header .= $html->tag(
+ 'span',
+ $html->link(
+ __('Your Skins', true),
+ array(
+ 'controller' => 'characte r_sheets',
+ 'action' => 'myindex',
+ )
+ ),
+ array(
+ 'class' => 'link',
+ )
+ );
+ }
$header .= $html->tag(
'span',
$html->link(