From 8c81215a4f6c2602d20dc6c3eb7fe2ba608c72a0 Mon Sep 17 00:00:00 2001 From: spiderr Date: Wed, 19 Nov 2014 16:19:39 -0500 Subject: add-forminput-label-param-for-bs3 --- templates/install_admin_inc.tpl | 4 ++-- templates/install_beta1_beta2.tpl | 8 ++++---- templates/install_cleanup.tpl | 12 ++++++------ templates/install_database.tpl | 8 ++------ templates/install_database_done.tpl | 8 +++----- templates/install_datapump.tpl | 23 +++++++---------------- templates/install_packages.tpl | 31 ++++++++++++++++--------------- templates/install_upgrade.tpl | 6 +++--- templates/install_version.tpl | 4 ++-- templates/migrate_database.tpl | 20 ++++++++++---------- templates/upgrade_packages.tpl | 3 +-- templates/upgrade_ready.tpl | 6 +++--- 12 files changed, 59 insertions(+), 74 deletions(-) diff --git a/templates/install_admin_inc.tpl b/templates/install_admin_inc.tpl index 0b980b7..47f4eeb 100644 --- a/templates/install_admin_inc.tpl +++ b/templates/install_admin_inc.tpl @@ -50,10 +50,10 @@
{forminput} - + {/forminput} {formhelp note="Check this box to send a test email to the above address. This will let you know if the mailing system is working."} {/forminput}
diff --git a/templates/install_beta1_beta2.tpl b/templates/install_beta1_beta2.tpl index ad140a4..ec52461 100644 --- a/templates/install_beta1_beta2.tpl +++ b/templates/install_beta1_beta2.tpl @@ -14,8 +14,8 @@
- {forminput} - + {forminput class="checkbox"} + {$item.name} {formhelp note=$item.info} {formhelp note="Location: `$item.url`"} {formhelp package=$package} @@ -27,8 +27,8 @@ {/legend}
- {forminput} - + {forminput label="checkbox"} + Debug mode {formhelp note="Display SQL statements."} {/forminput}
diff --git a/templates/install_cleanup.tpl b/templates/install_cleanup.tpl index 7eb6f86..af96f35 100644 --- a/templates/install_cleanup.tpl +++ b/templates/install_cleanup.tpl @@ -56,8 +56,8 @@ {/if}
- {forminput} - + {forminput label="checkbox"} + Debug mode {formhelp note="Display SQL statements."} {/forminput}
@@ -162,8 +162,8 @@
- {forminput} - + {forminput label="checkbox"} + {$package|capitalize} {formhelp note=$schema.$package.info} {formhelp note="Location: `$schema.$package.url`"} {formhelp package=$package} @@ -186,8 +186,8 @@
- {forminput} - + {forminput label="checkbox"} + {tr}Debug mode{/tr} {formhelp note="Display SQL statements."} {/forminput}
diff --git a/templates/install_database.tpl b/templates/install_database.tpl index 3097abf..05c673c 100644 --- a/templates/install_database.tpl +++ b/templates/install_database.tpl @@ -136,20 +136,16 @@
- {forminput} - {/forminput}
- {forminput} - {/forminput}
diff --git a/templates/install_database_done.tpl b/templates/install_database_done.tpl index 85fd905..ceca098 100644 --- a/templates/install_database_done.tpl +++ b/templates/install_database_done.tpl @@ -78,11 +78,9 @@ {if isset( $has_innodb_support )}
- {forminput} - + {forminput label="checkbox"} + Use InnoDB tables + {formhelp note="Your database server supports InnoDB which provides MySQL with a transaction-safe storage engine that has commit, rollback, and crash recovery capabilities. You usually want this for safest possible data storage. Otherwise the standard MyIsam engine is used."} {/forminput}
{/if} diff --git a/templates/install_datapump.tpl b/templates/install_datapump.tpl index c35dcdf..94e529d 100644 --- a/templates/install_datapump.tpl +++ b/templates/install_datapump.tpl @@ -3,26 +3,17 @@ {form legend="Populating the database with useful information"} -

- It's recommended to select this option to add sample data to your installation of Bitweaver. The sample data contains useful information on how to use and navigate the appropriate packages. You will enter the site with a feel for what it might look like later, when populated with actual content. This simplifies theme selection and allows you to evaluate the product more easily. -

- {* -

- This page is only available during the first installation as it can cause problems when applied more than once. -

- so? *} +

It's recommended to select this option to add sample data to your installation of Bitweaver. The sample data contains useful information on how to use and navigate the appropriate packages. You will enter the site with a feel for what it might look like later, when populated with actual content. This simplifies theme selection and allows you to evaluate the product more easily.

