root/releases/0.6/_invite/join.php

Revision 296, 0.7 kB (checked in by carmartin, 3 years ago)

Includes should use full path given that we know where things are. Patch 1.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     //    ELGG invite-a-friend page
4
5     // Run includes
6         require_once(dirname(dirname(__FILE__))."/includes.php");
7         
8         run("invite:init");
9         templates_page_setup();       
10         
11         $title = sprintf(gettext("Join %s"),sitename);
12         
13         $body = run("content:invite:join");
14         $body .= run("invite:join");
15         
16         $body = templates_draw(array(
17                         'context' => 'contentholder',
18                         'title' => $title,
19                         'body' => $body
20                     )
21                     );
22         
23         echo templates_page_draw( array(
24                         $title, $body
25                     )
26                     );
27
28 ?>
Note: See TracBrowser for help on using the browser.