diff options
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/icon/synchronize.png | bin | 0 -> 782 bytes | |||
-rw-r--r-- | admin/themes/default/template/cat_list.tpl | 3 | ||||
-rw-r--r-- | admin/themes/default/template/cat_modify.tpl | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/admin/themes/default/icon/synchronize.png b/admin/themes/default/icon/synchronize.png Binary files differnew file mode 100644 index 000000000..767bb3b6d --- /dev/null +++ b/admin/themes/default/icon/synchronize.png diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl index 1917bb3fa..2a535c13a 100644 --- a/admin/themes/default/template/cat_list.tpl +++ b/admin/themes/default/template/cat_list.tpl @@ -74,6 +74,9 @@ jQuery(document).ready(function(){ldelim} {if isset($category.U_MANAGE_PERMISSIONS) } <li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{'edit album permissions'|@translate}" ><img src="{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'Permissions'|@translate}"></a></li> {/if} + {if isset($category.U_SYNC) } + <li><a href="{$category.U_SYNC}" title="{'Synchronize'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/synchronize.png" class="button" alt="{'Synchronize'|@translate}"></a></li> + {/if} {if isset($category.U_DELETE) } <li><a href="{$category.U_DELETE}" title="{'delete album'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete album'|@translate}"></a></li> {/if} diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl index 8c51785e2..0e03aeacd 100644 --- a/admin/themes/default/template/cat_modify.tpl +++ b/admin/themes/default/template/cat_modify.tpl @@ -20,6 +20,9 @@ {if isset($U_MANAGE_PERMISSIONS) } <li><a href="{$U_MANAGE_PERMISSIONS}" title="{'edit album permissions'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'Permissions'|@translate}"></a></li> {/if} + {if isset($U_SYNC) } + <li><a href="{$U_SYNC}" title="{'Synchronize'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/synchronize.png" class="button" alt="{'Synchronize'|@translate}"></a></li> + {/if} {if isset($U_DELETE) } <li><a href="{$U_DELETE}" title="{'delete album'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete album'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"></a></li> {/if} |