From f9d2388b287b8f412f0ebeee55013997421e9dd1 Mon Sep 17 00:00:00 2001 From: spiderr Date: Mon, 1 Apr 2013 12:19:57 -0400 Subject: bootstrap-conversion --- templates/admin_boards.tpl | 30 +++++++++++++++--------------- templates/board_assign.tpl | 8 ++++---- templates/board_edit.tpl | 4 ++-- templates/boards_edit_mini_inc.tpl | 2 +- templates/boards_rss_form.tpl | 6 +++--- templates/comment_post.tpl | 4 ++-- templates/list_posts.tpl | 8 ++++---- templates/list_topics.tpl | 2 +- templates/mailing_list.tpl | 22 +++++++++++----------- templates/topic_move.tpl | 4 ++-- templates/user_preferences_inc.tpl | 6 +++--- 11 files changed, 48 insertions(+), 48 deletions(-) diff --git a/templates/admin_boards.tpl b/templates/admin_boards.tpl index 9bbe9fd..4e2330d 100644 --- a/templates/admin_boards.tpl +++ b/templates/admin_boards.tpl @@ -3,7 +3,7 @@ {* {legend legend="Home Message Board"} -
+
{formlabel label="Home BitBoards (main board)" for="homeBitBoards"} {forminput}
{/legend} @@ -24,7 +24,7 @@ {legend legend="List Settings"} {foreach from=$formBitBoardsLists key=item item=output} -
+
{formlabel label=`$output.label` for=$item} {forminput} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} @@ -35,14 +35,14 @@ {/legend} {legend legend="Mailing List Synchronization"} -
+
{forminput}

List to Board Sync

{tr}List to Board Sync allows a bitweaver board to mirror messages that are posted to a mailing list. A single, master email inbox entered below is used for *all* email list subscriptions. Then, configure individual boards to indicate which mailing list to which it is subscribed. The Board Sync cron script will import messages from the master email inbox.{/tr}

{/forminput}
{foreach from=$formBitBoardsSync key=item item=output} -
+
{formlabel label=`$output.label` for=$item} {forminput} @@ -51,21 +51,21 @@
{/foreach} -
+
{forminput}

Board to List Sync

{tr}Board to List Sync is the opposite of the above. It allows a bitweaver board to send a message to mailing list. You must complete the "List to Board Sync" configuration above for this feature to work.{/tr} {tr}Please see configuration requirements prior to utilizing this feature.{/tr}