{formlabel label="Packages that can be populated"} - {forminput} - {foreach from=$pumpList item=file key=package} - - {foreachelse} - No packages with prepared data have been installed. - {/foreach} + {foreach from=$pumpList item=file key=package} + {forminput label="checkbox"} + {$package} {/forminput} + {foreachelse} + No packages with prepared data have been installed. + {/foreach}
diff --git a/templates/install_packages.tpl b/templates/install_packages.tpl index 570b6e7..f7bcdaf 100644 --- a/templates/install_packages.tpl +++ b/templates/install_packages.tpl @@ -54,7 +54,7 @@
{forminput} - + {forminput label="checkbox"} {$package|capitalize} {formhelp note=$item.info is_installer=1} {formhelp note="Location: `$item.url`"} {formhelp package=$package} @@ -86,8 +86,8 @@

{/if}
- {forminput} - + {forminput label="checkbox"} + {tr}Debug mode{/tr} {formhelp note="Display SQL statements."} {/forminput}
@@ -123,13 +123,16 @@
- {formlabel label=""} - {forminput} - + {forminput label="checkbox"} + Delete database tables {formhelp note="If selected, the package's database tables are deleted. If no other option is selected, specific settings might remain in Kernel configuration, and specific content might remain in Liberty tables, both of which might lead to undesired results."} - + {/forminput} + {forminput label="checkbox"} +  Delete package settings {formhelp note="If selected, all package specific settings are removed. Therefor the package is reset to it's default values, including permissions."} - + {/forminput} + {forminput label="checkbox"} +  Delete stored content {formhelp note="If selected, all content that has been stored in the common content storage area is removed."} {/forminput}
@@ -140,11 +143,9 @@ {if $item.tables || $item.defaults} {if $item.installed and !$item.required}
- - {forminput} - + + {forminput label="checkbox"} + {$package|capitalize} {formhelp note=$item.info is_installer=1} {formhelp note="Location: `$item.url`"} {formhelp package=$package} @@ -166,8 +167,8 @@
- {forminput} - + {forminput label="checkbox"} + Debug mode {formhelp note="Display SQL statements."} {/forminput}
diff --git a/templates/install_upgrade.tpl b/templates/install_upgrade.tpl index cd5ae3a..bb3d75d 100644 --- a/templates/install_upgrade.tpl +++ b/templates/install_upgrade.tpl @@ -10,7 +10,7 @@
You are about to run an upgrade which might make changes to your database. We strongly recommend that you back up your database (preferably carry out the entire backup procedure).
{foreach from=$packageUpgrades item=upgrade key=package} {* users don't have the option to select what packages to upgrade since the code of the package is dependent on this upgrade -

*} +

{forminput label="checkbox"} {$package}{/forminput}

*}

{$package}

@@ -153,8 +153,8 @@ {/if}
- {forminput} - + {forminput label="checkbox"} + Debug mode {formhelp note="Display SQL statements."} {/forminput}
diff --git a/templates/install_version.tpl b/templates/install_version.tpl index b59d9a6..46f045d 100644 --- a/templates/install_version.tpl +++ b/templates/install_version.tpl @@ -72,8 +72,8 @@
- {forminput} - + {forminput label="checkbox"} + Debug mode {formhelp note="Display SQL statements."} {/forminput}
diff --git a/templates/migrate_database.tpl b/templates/migrate_database.tpl index e42bac8..bc7ff01 100644 --- a/templates/migrate_database.tpl +++ b/templates/migrate_database.tpl @@ -234,10 +234,10 @@
- + {/forminput}
{/legend} {/jstab} @@ -263,31 +263,31 @@
- + {/forminput}
- + {/forminput}
- {forminput} - + {forminput label="checkbox"} + Debug mode {formhelp note="Display SQL statements."} {/forminput}
- + {/forminput}
{/legend} {/jstab} diff --git a/templates/upgrade_packages.tpl b/templates/upgrade_packages.tpl index 74116c7..9517a09 100644 --- a/templates/upgrade_packages.tpl +++ b/templates/upgrade_packages.tpl @@ -37,8 +37,7 @@ {/if}
- {forminput} - + {forminput label="checkbox"} Debug mode {formhelp note="Display SQL statements."} {/forminput}
diff --git a/templates/upgrade_ready.tpl b/templates/upgrade_ready.tpl index 9f69d67..f8a598c 100644 --- a/templates/upgrade_ready.tpl +++ b/templates/upgrade_ready.tpl @@ -22,10 +22,10 @@
- {forminput} - + {forminput label="checkbox"} + Debug mode + {formhelp note="Display SQL statements."} {/forminput} - {formhelp note="Display SQL statements."}
-- cgit v1.3