diff options
| author | santo spider <spider@santo> | 2014-11-19 16:15:02 -0500 |
|---|---|---|
| committer | santo spider <spider@santo> | 2014-11-19 16:15:02 -0500 |
| commit | 344c30e643400033f914f2f473ac61574090bc3d (patch) | |
| tree | e167e0c779375c86d58660fae3befc1a63aa524e | |
| parent | 8c81215a4f6c2602d20dc6c3eb7fe2ba608c72a0 (diff) | |
| download | install-344c30e643400033f914f2f473ac61574090bc3d.tar.gz install-344c30e643400033f914f2f473ac61574090bc3d.tar.bz2 install-344c30e643400033f914f2f473ac61574090bc3d.zip | |
fix forminput label=checkbox
| -rw-r--r-- | templates/install_packages.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/install_packages.tpl b/templates/install_packages.tpl index f7bcdaf..11a18c2 100644 --- a/templates/install_packages.tpl +++ b/templates/install_packages.tpl @@ -42,9 +42,9 @@ <p class="alert alert-block">Be conscientious about installing packages. The more packages you activate, the more computer power you will need. It is easy to install packages at a later date, so we advise initially installing just the packages you need.</p> <div class="form-group"> - {forminput} + {forminput label="checkbox"} <script type="text/javascript">/* <![CDATA[ */ - document.write("<label><input name=\"switcher\" id=\"switcher\" type=\"checkbox\" checked onclick=\"BitBase.switchCheckboxes(this.form.id,'packages[]','switcher')\" /> Batch (de)select all Packages and Services on this page</label>"); + document.write("<input name=\"switcher\" id=\"switcher\" type=\"checkbox\" checked onclick=\"BitBase.switchCheckboxes(this.form.id,'packages[]','switcher')\" /> Batch (de)select all Packages and Services on this page"); /* ]]> */</script> {/forminput} </div> @@ -53,8 +53,8 @@ {if !$item.installed and !$item.required} <div class="form-group"> <label class="control-label" for="{$package}">{biticon ipackage=$package iname="pkg_$package" iexplain=$package}</label> - {forminput} - {forminput label="checkbox"}<input type="checkbox" name="packages[]" value="{$package}" id="{$package}" checked="checked" /> <strong>{$package|capitalize}</strong></label> + {forminput label="checkbox"} + <input type="checkbox" name="packages[]" value="{$package}" id="{$package}" checked="checked" /> <strong>{$package|capitalize}</strong></label> {formhelp note=$item.info is_installer=1} {formhelp note="<strong>Location</strong>: `$item.url`"} {formhelp package=$package} |
