diff options
author | plegall <plg@piwigo.org> | 2005-11-25 21:54:20 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-11-25 21:54:20 +0000 |
commit | 3ecdb1300b3919408cc3dd51efcbc242593f07cd (patch) | |
tree | 432f7678a39412117780f2c47df8f62c79cbedad /tools/create_listing_file.php | |
parent | 935b69d868ecc7d06f8059ff7ac4ca8dc6ad4e30 (diff) |
- 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
Diffstat (limited to '')
-rw-r--r-- | tools/create_listing_file.php | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/tools/create_listing_file.php b/tools/create_listing_file.php index 3111a71c5..299e32bab 100644 --- a/tools/create_listing_file.php +++ b/tools/create_listing_file.php @@ -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>'; ?> |