root/releases/0.6/_invite/register.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 join-with-no-invite page
4
5     // Run includes
6         require_once(dirname(dirname(__FILE__))."/includes.php");
7         
8         run("invite:init");
9         templates_page_setup();       
10         $title = sprintf(gettext("Join %s"), sitename);
11
12         $body = run("content:invite:join");
13         $body .= run("join:no_invite");
14         
15         $body = templates_draw(array(
16                         'context' => 'contentholder',
17                         'title' => $title,
18                         'body' => $body
19                     )
20                     );
21         
22         echo templates_page_draw( array(
23                         $title, $body
24                     )
25                     );
26
27 ?>
Note: See TracBrowser for help on using the browser.