4 * http://opencaps.atrc.utoronto.ca
6 * Copyright 2009 Heidi Hazelton
7 * Adaptive Technology Resource Centre, University of Toronto
9 * Licensed under the Educational Community License (ECL), Version 2.0.
10 * You may not use this file except in compliance with this License.
11 * http://www.opensource.org/licenses/ecl2.php
15 define('INCLUDE_PATH', 'include/');
17 require(INCLUDE_PATH.'vitals.inc.php');
19 if (!isset($_SESSION['mid']))
20 $_SESSION['mid'] = '99999'; //guest for remote
23 if (!isset($systems[$_GET['r']]['url'])) {
26 header("Location:start_remote.php?r=".ACTIVE_SYSTEM);
30 $_SESSION['errors'][] = "No remote systems have been configured. Go to the <a href='start.php'>start</a> page.";
31 include(INCLUDE_PATH.'basic_header.inc.php');
32 include(INCLUDE_PATH.'footer.inc.php');
36 if (!isset($_SESSION['mid']))
37 $_SESSION['mid'] = '99999'; //guest for remote
40 require('include/basic_header.inc.php');
43 <script language="JavaScript" src="js/start_remote.js" type="text/javascript"></script>
45 <h1 style="margin-top:10px;"><img src="images/logo.png" alt="OpenCaps - a free, online caption editor" title="OpenCaps - a free, online caption editor" style="margin-top:7px;" /></h1>
47 <p>Start captioning! Please select a project to work on:</p>
49 <div id="start-tabs"></div>
50 <div id="start-container">
52 <h2 style="font-weight:bold">Open Project</h2>
53 <p>Add captions to a remote project.</p>
55 <form action="javascript:processOpenRemote();" method="post" id="form_open" enctype="multipart/form-data" onsubmit="javascript: return validateOpenForm();">
56 <div id="projects"></div>
59 <br style="clear:both" /></div>