// There are uncompleted jobs!
// @TODO Rewrite this to one template and use $OUT = ...
- LOAD_TEMPLATE("admin_overview_header");
$OUT = ""; $SW = 2;
while ($content = SQL_FETCHARRAY($result_tasks)) {
// Init infos
// Do we have extension task?
if (($content['task_type'] == "EXTENSION") && (GET_EXT_VERSION($content['infos']) == "")) {
// Load extension row template
- // @TODO Rewrite this to $OUT .= ..., true, ...
- LOAD_TEMPLATE("admin_overview_list_ext_rows", false, $content);
+ $OUT .= LOAD_TEMPLATE("admin_overview_list_ext_rows", true, $content);
} else {
// Load default row template
- // @TODO Rewrite this to $OUT .= ..., true, ...
- LOAD_TEMPLATE("admin_overview_list_rows", false, $content);
+ $OUT .= LOAD_TEMPLATE("admin_overview_list_rows", true, $content);
}
// Switch color
SQL_FREERESULT($result_tasks);
// Load footer template
- LOAD_TEMPLATE("admin_overview_footer");
+ LOAD_TEMPLATE("admin_overview_table", false, $OUT);
}
}
//