diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-06 18:06:35 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-06 18:06:35 +0000 |
| commit | 54e4aafc0f8f61aab7b61c255806976f3796c4f9 (patch) | |
| tree | 2a6b8ce8d089b8b3865c4a4510298cecf64aaed9 /templates/install_packages.tpl | |
| parent | ee96e9bfe1cf78061e7918e16be2a550105f7bb1 (diff) | |
| download | install-54e4aafc0f8f61aab7b61c255806976f3796c4f9.tar.gz install-54e4aafc0f8f61aab7b61c255806976f3796c4f9.tar.bz2 install-54e4aafc0f8f61aab7b61c255806976f3796c4f9.zip | |
first stab at a flexible content uninstaller. some stuff probably needs some more testing and we also need to think about how to physically remove files from the harddisk when uninstalling stuff like fisheye or treasury. ideally we should have a confirmation page that lists all the content that's about to be nuked, but i just can't be asked...
Diffstat (limited to 'templates/install_packages.tpl')
| -rw-r--r-- | templates/install_packages.tpl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/install_packages.tpl b/templates/install_packages.tpl index 4f966a4..1d5ae29 100644 --- a/templates/install_packages.tpl +++ b/templates/install_packages.tpl @@ -119,6 +119,18 @@ {/forminput} </div> + <div class="row"> + {formlabel label="Un / Reinstall options"} + {forminput} + <label><input type="checkbox" name="remove_actions[]" value="tables" checked="checked" /> Delete package tables.</label> + {formhelp note="This will leave all package specific settings in tact and will also leave content in the liberty tables, which might lead to undesired results."} + <label><input type="checkbox" name="remove_actions[]" value="settings" checked="checked" /> Delete package settings.</label> + {formhelp note="This will remove all package specific settings. Select only this checkbox if you want to reset a package to it's default values including permissions."} + <label><input type="checkbox" name="remove_actions[]" value="content" checked="checked" /> Delete package content.</label> + {formhelp note="This will remove all content that has been stored in the common content storage area."} + {/forminput} + </div> + <div class="clear"><hr /></div> {foreach from=$schema key=package item=item} @@ -143,7 +155,7 @@ Please press this button only once<br /> Depending on the number of packages and the hardware,<br /> this process might take up to a few minutes.<br /><br /> - <input type="submit" name="submit_packages" value="Un / Reinstall Packages" /> + <input type="submit" name="submit_packages" value="Un / Reinstall Packages" onclick="return confirm( 'Are you sure you want to Un / Reinstall the selected packages?' );" /> </div> <div class="row"> |
