4 define('AT_INCLUDE_PATH', '../../include/');
\r
5 require (AT_INCLUDE_PATH.'vitals.inc.php');
\r
6 authenticate(AT_PRIV_OPEN_CAPS);
\r
8 // load ATutor-OpenCaps Module Vitals
\r
9 include_once('include/vitals.inc.php');
\r
12 echo '<br/>AT_CONTENT_DIR: '.AT_CONTENT_DIR;
\r
13 echo '<br/>AT_BASE_HREF: '.AT_BASE_HREF;
\r
17 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
18 <html xmlns="http://www.w3.org/1999/xhtml">
\r
20 <title>Untitled Document</title>
\r
21 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
\r
26 <h1>getMedia: $_GET</h1>
\r
27 <p><a href="<?php echo AT_BASE_HREF; ?>/mods/AtOpenCaps/service.php?id=1&action=getMedia">/mods/AtOpenCaps/service.php?id=1&action=getMedia</a></p>
\r
29 <h1>putCaps: $_POST</h1>
\r
30 <form name="form1" id="form1" method="post" action="<?php echo AT_BASE_HREF; ?>/mods/AtOpenCaps/service.php">
\r
32 <input name="id" type="text" id="id" value="1" />
\r
35 <input name="action" type="text" id="action" value="putCaps" />
\r
38 <strong>Width:</strong> <input name="width" id="width" value="320" type="text" size="4"/>
\r
39 <strong>Height:</strong> <input name="height" id="height" value="240" type="text" size="4"/>
\r
43 <textarea name="cc" cols="60" rows="10" id="cc">Some data so save in the caption file
\r
44 uno more line</textarea>
\r
47 <input type="submit" name="Submit" value="Save Data" />
\r