changed git call from https to git readonly
[atutor.git] / mods / cmap / index_instructor.php
1 <?php\r
2 define('AT_INCLUDE_PATH', '../../include/');\r
3 require (AT_INCLUDE_PATH.'vitals.inc.php');\r
4 authenticate(AT_PRIV_CMAP);\r
5 require (AT_INCLUDE_PATH.'header.inc.php');\r
6 ?>\r
7 \r
8 <?php if ($_config['cmap']): ?>\r
9         <div class="input-form">\r
10                 <div class="row">\r
11                         <p><?php echo _AT('cmap_text', $_config['cmap'] );  ?></p>\r
12                 </div>\r
13         </div>\r
14 <?php else: ?>\r
15         <div class="input-form">\r
16                 <div class="row">\r
17                         <p><?php echo _AT('cmap_missing_url');  ?></p>\r
18                 </div>\r
19         </div>\r
20 <?php endif; ?>\r
21 <div class="input-form">\r
22 | <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
23 | <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
24 | <br /><br />\r
25 </div>\r
26 <iframe name="cmap" id="cmap" title="CMAP" scrolling="yes" src="<?php echo $_config['cmap']; ?>" height="800" width="90%" align="center" style="border:thin white solid; align:center;"></iframe>\r
27 \r
28 \r
29 \r
30 <?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>