|
Revision 1539, 0.7 kB
(checked in by renato, 1 year ago)
|
Setting prop svn:eol-style in LOTS of files.
|
- Property svn:mime-type set to
text/plain
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
// Display existing groups |
|---|
| 4 |
|
|---|
| 5 |
if ($groupdata = run("groups:get", array($_SESSION['userid']))) { |
|---|
| 6 |
|
|---|
| 7 |
$description = __gettext("To add friends to your access controls, select their names from the list on the left and click the 'add selected' button. To remove friends from each control, select their names from the list on the right and click the 'remove selected' button."); |
|---|
| 8 |
|
|---|
| 9 |
$header = __gettext("Access controls you own"); // gettext variable |
|---|
| 10 |
$body = <<< END |
|---|
| 11 |
<h5>{$header}</h5> |
|---|
| 12 |
<p>{$description}</p> |
|---|
| 13 |
END; |
|---|
| 14 |
|
|---|
| 15 |
foreach($groupdata as $group) { |
|---|
| 16 |
|
|---|
| 17 |
$body .= run("groups:edit:display",array($group)); |
|---|
| 18 |
|
|---|
| 19 |
} |
|---|
| 20 |
|
|---|
| 21 |
$run_result .= $body; |
|---|
| 22 |
|
|---|
| 23 |
} |
|---|
| 24 |
|
|---|
| 25 |
?> |
|---|