changed git call from https to git readonly
[atutor.git] / mods / cmap / index.php
1 <?php\r
2 define('AT_INCLUDE_PATH', '../../include/');\r
3 require (AT_INCLUDE_PATH.'vitals.inc.php');\r
4 require (AT_INCLUDE_PATH.'header.inc.php');\r
5 \r
6 \r
7 if ($_config['cmap']): ?>\r
8         <div class="input-form">\r
9                 <div class="row">\r
10                         <p><?php echo _AT('cmap_text', $_config['cmap'] );  ?></p>\r
11                 </div>\r
12         </div>\r
13 <?php else: ?>\r
14         <div class="input-form">\r
15                 <div class="row">\r
16                         <p><?php echo _AT('cmap_missing_url');  ?></p>\r
17                 </div>\r
18         </div>\r
19 <?php endif; ?>\r
20 <div class="input-form">\r
21 | <a href="<?php echo $_SERVER['PHP_SELF']; ?>" onclick="window.open('<?php echo $_config['cmap']; ?>','cmapwin','width=800,height=720,scrollbars=yes, resizable=yes'); return false"><?php echo  _AT('cmap_own_window'); ?></a> \r
22 | <a href="<?php echo $_SERVER['PHP_SELF']; ?>" onclick="window.open('http://cmap.ihmc.us/Support/Help/','cmapwin','width=800,height=720,scrollbars=yes, resizable=yes'); return false"><?php echo  _AT('cmap_help_window'); ?></a> \r
23 | <br /><br />\r
24 </div>\r
25 <iframe name="cmap" id="cmap" title="ePresence" scrolling="yes" src="<?php echo $_config['cmap']; ?>" height="800" width="90%" align="center" style="border:thin white solid; align:center;"></iframe>\r
26 \r
27 \r
28 \r
29 <?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>