aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_manager.php
diff options
context:
space:
mode:
authorlaurent.duretz <laurent.duretz@piwigo.org>2007-02-01 22:35:22 +0000
committerlaurent.duretz <laurent.duretz@piwigo.org>2007-02-01 22:35:22 +0000
commitb11b6cf647ebd55b3ed2fcdca9901c68b4ff813a (patch)
treed0309dcd71504e47bcc20e9cdb4221b99023f257 /admin/site_manager.php
parent1041caa79e22883bf21201dc021cb7cdbccb65b9 (diff)
Issue 0000475 : Synchroniser plus de 7000 photos
git-svn-id: http://piwigo.org/svn/trunk@1775 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/site_manager.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/admin/site_manager.php b/admin/site_manager.php
index 375f92349..37b10d3a5 100644
--- a/admin/site_manager.php
+++ b/admin/site_manager.php
@@ -194,6 +194,13 @@ SELECT galleries_url
remote_output($galleries_url.'create_listing_file.php?action=clean');
break;
}
+ case 'protect' :
+ {
+ $title = $galleries_url.' : '.l10n('remote_site_protect');
+ $template->assign_vars(array('REMOTE_SITE_TITLE'=>$title));
+ remote_output($galleries_url.'create_listing_file.php?action=protect');
+ break;
+ }
case 'delete' :
{
delete_site($page['site']);
@@ -265,8 +272,9 @@ while ($row = mysql_fetch_array($result))
$template->assign_block_vars('sites.site.remote',
array(
'U_TEST' => $base_url.'test',
- 'U_GENERATE' => $base_url.'generate',
- 'U_CLEAN' => $base_url.'clean'
+ 'U_GENERATE' => $row['galleries_url'].'create_listing_file.php?action=generate',
+ 'U_CLEAN' => $base_url.'clean',
+ 'U_PROTECT' => $base_url.'protect'
)
);
}
@@ -326,4 +334,4 @@ if ( isset($local_listing_site_url) and !isset($local_listing_site_id) )
$template->assign_var_from_handle('ADMIN_CONTENT', 'site_manager');
-?> \ No newline at end of file
+?>