mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
related to #1530 removed status verification for Sync page
This commit is contained in:
@@ -72,11 +72,6 @@ if (isset($page['no_md5sum_number']))
|
||||
$page['messages'][] = '<a href="admin.php?page=batch_manager&filter=prefilter-no_sync_md5sum">'.l10n('Some checksums are missing.').'<i class="icon-right"></i></a>';
|
||||
}
|
||||
|
||||
if (!is_webmaster())
|
||||
{
|
||||
$page['warnings'][] = l10n('Webmaster status is required.');
|
||||
}
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | tabs |
|
||||
// +-----------------------------------------------------------------------+
|
||||
@@ -111,10 +106,6 @@ $general_failure = true;
|
||||
if (isset($_POST['submit']))
|
||||
{
|
||||
|
||||
if (!is_webmaster()) {
|
||||
redirect(get_root_url().'admin.php?page=site_update&site='.$_GET['site']);
|
||||
}
|
||||
|
||||
if ($site_reader->open())
|
||||
{
|
||||
$general_failure = false;
|
||||
@@ -968,8 +959,6 @@ $template->assign(
|
||||
'U_HELP' => get_root_url().'admin/popuphelp.php?page=synchronize',
|
||||
));
|
||||
|
||||
$template->assign('isWebmaster', is_webmaster());
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | introduction : choices |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
@@ -118,7 +118,7 @@ $('#syncFiles label').click(function () {
|
||||
</fieldset>
|
||||
|
||||
<p class="bottomButtons syncBtn">
|
||||
<button class="icon-exchange buttonGradient" type="submit" value="" name="submit" {if !$isWebmaster} disabled {/if}> {'Synchronize'|@translate} </button>
|
||||
<button class="icon-exchange buttonGradient" type="submit" value="" name="submit"> {'Synchronize'|@translate} </button>
|
||||
</p>
|
||||
</form>
|
||||
{/if}{*isset $introduction*}
|
||||
|
||||
Reference in New Issue
Block a user