summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/action_logs.tpl2
-rw-r--r--templates/add_structure_content.tpl4
-rw-r--r--templates/admin_comments.tpl2
-rw-r--r--templates/admin_liberty.tpl2
-rw-r--r--templates/admin_plugins.tpl4
-rw-r--r--templates/attachments.tpl2
-rw-r--r--templates/center_list_generic.tpl2
-rw-r--r--templates/comments_display_option_bar.tpl2
-rw-r--r--templates/comments_post_inc.tpl8
-rw-r--r--templates/content_permissions_inc.tpl4
-rw-r--r--templates/content_role_permissions_inc.tpl4
-rw-r--r--templates/edit_content_alias_inc.tpl2
-rw-r--r--templates/edit_help_inc.tpl64
-rw-r--r--templates/edit_structure_alias.tpl2
-rw-r--r--templates/edit_structure_content.tpl4
-rw-r--r--templates/edit_structure_inc.tpl2
-rw-r--r--templates/help_format_tikiwiki_inc.tpl8
-rw-r--r--templates/list_content_inc.tpl4
-rw-r--r--templates/mime_view.tpl2
-rw-r--r--templates/rankings.tpl2
20 files changed, 31 insertions, 95 deletions
diff --git a/templates/action_logs.tpl b/templates/action_logs.tpl
index 8f573e0..5564f71 100644
--- a/templates/action_logs.tpl
+++ b/templates/action_logs.tpl
@@ -38,7 +38,7 @@
</div>
<div class="control-group submit">
- <input type="submit" name="apply_settings" value="{tr}Apply Settings{/tr}" />
+ <input type="submit" class="btn" name="apply_settings" value="{tr}Apply Settings{/tr}" />
</div>
{/legend}
{/form}
diff --git a/templates/add_structure_content.tpl b/templates/add_structure_content.tpl
index 2494a8c..0988adf 100644
--- a/templates/add_structure_content.tpl
+++ b/templates/add_structure_content.tpl
@@ -125,8 +125,8 @@ function submitStructure(pForm,pContentId,pMode) {
</div>
<div class="control-group submit">
- <input type="submit" onclick="submitStructure(this.form);return false;" name="create" value="{tr}Add Content{/tr}" />
- <input type="submit" name="done" value="{tr}Done{/tr}" />
+ <input type="submit" class="btn" onclick="submitStructure(this.form);return false;" name="create" value="{tr}Add Content{/tr}" />
+ <input type="submit" class="btn" name="done" value="{tr}Done{/tr}" />
</div>
{/form}
</div>
diff --git a/templates/admin_comments.tpl b/templates/admin_comments.tpl
index f2b46d2..f8acb39 100644
--- a/templates/admin_comments.tpl
+++ b/templates/admin_comments.tpl
@@ -83,7 +83,7 @@
{/jstabs}
<div class="control-group submit">
- <input type="submit" name="change_prefs" value="{tr}Change preferences{/tr}" />
+ <input type="submit" class="btn" name="change_prefs" value="{tr}Change preferences{/tr}" />
</div>
{/form}
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl
index b3b7858..c1f3633 100644
--- a/templates/admin_liberty.tpl
+++ b/templates/admin_liberty.tpl
@@ -152,7 +152,7 @@
{/jstabs}
<div class="control-group submit">
- <input type="submit" name="change_prefs" value="{tr}Change preferences{/tr}" />
+ <input type="submit" class="btn" name="change_prefs" value="{tr}Change preferences{/tr}" />
</div>
{/form}
{/strip}
diff --git a/templates/admin_plugins.tpl b/templates/admin_plugins.tpl
index 2f9ae1e..f70c085 100644
--- a/templates/admin_plugins.tpl
+++ b/templates/admin_plugins.tpl
@@ -105,13 +105,13 @@
{/jstabs}
<div class="control-group submit">
- <input type="submit" name="pluginsave" value="{tr}Save Plugin Settings{/tr}" />
+ <input type="submit" class="btn" name="pluginsave" value="{tr}Save Plugin Settings{/tr}" />
</div>
<div class="control-group">
{formlabel label="Reset all plugin settings" for=""}
{forminput}
- <input type="submit" name="reset_all_plugins" value="{tr}Reset Plugins{/tr}" />
+ <input type="submit" class="btn" name="reset_all_plugins" value="{tr}Reset Plugins{/tr}" />
{formhelp note="This will remove all plugin settings from the database and reset them to the default values. This can be useful if some plugins don't seem to work or you simply want to reset all values on this page."}
{/forminput}
</div>
diff --git a/templates/attachments.tpl b/templates/attachments.tpl
index 20c189e..6e81ff3 100644
--- a/templates/attachments.tpl
+++ b/templates/attachments.tpl
@@ -18,7 +18,7 @@
</div>
<div class="submit">
- <input type="submit" name="apply" value="{tr}Filter{/tr}" />
+ <input type="submit" class="btn" name="apply" value="{tr}Filter{/tr}" />
</div>
{/form}
{/if}
diff --git a/templates/center_list_generic.tpl b/templates/center_list_generic.tpl
index 7c31c0d..943eaa0 100644
--- a/templates/center_list_generic.tpl
+++ b/templates/center_list_generic.tpl
@@ -15,7 +15,7 @@
<label>{tr}Title{/tr}:&nbsp;<input size="16" type="text" name="find_title" value="{$find_title|default:$smarty.request.find_title|escape}" /></label> &nbsp;
<label>{tr}Author{/tr}:&nbsp;<input size="10" type="text" name="find_author" value="{$find_author|default:$smarty.request.find_author|escape}" /></label> &nbsp;
<label>{tr}Last Editor{/tr}:&nbsp;<input size="10" type="text" name="find_last_editor" value="{$find_last_editor|default:$smarty.request.find_last_editor|escape}" /></label> &nbsp;
- <input type="submit" name="search" value="{tr}Find{/tr}" />&nbsp;
+ <input type="submit" class="btn" name="search" value="{tr}Find{/tr}" />&nbsp;
<input type="button" onclick="location.href='{$smarty.server.SCRIPT_NAME}{if $hidden}?{/if}{foreach from=$hidden item=value key=name}{$name}={$value}&amp;{/foreach}'" value="{tr}Reset{/tr}" />
{/form}
diff --git a/templates/comments_display_option_bar.tpl b/templates/comments_display_option_bar.tpl
index f84150a..06e1381 100644
--- a/templates/comments_display_option_bar.tpl
+++ b/templates/comments_display_option_bar.tpl
@@ -32,7 +32,7 @@
<option value="commentDate_asc" {if $comments_sort_mode eq "commentDate_asc"}selected="selected"{/if}>Oldest first</option>
</select>
</td>
- <td style="text-align:right"><input type="submit" name="comments_setOptions" value="set" /></td>
+ <td style="text-align:right"><input type="submit" class="btn" name="comments_setOptions" value="set" /></td>
</tr>
</table>
{/form}
diff --git a/templates/comments_post_inc.tpl b/templates/comments_post_inc.tpl
index 4a2881e..ec24478 100644
--- a/templates/comments_post_inc.tpl
+++ b/templates/comments_post_inc.tpl
@@ -77,14 +77,14 @@
{/if}
<div class="control-group submit">
- <input type="submit" name="post_comment_preview" value="{tr}Preview{/tr}" {if $comments_ajax}onclick="LibertyComment.previewComment(); return false;"{/if}/>&nbsp;
- <input type="submit" name="post_comment_submit" value="{tr}Post{/tr}" {if $comments_ajax}onclick="LibertyComment.postComment(); return false;"{/if}/>&nbsp;
- <input type="submit" name="post_comment_cancel" value="{tr}Cancel{/tr}" {if $comments_ajax}onclick="LibertyComment.cancelComment(true); return false;"{/if}/>
+ <input type="submit" class="btn" name="post_comment_preview" value="{tr}Preview{/tr}" {if $comments_ajax}onclick="LibertyComment.previewComment(); return false;"{/if}/>&nbsp;
+ <input type="submit" class="btn" name="post_comment_submit" value="{tr}Post{/tr}" {if $comments_ajax}onclick="LibertyComment.postComment(); return false;"{/if}/>&nbsp;
+ <input type="submit" class="btn" name="post_comment_cancel" value="{tr}Cancel{/tr}" {if $comments_ajax}onclick="LibertyComment.cancelComment(true); return false;"{/if}/>
</div>
{/legend}
{elseif $gBitUser->hasPermission( 'p_liberty_post_comments' )}
<div class="control-group">
- <input type="submit" name="post_comment_request" value="{tr}Add Comment{/tr}" />
+ <input type="submit" class="btn" name="post_comment_request" value="{tr}Add Comment{/tr}" />
</div>
{/if}
{/form}
diff --git a/templates/content_permissions_inc.tpl b/templates/content_permissions_inc.tpl
index c1b7c05..6ee4b3a 100644
--- a/templates/content_permissions_inc.tpl
+++ b/templates/content_permissions_inc.tpl
@@ -63,8 +63,8 @@
</div>
<div class="control-group submit">
- <input type="submit" name="back" value="{tr}Go back to content{/tr}" />
- <input type="submit" name="assign" value="{tr}Assign Permission{/tr}" />
+ <input type="submit" class="btn" name="back" value="{tr}Go back to content{/tr}" />
+ <input type="submit" class="btn" name="assign" value="{tr}Assign Permission{/tr}" />
</div>
{/form}
diff --git a/templates/content_role_permissions_inc.tpl b/templates/content_role_permissions_inc.tpl
index 00d69a9..b80894e 100644
--- a/templates/content_role_permissions_inc.tpl
+++ b/templates/content_role_permissions_inc.tpl
@@ -63,8 +63,8 @@
</div>
<div class="control-group submit">
- <input type="submit" name="back" value="{tr}Go back to content{/tr}" />
- <input type="submit" name="assign" value="{tr}Assign Permission{/tr}" />
+ <input type="submit" class="btn" name="back" value="{tr}Go back to content{/tr}" />
+ <input type="submit" class="btn" name="assign" value="{tr}Assign Permission{/tr}" />
</div>
{/form}
diff --git a/templates/edit_content_alias_inc.tpl b/templates/edit_content_alias_inc.tpl
index aa0e0f3..3980328 100644
--- a/templates/edit_content_alias_inc.tpl
+++ b/templates/edit_content_alias_inc.tpl
@@ -2,7 +2,7 @@
<div class="control-group">
{formlabel label="Aliases"}
{forminput}
- <textarea name="alias_string" rows="2" cols="35">{if $smarty.post.preview}{$pageInfo.alias_string}{else}{foreach from=$gContent->getAliases() item=alias}{$alias|cat:"\r"}{/foreach}{/if}</textarea>
+ <textarea class="width95p" name="alias_string" rows="2" cols="35">{if $smarty.post.preview}{$pageInfo.alias_string}{else}{foreach from=$gContent->getAliases() item=alias}{$alias|cat:"\r"}{/foreach}{/if}</textarea>
{formhelp note="An alias is an alternate page title that will be used in lookup. Enter one alternate name per line."}
{/forminput}
</div>
diff --git a/templates/edit_help_inc.tpl b/templates/edit_help_inc.tpl
index a57bb9e..e761754 100644
--- a/templates/edit_help_inc.tpl
+++ b/templates/edit_help_inc.tpl
@@ -1,74 +1,14 @@
{strip}
-{* $Header$ *}
-
-{if $dataplugins}
- {jstab title="Plugins"}
- {if $dataplugins}
- <h2>{tr}Data Plugin Help{/tr}</h2>
- <div {if !$gBitThemes->isJavascriptEnabled()}style="display:none;"{/if}>
- {tr}Click on the plugin you need help for{/tr}:<br />
- <select size="10" onchange="javascript:BitBase.flipMulti(this.options[this.selectedIndex].value,1,1);">
- {foreach from=$dataplugins item=p}
- <option value="{$p.plugin_guid}">{$p.title|escape|default:"{tr}No Title{/tr}"} &bull; {ldelim}{$p.tag|lower}{rdelim}</option>
- {/foreach}
- </select>
- </div>
-
- {foreach from=$dataplugins item=p}
- {if $gBitThemes->isJavascriptEnabled()}<div id="{$p.plugin_guid}1" style="display:none;">{/if}
- <h2>{tr}Plugin{/tr}: {$p.title|escape|default:"{tr}No Title{/tr}"}</h2>
- <ul>
- <li class="{cycle values="odd,even"}"><strong>{tr}Description{/tr}:</strong> {$p.description}</li>
- <li class="{cycle}"><strong>{tr}Syntax{/tr}:</strong>
- &nbsp;<a href="#" title="{tr}Click to insert syntax into editor{/tr}" onclick="javascript:BitBase.insertAt('{$textarea_id|default:$smarty.const.LIBERTY_TEXT_AREA}','{$p.syntax|@addslashes}');">{$p.syntax}</a>
- </li>
- <li class="{cycle}"><strong>{tr}Online Help{/tr}:</strong> {jspopup href="http://www.bitweaver.org/wiki/`$p.help_page`" title=`$p.help_page` class="external"}</li>
- </ul>
- <hr />
- {$p.exthelp}
- {if $gBitThemes->isJavascriptEnabled()}</div>{/if}
- {/foreach}
- <hr />
- {/if}
-
- {if $mimeplugins}
- <h2>{tr}Mime Plugin Help{/tr}</h2>
- <div {if !$gBitThemes->isJavascriptEnabled()}style="display:none;"{/if}>
- {tr}Click on the plugin you need help for{/tr}:<br />
- <select size="10" onchange="javascript:BitBase.flipMulti(this.options[this.selectedIndex].value,1,1);">
- {foreach from=$mimeplugins item=p}
- <option value="{$p.plugin_guid}">{$p.title|escape|default:"{tr}No Title{/tr}"}</option>
- {/foreach}
- </select>
- </div>
-
- {foreach from=$mimeplugins item=p}
- {if $gBitThemes->isJavascriptEnabled()}<div id="{$p.plugin_guid}1" style="display:none;">{/if}
- <h2>{tr}Plugin{/tr}: {$p.title|escape|default:"{tr}No Title{/tr}"}</h2>
- <ul>
- <li class="{cycle values="odd,even"}"><strong>{tr}Description{/tr}:</strong> {$p.description}</li>
- </ul>
- <hr />
- {$p.exthelp}
- {if $gBitThemes->isJavascriptEnabled()}</div>{/if}
- {/foreach}
- <hr />
- {/if}
- {/jstab}
-{/if}
-
{if $formatplugins}
{jstab title="Format Help"}
- <h2>{tr}Syntax and input format help{/tr}</h2>
+ <h4>{tr}Syntax and input format help{/tr}</h4>
{foreach from=$formatplugins item=p}
- <h3>{if $p.format_help}<a href="#{$p.plugin_guid}">{/if}{$p.edit_label} Help{if $p.format_help}</a>{/if}</h3>
+ <h5>{if $p.format_help}<a href="#{$p.plugin_guid}">{/if}{$p.edit_label} Help{if $p.format_help}</a>{/if}</h5>
{$p.description} {if $p.help_page}{tr}To view syntax help, please visit {jspopup href="http://www.bitweaver.org/wiki/index.php?page=`$p.help_page`" title=$p.help_page class=external}.{/tr}{/if}
{/foreach}
{foreach from=$formatplugins item=p}
{if $p.format_help}
- <a name="{$p.plugin_guid}"></a>
- <h1>{$p.edit_label} Help</h1>
{include file=$p.format_help}
{/if}
{/foreach}
diff --git a/templates/edit_structure_alias.tpl b/templates/edit_structure_alias.tpl
index 87810c7..2343514 100644
--- a/templates/edit_structure_alias.tpl
+++ b/templates/edit_structure_alias.tpl
@@ -13,7 +13,7 @@
</div>
<div class="control-group submit">
- <input type="submit" name="create" value="{tr}Update{/tr}"/>
+ <input type="submit" class="btn" name="create" value="{tr}Update{/tr}"/>
</div>
{/form}
</div>
diff --git a/templates/edit_structure_content.tpl b/templates/edit_structure_content.tpl
index 75a1617..816f7be 100644
--- a/templates/edit_structure_content.tpl
+++ b/templates/edit_structure_content.tpl
@@ -35,13 +35,13 @@
{forminput}
<input type="text" name="find" />
- <input type="submit" value="{tr}Apply filter{/tr}" name="search_objects" />
+ <input type="submit" class="btn" value="{tr}Apply filter{/tr}" name="search_objects" />
{formhelp note=""}
{/forminput}
</div>
<div class="control-group submit">
- <input type="submit" name="create" value="{tr}Add Content{/tr}" />
+ <input type="submit" class="btn" name="create" value="{tr}Add Content{/tr}" />
</div>
{/form}
</div>
diff --git a/templates/edit_structure_inc.tpl b/templates/edit_structure_inc.tpl
index bfcd0eb..908d5f5 100644
--- a/templates/edit_structure_inc.tpl
+++ b/templates/edit_structure_inc.tpl
@@ -43,7 +43,7 @@
<noscript>
<p class="warning">{tr}The Structure organisation system only works with javascript turned on{/tr}</p>
</noscript>
- <input type="submit" name="submit_structure" value="Save Changes" />
+ <input type="submit" class="btn" name="submit_structure" value="Save Changes" />
</div>
{formhelp note="To nest items, you first need to convert a page to a folder and then insert at least one item into the new folder before saving."}
{if !$no_delete}
diff --git a/templates/help_format_tikiwiki_inc.tpl b/templates/help_format_tikiwiki_inc.tpl
index fd47968..8abde90 100644
--- a/templates/help_format_tikiwiki_inc.tpl
+++ b/templates/help_format_tikiwiki_inc.tpl
@@ -1,7 +1,6 @@
{strip}
-{jstabs}
{foreach from=$examples.tikiwiki key=title item=tikiwiki name=tw}
- {jstab title="$title"}
+ <legend>{tr}{$title}{/tr}</legend>
<table class="bittable">
<tr>
<th style="width:50%">Example</th>
@@ -20,10 +19,9 @@
</tr>
{/foreach}
</table>
- {/jstab}
{/foreach}
- {jstab title="Mediawiki tables"}
+ <legend>{tr}Mediawiki tables{/tr}</legend>
<table class="bittable">
<tr>
<th style="width:60%">Code</th>
@@ -82,6 +80,4 @@
</tr>
{/foreach}
</table>
- {/jstab}
-{/jstabs}
{/strip}
diff --git a/templates/list_content_inc.tpl b/templates/list_content_inc.tpl
index 762088f..5f0ce03 100644
--- a/templates/list_content_inc.tpl
+++ b/templates/list_content_inc.tpl
@@ -8,7 +8,7 @@
{html_options onchange="submit();" options=$contentTypes name=content_type_guid id=content_type selected=$contentSelect}
{formhelp note="Limit search by content type"}
<noscript>
- <div><input type="submit" name="content_switch" value="{tr}change content type{/tr}" /></div>
+ <div><input type="submit" class="btn" name="content_switch" value="{tr}change content type{/tr}" /></div>
</noscript>
{/forminput}
@@ -26,7 +26,7 @@
{forminput}
<input type="text" name="find" value="{$listInfo.find}" />
- <input type="submit" value="{tr}Apply Filter{/tr}" name="search_objects" />
+ <input type="submit" class="btn" value="{tr}Apply Filter{/tr}" name="search_objects" />
{formhelp note="You can restrict the content listing to a given content type or apply a filter on content title."}
{/forminput}
</div>
diff --git a/templates/mime_view.tpl b/templates/mime_view.tpl
index e6a3a6f..cc7301a 100644
--- a/templates/mime_view.tpl
+++ b/templates/mime_view.tpl
@@ -16,7 +16,7 @@
<div class="control-group submit">
<input type="hidden" name="attachment_id" value="{$smarty.request.attachment_id}" />
- <input type="submit" name="plugin_submit" value="{tr}Update File{/tr}" />
+ <input type="submit" class="btn" name="plugin_submit" value="{tr}Update File{/tr}" />
</div>
{/form}
{/if}
diff --git a/templates/rankings.tpl b/templates/rankings.tpl
index 374308a..2112951 100644
--- a/templates/rankings.tpl
+++ b/templates/rankings.tpl
@@ -30,7 +30,7 @@
</div>
<div class="control-group submit">
- <input type="submit" name="rank_settings" value="{tr}Apply settings{/tr}" />
+ <input type="submit" class="btn" name="rank_settings" value="{tr}Apply settings{/tr}" />
</div>
{/form}