c94b1f0ad3ac14d463235bc2405dc971c6c6e6e4
[atutor.git] / mods / merlot / merlot_adv.php
1 <?php
2 /****************************************************************/
3 /* ATutor                                                                                                               */
4 /****************************************************************/
5 /* Copyright (c) 2002-2006 by Greg Gay & Joel Kronenberg        */
6 /* Adaptive Technology Resource Centre / University of Toronto  */
7 /* http://atutor.ca                                                                                             */
8 /*                                                              */
9 /* This program is free software. You can redistribute it and/or*/
10 /* modify it under the terms of the GNU General Public License  */
11 /* as published by the Free Software Foundation.                                */
12 /****************************************************************/
13 // $Id: merlot.php 6614 2006-09-27 19:32:29Z greg $
14
15 ?>
16 <div  class="input-form" style="width: 70%; padding:5px;">
17 <form action="<?php echo $_SERVER['PHP_SELF']; ?>#search_results" name="merlotForm" method="get"  id="merlotForm">
18 <input type="hidden" name="advsearch" value="1" />
19 <script type="text/javascript" language="JavaScript" src="<?php echo $_base_path; ?>mods/merlot/merlot.js"></script>
20         <a href="http://www.merlot.org">
21                 <img src="<?php echo $_base_path; ?>mods/merlot/merlotlogo.gif" height="50" width="150" style="margin-right:3px;float:left;text-align:right;" alt="<?php  echo _AT('merlot'); ?>" />
22         </a>
23         <strong>   <?php echo _AT('merlot_by_keywords');  ?>:</strong>
24 <table>
25   <tr>
26         <td colspan="2" align="right">
27         <small>
28         <a href="<?php echo $_SERVER['PHP_SELF']; ?>"><?php echo _AT('merlot_simple');  ?></a>
29         </small>
30         </td>
31   </tr>
32   <tr>
33     <td class="fieldLabel">
34         <label for="keywords"><?php echo _AT('merlot_keywords');  ?></label>
35     </td>
36     <td>
37         <input type="text" id="keywords" name="keywords" value="" />
38     </td>
39   </tr>
40    <tr><td colspan="2"><strong><?php echo _AT('merlot_attribute');  ?>:</strong></td></tr>
41
42   <tr>
43     <td class="fieldLabel">
44         <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm", "help", "height=400,width=500,resizable=1,location=0")'><label for="title"><?php echo _AT('merlot_title');  ?></label></a>:
45     </td>
46     <td>
47         <input type="text"  id="title" name="title" value="" /><span class="fieldError"></span>
48     </td>
49   </tr>
50
51   <tr>
52     <td class="fieldLabel">
53         <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm", "help", "height=400,width=500,resizable=1,location=0")'><label for="url"><?php echo _AT('merlot_url');  ?></label></a>:
54     </td>
55     <td>
56         <input type="text" name="url" id="url" value="" /><span class="fieldError"></span>
57     </td>
58   </tr>
59   <tr>
60
61     <td class="fieldLabel">
62         <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm", "help", "height=400,width=500,resizable=1,location=0")'><label for="description"><?php echo _AT('merlot_description');  ?></label></a>:
63     </td>
64     <td>
65         <input  type="text" id="description" name="description" value=""/><span class="fieldError"></span>
66     </td>
67   </tr>
68   <tr>
69     <td class="fieldLabel">
70         <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm ", "help", "height=400,width=500,resizable=1,location=0")'><label for="category"><?php echo _AT('merlot_subjects');  ?></label></a>:
71     </td>
72     <td>
73         <span id="catPath"></span><br />
74         <select name="category" id="category" onchange="javascript:subcat(-1, 'category')" style="width:400px"><option></option></select>
75         <script  type="text/javascript" language='Javascript'>defaultCat('', 'category');</script>
76         <span class="fieldError"></span>        
77     </td>
78     </tr>
79     <tr>
80         <td class="fieldLabel">
81         <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm ", "help", "height=400,width=500,resizable=1,location=0")'><label for="mlanguage"><?php echo _AT('merlot_language');  ?></label></a>:
82         </td>
83         <td>
84         <select id="mlanguage" name="language" tabindex="5">
85                 <option value="">Any</option>
86                 <option value="en">English</option>
87                 <option value="ar">Arabic</option>
88                 <option value="zh">Chinese</option>
89                 <option value="cs">Czech</option>
90                 <option value="da">Danish</option>
91                 <option value="nl">Dutch</option>
92                 <option value="fr">French</option>
93                 <option value="de">German</option>
94                 <option value="el">Greek</option>
95                 <option value="he">Hebrew</option>
96                 <option value="is">Icelandic</option>
97                 <option value="it">Italian</option>
98                 <option value="ja">Japanese</option>
99                 <option value="ko">Korean</option>
100                 <option value="la">Latin</option>
101                 <option value="pt">Portuguese</option>
102                 <option value="ru">Russian</option>
103                 <option value="es">Spanish</option>
104                 <option value="sv">Swedish</option>
105                 <option value="tr">Turkish</option> 
106                 <option value="vi">Vietnamese</option>
107         </select>
108         <span class="fieldError"></span>
109         </td>
110       </tr>
111       <tr>
112         <td class="fieldLabel">
113     <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm", "help", "height=400,width=500,resizable=1,location=0")' ><label for="type"><?php echo _AT('merlot_material_type');  ?></label></a>:
114         </td>
115         <td>
116          <select id="type" name="materialType">
117                 <option value="">Any</option>
118                 <option value="Simulation">Simulation</option>
119                 <option value="Animation">Animation</option>
120                 <option value="Tutorial">Tutorial</option>
121                 <option value="Drill and Practice" >Drill and Practice</option>
122                 <option value="Quiz/Test">Quiz/Test</option>
123                 <option value="Lecture/Presentation">Lecture/Presentation</option>
124                 <option value="Case Study">Case Study</option>
125                 <option value="Collection">Collection</option>
126                 <option value="Reference Material">Reference Material</option>
127                 <option value="Learning Object Repository">Learning Object Repository</option>
128         </select>
129         </td>
130       </tr>
131         <tr>
132                 <td class="fieldLabel">
133                  <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm", "help", "height=400,width=500,resizable=1,location=0")'><label for="audience"><?php echo _AT('merlot_audience');  ?></label></a>:
134                 </td>
135                 <td>
136                 <select id="audience" name="audience">
137                         <option value="">Any</option>
138                         <option value="Grade School" >Grade School</option>
139                         <option value="Middle School">Middle School</option>
140                         <option value="High School">High School</option>
141                         <option value="College General Ed">College General Ed</option>
142                         <option value="College Lower Division">College Lower Division</option>
143                         <option value="College Upper Division">College Upper Division</option>
144                         <option value="Graduate School">Graduate School</option>
145                         <option value="Professional">Professional</option>
146                 </select>
147                 </td>
148         </tr>
149         <tr>
150                 <td colspan="2">        
151                         <strong><?php echo _AT('merlot_by_author');  ?> :</strong>
152                 </td>
153         </tr>
154         <tr>
155             <td class="fieldLabel">
156                 <a href='javascript:popup("http://taste.merlot.org/WebHelp/MERLOT.htm", "help", "height=400,width=500,resizable=1,location=0")'><label for="name"><?php echo _AT('merlot_name');  ?></label></a>
157             </td>
158         <td>
159                 <input type="text" id="name" name="contributorName" size="50" value="" />
160         </td>
161         </tr>
162          <tr>
163                  <td class="buttonBar" colspan="2">
164                         <div class="row buttons" style="float:right;">
165                         <input type="submit" name="submit" value="<?php echo _AT('merlot_search'); ?>" />
166                         <input type="submit" name="_cancel" value="<?php echo _AT('merlot_cancel'); ?>" />
167                         </div>
168                 </td>
169         </tr>
170 </table>
171 </form>
172 </div>