2 // This file is disabled by default. To enable it, modify the "public pages"
\r
3 // section in the module.php file for this module
\r
6 $_user_location = 'public';
\r
8 define('AT_INCLUDE_PATH', '../../include/');
\r
9 require (AT_INCLUDE_PATH.'vitals.inc.php');
\r
10 $_custom_css = $_base_path . 'mods/mediawiki/module.css'; // use a custom stylesheet
\r
11 require (AT_INCLUDE_PATH.'header.inc.php');
\r
14 if(!$_COOKIE['mysql_active_user']){
\r
16 echo '<a href="'.$_config['mw-url'].'index.php?title=Special:UserLogin&returnto=Special:UserLogin" target="toolframe">'._AT('mediawiki_login').'</a>';
\r
20 <iframe src="<?php echo $_config['mw-url']; ?><?php if($p){ echo "index.php/".$p;} ?>" width="95%" height="500" style="border:none;" name="toolframe">
\r
21 <p><?php echo _AT('mediawiki_no_iframe',$_config['mw-url']); ?>"><?php echo _AT('mediawiki_login'); ?></a></p>
\r
26 <?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>