"
." "
. checkbox(null, 'show_inactive', null, true). _("Show also Inactive")
@@ -781,5 +808,16 @@ function show_inactive_row($th) {
. submit('Update', _('Update'), false, '', null)
." |
";
}
-
+//
+// Inserts additional column header when display of inactive records is on.
+//
+function inactive_control_column(&$th) {
+ global $Ajax;
+
+ if (check_value('show_inactive'))
+ array_insert($th, count($th)-2 , _("Inactive"));
+ if (get_post('_show_inactive_update')) {
+ $Ajax->activate('_page_body');
+ }
+}
?>
\ No newline at end of file