feature 1507: ability to install themes directly from piwigo.org/ext.
The theme manager backend for installation is the plugin manager backend, because they are very close. thanks to feature:1502, installing a theme and installing a plugin are very similare operations. The only differences are the installation directory and the main file to find in the archive. This is only the very first step, the "add new theme" screen needs many improvements, to begin with display style. git-svn-id: http://piwigo.org/svn/trunk@5143 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
279196b283
commit
395b09de3d
5 changed files with 177 additions and 8 deletions
|
|
@ -22,6 +22,7 @@ jQuery().ready(function(){ldelim}
|
|||
<li><a href="{$U_CONFIG_DISPLAY}">{'Default display'|@translate}</a></li>
|
||||
<li><a href="{$U_CONFIG_MENUBAR}">{'Menu'|@translate}</a></li>
|
||||
<li><a href="{$U_CONFIG_EXTENTS}">{'Templates'|@translate}</a></li>
|
||||
<li><a href="{$U_CONFIG_THEMES}">{'Themes'|@translate}</a></li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
|
|
|
|||
13
admin/themes/default/template/themes_new.tpl
Normal file
13
admin/themes/default/template/themes_new.tpl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div class="titrePage">
|
||||
<h2>{'Install New Theme'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{if isset($themes)}
|
||||
<ul>
|
||||
{foreach from=$new_themes item=theme name=themes_loop}
|
||||
<li>
|
||||
<img src="{$theme.src}"> {$theme.name} <a href="{$theme.install_url}">Install</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
Loading…
Add table
Add a link
Reference in a new issue