removed mods directory from the ATutor codebase
[atutor.git] / mods / atutor_opencaps / opencaps / conversion_service / index.php
diff --git a/mods/atutor_opencaps/opencaps/conversion_service/index.php b/mods/atutor_opencaps/opencaps/conversion_service/index.php
deleted file mode 100755 (executable)
index 9860796..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php\r
-\r
-// Load configuration file\r
-include('include/config.inc.php');\r
-\r
-// Core classes\r
-include('include/classes/core_Caption_class.php');\r
-include('include/classes/core_CaptionCollection_class.php');\r
-include('include/classes/core_CaptionFormat_class.php');\r
-include('include/classes/core_ConversionManager_class.php');\r
-include('include/classes/core_CcService_class.php');\r
-\r
-// Vitals \r
-include('include/classes/static_CcUtilVital_class.php');\r
-include('include/classes/static_TimeUtil_class.php');\r
-include('include/classes/static_TxtFileTools_class.php');\r
-\r
-\r
-// get values from GET method\r
-\r
-if ( (isset($_GET['cc_url'])) && (isset($_GET['cc_target'])) && (isset($_GET['cc_result'])) && (isset($_GET['cc_name'])))\r
-{\r
-       //$myCcService = new CcService(0,'http://localhost/php/_myphp/__phpOO/RosettaCaption/imported/Abbott_Costello_captions.Jsrt','JSONcc','Caption_service_test.txt')\r
-$myCcService = new CcService($_GET['cc_result'],$_GET['cc_url'],$_GET['cc_target'],$_GET['cc_name']);  \r
-\r
-} else { \r
-\r
-$htmlForm = '\r
-<html>\r
-<head>\r
-<title>RosettaCCService</title>\r
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
-</head>\r
-\r
-<body>\r
-<form name="form1" method="get" action="">\r
-  <strong>cc_url</strong> - CaptionUrl: \r
-  <input name="cc_url" type="text" id="cc_url" value="" size="40" />\r
-  <br>\r
-  <strong>cc_result - Type of Result: </strong> \r
-  <input name="cc_result" type="text" id="cc_result" value="0" size="3" maxlength="1" />\r
-  if 0 returns a caption string, if = 1 returns the URL where target caption is \r
-  found<br>\r
-  <strong>cc_target</strong> - Type of Target Caption: \r
-  <select name="cc_target" id="cc_target">\r
-    <option value="0">---</option>\r
-    <option value="DFXP">DFXP</option>\r
-    <option value="DvdStl">DvdStl</option>\r
-    <option value="JSONcc" selected>JSONcc</option>\r
-    <option value="MPlayer">MPlayer</option>\r
-    <option value="MicroDvd">MicroDvd</option>\r
-    <option value="QTSMIL">QTSMIL</option>\r
-    <option value="QTtext">QTtext</option>\r
-    <option value="RealText">RealText</option>\r
-    <option value="Sami">Sami</option>\r
-    <option value="Scc">Scc</option>\r
-    <option value="SubRipSrt">SubRipSrt</option>\r
-    <option value="SubViewer">SubViewer</option>\r
-  </select>\r
-  <br>\r
-  <strong>cc_name</strong> - Name of the Caption: \r
-  <input name="cc_name" type="text" id="cc_name" value="Name_of_the_caption.___" />\r
-  <br>\r
-  <input type="submit" name="Submit" value="Submit">\r
-</form>\r
-</body>\r
-</html>\r
-';\r
-echo $htmlForm;\r
-}\r
-?>
\ No newline at end of file