-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9921ad
commit a868d8e
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
newscoop/application/modules/admin/views/scripts/themes/wizard-theme-playlists.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
$translator = \Zend_Registry::get('container')->getService('translator'); | ||
?> | ||
<div class="articleTypes"> | ||
<form id="" method="post" action="#"> | ||
<fieldset> | ||
<legend><?php echo $translator->trans('Theme playlists', array(), 'themes') ?></legend> | ||
<?php dump($this->theme, $this->themePlaylists); ?> | ||
<ul> | ||
<?php foreach($this->themePlaylists['list'] as $themePlaylist) { ?> | ||
<li class="playlist"> | ||
<h4><span><?php echo $themePlaylist['@attributes']['name'] ?></span></h4> | ||
<ul> | ||
<li><?php echo $translator->trans('Max items', array(), 'themes') ?>: <?php echo $themePlaylist['@attributes']['maxItems'] ?></li> | ||
<?php if (!empty($themePlaylist['@attributes']['notes'])){ ?> | ||
<li><?php echo $translator->trans('Notes', array(), 'themes') ?>: <?php echo $themePlaylist['@attributes']['notes'] ?> | ||
</li> | ||
<?php } ?> | ||
<?php if (count($themePlaylist['template']) > 0){ ?> | ||
<ul> | ||
<?php foreach($themePlaylist['template'] as $template) { ?> | ||
<li><?php echo $template['@attributes']['file'] ?></li> | ||
<?php } ?> | ||
</ul> | ||
<?php } ?> | ||
</ul> | ||
</li> | ||
<?php } ?> | ||
</ul> | ||
</fieldset> | ||
</form> | ||
</div> |