root/releases/elgg0.8rc2/_groups/index.php

Revision 659, 1.0 kB (checked in by misja, 2 years ago)

Taking gettext to a new level, see message <http://lists.elgg.org/pipermail/development/2006-October/000590.html>. In a nutshell: all gettext calls are replaced by gettext, revamped gettext handling plus some additional fixes.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     //    ELGG manage groups page
4
5     // Run includes
6         require_once(dirname(dirname(__FILE__))."/includes.php");
7         
8     // Initialise functions for user details, icon management and profile management
9         run("userdetails:init");
10         run("profile:init");
11         run("friends:init");
12         run("groups:init");
13         
14         define("context", "network");
15         templates_page_setup();
16
17     // Whose friends are we looking at?
18         global $page_owner;
19         
20     // You must be logged on to view this!
21         protect(1);
22         
23         $title = run("profile:display:name") . " :: ". __gettext("Access Controls");
24                                 
25         echo templates_page_draw( array(
26                     $title,
27                     templates_draw(array(
28                         'context' => 'contentholder',
29                         'title' => $title,
30                         'body' => run("groups:editpage")
31                     )
32                     )
33                 )
34                 );
35
36 ?>
Note: See TracBrowser for help on using the browser.