mirror of
https://github.com/friendica/friendica
synced 2024-12-29 18:42:19 +00:00
1f09e7ad23
1. Add template category 'end' that places content right before final </body> tag 2. Move most Javascript from tpl files into one cacheable file, theme.js 3. Load scripts at end of the HTML document instead of in the header 4. Minify several Javascript files Note that the second and third things were only done for Frost and Frost Mobile. Doing it for every theme means going through every .tpl for every theme and rearranging the Javascript, which is tedious.
31 lines
1.2 KiB
Smarty
31 lines
1.2 KiB
Smarty
|
|
<h4><a href="$admurl">$admtxt</a></h4>
|
|
<ul class='admin linklist'>
|
|
<li class='admin button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
|
<li class='admin button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
|
|
<li class='admin button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li>
|
|
<li class='admin button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li>
|
|
<li class='admin button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
|
|
</ul>
|
|
|
|
{{ if $admin.update }}
|
|
<ul class='admin linklist'>
|
|
<li class='admin button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
|
|
<li class='admin button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
|
</ul>
|
|
{{ endif }}
|
|
|
|
|
|
{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }}
|
|
<ul class='admin linklist'>
|
|
{{ for $admin.plugins_admin as $l }}
|
|
<li class='admin button $l.2'><a href='$l.0'>$l.1</a></li>
|
|
{{ endfor }}
|
|
</ul>
|
|
|
|
|
|
<h4>$logtxt</h4>
|
|
<ul class='admin linklist'>
|
|
<li class='admin button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
|
</ul>
|
|
|