57858650d68b6be4790ede4ddbd970e88e686843
[atutor.git] / docs / themes / simplified-desktop / admin / system_preferences / module_prefs.tmpl.php
1 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
2         <div class="input-form" style="max-width: 95%">
3                 <div class="row">
4                         <fieldset>
5                         <legend><?php echo _AT("google_search_type_txt"); ?></legend>
6                         <?php
7                                 if ($this->googleType==GOOGLE_TYPE_SOAP){
8                                         $type1=' checked="checked"'; 
9                                 } elseif ($this->googleType==GOOGLE_TYPE_AJAX){
10                                         $type2=' checked="checked"'; 
11                                 }
12                         ?>
13                 
14                         <input type="radio" name="gtype" id="googleTypeSoap" value="<?php echo GOOGLE_TYPE_SOAP?>" <?php echo $type1 ?>/>
15                         <label for="googleTypeSoap"><?php echo _AT("google_search_soap"); ?></label><br/>
16
17                         <input type="radio" name="gtype" id="googleTypeAjax" value="<?php echo GOOGLE_TYPE_AJAX?>" <?php echo $type2 ?>/>
18                         <label for="googleTypeAjax"><?php echo _AT("google_search_ajax"); ?></label><br/>
19                 </fieldset>
20                 </div>
21                 
22                 <div class="row">
23                         <?php echo _AT('google_search_attn'); ?><br/><br/>
24                         <?php echo _AT('google_key_txt'); ?>
25                 </div>
26                 <div class="row">
27                         <label for="key">Key</label>
28                         <input type="text" name="key" id="key" size="40" value="<?php echo $key; ?>" style="min-width: 90%;" />
29                 </div>
30
31                 <div class="row buttons">
32                         <input type="submit" name="submit" value="<?php echo _AT('save'); ?>" accesskey="s" />
33                 </div>
34         </div>
35
36 </form>