- 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:
plegall
2005-11-25 21:54:20 +00:00
parent 935b69d868
commit 3ecdb1300b

View File

@@ -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>';
?>