diff options
| author | spiderr <spider@viovio.com> | 2013-04-24 13:22:46 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-24 13:22:46 -0400 |
| commit | 8e5215c3ff16cc346d333e2e435ed5d94c7e78ee (patch) | |
| tree | 9f886526a98bfb780dfdeb3274c8d54a251cf36d /templates | |
| parent | fb6829be2ac29b8e0253857437cbc95f305fcf26 (diff) | |
| download | wiki-8e5215c3ff16cc346d333e2e435ed5d94c7e78ee.tar.gz wiki-8e5215c3ff16cc346d333e2e435ed5d94c7e78ee.tar.bz2 wiki-8e5215c3ff16cc346d333e2e435ed5d94c7e78ee.zip | |
remove antiquated sandbox feature
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_external_wikis.tpl | 2 | ||||
| -rw-r--r-- | templates/edit_page.tpl | 16 | ||||
| -rw-r--r-- | templates/import_phpwiki.tpl | 2 | ||||
| -rw-r--r-- | templates/list_pages.tpl | 2 | ||||
| -rw-r--r-- | templates/menu_wiki.tpl | 3 | ||||
| -rw-r--r-- | templates/page_history.tpl | 4 |
6 files changed, 12 insertions, 17 deletions
diff --git a/templates/admin_external_wikis.tpl b/templates/admin_external_wikis.tpl index 917db7f..5a93d00 100644 --- a/templates/admin_external_wikis.tpl +++ b/templates/admin_external_wikis.tpl @@ -18,7 +18,7 @@ </form> <h2>{tr}External Wiki{/tr}</h2> -<table class="data"> +<table class="table data"> <tr> <th><a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}name{/tr}</a></th> <th><a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&sort_mode={if $sort_mode eq 'extwiki_desc'}extwiki_asc{else}extwiki_desc{/if}">{tr}extwiki{/tr}</a></th> diff --git a/templates/edit_page.tpl b/templates/edit_page.tpl index 2b3af9c..bd46785 100644 --- a/templates/edit_page.tpl +++ b/templates/edit_page.tpl @@ -66,7 +66,7 @@ <div class="control-group"> {formfeedback warning=$errors.title} - {formlabel label="$conDescr Title" for="title"} + {formlabel label="$conDescr Title"} {forminput} {if $gBitUser->hasPermission( 'p_wiki_rename_page' ) || !$pageInfo.page_id} <input type="text" class="input-block-level" size="50" maxlength="200" name="title" id="title" value="{$pageInfo.title|escape}" /> @@ -114,11 +114,10 @@ {if $gBitUser->hasPermission( 'p_wiki_save_minor' )} <div class="control-group"> - {formlabel label="Minor save" for="isminor"} - {forminput} - <input type="checkbox" name="isminor" id="isminor" value="on" {if $pageInfo.isminor}checked="checked" {/if}/> + <label class="checkbox"> + <input type="checkbox" name="isminor" id="isminor" value="on" {if $pageInfo.isminor}checked="checked" {/if}/>Minor save {formhelp note="This will prevent the generation of a new version. You can use this, if your changes are minor."} - {/forminput} + </label> </div> {/if} @@ -201,11 +200,10 @@ </div> <div class="control-group"> - {formlabel label="Try to convert HTML to wiki" for="parsehtml"} - {forminput} - <input type="checkbox" name="parsehtml" id="parsehtml" {if $parsehtml eq 'y'}checked="checked"{/if} /> + <label class="checkbox"> + <input type="checkbox" name="parsehtml" id="parsehtml" {if $parsehtml eq 'y'}checked="checked"{/if} />Try to convert HTML to wiki {formhelp note=""} - {/forminput} + </label> </div> {* SPIDERKILL - disable wiki Import diff --git a/templates/import_phpwiki.tpl b/templates/import_phpwiki.tpl index 16366cc..3825f87 100644 --- a/templates/import_phpwiki.tpl +++ b/templates/import_phpwiki.tpl @@ -32,7 +32,7 @@ <br /> {if $result eq 'y'} -<table class="data"> +<table class="table data"> <tr> <th>{tr}Page{/tr}</th> <th>{tr}version{/tr}</th> diff --git a/templates/list_pages.tpl b/templates/list_pages.tpl index cd9850d..8e22f58 100644 --- a/templates/list_pages.tpl +++ b/templates/list_pages.tpl @@ -44,7 +44,7 @@ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='list_options'} - <table class="data"> + <table class="table data"> <caption>{tr}WikiPages Listing{/tr} <span class="total">[ {$listInfo.total_records} ]</span></caption> <tr> {* at the moment, the only working option to use the checkboxes for is deleting pages. so for now the checkboxes are visible iff $p_wiki_remove_page is set. Other applications make sense as well (categorize, convert to pdf, etc). Add necessary corresponding permission here: *} diff --git a/templates/menu_wiki.tpl b/templates/menu_wiki.tpl index f640b3e..3d13629 100644 --- a/templates/menu_wiki.tpl +++ b/templates/menu_wiki.tpl @@ -28,8 +28,5 @@ {if $gBitSystem->isPackageActive( 'rss' )} <li><a title="{tr}Wiki Update RSS Feed{/tr}" href="{$smarty.const.RSS_PKG_URL}index.php?pkg=wiki">{booticon iname="icon-rss" ipackage=rss iexplain="Changes Feed" ilocation=menu}</a></li> {/if} - {if $gBitSystem->isFeatureActive( 'wiki_sandbox' ) and $gBitUser->hasPermission( 'p_wiki_view_page' )} - <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}edit.php?page=SandBox">{booticon iname="icon-lightbulb" iexplain="Sandbox" ilocation=menu}</a></li> - {/if} </ul> {/strip} diff --git a/templates/page_history.tpl b/templates/page_history.tpl index 149283c..4182b2d 100644 --- a/templates/page_history.tpl +++ b/templates/page_history.tpl @@ -18,7 +18,7 @@ {/if} {if $compare eq 'y'} - <table class="data"> + <table class="table data"> <caption>{tr}Comparing versions{/tr}</caption> <tr> <th width="50%">{tr}Version {$version_from}{/tr}</td> @@ -48,7 +48,7 @@ <input type="hidden" name="page_id" value="{$gContent->mInfo.page_id}" /> <input type="hidden" name="page" value="{$page}" /> - <table class="data"> + <table class="table data"> <caption>{tr}Page History{/tr}</caption> <tr> <th style="width:70%;">{tr}Date{/tr}/{tr}Comment{/tr}</th> |
