aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/admin.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
committerplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
commit14778ce673277f2df41f963aa70df1cbed427294 (patch)
tree8c723d4d9827876dbf19d2bd581405fc50910860 /admin/themes/default/template/admin.tpl
parentc396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff)
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/admin.tpl')
-rw-r--r--admin/themes/default/template/admin.tpl118
1 files changed, 118 insertions, 0 deletions
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl
new file mode 100644
index 000000000..8de4f69ea
--- /dev/null
+++ b/admin/themes/default/template/admin.tpl
@@ -0,0 +1,118 @@
+{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" }
+{known_script id="jquery.ui.accordion" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.accordion.packed.js" }
+{known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.tipTip.minified.js" }
+
+<script type="text/javascript">
+jQuery().ready(function(){ldelim}
+ jQuery('#menubar').accordion({ldelim}
+ header: "dt.rdion",
+ event: "click",
+ active: {$U_ACTIVE_MENU|default:$themeconf.selected_admin_menu}
+ });
+});
+</script>
+
+<div id="menubar">
+ <div id="adminHome"><a href="{$U_ADMIN}">Administration Home</a></div>
+ <dl class="first">
+ <dt class="rdion"><span>{'Configuration'|@translate}&nbsp;</span></dt>
+ <dd>
+ <ul>
+ <li><a href="{$U_CONFIG_GENERAL}">{'General'|@translate}</a></li>
+ <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>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt class="rdion"><span>{'Categories'|@translate}&nbsp;</span></dt>
+ <dd>
+ <ul>
+ <li><a href="{$U_SITE_MANAGER}">{'Site manager'|@translate}</a></li>
+ <li><a href="{$U_CAT_UPDATE}">{'Synchronize'|@translate}</a></li>
+ <li><a href="{$U_CATEGORIES}">{'Manage'|@translate}</a></li>
+ <li><a href="{$U_MOVE}">{'Move'|@translate}</a></li>
+ <li><a href="{$U_CAT_OPTIONS}">{'Properties'|@translate}</a></li>
+ <li><a href="{$U_PERMALINKS}">{'Permalinks'|@translate}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt class="rdion"><span>{'Pictures'|@translate}&nbsp;</span></dt>
+ <dd>
+ <ul>
+ <li><a href="{$U_ADD_PHOTOS}">{'Add'|@translate}</a></li>
+ <li><a href="{$U_WAITING}">{'Waiting'|@translate}</a></li>
+ <li><a href="{$U_THUMBNAILS}">{'Thumbnails'|@translate}</a></li>
+ <li><a href="{$U_RATING}">{'Rating'|@translate}</a></li>
+ <li><a href="{$U_TAGS}">{'Tags'|@translate}</a></li>
+ <li><a href="{$U_CADDIE}">{'Caddie'|@translate}</a></li>
+ <li><a href="{$U_RECENT_SET}">{'Recent pictures'|@translate}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt class="rdion"><span>{'Identification'|@translate}&nbsp;</span></dt>
+ <dd>
+ <ul>
+ <li><a href="{$U_USERS}">{'Users'|@translate}</a></li>
+ <li><a href="{$U_GROUPS}">{'Groups'|@translate}</a></li>
+ <li><a href="{$U_NOTIFICATION_BY_MAIL}">{'Notification'|@translate}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt class="rdion"><span>{'Specials'|@translate}&nbsp;</span></dt>
+ <dd>
+ <ul>
+ <li><a href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li>
+ <li><a href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li>
+ <li><a href="{$U_ADVANCED_FEATURE}">{'Advanced features'|@translate}</a></li>
+ <li><a href="{$U_PLUGINS}">{'Plugins'|@translate}</a>
+ {if !empty($plugin_menu_items)}
+ <ul class="scroll">
+ {foreach from=$plugin_menu_items item=menu_item}
+ <li><a href="{$menu_item.URL}">{$menu_item.NAME}</a></li>
+ {/foreach}
+ </ul>
+ {/if}
+ </li>
+ </ul>
+ </dd>
+ </dl>
+</div> <!-- menubar -->
+
+<div id="content" class="content">
+
+ {if isset($TABSHEET)}
+ {$TABSHEET}
+ {/if}
+ {if isset($U_HELP)}
+ <ul class="HelpActions">
+ <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/help.png" class="button" alt="(?)"></a></li>
+ </ul>
+ {/if}
+
+ {if isset($errors)}
+ <div class="errors">
+ <ul>
+ {foreach from=$errors item=error}
+ <li>{$error}</li>
+ {/foreach}
+ </ul>
+ </div>
+ {/if}
+
+ {if isset($infos)}
+ <div class="infos">
+ <ul>
+ {foreach from=$infos item=info}
+ <li>{$info}</li>
+ {/foreach}
+ </ul>
+ </div>
+ {/if}
+
+ {$ADMIN_CONTENT}
+</div>