- 'id' => $id,
- 'admin' => $admin,
- 'infos' => $infos,
- 'uid' => $uid,
- 'type' => $type_out,
- 'created' => MAKE_DATETIME($created, "2")
- );
-
- LOAD_TEMPLATE("admin_overview_list_rows", false, $content);
+ 'admin' => $content['assigned_admin'],
+ 'uid' => $content['userid'],
+ 'type' => $content['task_type_msg'],
+ 'created' => MAKE_DATETIME($content['task_created'], "2")
+ ));
+
+ // 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);
+ } else {
+ // Load default row template
+ // @TODO Rewrite this to $OUT .= ..., true, ...
+ LOAD_TEMPLATE("admin_overview_list_rows", false, $content);
+ }
+
+ // Switch color