diff --git a/admin/editgroup.php b/admin/editgroup.php index 00064f4aa9..614ab5653d 100755 --- a/admin/editgroup.php +++ b/admin/editgroup.php @@ -17,6 +17,16 @@ } $phpgw_info["flags"]["currentapp"] = "admin"; include("../header.inc.php"); + + function is_odd($n) + { + $ln = substr($n,-1); + if ($ln == 1 || $ln == 3 || $ln == 5 || $ln == 7 || $ln == 9) { + return True; + } else { + return False; + } + } if (! $group_id) { Header("Location: " . $phpgw->link("groups.php")); diff --git a/admin/newgroup.php b/admin/newgroup.php index 1672d1a6e5..5c90455d48 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -19,6 +19,16 @@ $phpgw_info["flags"]["currentapp"] = "admin"; include("../header.inc.php"); + function is_odd($n) + { + $ln = substr($n,-1); + if ($ln == 1 || $ln == 3 || $ln == 5 || $ln == 7 || $ln == 9) { + return True; + } else { + return False; + } + } + $phpgw->template->set_file(array("form" => "groups_form.tpl")); if ($submit) {