[Fusionforge-commits] r11943 - branches/Branch_5_1/src/www/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Jan 6 20:30:57 CET 2011


Author: aljeux
Date: 2011-01-06 20:30:57 +0100 (Thu, 06 Jan 2011)
New Revision: 11943

Modified:
   branches/Branch_5_1/src/www/admin/cronman.php
Log:
Correct fix for non consecutive values in cronman

Modified: branches/Branch_5_1/src/www/admin/cronman.php
===================================================================
--- branches/Branch_5_1/src/www/admin/cronman.php	2011-01-06 16:41:07 UTC (rev 11942)
+++ branches/Branch_5_1/src/www/admin/cronman.php	2011-01-06 19:30:57 UTC (rev 11943)
@@ -3,6 +3,7 @@
  * FusionForge Cron Viewing Page
  *
  * Copyright 2002 GForge, LLC
+ * Copyright (C) 2010 Alain Peyrat - Alcatel-Lucent
  * http://fusionforge.org/
  *
  * This file is part of FusionForge.
@@ -28,13 +29,12 @@
 require_once $gfcommon.'include/cron_utils.php';
 
 site_admin_header(array('title'=>_('Cron Manager')));
-echo '<h1>' . _('Cron Manager') . '</h1>';
 
 $which = getIntFromRequest('which', 100);
 
 ?>
 <form action="<?php echo getStringFromServer('PHP_SELF'); ?>" method="get">
-<?php echo html_build_select_box_from_arrays(array_keys($cron_arr), $cron_arr, 'which', $which,true,'Any'); ?>
+<?php echo html_build_select_box_from_arrays(array_keys($cron_arr), array_values($cron_arr), 'which', $which,true,'Any'); ?>
 <input type="submit" name="submit" value="<?php echo _('Submit');?>" />
 </form>
 <?php




More information about the Fusionforge-commits mailing list