* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
} // END - if
// Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
// Optimize and repair database and return the result as a multi-dimensional array
-$DATA = repairOptimizeDatabase();
+$content = repairOptimizeDatabase();
// Output rows
$gain_tabs = '0'; $OUT = '';
-foreach ($DATA['tables'] as $row_array) {
+foreach ($content['tables'] as $row_array) {
// Init variables
$B1 = ''; $B2 = '';
}
// Prepare data for the row template
- $content = array(
+ $row = array(
'b1' => $B1,
'b2' => $B2,
'tpl' => $row_array[0],
);
// Load row template and switch color
- $OUT .= loadTemplate('admin_optimize_row', true, $content);
+ $OUT .= loadTemplate('admin_optimize_row', true, $row);
} // END - foreach
-// Transfer main data
-$content = $DATA;
-
// Remember rows
$content['rows'] = $OUT;