Checkboxes without labels are a pain to use... Now text is clickable as well.
authoravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Sep 2006 17:13:14 +0000 (17:13 +0000)
committeravel <avel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Sep 2006 17:13:14 +0000 (17:13 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11761 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/folder_manip.tpl

index f06cc102ef48c748dd4bf4455a38ebfe10c525ff..ec2c2f83f30f8ee832137b94327dba912a892291 100644 (file)
@@ -192,7 +192,8 @@ extract($t);
       </select>
 */
             foreach ($subbox_option_list as $folder) {
-                echo '<input type="checkbox" name="folder_names[]" value="'.$folder['Value'].'" />'.$folder['Display'].'<br />';
+                echo '<input type="checkbox" name="folder_names[]" id="sub_'.$folder['Value'].'" value="'.$folder['Value'].'" /> '.
+                    '<label for="sub_'.$folder['Value'].'">'.$folder['Display'].'</label><br />';
             }
             ?>
       </div>