{/forminput}
-
+
{forminput} {/forminput}
{foreach from=$formGroupEmailList key=item item=output} -
+
{formlabel label=`$output.label` for=$item} {forminput} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} @@ -74,14 +74,14 @@
{/foreach} -
+
{formlabel label="Email Host" for='boards_email_host'} {forminput} {formhelp note="Enter the host name to which all mailing lists will be hosted and addressed."} {/forminput}
-
+
{formlabel label="Administrator Email" for='boards_email_admin'} {forminput} @@ -89,7 +89,7 @@ {/forminput}
-
+
{formlabel label="Mailman bin Path" for='server_mailman_bin'} {forminput} @@ -99,21 +99,21 @@ {/if} {/forminput}
-
+
{formlabel label="Mailman Command Path" for='mailman_cmd'} {forminput} {formhelp note="Path to mailman binary, typically: /usr/lib/mailman/mail/mailman"} {/forminput}
-
+
{formlabel label="Newaliases command" for='server_newaliases_cmd'} {forminput} {formhelp note="Path to the command to tell the mail server to reload the aliases file. For sendmail typically: /usr/bin/newaliases"} {/forminput}
-
+
{formlabel label="MTA Aliases Map" for='server_aliases_file'} {forminput} @@ -121,7 +121,7 @@ {/forminput}
{/legend} -
+
{/form} diff --git a/templates/board_assign.tpl b/templates/board_assign.tpl index 67b1a9f..d9a50d5 100644 --- a/templates/board_assign.tpl +++ b/templates/board_assign.tpl @@ -7,7 +7,7 @@
{if $data.umap} {form legend="Assign Content"} -
+
{formlabel label="Add Content" for="assign"} {forminput} @@ -35,7 +35,7 @@ {/forminput}
-
+
{/form} @@ -84,7 +84,7 @@ {/foreach} -
+
{/form} diff --git a/templates/board_edit.tpl b/templates/board_edit.tpl index f99c4aa..5a683d6 100644 --- a/templates/board_edit.tpl +++ b/templates/board_edit.tpl @@ -45,7 +45,7 @@ {legend legend=$leg} -
+
{formlabel label="Title" for="title"} {forminput} @@ -57,7 +57,7 @@ {* any simple service edit options *} {include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"} -
+
diff --git a/templates/boards_edit_mini_inc.tpl b/templates/boards_edit_mini_inc.tpl index 19f758b..13b52b9 100644 --- a/templates/boards_edit_mini_inc.tpl +++ b/templates/boards_edit_mini_inc.tpl @@ -1,6 +1,6 @@ {if $gBitUser->hasPermission('p_boards_link_content') && $gContent->mContentTypeGuid != $smarty.const.BITBOARD_CONTENT_TYPE_GUID} {* {$gContent->mContentTypeGuid} *} -
+
{formlabel label="Linked Board"} {forminput} {if $boardList} diff --git a/templates/boards_rss_form.tpl b/templates/boards_rss_form.tpl index 8394708..9384942 100644 --- a/templates/boards_rss_form.tpl +++ b/templates/boards_rss_form.tpl @@ -23,7 +23,7 @@
{/if} -
+
{formlabel label="Feed Format" for="format"} {forminput} {html_options name=format id=format values=$feedFormat options=$feedFormat selected=$feedlink.format} @@ -31,7 +31,7 @@ {/forminput}
-
+
{formlabel label="Feed" for="pkg"} {forminput} {if $gContent->isValid()}{tr}{$gContent->getField('title')} Feed{/tr}{else}{tr}Recent Discussions{/tr}{/if} @@ -39,7 +39,7 @@ {/forminput}
-
+
{/legend} diff --git a/templates/comment_post.tpl b/templates/comment_post.tpl index 0fedcb5..d156362 100644 --- a/templates/comment_post.tpl +++ b/templates/comment_post.tpl @@ -22,7 +22,7 @@ -
+
{formlabel label="Title" for="comments-title"} {forminput} @@ -35,7 +35,7 @@ {/capture} {textarea noformat=1 label="Comment" id="commentpost" name="comment_data" rows="6"}{$postComment.data}{/textarea} -
+
    diff --git a/templates/list_posts.tpl b/templates/list_posts.tpl index 3d83017..f942b56 100644 --- a/templates/list_posts.tpl +++ b/templates/list_posts.tpl @@ -58,8 +58,8 @@
{if !$topic_locked && $board->hasPostCommentsPermission()} -
- {biticon ipackage="icons" iname="mail-reply-sender" iexplain="Post Reply" iforce="icon"} {tr}Post Reply{/tr} + {/if} @@ -86,8 +86,8 @@ {/if} {if !$topic_locked && $board->hasPostCommentsPermission()} -
- {biticon ipackage="icons" iname="mail-reply-sender" iexplain="Post Reply" iforce="icon"} {tr}Post Reply{/tr} + {/if} diff --git a/templates/list_topics.tpl b/templates/list_topics.tpl index f92acaa..5ab53ab 100644 --- a/templates/list_topics.tpl +++ b/templates/list_topics.tpl @@ -37,7 +37,7 @@ {minifind sort_mode=$sort_mode b=$smarty.request.b prompt="Search `$smarty.const.BOARDS_PKG_DIR`..."} diff --git a/templates/mailing_list.tpl b/templates/mailing_list.tpl index 2d32414..7a4a594 100644 --- a/templates/mailing_list.tpl +++ b/templates/mailing_list.tpl @@ -11,7 +11,7 @@ {jstab title="Mailing List Information"} {if $board->getPreference('boards_mailing_list')} -
+
{formlabel label="Address"} {forminput} {$board->getPreference('boards_mailing_list')}@{$gBitSystem->getConfig('boards_email_host',$gBitSystem->getConfig('kernel_server_name'))} @@ -19,7 +19,7 @@
{form} -
+
{formlabel label="Subscribe"} {forminput} {if mailman_findmember($board->getPreference('boards_mailing_list'),$gBitUser->getField('email'))} @@ -63,7 +63,7 @@ {form} {if $gBitSystem->getConfig('boards_sync_mail_server')} -
+
{formlabel label="Mailing List Address" for="boardsync"} {forminput} @@ -82,7 +82,7 @@ {/forminput}
{if $board->getPreference('boards_mailing_list')} -
+
{formlabel label="Subscribe"} {forminput} {if mailman_findmember($board->getPreference('boards_mailing_list'),$boardSyncInbox)} @@ -96,7 +96,7 @@
{/if} {else} -
+
{formlabel label="Board Sync" for="boardsync"} {forminput} {tr}Board Sync is not available since the Board Sync master email box has not been configured.{/tr} {if !$gBitUser->isAdmin()}{tr}Check with your site administrator.{/tr}{/if} @@ -111,18 +111,18 @@ {form} {if $board->getPreference('boards_mailing_list')} -
+
{formlabel label="Address"} {forminput} {$board->getPreference('boards_mailing_list')}@{$gBitSystem->getConfig('boards_email_host',$gBitSystem->getConfig('kernel_server_name'))} {/forminput}
-
+
{forminput} {/forminput}
-
+
{formlabel label="Advanced Configuration"} {forminput} getPreference('boards_mailing_list')}"> @@ -133,21 +133,21 @@ {if $gBitSystem->getConfig('server_mailman_bin') && $gBitSystem->getConfig('boards_sync_user') && $gBitSystem->getConfig('boards_sync_mail_server')} {legend legend="Group Mailing List"} -
+
{formlabel label="Mailing List Address" for='emailhost'} {forminput} @ {$gBitSystem->getConfig('boards_email_host',$gBitSystem->getConfig('kernel_server_name'))} {formhelp note="This is the email address for the group. It needs to be all lowercase alpha-numeric characters."} {/forminput}
-
+
{formlabel label="Administrator Password" for='emailhost'} {forminput} {formhelp note="This is the password used to administer the mailing list."} {/forminput}
-
+
{forminput} {/forminput} diff --git a/templates/topic_move.tpl b/templates/topic_move.tpl index afe60df..82c1b80 100644 --- a/templates/topic_move.tpl +++ b/templates/topic_move.tpl @@ -12,7 +12,7 @@ {assign var=title value=$gContent->mInfo.title|escape} -
+
{formlabel label="To Board" for="target"} {forminput} {/forminput}
-
+
{/form} diff --git a/templates/user_preferences_inc.tpl b/templates/user_preferences_inc.tpl index c2de2f9..16ccd3e 100644 --- a/templates/user_preferences_inc.tpl +++ b/templates/user_preferences_inc.tpl @@ -6,7 +6,7 @@ {form legend="Simple Settings"} {foreach from=$boardsSettings key=option item=output} -
+
{assign var='pref' value=$output.pref} {if $userPrefs.$pref == null} {assign var='value' value=$output.default} @@ -24,7 +24,7 @@ {/forminput}
{/foreach} -
+
{/form} @@ -34,7 +34,7 @@ {formfeedback warning=$error} {textarea gContent=$signatureContent name=bitboarduprefs[edit]" rows=4}{$editUser->getPreference('signature_content_data')}{/textarea} -
+
{/form} -- cgit v1.3