[% USE JSON -%] [% WRAPPER 'master_templates/master.tmpl' theme="yui" breadcrumburl = '/scripts/thememanager_landing' scripts = [ '/js/photobox.js', '/js/photobox_controller.js', ] stylesheets = [ '/yui/container/assets/container.css', '/photobox.css' ] extrastyle = ' #doctitle h1 { color:#003541; font-size:14px; } h2{ font-size:12px; } .highlight{ background: #f3f3f3; border: 1px solid #ACCCB8; padding: 12px 5px 15px 5px; margin-bottom:12px; width:450px; } .tbl_but_wrap{ float:left; font-size:7px; margin:0 auto; padding-bottom:2px; padding-top:3px; text-align:center; width:54px; } ' -%]

[% locale.maketext("Manage “[_1]”[comment,name of a theme] Themes", data.appname ) %]

[% locale.maketext("Install Theme") %]

Theme Ball:
[% IF data.themes.size > 0 %]

[% locale.maketext( "“[_1]” Themes", data.appname) %]

[% FOR theme IN data.themes.sort() %] [% NEXT IF (theme == 'jupiter') %] [% END %]
[% locale.maketext( "Theme" ) %] [% locale.maketext("Type") %] [% locale.maketext( "Actions" ) %]
[% theme FILTER html %] Preview “[% theme FILTER html %]” [% data.appname %]
[% IF ! data.immutable.$theme %] Delete “[% theme FILTER html %]”
[% locale.maketext("Delete") %]
[% END %]

= [% locale.maketext("Preview Theme") %]
= [% locale.maketext("Download Theme") %]

[% END %]

Addon [% data.appname %] Themes

[% INCLUDE 'photobox.tmpl'; SET jsphotos = []; FOR theme=data.themes; NEXT IF (theme == 'jupiter'); jsphotos.push({ src => "${cp_security_token}/scripts/themeimage/${theme.uri}/preview?app=${data.app}", caption => theme.html, }); END; SET jsphotosstring = jsphotos.json(); -%] [% END #wrapper -%]