mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- feature 147 added: add a menu to manage manually create_listing_file.php
on remote sites git-svn-id: http://piwigo.org/svn/trunk@954 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -480,8 +480,9 @@ if (isset($_GET['action']))
|
||||
}
|
||||
else
|
||||
{
|
||||
$page['action'] = 'generate';
|
||||
$page['action'] = '';
|
||||
}
|
||||
|
||||
echo '<pre>';
|
||||
switch ($page['action'])
|
||||
{
|
||||
@@ -547,6 +548,25 @@ switch ($page['action'])
|
||||
}
|
||||
break;
|
||||
}
|
||||
default :
|
||||
{
|
||||
// Menu de lancement pour la mise à jour manuel des sites distant
|
||||
echo '</pre>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="create_listing_file.php?action=generate">Generate listing.xml</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="create_listing_file.php?action=test">Test</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="create_listing_file.php?action=clean">Clean</a>
|
||||
</li>
|
||||
</ul>
|
||||
<pre>';
|
||||
}
|
||||
}
|
||||
echo '</pre>';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user