aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-10-19 15:31:27 +0000
committervdigital <vdigital@piwigo.org>2008-10-19 15:31:27 +0000
commita48c2e52816441e40d69bfd145813c2cd2d056af (patch)
tree7e48a5df5c831d065a5610090517eb61b96cae64
parenta007e95096d4356699eedb06412c3ff8e9700c28 (diff)
No metadata synchronization icon on a remote picture (Synchro failure)
git-svn-id: http://piwigo.org/svn/branches/2.0@2775 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/template/goto/picture_modify.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/template/goto/picture_modify.tpl b/admin/template/goto/picture_modify.tpl
index 038fc5ab6..65bc8f407 100644
--- a/admin/template/goto/picture_modify.tpl
+++ b/admin/template/goto/picture_modify.tpl
@@ -18,7 +18,9 @@
{if isset($U_JUMPTO) }
<li><a href="{$U_JUMPTO}" title="{'jump to image'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to image'|@translate}" /></a></li>
{/if}
+ {if !url_is_remote($path)}
<li><a href="{$U_SYNC}" title="{'synchronize metadata'|@translate}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}" /></a></li>
+ {/if}
</ul>
<form action="{$F_ACTION}" method="post" id="properties">