From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- themes/CleanFS/templates/pm.groups.tpl | 138 +++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 themes/CleanFS/templates/pm.groups.tpl (limited to 'themes/CleanFS/templates/pm.groups.tpl') diff --git a/themes/CleanFS/templates/pm.groups.tpl b/themes/CleanFS/templates/pm.groups.tpl new file mode 100644 index 0000000..2b250ef --- /dev/null +++ b/themes/CleanFS/templates/pm.groups.tpl @@ -0,0 +1,138 @@ +
+

prefs['project_title']); ?> :

+perms('is_admin')): ?> + + +
+ + + + + +
+-', + '' +); + +$merge=array_merge($groups,$globalgroups); + +$perms=array(); +$gmembers=''; +$gnames=''; +$gdesc=''; +$cols=''; +foreach ($merge as $group){ + $cols.=''; + $gmembers.=''.$group['users'].''; + if($group['project_id']!=0) { + $gnames.='' + .Filters::noXSS($group['group_name']) + .''; + } else { + $gnames.=''.Filters::noXSS($group['group_name']).''; + } + $gdesc.=''.Filters::noXSS($group['group_desc']).''; + foreach ($group as $key => $val) { + if (!is_numeric($key) && in_array($key, $perm_fields)) { + $perms[$key][]=$val; + } + } +} +?> + + +++ + + + + + + + + + + + + + + + + + +prefs['others_view']) ? ' class="everybody"':''; +echo ($p=='view_roadmap' && $proj->prefs['others_viewroadmap']) ?' class="everybody"':''; +echo ($p=='open_new_tasks' && $proj->prefs['anon_open']) ? ' class="everybody"':''; +?>> +> +( '.$permicons[$p].' )'; + }else{ + echo $yesno[1]; + } + } elseif($val==1 && isset($permicons[$p])){ + echo ''; + } else{ + echo $yesno[$val]; + } + $i++; +} +?> + + + +
'.$permicons[$p].'
+
-- cgit v1.2.3-70-g09d2