summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-04 01:34:35 -0400
committerspiderr <spider@viovio.com>2013-04-04 01:34:35 -0400
commita1a8cf2958f428beb79792da692fea97b8f9d0b7 (patch)
tree20c107b0594f7d16e8eb9919301e2f7e50ac39d1
parentdb500220e9e1fcca13f183210772de8121446f59 (diff)
downloadthemes-a1a8cf2958f428beb79792da692fea97b8f9d0b7.tar.gz
themes-a1a8cf2958f428beb79792da692fea97b8f9d0b7.tar.bz2
themes-a1a8cf2958f428beb79792da692fea97b8f9d0b7.zip
cleanup edit forms
-rw-r--r--smartyplugins/block.textarea.php2
-rw-r--r--smartyplugins/function.bithelp.php6
-rw-r--r--templates/admin_columns.tpl4
-rw-r--r--templates/admin_custom_modules.tpl4
-rw-r--r--templates/admin_layout.tpl6
-rw-r--r--templates/admin_layout_overview.tpl2
-rw-r--r--templates/admin_modules.tpl2
-rw-r--r--templates/admin_themes.tpl2
-rw-r--r--templates/admin_themes_menus.tpl6
-rw-r--r--templates/edit_css.tpl8
-rw-r--r--templates/theme_control.tpl6
-rw-r--r--templates/theme_control_objects.tpl8
-rw-r--r--templates/theme_control_sections.tpl4
13 files changed, 30 insertions, 30 deletions
diff --git a/smartyplugins/block.textarea.php b/smartyplugins/block.textarea.php
index 2e720c2..6ebf758 100644
--- a/smartyplugins/block.textarea.php
+++ b/smartyplugins/block.textarea.php
@@ -18,7 +18,7 @@ function smarty_block_textarea( $pParams, $pContent, &$gBitSmarty ) {
global $gBitSystem, $gContent, $gLibertySystem;
$attributes = '';
$style = '';
- $class = '';
+ $class = 'width95p ';
if (((!empty($gLibertySystem->mPlugins['bithtml']) && $gLibertySystem->mPlugins['bithtml']['is_active'] == 'y') ||
(!empty($gLibertySystem->mPlugins['tikiwiki']) && $gLibertySystem->mPlugins['tikiwiki']['is_active'] == 'y' &&
$gBitSystem->isFeatureActive( 'content_force_allow_html' )))
diff --git a/smartyplugins/function.bithelp.php b/smartyplugins/function.bithelp.php
index 19c31fc..3f0b4eb 100644
--- a/smartyplugins/function.bithelp.php
+++ b/smartyplugins/function.bithelp.php
@@ -8,7 +8,7 @@
/**
* source elements
*/
-require_once('function.biticon.php');
+require_once('function.booticon.php');
/**
* smarty_function_bithelp
*/
@@ -17,10 +17,10 @@ function smarty_function_bithelp($params, &$gBitSmarty) {
$outstr = "";
if( $gBitSystem->isFeatureActive('site_online_help') ){
if($gBitUser->hasPermission( 'p_admin' )){
- $outstr .= "<a href=\"".KERNEL_PKG_URL."admin/index.php\">".smarty_function_biticon(array('ipackage'=>'icons', 'iname'=>'preferences-system', 'iexplain'=>'Administration Menu'),$gBitSmarty)."</a> ";
+ $outstr .= "<a href=\"".KERNEL_PKG_URL."admin/index.php\">".smarty_function_booticon(array('ipackage'=>'icons', 'iname'=>'icon-cogs', 'iexplain'=>'Administration Menu'),$gBitSmarty)."</a> ";
}
if( $helpInfo = $gBitSmarty->get_template_vars('TikiHelpInfo') ) {
- $outstr .= "<a href=\"".$helpInfo["URL"]."\" >".smarty_function_biticon(array('ipackage'=>'icons', 'iname'=>'help-browser', 'iexplain'=>(empty($helpInfo["Desc"])?"help":$helpInfo["Desc"])),$gBitSmarty)."</a>";
+ $outstr .= "<a href=\"".$helpInfo["URL"]."\" >".smarty_function_booticon(array('ipackage'=>'icons', 'iname'=>'icon-question-sign', 'iexplain'=>(empty($helpInfo["Desc"])?"help":$helpInfo["Desc"])),$gBitSmarty)."</a>";
}
}
return $outstr;
diff --git a/templates/admin_columns.tpl b/templates/admin_columns.tpl
index 82d7c0d..1d3fa94 100644
--- a/templates/admin_columns.tpl
+++ b/templates/admin_columns.tpl
@@ -133,8 +133,8 @@
{/jstabs}
<div class="control-group submit">
- <input type="submit" name="reset_columns" value="{tr}Reset column settings{/tr}" />
- <input type="submit" name="column_control" value="{tr}Save settings{/tr}" />
+ <input type="submit" class="btn" name="reset_columns" value="{tr}Reset column settings{/tr}" />
+ <input type="submit" class="btn" name="column_control" value="{tr}Save settings{/tr}" />
</div>
{/form}
diff --git a/templates/admin_custom_modules.tpl b/templates/admin_custom_modules.tpl
index 92d53ce..83f22e5 100644
--- a/templates/admin_custom_modules.tpl
+++ b/templates/admin_custom_modules.tpl
@@ -38,8 +38,8 @@
</div>
<div class="control-group submit">
- <input type="submit" name="preview" value="{tr}Preview{/tr}" />
- <input type="submit" name="save" value="{tr}Save{/tr}" />
+ <input type="submit" class="btn" name="preview" value="{tr}Preview{/tr}" />
+ <input type="submit" class="btn" name="save" value="{tr}Save{/tr}" />
</div>
{/form}
diff --git a/templates/admin_layout.tpl b/templates/admin_layout.tpl
index a4bda45..005acf4 100644
--- a/templates/admin_layout.tpl
+++ b/templates/admin_layout.tpl
@@ -43,7 +43,7 @@
<noscript>
<div class="control-group submit">
- <input type="submit" name="fSubmitCustomize" value="{tr}Customize{/tr}" />
+ <input type="submit" class="btn" name="fSubmitCustomize" value="{tr}Customize{/tr}" />
</div>
</noscript>
{/form}
@@ -238,7 +238,7 @@
</div>
<div class="control-group submit">
- <input type="submit" name="ColumnTabSubmit" value="{tr}Assign{/tr}" />
+ <input type="submit" class="btn" name="ColumnTabSubmit" value="{tr}Assign{/tr}" />
</div>
{/form}
{/jstab}
@@ -346,7 +346,7 @@
</div>
<div class="control-group submit">
- <input type="submit" name="CenterTabSubmit" value="{tr}Assign{/tr}" />
+ <input type="submit" class="btn" name="CenterTabSubmit" value="{tr}Assign{/tr}" />
</div>
{/form}
{/jstab}
diff --git a/templates/admin_layout_overview.tpl b/templates/admin_layout_overview.tpl
index 2ff1c99..a6172d1 100644
--- a/templates/admin_layout_overview.tpl
+++ b/templates/admin_layout_overview.tpl
@@ -98,7 +98,7 @@
{/jstabs}
<div class="submit">
- <input type="submit" name="update_modules" value="{tr}Apply module settings{/tr}" />
+ <input type="submit" class="btn" name="update_modules" value="{tr}Apply module settings{/tr}" />
</div>
{/form}
diff --git a/templates/admin_modules.tpl b/templates/admin_modules.tpl
index e4569af..af8cbbb 100644
--- a/templates/admin_modules.tpl
+++ b/templates/admin_modules.tpl
@@ -12,6 +12,6 @@
{/foreach}
<div class="control-group submit">
- <input type="submit" name="module_settings" value="{tr}Change preferences{/tr}" />
+ <input type="submit" class="btn" name="module_settings" value="{tr}Change preferences{/tr}" />
</div>
{/form}
diff --git a/templates/admin_themes.tpl b/templates/admin_themes.tpl
index f04e98e..60f966f 100644
--- a/templates/admin_themes.tpl
+++ b/templates/admin_themes.tpl
@@ -45,7 +45,7 @@
{/foreach}
<div class="control-group submit">
- <input type="submit" name="change_prefs" value="{tr}Apply Settings{/tr}" />
+ <input type="submit" class="btn" name="change_prefs" value="{tr}Apply Settings{/tr}" />
</div>
{/form}
{/strip}
diff --git a/templates/admin_themes_menus.tpl b/templates/admin_themes_menus.tpl
index 33c6996..1e85809 100644
--- a/templates/admin_themes_menus.tpl
+++ b/templates/admin_themes_menus.tpl
@@ -29,7 +29,7 @@
</div>
<div class="control-group submit">
- <input type="submit" name="menu_settings" value="{tr}Change preferences{/tr}" />
+ <input type="submit" class="btn" name="menu_settings" value="{tr}Change preferences{/tr}" />
</div>
{/form}
{/jstab}
@@ -47,7 +47,7 @@
</div>
{/foreach}
<div class="control-group submit">
- <input type="submit" name="menu_js_settings" value="{tr}Change preferences{/tr}" />
+ <input type="submit" class="btn" name="menu_js_settings" value="{tr}Change preferences{/tr}" />
</div>
{/form}
{else}
@@ -73,7 +73,7 @@
<tr>
<td colspan="3">
<div class="control-group submit">
- <input type="submit" name="update_menus" value="{tr}Update Menus{/tr}" />
+ <input type="submit" class="btn" name="update_menus" value="{tr}Update Menus{/tr}" />
</div>
</td>
</tr>
diff --git a/templates/edit_css.tpl b/templates/edit_css.tpl
index 316b521..208af78 100644
--- a/templates/edit_css.tpl
+++ b/templates/edit_css.tpl
@@ -28,12 +28,12 @@ return false;
</div>
<div style="">
<span>
- <input type="submit" name="fSaveCSS" value="Save">
- <input type="submit" name="fCancelCSS" value="Cancel">
+ <input type="submit" class="btn" name="fSaveCSS" value="Save">
+ <input type="submit" class="btn" name="fCancelCSS" value="Cancel">
</span>
<span style="float: right">
- <input type="submit" name="fResetCSS" value="Reset CSS" onclick="return confirmform('Are you sure you want to reset your CSS back to the defaults? Any changes you have made will be lost.');">
+ <input type="submit" class="btn" name="fResetCSS" value="Reset CSS" onclick="return confirmform('Are you sure you want to reset your CSS back to the defaults? Any changes you have made will be lost.');">
to the
<select name="resetStyle">
{section name=ix loop=$styles}
@@ -76,7 +76,7 @@ return false;
<form enctype="multipart/form-data" method="post" action="{$smarty.const.THEMES_PKG_URL}edit_css.php"
<input type="hidden" name="MAX_FILE_SIZE" value="1024000">
Upload Image: <input type="file" name="fImgUpload"> <br /> <br/>
-<input type="submit" value="Upload Image" name="fUpload">
+<input type="submit" class="btn" value="Upload Image" name="fUpload">
</form>
</div>
diff --git a/templates/theme_control.tpl b/templates/theme_control.tpl
index 5b053da..6761b60 100644
--- a/templates/theme_control.tpl
+++ b/templates/theme_control.tpl
@@ -41,7 +41,7 @@
</select>
</td>
<td>
- <input type="submit" name="assigcat" value="{tr}assign{/tr}" />
+ <input type="submit" class="btn" name="assigcat" value="{tr}assign{/tr}" />
</td>
</tr>
</table>
@@ -54,7 +54,7 @@
<td>
<input type="text" name="find" value="{$find|escape}" />
</td><td>
- <input type="submit" value="{tr}find{/tr}" name="search" />
+ <input type="submit" class="btn" value="{tr}find{/tr}" name="search" />
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
</td>
</tr>
@@ -79,7 +79,7 @@
{sectionelse}
<tr class="norecords"><td colspan="3">{tr}No records found{/tr}</td></tr>
{/section}
-<tr><td colspan="3"><input type="submit" name="delete" value="{tr}Delete{/tr}" /></td></tr>
+<tr><td colspan="3"><input type="submit" class="btn" name="delete" value="{tr}Delete{/tr}" /></td></tr>
</table>
</form>
diff --git a/templates/theme_control_objects.tpl b/templates/theme_control_objects.tpl
index 3971559..5ecf318 100644
--- a/templates/theme_control_objects.tpl
+++ b/templates/theme_control_objects.tpl
@@ -15,7 +15,7 @@
</div>
<form id="objform" action="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php" method="post">
-<!--<input type="submit" name="settype" value="{tr}set{/tr}" />-->
+<!--<input type="submit" class="btn" name="settype" value="{tr}set{/tr}" />-->
<table class="panel">
<tr>
<th>{tr}Section{/tr}</th>
@@ -52,7 +52,7 @@
</select>
</td>
<td>
- <input type="submit" name="assign" value="{tr}assign{/tr}" />
+ <input type="submit" class="btn" name="assign" value="{tr}assign{/tr}" />
</td>
</tr>
</table>
@@ -64,7 +64,7 @@
<td>
<form method="get" action="{$smarty.const.THEMES_PKG_URL}theme_control_objects.php">
<input type="text" name="find" value="{$find|escape}" />
- <input type="submit" value="{tr}find{/tr}" name="search" />
+ <input type="submit" class="btn" value="{tr}find{/tr}" name="search" />
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
</form>
</td>
@@ -94,7 +94,7 @@
{sectionelse}
<tr class="norecords"><td colspan="3">{tr}No records found{/tr}</td></tr>
{/section}
-<tr><td colspan="3"><input type="submit" name="delete" value="{tr}Delete{/tr}" /></td></tr>
+<tr><td colspan="3"><input type="submit" class="btn" name="delete" value="{tr}Delete{/tr}" /></td></tr>
</table>
</form>
diff --git a/templates/theme_control_sections.tpl b/templates/theme_control_sections.tpl
index 760120f..614a5d6 100644
--- a/templates/theme_control_sections.tpl
+++ b/templates/theme_control_sections.tpl
@@ -41,7 +41,7 @@
</select>
</td>
<td>
- <input type="submit" name="assign" value="{tr}assign{/tr}" />
+ <input type="submit" class="btn" name="assign" value="{tr}assign{/tr}" />
</td>
</tr>
</table>
@@ -67,7 +67,7 @@
{sectionelse}
<tr class="norecords"><td colspan="3">{tr}No records found{/tr}</td></tr>
{/section}
-<tr><td colspan="3"><input type="submit" name="delete" value="{tr}Delete{/tr}" /></td></tr>
+<tr><td colspan="3"><input type="submit" class="btn" name="delete" value="{tr}Delete{/tr}" /></td></tr>
</table>
</form>