remove old readme
[atutor.git] / users / control_settings.inc.php
1 <legend><strong><?php echo _AT("navigation"); ?></strong> </legend>  
2 <div id="feedback" style="width:90%;">
3 <?php echo _AT('prefs_set_nav'); ?>
4 </div>
5         <div class="row">
6                 <?php echo _AT('show_contents'); ?><br />
7                 <?php
8                         $yes = $no  = '';
9                         
10                         if (isset($_POST["show_contents"]))
11                                 $selected_sc = $_POST["show_contents"];
12                         else
13                                 $selected_sc = $_SESSION['prefs']['PREF_SHOW_CONTENTS'];
14                                 
15                         if ($selected_sc == 1) {
16                                 $yes = ' checked="checked"';
17                         } else {
18                                 $no  = ' checked="checked"';
19                         }
20 ?>
21                 <input type="radio" name="show_contents" id="sc_yes" value="1" <?php echo $yes; ?> /><label for="sc_yes"><?php echo _AT('yes'); ?></label>
22                 <input type="radio" name="show_contents" id="sc_no" value="0" <?php echo $no; ?> /><label for="sc_no"><?php echo _AT('no'); ?></label>
23         </div>
24
25         <div class="row">
26                 <?php echo _AT('show_next_previous_buttons'); ?><br />
27                 <?php
28                         $yes = $no = '';
29                         
30                         if (isset($_POST["show_next_previous_buttons"]))
31                                 $selected_snpb = $_POST["show_next_previous_buttons"];
32                         else
33                                 $selected_snpb = $_SESSION['prefs']['PREF_SHOW_NEXT_PREVIOUS_BUTTONS'];
34                                 
35                         if ($selected_snpb == 1) {
36                                 $yes = ' checked="checked"';
37                         } else {
38                                 $no = ' checked="checked"';
39                         }
40 ?>
41                 <input type="radio" name="show_next_previous_buttons" id="snpb_yes" value="1" <?php echo $yes; ?> /><label for="snpb_yes"><?php echo _AT('yes'); ?></label>
42                 <input type="radio" name="show_next_previous_buttons" id="snpb_no" value="0" <?php echo $no; ?> /><label for="snpb_no"><?php echo _AT('no'); ?></label>
43         </div>
44
45         <div class="row">
46                 <?php echo _AT('show_bread_crumbs'); ?><br />
47                 <?php
48                         $yes = $no  = '';
49                         
50                         if (isset($_POST["show_bread_crumbs"]))
51                                 $selected_sbc = $_POST["show_bread_crumbs"];
52                         else
53                                 $selected_sbc = $_SESSION['prefs']['PREF_SHOW_BREAD_CRUMBS'];
54                                 
55                         if ($selected_sbc == 1) {
56                                 $yes = ' checked="checked"';
57                         } else {
58                                 $no  = ' checked="checked"';
59                         }
60 ?>
61                 <input type="radio" name="show_bread_crumbs" id="sbc_yes" value="1" <?php echo $yes; ?> /><label for="sbc_yes"><?php echo _AT('yes'); ?></label>
62                 <input type="radio" name="show_bread_crumbs" id="sbc_no" value="0" <?php echo $no; ?> /><label for="sbc_no"><?php echo _AT('no'); ?></label>
63         </div>