7 | The original system was written by cookie. It was then completely rewritten and greatly enhanced by msquare and mortzu of planet 8 | cyborg, jplitza and gnomus. 9 |
10 |11 | Please look at the contributor list on github for a more complete version. 12 |
13 |
17 | Webspace, development platform and domain is currently provided by would you buy this? (ichdasich)
and adminstrated by mortzu, derf and ichdasich.
18 |
23 | Many thanks for the german translation: e7p 24 |
25 |
' . $name);
76 | return $items;
77 | }
78 | ?>
79 |
--------------------------------------------------------------------------------
/includes/model/Settings_model.php:
--------------------------------------------------------------------------------
1 |
67 |
--------------------------------------------------------------------------------
/includes/controller/admin_cgroups_controller.php:
--------------------------------------------------------------------------------
1 | 0){
30 | $name = strip_request_item('Name');
31 | }
32 | else {
33 | $ok = false;
34 | $msg .= error(_("Please enter your Group Name."), true);
35 | }
36 |
37 | if (isset($_REQUEST['UID']))
38 | $uid = strip_request_item('UID');
39 | else {
40 | $ok = false;
41 | $msg .= error(_("Please enter your Group UID."), true);
42 | }
43 |
44 | // set privileges
45 | foreach ($privilege_source as $selected_privileges_id)
46 | if (isset($_REQUEST['privilege_types_' . $selected_privilege_id['id'] ]))
47 | $selected_privileges[] = $selected_privileges_id['id'];
48 |
49 | }
50 |
51 | if ($ok) {
52 | create_new_group($name, $uid);
53 | foreach ($selected_privileges as $priv)
54 | insert_into_group_privileges($uid, $priv);
55 | success(_("New Group Created."));
56 | redirect(page_link_to('admin_cgroups'));
57 | }
58 |
59 | return page_with_title(admin_cgroups_title(), array(
60 | msg(),
61 | form(array(
62 | form_text('Name', _("Group Name"), $name),
63 | form_text('UID', _("User ID"), $uid),
64 | form_checkboxes('privilege_types', _("What Privileges do you want to provide?") , $privilege_types, $selected_privileges),
65 | form_submit('submit', _("Save"))
66 | ))
67 | ));
68 |
69 | }
70 |
71 | ?>
72 |
--------------------------------------------------------------------------------
/includes/controller/admin_news_controller.php:
--------------------------------------------------------------------------------
1 | This may be due to...
41 |
42 | ...archangels closing the gates of heaven.
...somebody's stolen the power chord and now the battery is empty.
...DHCP decided to give me another ip address.
43 |