changed git call from https to git readonly
[atutor.git] / mods / wordpress / index_mystart.php
1 <?php\r
2 $_user_location = 'users';\r
3 define('AT_INCLUDE_PATH', '../../include/');\r
4 require (AT_INCLUDE_PATH.'vitals.inc.php');\r
5 $_custom_css = $_base_path . 'mods/wordpress/module.css'; // use a custom stylesheet\r
6 require (AT_INCLUDE_PATH.'header.inc.php');\r
7 $p = intval($_GET['p']);\r
8 ?>\r
9 \r
10 <a href="<?php echo $_config['wp-url']; ?>wp-login.php" target="toolframe">\r
11 <?php echo _AT('wordpress_login'); ?></a>\r
12 <iframe name="toolframe"  src="<?php echo $_config['wp-url']; ?><?php if($p !=''){ echo 'index.php?p='.$p;} ?>" width="95%" height="450" style="border:none;">\r
13 <p><?php echo _AT('wordpress_no_iframe',$_config['wp-url']); ?>"><?php echo _AT('wordpress_login'); ?></a></p>\r
14 </iframe>\r
15 <?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>\r