diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-09-14 09:07:25 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-09-14 09:07:25 +0000 |
| commit | 493123827709a3444ce8c0a86bffda76f5bf612d (patch) | |
| tree | 812183b65c91c90d86e9a78806da170c3f3c5d0a /templates/install_packages.tpl | |
| parent | 923035a1651193fb8e7683aa04691ef893df5dc6 (diff) | |
| download | install-493123827709a3444ce8c0a86bffda76f5bf612d.tar.gz install-493123827709a3444ce8c0a86bffda76f5bf612d.tar.bz2 install-493123827709a3444ce8c0a86bffda76f5bf612d.zip | |
change installer package display - since the package scan changes even packages without a scheme_inc.php have to be installed for activation
Diffstat (limited to 'templates/install_packages.tpl')
| -rw-r--r-- | templates/install_packages.tpl | 78 |
1 files changed, 35 insertions, 43 deletions
diff --git a/templates/install_packages.tpl b/templates/install_packages.tpl index ec627fd..4f966a4 100644 --- a/templates/install_packages.tpl +++ b/templates/install_packages.tpl @@ -25,10 +25,8 @@ {* include required packages during first install *} {foreach from=$schema key=package item=item} - {if $item.tables || $item.defaults} - {if $item.required && !$item.installed} - <input type="hidden" name="packages[]" value="{$package}" /> - {/if} + {if $item.required && !$item.installed} + <input type="hidden" name="packages[]" value="{$package}" /> {/if} {/foreach} @@ -50,20 +48,18 @@ <p>Packages are the parts of bitweaver that deal with content such as wiki pages, blogs or news articles.</p> {foreach from=$schema key=package item=item} - {if $item.tables || $item.defaults} - {if !$item.installed and !$item.required and !$item.service} - <div class="row"> - <div class="formlabel"> - <label for="{$package}">{biticon ipackage=$package iname="pkg_$package" iexplain=`$package`}</label> - </div> - {forminput} - <label><input type="checkbox" name="packages[]" value="{$package}" id="{$package}" checked="checked" /> <strong>{$package|capitalize}</strong></label> - {formhelp note=`$item.info`} - {formhelp note="<strong>Location</strong>: `$item.url`"} - {formhelp package=$package} - {/forminput} + {if !$item.installed and !$item.required and !$item.service} + <div class="row"> + <div class="formlabel"> + <label for="{$package}">{biticon ipackage=$package iname="pkg_$package" iexplain=`$package`}</label> </div> - {/if} + {forminput} + <label><input type="checkbox" name="packages[]" value="{$package}" id="{$package}" checked="checked" /> <strong>{$package|capitalize}</strong></label> + {formhelp note=`$item.info`} + {formhelp note="<strong>Location</strong>: `$item.url`"} + {formhelp package=$package} + {/forminput} + </div> {/if} {/foreach} @@ -72,20 +68,18 @@ <p>Services are special packages and can be considered extensions to the way content is handled. An extension might allow you to protect, categorise or rate your content.</p> {foreach from=$schema key=package item=item} - {if $item.tables || $item.defaults} - {if !$item.installed and !$item.required and $item.service} - <div class="row"> - <div class="formlabel"> - <label for="{$package}">{biticon ipackage=$package iname="pkg_$package" iexplain=`$package`}</label> - </div> - {forminput} - <label><input type="checkbox" name="packages[]" value="{$package}" id="{$package}" checked="checked" /> <strong>{$package|capitalize}</strong></label> - {formhelp note=`$item.info`} - {formhelp note="<strong>Location</strong>: `$item.url`"} - {formhelp package=$package} - {/forminput} + {if !$item.installed and !$item.required and $item.service} + <div class="row"> + <div class="formlabel"> + <label for="{$package}">{biticon ipackage=$package iname="pkg_$package" iexplain=`$package`}</label> </div> - {/if} + {forminput} + <label><input type="checkbox" name="packages[]" value="{$package}" id="{$package}" checked="checked" /> <strong>{$package|capitalize}</strong></label> + {formhelp note=`$item.info`} + {formhelp note="<strong>Location</strong>: `$item.url`"} + {formhelp package=$package} + {/forminput} + </div> {/if} {/foreach} @@ -171,20 +165,18 @@ {/if} {foreach from=$schema key=package item=item} - {if $item.tables || $item.defaults} - {if $item.required} - <div class="row"> - <div class="formlabel"> - {biticon ipackage=$package iname="pkg_$package" iexplain=`$package`} - </div> - {forminput} - <strong>{$package|capitalize}</strong> - {formhelp note=`$item.info`} - {formhelp note="<strong>Location</strong>: `$item.url`"} - {formhelp package=$package} - {/forminput} + {if $item.required} + <div class="row"> + <div class="formlabel"> + {biticon ipackage=$package iname="pkg_$package" iexplain=`$package`} </div> - {/if} + {forminput} + <strong>{$package|capitalize}</strong> + {formhelp note=`$item.info`} + {formhelp note="<strong>Location</strong>: `$item.url`"} + {formhelp package=$package} + {/forminput} + </div> {/if} {/foreach} {/legend} |
