summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-24 13:26:25 -0400
committerspiderr <spider@viovio.com>2013-04-24 13:26:25 -0400
commit4ce149828a6e4e546fa2b851007a53522ab41aa9 (patch)
treef23580eedf60595b2c37db6672704aab116b1dfe
parentb95dec9f73e781721d3a2cc142f4ad52266ba120 (diff)
downloadpigeonholes-4ce149828a6e4e546fa2b851007a53522ab41aa9.tar.gz
pigeonholes-4ce149828a6e4e546fa2b851007a53522ab41aa9.tar.bz2
pigeonholes-4ce149828a6e4e546fa2b851007a53522ab41aa9.zip
fix <label class=checkbox> wrapping to be bootstrap compliant; add .table to all table.data tags
-rw-r--r--templates/assign_content.tpl4
-rw-r--r--templates/edit_pigeonholes.tpl7
-rw-r--r--templates/view_table_inc.tpl2
3 files changed, 6 insertions, 7 deletions
diff --git a/templates/assign_content.tpl b/templates/assign_content.tpl
index 5e0f8c0..b5051f6 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 fa2a36f..737f49b 100644
--- a/templates/edit_pigeonholes.tpl
+++ b/templates/edit_pigeonholes.tpl
@@ -45,11 +45,10 @@
{if $gBitSystem->isFeatureActive( 'pigeonholes_allow_forbid_insertion') }
<div class="control-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} />
+ <label class="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}
+ </label>
</div>
{/if}
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}