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