removed mods directory from the ATutor codebase
[atutor.git] / mods / atutor_opencaps / opencaps / export.php
diff --git a/mods/atutor_opencaps/opencaps/export.php b/mods/atutor_opencaps/opencaps/export.php
deleted file mode 100755 (executable)
index d3020cc..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php \r
-/*\r
- * OpenCaps\r
- * http://opencaps.atrc.utoronto.ca\r
- * \r
- * Copyright 2009 Heidi Hazelton\r
- * Adaptive Technology Resource Centre, University of Toronto\r
- * \r
- * Licensed under the Educational Community License (ECL), Version 2.0. \r
- * You may not use this file except in compliance with this License.\r
- * http://www.opensource.org/licenses/ecl2.php\r
- * \r
- */\r
-\r
-define('INCLUDE_PATH', 'include/');\r
-require(INCLUDE_PATH.'vitals.inc.php');\r
-\r
-if (isset($_POST['remote_submit'])) {\r
-       //$this_proj->remoteUpdate($_SESSION['rid']);\r
-       $this_system->putCaps($this_proj->id);\r
-} else if (isset($_POST['format'])) {\r
-       $this_proj->exportCaption($_POST['format']);\r
-}\r
-\r
-require(INCLUDE_PATH.'header.inc.php'); \r
-\r
-?>\r
-\r
-<script language="javascript" type="text/javascript" src="js/export.js"></script>\r
-\r
-<div id="content">\r
-       <form action="export.php" method="post" id="form">\r
-\r
-       <?php if (isset($systems) && isset($_SESSION['rid'])) { ?>\r
-       <h3>Send Captions to <?php echo $systems[$_SESSION['rid']]['name']; ?></h3>                                     \r
-               <p>If you are finished captioning this project, use the button below to update the system with your caption file.</p>\r
-               <p><input type="submit" name="remote_submit" value="Submit Captions to <?php echo $systems[$_SESSION['rid']]['name']; ?>" /></p>\r
-       <?php }  ?>\r
-       \r
-               <h3>Export Caption File</h3>\r
-               <p>You may export your captions in a variety of formats. Choose a format to receive a download of that caption file:</p>        \r
-\r
-               <input type="hidden" name="format" />\r
-               <ul id="export-list">\r
-                       <!--  li><a href="javascript:set_format('json')">Complete Package</a><br />Zip of original movie, caption file, SMIL file, and accessible html player</li -->\r
-                       <li><a href="javascript:set_format('DFXP')">Timed Text (DFXP)</a></li>\r
-                       <li><a href="javascript:set_format('DvdStl')">DVD STL</a></li>\r
-                       <li><a href="javascript:set_format('MicroDvd')">MicroDVD</a></li>\r
-                       <!-- li><a href="javascript:set_format('MPlayer')">MPlayer</a></li -->\r
-                       <li><a href="javascript:set_format('QTtext')">QT text</a></li>\r
-                       <!-- li><a href="javascript:set_format('RealText')">Real Text</a></li -->\r
-                       <li><a href="javascript:set_format('Sami')">SAMI</a></li>\r
-                       <li><a href="javascript:set_format('SubRipSrt')">SubRip</a></li>\r
-                       <li><a href="javascript:set_format('SubViewer')">SubViewer</a></li>\r
-                       <li><a href="javascript:set_format('json')">JSON for OpenCaps</a></li>                          \r
-                       <!-- li><a href="javascript:set_format('Scc')">SCC</a></li -->                                                                                  \r
-               </ul>\r
-\r
-               <h3>Export Transcript</h3>\r
-               <p>Coming soon.</p>\r
-               <!--  ul id="export-list">\r
-                       <li><a href="javascript:set_format('plain')">Transcript</a> - a plain text file of the captions, separated by new lines</li>                                                                            \r
-               </ul -->\r
-               \r
-               <?php \r
-               if (extension_loaded('zip')) { ?>\r
-               <h3>Export Complete Project</h3>\r
-               <ul id="export-list">\r
-                       <li><a href="javascript:set_format('all')">Complete Package</a> - .zip of original movie, caption file, SMIL file (layout in preview), and accessible html player</li>                                                                          \r
-               </ul>\r
-               <?php } ?>\r
-       </form>\r
-       \r
-       <h3>Close</h3>          \r
-       <p>Once you have exported your work to save it, you may now <a href="start.php"><img style="margin-bottom:-3px;" src="images/cross.png" alt="" /> <strong>Close</strong></a> this project.</p>\r
-</div>\r
-<?php require(INCLUDE_PATH.'footer.inc.php'); ?>\r