xhtml validation
authorjoel kronenberg <joel.kronenberg@utoronto.ca>
Wed, 5 Jul 2006 15:53:57 +0000 (15:53 -0000)
committerjoel kronenberg <joel.kronenberg@utoronto.ca>
Wed, 5 Jul 2006 15:53:57 +0000 (15:53 -0000)
docs/file_storage/revisions.php
docs/links/index.php
docs/tools/groups/edit_group.php
docs/tools/links/edit.php

index 5cda3ff..99194c1 100644 (file)
@@ -71,16 +71,6 @@ usort($files, 'fs_revisions_sort_compare');
 <input type="hidden" name="ot" value="<?php echo $owner_type; ?>" />\r
 <input type="hidden" name="oid" value="<?php echo $owner_id; ?>" />\r
 <table class="data">\r
-<thead>\r
-<tr>\r
-       <th>&nbsp;</th>\r
-       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=num_revisions"><?php echo _AT('revision');  ?></a></th>\r
-       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=file_name"><?php echo _AT('file_name'); ?></a></th>\r
-       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=date"><?php echo _AT('date');      ?></a></th>\r
-       <th><?php echo _AT('author');    ?></th>\r
-       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=num_comments"><?php echo _AT('comments');  ?></a></th>\r
-       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=file_size"><?php echo _AT('size');      ?></a></th>\r
-</tr>\r
 <colgroup>\r
        <?php if ($col == 'num_revisions'): ?>\r
                <col />\r
@@ -103,6 +93,17 @@ usort($files, 'fs_revisions_sort_compare');
                <col class="sort" />\r
        <?php endif; ?>\r
 </colgroup>\r
+<thead>\r
+<tr>\r
+       <th>&nbsp;</th>\r
+       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=num_revisions"><?php echo _AT('revision');  ?></a></th>\r
+       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=file_name"><?php echo _AT('file_name'); ?></a></th>\r
+       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=date"><?php echo _AT('date');      ?></a></th>\r
+       <th><?php echo _AT('author');    ?></th>\r
+       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=num_comments"><?php echo _AT('comments');  ?></a></th>\r
+       <th><a href="<?php echo $_SERVER['PHP_SELF'] . $owner_arg_prefix . 'id='.$id.SEP.$orders[$order]; ?>=file_size"><?php echo _AT('size');      ?></a></th>\r
+</tr>\r
+\r
 </thead>\r
 <tfoot>\r
 <tr>\r
index 53d5f0e..a98fc3f 100644 (file)
@@ -111,7 +111,7 @@ if ($num_results > 0):
                </div>
 
         <div class="row">
-                       <label for="cat_parent_id"><?php echo _AT('select_cat'); ?></label>
+                       <label for="category_parent"><?php echo _AT('select_cat'); ?></label>
                <br />
                        <?php if (!empty($categories)): ?>
                                <select name="cat_parent_id" id="category_parent"><?php
index fccbf7a..a9e2b82 100644 (file)
@@ -109,7 +109,7 @@ $row['modules'] = explode('|', $row['modules']);
 \r
        <div class="row">\r
                <label for="description"><?php echo _AT('description'); ?>:</label><br />\r
-               <textarea name="description" cols="10" rows="2"><?php echo $row['description']; ?></textarea>\r
+               <textarea name="description" id="description" cols="10" rows="2"><?php echo $row['description']; ?></textarea>\r
        </div>\r
 \r
        <div class="row">\r
index 9511ba3..2b1d16b 100644 (file)
@@ -136,7 +136,7 @@ $msg->printErrors();
                                $y = '';\r
                        }\r
                ?>\r
-               <input type="radio" id="yes" name="approved" value="1" <?php echo $y; ?>><label for="yes"><?php echo _AT('yes1'); ?></label>  <input type="radio" id="no" name="approved" value="0" <?php echo $n; ?>><label for="no"><?php echo _AT('no1'); ?></label>\r
+               <input type="radio" id="yes" name="approved" value="1" <?php echo $y; ?> /><label for="yes"><?php echo _AT('yes1'); ?></label>  <input type="radio" id="no" name="approved" value="0" <?php echo $n; ?> /><label for="no"><?php echo _AT('no1'); ?></label>\r
        </div>\r
        \r
        <div class="row buttons">\r