
| r2 - 17 Dec 2012 - 00:32 - ChadParry | r1 - 17 Dec 2012 - 00:32 - UnknownUser | ||||
|---|---|---|---|---|---|
%TMPL:INCLUDE{"view"}% |
%TMPL:INCLUDE{"view"}% |
||||
%TMPL:DEF{"content"}% |
%TMPL:DEF{"content"}% |
||||
GroupViewTemplate%TEXT%MembersNo members Log in to continue. Related topics: AccessControl, WikiGroups |
GroupViewTemplate%TEXT%MembersNo members Log in to continue. Related topics: AccessControl, WikiGroups |
||||
%TMPL:END% |
%TMPL:END% |
||||
%TMPL:DEF{"topicactionbuttons__"}%%TMPL:END% |
%TMPL:DEF{"topicactionbuttons__"}%%TMPL:END% |
||||
%TMPL:DEF{Named_sections_for_INCLUDE}% |
%TMPL:DEF{Named_sections_for_INCLUDE}% |
||||
Named INCLUDE sections for use in both Group topics and the WikiGroups list |
Named INCLUDE sections for use in both Group topics and the WikiGroups list |
||||
%STARTSECTION{"rendergroup"}%
%GROUPINFO{"%groupname%"
expand="0"
format="$percntIF{\"istopic '%USERSWEB%.$wikiname'\" then=\"%USERSWEB%.$wikiname\" else=\"$wikiname\"}$percnt"
separator=", "
zeroresults="%IF{"'%groupname%' != 'NobodyGroup'" then="%MAKETEXT{"No members"}%$n()"}%"
}%
%ENDSECTION{"rendergroup"}%
|
%STARTSECTION{"rendergroup"}%
%GROUPINFO{"%groupname%"
expand="0"
format="$percntIF{\"istopic '%USERSWEB%.$wikiname'\" then=\"%USERSWEB%.$wikiname\" else=\"$wikiname\"}$percnt"
separator=", "
zeroresults="%IF{"'%groupname%' != 'NobodyGroup'" then="%MAKETEXT{"No members"}%$n()"}%"
}%
%ENDSECTION{"rendergroup"}%
|
||||
%STARTSECTION{"groupactions"}%%ADDTOZONE{
"head"
id="WIKIGROUP::CSS"
text=""
}% |
%STARTSECTION{"groupactions"}%%ADDTOZONE{
"head"
id="WIKIGROUP::CSS"
text=""
}% |
||||
%STARTSECTION{"nochange"}%%IF{
"'%groupname%' = 'NobodyGroup'"
then="%MAKETEXT{"This group should not have members."}%$n()"
else="%IF{
"'%groupname%' = 'BaseGroup'"
then="%MAKETEXT{"System user list."}%$n()"
else="%IF{
"$WIKINAME = 'WikiGuest'"
then="%MAKETEXT{"Log in to continue."}%$n()"
else="%IF{
"'%USERSWEB%.%groupname%' allows 'change'"
else="%MAKETEXT{"Only members or admins may update group."}%$n()"
}%"
}%"
}%"
}%%ENDSECTION{"nochange"}%
|
%STARTSECTION{"nochange"}%%IF{
"'%groupname%' = 'NobodyGroup'"
then="%MAKETEXT{"This group should not have members."}%$n()"
else="%IF{
"'%groupname%' = 'BaseGroup'"
then="%MAKETEXT{"System user list."}%$n()"
else="%IF{
"$WIKINAME = 'WikiGuest'"
then="%MAKETEXT{"Log in to continue."}%$n()"
else="%IF{
"'%USERSWEB%.%groupname%' allows 'change'"
else="%MAKETEXT{"Only members or admins may update group."}%$n()"
}%"
}%"
}%"
}%%ENDSECTION{"nochange"}%
|
||||
%STARTSECTION{"changegroupnotwisty"}%
%IF{"'%BASEWEB%.%BASETOPIC%'='%USERSWEB%.%groupname%'"
then='
---++ %MAKETEXT{"Administration"}%
'}%
%INCLUDE{"%WEB%.%TOPIC%"
section="group_add"
groupname="%groupname%"
}%
%INCLUDE{"%WEB%.%TOPIC%"
section="group_remove"
groupname="%groupname%"
}%
%ENDSECTION{"changegroupnotwisty"}%
|
%STARTSECTION{"changegroupnotwisty"}%
%IF{"'%BASEWEB%.%BASETOPIC%'='%USERSWEB%.%groupname%'"
then='
---++ %MAKETEXT{"Administration"}%
'}%
%INCLUDE{"%WEB%.%TOPIC%"
section="group_add"
groupname="%groupname%"
}%
%INCLUDE{"%WEB%.%TOPIC%"
section="group_remove"
groupname="%groupname%"
}%
%ENDSECTION{"changegroupnotwisty"}%
|
||||
%STARTSECTION{"changegroup"}%
%IF{"'%BASEWEB%.%BASETOPIC%'='%USERSWEB%.%groupname%'"
then='
---++ %MAKETEXT{"Administration"}%
'}%
%TWISTYBUTTON{
id="%groupname%_add"
link=" |
%STARTSECTION{"changegroup"}%
%IF{"'%BASEWEB%.%BASETOPIC%'='%USERSWEB%.%groupname%'"
then='
---++ %MAKETEXT{"Administration"}%
'}%
%TWISTYBUTTON{
id="%groupname%_add"
link=" |
||||
%STARTSECTION{"group_upgrade"}%
%TWISTY{
link="
%ENDTWISTY%%ENDSECTION{"group_upgrade"}%
|
%STARTSECTION{"group_upgrade"}%
%TWISTY{
link="
%ENDTWISTY%%ENDSECTION{"group_upgrade"}%
|
||||
%STARTSECTION{"group_add"}% |
%STARTSECTION{"group_add"}% |
||||
%STARTSECTION{"group_remove"}%
%GROUPINFO{
"%groupname%"
expand="0"
header=""
separator="$n"
}%
%ENDSECTION{"group_remove"}%
|
%STARTSECTION{"group_remove"}%
%GROUPINFO{
"%groupname%"
expand="0"
header=""
separator="$n"
}%
%ENDSECTION{"group_remove"}%
|
||||
%TMPL:END% |
%TMPL:END% |
||||
| r2 - 17 Dec 2012 - 00:32 - ChadParry | r1 - 17 Dec 2012 - 00:32 - UnknownUser | ||||
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.