diff options
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/admin.tpl | 6 | ||||
-rw-r--r-- | admin/themes/default/template/element_set_global.tpl | 2 | ||||
-rw-r--r-- | admin/themes/default/template/footer.tpl | 10 | ||||
-rw-r--r-- | admin/themes/default/template/intro.tpl | 3 |
4 files changed, 20 insertions, 1 deletions
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index ac4480de1..f95173a02 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -19,7 +19,9 @@ jQuery().ready(function(){ldelim} <dd> <ul> <li><a href="{$U_ADD_PHOTOS}">{'Add'|@translate}</a></li> +{if $ENABLE_SYNCHRONIZATION} <li><a href="{$U_WAITING}">{'Waiting'|@translate}</a></li> +{/if} <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> @@ -68,10 +70,14 @@ jQuery().ready(function(){ldelim} <dt class="rdion"><span>{'Tools'|@translate} </span></dt> <dd> <ul> +{if $ENABLE_SYNCHRONIZATION} <li><a href="{$U_CAT_UPDATE}">{'Synchronize'|@translate}</a></li> <li><a href="{$U_SITE_MANAGER}">{'Site manager'|@translate}</a></li> +{/if} <li><a href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li> +{if $ENABLE_SYNCHRONIZATION} <li><a href="{$U_THUMBNAILS}">{'Thumbnails'|@translate}</a></li> +{/if} <li><a href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li> <li><a href="{$U_PENDING_COMMENTS}">{'Pending Comments'|@translate}</a></li> </ul> diff --git a/admin/themes/default/template/element_set_global.tpl b/admin/themes/default/template/element_set_global.tpl index 3a5e738e0..288ceff9b 100644 --- a/admin/themes/default/template/element_set_global.tpl +++ b/admin/themes/default/template/element_set_global.tpl @@ -85,7 +85,9 @@ {if isset($show_delete_form) } <fieldset> <legend>{'Deletions'|@translate}</legend> +{if $ENABLE_SYNCHRONIZATION} <p style="font-style:italic">{'Note: photo deletion does not apply to photos added by synchronization. For photos added by synchronization, remove them from the filesystem and then perform another synchronization.'|@translate}</p> +{/if} <p> {'target'|@translate} <label><input type="radio" name="target_deletion" value="all"> {'all'|@translate}</label> diff --git a/admin/themes/default/template/footer.tpl b/admin/themes/default/template/footer.tpl index f287bab0e..16491a724 100644 --- a/admin/themes/default/template/footer.tpl +++ b/admin/themes/default/template/footer.tpl @@ -61,5 +61,15 @@ </script> {/literal} +{if not $ENABLE_SYNCHRONIZATION} +{literal} +<script type='text/javascript'> + $(document).ready(function() { + $("#helpSynchro").hide(); + }); +</script> +{/literal} +{/if} + </body> </html>
\ No newline at end of file diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl index efebaebdb..0762c011f 100644 --- a/admin/themes/default/template/intro.tpl +++ b/admin/themes/default/template/intro.tpl @@ -59,7 +59,7 @@ jQuery().ready(function(){ldelim} </dd> </dl> - +{if $ENABLE_SYNCHRONIZATION} <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"> @@ -75,3 +75,4 @@ jQuery().ready(function(){ldelim} <input type="submit" value="" name="submit"> </div> </form> +{/if}
\ No newline at end of file |