From 4aefd1982c42a18d5def6fdbb90d4823cacde486 Mon Sep 17 00:00:00 2001 From: lsces Date: Sun, 7 Feb 2016 21:43:49 +0000 Subject: Bootstrap form classes --- templates/admin_newsletter_subscriptions.tpl | 10 +++++----- templates/admin_newsletters.tpl | 6 +++--- templates/center_list_newsletters.tpl | 14 +++++++------- templates/edit_edition.tpl | 18 +++++++++--------- templates/edit_newsletter.tpl | 20 ++++++++++---------- templates/mail_queue.tpl | 2 +- templates/send_newsletters.tpl | 20 ++++++++++---------- templates/user_register_inc.tpl | 2 +- templates/user_subscriptions.tpl | 12 ++++++------ 9 files changed, 52 insertions(+), 52 deletions(-) diff --git a/templates/admin_newsletter_subscriptions.tpl b/templates/admin_newsletter_subscriptions.tpl index 31f5d38..b0de9ef 100644 --- a/templates/admin_newsletter_subscriptions.tpl +++ b/templates/admin_newsletter_subscriptions.tpl @@ -9,7 +9,7 @@ {form} -
+
{if $gContent->getField('validate_addr') eq 'y'} {formfeedback warning="Validate Email is enabled, a confirmation email will be sent to every subsciber inviting them to the newsletter. Any duplicate or previously unsubscribed emails will *NOT* be re-subscribed using this method."} {else} @@ -17,7 +17,7 @@ {/if}
-
+
{formlabel label="New Subscribers" for=""} {forminput} @@ -25,9 +25,9 @@ {/forminput}
-
+
{forminput} - + {/forminput}
{/form} @@ -81,7 +81,7 @@ //]]>
{/form} diff --git a/templates/admin_newsletters.tpl b/templates/admin_newsletters.tpl index b09d2e6..c7824a1 100644 --- a/templates/admin_newsletters.tpl +++ b/templates/admin_newsletters.tpl @@ -3,7 +3,7 @@ {legend legend="Newsletter Mail Server Settings"} {foreach from=$formNewsletterFeatures key=item item=output} -
+
{formlabel label=$output.label for=$item} {forminput} @@ -12,8 +12,8 @@
{/foreach} -
- +
+
{/legend} {/form} diff --git a/templates/center_list_newsletters.tpl b/templates/center_list_newsletters.tpl index 3dc6222..29d9ba5 100644 --- a/templates/center_list_newsletters.tpl +++ b/templates/center_list_newsletters.tpl @@ -11,14 +11,14 @@ {formfeedback hash=$feedback} {if $subscribe eq 'y'}

{tr}Subscribe to Newsletter{/tr}

-
+
{formlabel label="Name" for=""} {forminput} {$gContent->getTitle()} {/forminput}
-
+
{formlabel label="Description" for=""} {forminput} {$gContent->parseData()} @@ -27,7 +27,7 @@ {if ($gContent->getField('allow_user_sub') eq 'y') or $gBitUser->hasPermission( 'p_newsletters_subscribe' )} {form} -
+
{formlabel label="Email" for=""} {forminput} {if $gBitUser->hasPermission( 'p_newsletters_subscribe_email' )} @@ -37,13 +37,13 @@ {/if} {/forminput}
-
+
{forminput} - + {if $gContent->getField( 'subscribed_date' )} - + {else} - + {/if} {/forminput}
diff --git a/templates/edit_edition.tpl b/templates/edit_edition.tpl index b96ae20..c9a4c44 100644 --- a/templates/edit_edition.tpl +++ b/templates/edit_edition.tpl @@ -22,7 +22,7 @@ {jstabs} {jstab title="Edition Body"} {legend legend="Edition Body"} -
+
{formlabel label="Newsletter" for="nl_content_id"} {forminput} @@ -51,14 +51,14 @@ {include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"} -
+
-
+
{formlabel label="Subject" for="subject"} {forminput} @@ -66,7 +66,7 @@ {/forminput}
-
+
{formlabel label="Reply-To" for="replyto"} {forminput} @@ -89,10 +89,10 @@ {/jstabs} -
- - - +
+ + +
{/form}
diff --git a/templates/edit_newsletter.tpl b/templates/edit_newsletter.tpl index 6e5b609..a55e2c6 100644 --- a/templates/edit_newsletter.tpl +++ b/templates/edit_newsletter.tpl @@ -14,7 +14,7 @@ {/if} -
+
{formlabel label="Title" for="title"} {forminput} @@ -22,7 +22,7 @@ {/forminput}
-
+
{formlabel label="Description" for="description"} {forminput} @@ -30,44 +30,44 @@ {/forminput}
-
+
-
+
-
+
-
+
-
+
-
- - +
+ +
{/form} diff --git a/templates/mail_queue.tpl b/templates/mail_queue.tpl index 0fcf621..786283d 100644 --- a/templates/mail_queue.tpl +++ b/templates/mail_queue.tpl @@ -41,7 +41,7 @@
- +
{/form} diff --git a/templates/send_newsletters.tpl b/templates/send_newsletters.tpl index c9a1c7c..8be1f17 100644 --- a/templates/send_newsletters.tpl +++ b/templates/send_newsletters.tpl @@ -8,7 +8,7 @@
{if $feedback} -
+
{formfeedback hash=$feedback}
{/if} @@ -31,7 +31,7 @@ {jstab title="Preview Recipient List"} {legend legend="Preview Recipient List"} -
+
{foreach from=$smarty.request.send_group item=groupId key=i} {/foreach} @@ -49,13 +49,13 @@ {/jstab} {/jstabs} -
- - +
+ +
{else} {legend legend="Recipient Groups"} -
+
{formlabel label="Groups"} {forminput} {foreach from=$groupList item=group key=groupId } @@ -65,22 +65,22 @@ {/forminput}
-
+
{* -
+
{formlabel label="Only send to validated emails"} {forminput} {/forminput}
*} -
- +
+
{/legend} {/if} diff --git a/templates/user_register_inc.tpl b/templates/user_register_inc.tpl index fa55312..373b4f1 100644 --- a/templates/user_register_inc.tpl +++ b/templates/user_register_inc.tpl @@ -15,7 +15,7 @@ for (var i = 0; i < checkboxes.length; i++){ {/literal} -
+
{formlabel label="Subscriptions"} {forminput} {foreach from=$newsletters item='newsletter'} diff --git a/templates/user_subscriptions.tpl b/templates/user_subscriptions.tpl index 73ee932..7581b63 100644 --- a/templates/user_subscriptions.tpl +++ b/templates/user_subscriptions.tpl @@ -11,7 +11,7 @@ {if $smarty.request.c} -
+
{formlabel label="In Response To"} {forminput} @@ -20,14 +20,14 @@
{/if} -
+
{formlabel label="User Information"} {forminput} {displayname hash=$subInfo}
{$subInfo.email} {/forminput}
-
+
{formlabel label="Subscriptions"} {forminput} {foreach from=$newsletters key=nlId item=nl} @@ -37,14 +37,14 @@ {/foreach} {/forminput}
-
+
{formlabel label="Permanent Unsubscribe"} {forminput} {tr}Remove myself from all lists, and receive no further mailings from{/tr} {$gBitSystem->getConfig('siteTitle','this site')}.
{/forminput}
-
- +
+
{/form}
-- cgit v1.3