diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/assign_content.tpl | 4 | ||||
| -rw-r--r-- | templates/edit_pigeonholes.tpl | 7 | ||||
| -rw-r--r-- | templates/menu_pigeonholes.tpl | 2 | ||||
| -rw-r--r-- | templates/menu_pigeonholes_admin.tpl | 4 | ||||
| -rw-r--r-- | templates/view_table_inc.tpl | 2 |
5 files changed, 8 insertions, 11 deletions
diff --git a/templates/assign_content.tpl b/templates/assign_content.tpl index 768fa78..95d4e17 100644 --- a/templates/assign_content.tpl +++ b/templates/assign_content.tpl @@ -86,7 +86,7 @@ {/foreach} {if $assignableContent} - <table class="data"> + <table class="table data"> <caption>{tr}Available Categories{/tr}</caption> <tr> <th>Categories</th> @@ -117,7 +117,7 @@ </table> {/if} {else} - <table class="data"> + <table class="table data"> <caption>{tr}Available Content{/tr}</caption> <tr> <th>{smartlink ititle="Title" isort=title idefault=1 max_rows=$smarty.request.max_rows content_type=$contentSelect find=$smarty.request.find include=$smarty.request.include page=$page}</th> diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl index 61fd8d4..9f61d55 100644 --- a/templates/edit_pigeonholes.tpl +++ b/templates/edit_pigeonholes.tpl @@ -39,15 +39,14 @@ {if $gBitSystem->isFeatureActive('pigeonholes_display_description')} <div class="form-group"> - {textarea id="pigeonhole-desc" name="pigeonhole[edit]" help="A description of the category. This will be visible when users view this particular category." label="Description"}{$pigeonInfo.data}{/textarea} + {textarea id="pigeonhole-desc" name="pigeonhole[edit]" help="A description of the category. This will be visible when users view this particular category." label="Description" edit=$pigeonInfo.data} </div> {/if} {if $gBitSystem->isFeatureActive( 'pigeonholes_allow_forbid_insertion') } <div class="form-group"> - {formlabel label="Forbid Content Insertion" for="pigeonhole-no-insert"} - {forminput} - <input type="checkbox" name="pigeonhole[prefs][no_insert]" id="pigeonhole-no-insert" {if $gContent->mPrefs.no_insert}checked="checked"{/if} /> + {forminput label="checkbox"} + <input type="checkbox" name="pigeonhole[prefs][no_insert]" id="pigeonhole-no-insert" {if $gContent->mPrefs.no_insert}checked="checked"{/if} />Forbid Content Insertion {formhelp note="Forbids inserting new content into this category. Useful for categories which are meant to hold other categories in a heirarchy where only leaf categories should hold content."} {/forminput} </div> diff --git a/templates/menu_pigeonholes.tpl b/templates/menu_pigeonholes.tpl index 7bbd02f..94d8a19 100644 --- a/templates/menu_pigeonholes.tpl +++ b/templates/menu_pigeonholes.tpl @@ -1,5 +1,5 @@ {strip} -<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a> +{if $packageMenuTitle}<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a>{/if} <ul class="{$packageMenuClass}"> {if $gBitUser->hasPermission( 'p_pigeonholes_create' )} <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?action=create">{booticon iname="icon-file" iexplain="Create Category" ilocation=menu}</a></li> diff --git a/templates/menu_pigeonholes_admin.tpl b/templates/menu_pigeonholes_admin.tpl index 24df595..8ca6e2d 100644 --- a/templates/menu_pigeonholes_admin.tpl +++ b/templates/menu_pigeonholes_admin.tpl @@ -1,5 +1,3 @@ {strip} -<li> - {smartlink ititle="Pigeonhole Settings" ipackage="kernel" ifile="admin/index.php" page="pigeonholes"} -</li> + {smartlink ititle="Pigeonhole" ipackage="kernel" ifile="admin/index.php" page="pigeonholes"} {/strip} diff --git a/templates/view_table_inc.tpl b/templates/view_table_inc.tpl index dfb2f2b..96c845e 100644 --- a/templates/view_table_inc.tpl +++ b/templates/view_table_inc.tpl @@ -15,7 +15,7 @@ {counter assign=columns} {/foreach} {math equation="100 / x" x=$columns assign=width format="%u"} - <table class="data" summary="Category listing"><tr> + <table class="table data" summary="Category listing"><tr> {foreach from=$pigeonItem.members item=pigeonColumn} <td style="vertical-align:top; width:{$width}%;"> {foreach from=$pigeonColumn item=members key=index} |
