diff options
| author | Christian Fowler <spider@viovio.com> | 2008-03-01 23:12:57 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-03-01 23:12:57 +0000 |
| commit | e8293f66ebcbdbf961d6cbff54c8c7ef67fae534 (patch) | |
| tree | c0f44878c58127efb170de08c2f54ace7eb03544 /templates | |
| parent | 64f3aaec7bc19976c7846fc59c5bd4cf8a182282 (diff) | |
| download | boards-e8293f66ebcbdbf961d6cbff54c8c7ef67fae534.tar.gz boards-e8293f66ebcbdbf961d6cbff54c8c7ef67fae534.tar.bz2 boards-e8293f66ebcbdbf961d6cbff54c8c7ef67fae534.zip | |
add mailing list board_sync for each board
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_boards.tpl | 2 | ||||
| -rw-r--r-- | templates/board_edit.tpl | 17 |
2 files changed, 16 insertions, 3 deletions
diff --git a/templates/admin_boards.tpl b/templates/admin_boards.tpl index 3b02627..7bc5d6b 100644 --- a/templates/admin_boards.tpl +++ b/templates/admin_boards.tpl @@ -36,7 +36,7 @@ <div class="row"> {forminput} <h2>Board Sync</h2> - <p>{tr}Board Sync allows a bitweaver board to be synchronized with a mailing list. A single mailbox is used to archive all email messages, so you subscribe *all* email lists using the same email address as entered below. Then, configure individual boards to indicate which mailing list to which it is subscribed. The Board Sync cron script will import messages from the email inbox.{/tr}</p> + <p>{tr}Board Sync allows a bitweaver board to be synchronized with 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}</p> {/forminput} </div> {foreach from=$formBitBoardsSync key=item item=output} diff --git a/templates/board_edit.tpl b/templates/board_edit.tpl index cb5f65a..afc707e 100644 --- a/templates/board_edit.tpl +++ b/templates/board_edit.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_boards/templates/board_edit.tpl,v 1.5 2007/06/10 20:25:21 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_boards/templates/board_edit.tpl,v 1.6 2008/03/01 23:12:57 spiderr Exp $ *} {strip} <div class="floaticon">{bithelp}</div> @@ -48,7 +48,7 @@ <div class="row"> {formlabel label="Title" for="title"} {forminput} - <input type="text" size="50" maxlength="200" name="bitboard[title]" id="title" value="{$gContent->mInfo.title|escape}" /> + <input type="text" size="50" maxlength="200" name="bitboard[title]" id="title" value="{$gContent->getTitle()|escape}" /> {/forminput} </div> @@ -57,6 +57,19 @@ {* any simple service edit options *} {include file="bitpackage:liberty/edit_services_inc.tpl serviceFile=content_edit_mini_tpl} + <div class="row"> + {formlabel label="Board Sync" for="boardsync"} + {forminput} + {if $gBitSystem->getConfig('boards_sync_mailserver')} + <input type="text" size="50" maxlength="200" name="bitboardconfig[board_sync_list_address]" id="board_sync_list_address" value="{$gContent->getPreference('board_sync_list_address')|escape}" /> + {formhelp note="Messages will be sent and recieved to the email address above."} + {else} + {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} + {/if} + {if $gBitUser->isAdmin()}{tr}See the global <a href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=boards">Board Settings</a> for master email box configuration.{/tr}{/if} + {/forminput} + </div> + <div class="row submit"> <input type="submit" name="preview" value="{tr}Preview{/tr}" /> <input type="submit" name="save_bitboard" value="{tr}Save{/tr}" /> |
