aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_manager.php
diff options
context:
space:
mode:
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
+?>