mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Integration of remote site protection in generate action
git-svn-id: http://piwigo.org/svn/trunk@1823 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -194,13 +194,6 @@ 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']);
|
||||
@@ -274,7 +267,6 @@ while ($row = mysql_fetch_array($result))
|
||||
'U_TEST' => $base_url.'test',
|
||||
'U_GENERATE' => $row['galleries_url'].'create_listing_file.php?action=generate',
|
||||
'U_CLEAN' => $base_url.'clean',
|
||||
'U_PROTECT' => $base_url.'protect'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user