aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/intro.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes/default/template/intro.tpl')
-rw-r--r--admin/themes/default/template/intro.tpl79
1 files changed, 79 insertions, 0 deletions
diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl
new file mode 100644
index 000000000..86c65c0a3
--- /dev/null
+++ b/admin/themes/default/template/intro.tpl
@@ -0,0 +1,79 @@
+{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
+{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"}
+
+<script type="text/javascript">
+jQuery().ready(function(){ldelim}
+ jQuery('.cluetip').cluetip({ldelim}
+ width: 300,
+ splitTitle: '|'
+ });
+});
+</script>
+
+<h2>{'Piwigo administration'|@translate}</h2>
+<dl style="padding-top: 30px;">
+ <dt>{'Piwigo version'|@translate}</dt>
+ <dd>
+ <ul>
+ <li><a href="{$PHPWG_URL}" onclick="window.open(this.href, '');
+ return false;">Piwigo</a> {$PWG_VERSION}</li>
+ <li><a href="{$U_CHECK_UPGRADE}">{'Check for upgrade'|@translate}</a></li>
+{if isset($SUBSCRIBE_BASE_URL)}
+ <li><a href="{$SUBSCRIBE_BASE_URL}{$EMAIL}" onclick="window.open(this.href); return false;" class="cluetip" title="{'Piwigo Announcements Newsletter'|@translate}|{'Subscribe to Piwigo Announcements Newsletter'|@translate|htmlspecialchars|nl2br}">{'Subscribe %s to Piwigo Announcements Newsletter'|@translate|@sprintf:$EMAIL}</a></li>
+{/if}
+ </ul>
+ </dd>
+
+ <dt>{'Environment'|@translate}</dt>
+ <dd>
+ <ul>
+ <li>{'Operating system'|@translate}: {$OS}</li>
+ <li>PHP: {$PHP_VERSION} (<a href="{$U_PHPINFO}" onclick="window.open(this.href, '');
+ return false;">{'Show info'|@translate}</a>) [{$PHP_DATATIME}]</li>
+ <li>{$DB_ENGINE}: {$DB_VERSION} [{$DB_DATATIME}]</li>
+ </ul>
+ </dd>
+
+ <dt>{'Database'|@translate}</dt>
+ <dd>
+ <ul>
+ <li>
+ {$DB_ELEMENTS}
+ {if isset($waiting)}
+ (<a href="{$waiting.URL}">{$waiting.INFO}</a>)
+ {/if}
+
+ {if isset($first_added)}
+ ({$first_added.DB_DATE})
+ {/if}
+ </li>
+ <li>{$DB_CATEGORIES} ({$DB_IMAGE_CATEGORY})</li>
+ <li>{$DB_TAGS} ({$DB_IMAGE_TAG})</li>
+ <li>{$DB_USERS}</li>
+ <li>{$DB_GROUPS}</li>
+ <li>
+ {$DB_COMMENTS}
+ {if isset($unvalidated)}
+ (<a href="{$unvalidated.URL}">{$unvalidated.INFO}</a>)
+ {/if}
+ </li>
+ </ul>
+ </dd>
+</dl>
+
+
+<form name="QuickSynchro" action="{$U_CAT_UPDATE}" method="post" id="QuickSynchro" style="display: block; text-align:right;">
+<div>
+<input type="hidden" name="sync" value="files" checked="checked">
+<input type="hidden" name="display_info" value="1" checked="checked">
+<input type="hidden" name="add_to_caddie" value="1" checked="checked">
+<input type="hidden" name="privacy_level" value="0" checked="checked">
+<input type="hidden" name="sync_meta" checked="checked">
+<input type="hidden" name="simulate" value="0">
+<input type="hidden" name="subcats-included" value="1" checked="checked">
+</div>
+<div class="bigbutton">
+<span class="bigtext">{'Quick Local Synchronization'|@translate}</span>
+<input type="submit" value="" name="submit">
+</div>
+</form>