فهرست منبع

Checkboxes without labels are a pain to use... Now text is clickable as well.

Alexandros Vellis 19 سال پیش
والد
کامیت
ca596d3c27
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      templates/default/folder_manip.tpl

+ 2 - 1
templates/default/folder_manip.tpl

@@ -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>