+++ /dev/null
-<?php\r
-/*\r
-This is the main ATutor ccnet module page. It allows users to access\r
-the UofT CCNet installation through courses that have CCNet enabled\r
-*/\r
-define('AT_INCLUDE_PATH', '../../include/');\r
-require (AT_INCLUDE_PATH.'vitals.inc.php');\r
-\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-?>\r
-\r
-<?php if (!$_config['ccnet']): ?>\r
- <?php $msg->printInfos('CCNET_URL_ADD_REQUIRED'); ?>\r
-<?php else: ?>\r
- <div class="input-form">\r
- <div class="row">\r
- <p><?php echo _AT('ccnet_text'); ?></p>\r
- </div>\r
-\r
- <div class="row buttons">\r
- <form action="" method="get">\r
- <input type="submit" name="submit" value="<?php echo _AT('ccnet_open'); ?>" onclick="window.open('<?php echo $_config['ccnet']; ?>','mywindow','width=800,height=600,scrollbars=yes, resizable=yes'); return false;" />\r
- </form>\r
- </div>\r
- </div>\r
-<?php endif; ?>\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file