Commit 8979e04d authored by xavidp's avatar xavidp

[FIX]Usability: Distinguish important and usual buttons for novice users and...

[FIX]Usability: Distinguish important and usual buttons for novice users and admins from the rest of buttons in Articles and Blogs
parent 8bbd167a
......@@ -319,9 +319,9 @@
<div align="center">
{if $prefs.feature_antibot eq 'y'}<br><div align="center">{include file='antibot.tpl' antibot_table='y'}</div><br>{/if}
<input type="submit" class="wikiaction btn btn-default" name="preview" value="{tr}Preview{/tr}" onclick="needToConfirm=false;">
<input type="submit" class="wikiaction btn btn-default" name="submitarticle" value="{tr}Submit Article{/tr}" onclick="needToConfirm=false;">
<input type="submit" class="wikiaction btn btn-primary" name="submitarticle" value="{tr}Submit Article{/tr}" onclick="needToConfirm=false;">
{if $tiki_p_autoapprove_submission eq 'y'}
<input type="submit" class="wikiaction btn btn-default" name="save" value="{tr}Auto-Approve Article{/tr}" onclick="needToConfirm=false;">
<input type="submit" class="wikiaction btn btn-info" name="save" value="{tr}Auto-Approve Article{/tr}" onclick="needToConfirm=false;">
{/if}
</div>
{if $smarty.session.wysiwyg neq 'y'}
......
......@@ -4,16 +4,16 @@
<div class="t_navbar form-group">
{if $tiki_p_edit_article eq 'y' or $tiki_p_admin eq 'y' or $tiki_p_admin_cms eq 'y'}
{button href="tiki-edit_article.php" class="btn btn-default" _text="{tr}New Article{/tr}"}
{button href="tiki-edit_article.php" _class="btn btn-primary" _text="{tr}New Article{/tr}"}
{/if}
{if $prefs.feature_submissions == 'y' && $tiki_p_edit_submission == "y" && $tiki_p_edit_article neq 'y' && $tiki_p_admin neq 'y' && $tiki_p_admin_cms neq 'y'}
{button href="tiki-edit_submission.php" class="btn btn-default" _text="{tr}New Submission{/tr}"}
{button href="tiki-edit_submission.php" _class="btn btn-primary" _text="{tr}New Submission{/tr}"}
{/if}
{if $tiki_p_read_article eq 'y' or $tiki_p_articles_read_heading eq 'y' or $tiki_p_admin eq 'y' or $tiki_p_admin_cms eq 'y'}
{button href="tiki-view_articles.php" class="btn btn-default" _text="{tr}View Articles{/tr}"}
{button href="tiki-view_articles.php" _class="btn btn-default" _text="{tr}View Articles{/tr}"}
{/if}
{if $prefs.feature_submissions == 'y' && ($tiki_p_approve_submission == "y" || $tiki_p_remove_submission == "y" || $tiki_p_edit_submission == "y")}
{button href="tiki-list_submissions.php" class="btn btn-default" _text="{tr}View Submissions{/tr}"}
{button href="tiki-list_submissions.php" _class="btn btn-default" _text="{tr}View Submissions{/tr}"}
{/if}
</div>
......
......@@ -3,7 +3,7 @@
{if $tiki_p_create_blogs eq 'y'}
<div class="t_navbar">
{button href="tiki-edit_blog.php" _text="{tr}Create New Blog{/tr}" _class="navbar-btn"}
{button href="tiki-edit_blog.php" _text="{tr}Create New Blog{/tr}" _class="navbar-btn btn-primary"}
</div>
{/if}
<div class="text-center">
......
......@@ -3,9 +3,9 @@
{title help="Blogs"}{if isset($blogTitle)}{tr _0=$blogTitle}Blog: %0{/tr}{else}{tr}Blog{/tr}{/if}{/title}
<div class="t_navbar form-group">
{button href="tiki-edit_blog.php" class="btn btn-default" _text="{tr}Create Blog{/tr}"}
{button href="tiki-blog_post.php" class="btn btn-default" _text="{tr}New Blog Post{/tr}"}
{button href="tiki-list_blogs.php" class="btn btn-default" _text="{tr}List Blogs{/tr}"}
{button href="tiki-edit_blog.php" _class="btn btn-default" _text="{tr}Create Blog{/tr}"}
{button href="tiki-blog_post.php" _class="btn btn-primary" _text="{tr}New Blog Post{/tr}"}
{button href="tiki-list_blogs.php" _class="btn btn-default" _text="{tr}List Blogs{/tr}"}
</div>
{if $posts or ($find ne '')}
......
{title admpage="articles" help="Articles"}{tr}Submissions{/tr}{/title}
<div class="t_navbar">
{button href="tiki-edit_submission.php" class="btn btn-default" _text="{tr}New Submission{/tr}"}
{button href="tiki-edit_submission.php" _class="btn btn-primary" _text="{tr}New Submission{/tr}"}
{if $tiki_p_read_article eq 'y'}
{button href="tiki-list_articles.php" class="btn btn-default" _text="{tr}List Articles{/tr}"}
{button href="tiki-list_articles.php" _class="btn btn-default" _text="{tr}List Articles{/tr}"}
{/if}
</div>
......
......@@ -9,17 +9,17 @@
{if $headerLinks eq "y"}
<div class="navbar">
{if $tiki_p_edit_article eq 'y' or $tiki_p_admin eq 'y' or $tiki_p_admin_cms eq 'y'}
{button href="tiki-edit_article.php" class="btn btn-default" _text="{tr}New Article{/tr}"}
{button href="tiki-edit_article.php" _class="btn btn-primary" _text="{tr}New Article{/tr}"}
{/if}
{if $prefs.feature_submissions == 'y' && $tiki_p_edit_submission == "y" && $tiki_p_edit_article neq 'y' && $tiki_p_admin neq 'y' && $tiki_p_admin_cms neq 'y'}
{button href="tiki-edit_submission.php" class="btn btn-default" _text="{tr}New Submission{/tr}"}
{button href="tiki-edit_submission.php" _class="btn btn-primary" _text="{tr}New Submission{/tr}"}
{/if}
{if $tiki_p_read_article eq 'y' or $tiki_p_articles_read_heading eq 'y' or $tiki_p_admin eq 'y' or $tiki_p_admin_cms eq 'y'}
{button href="tiki-list_articles.php" class="btn btn-default" _text="{tr}List Articles{/tr}"}
{button href="tiki-list_articles.php" _class="btn btn-default" _text="{tr}List Articles{/tr}"}
{/if}
{if $prefs.feature_submissions == 'y' && ($tiki_p_approve_submission == "y" || $tiki_p_remove_submission == "y" || $tiki_p_edit_submission == "y")}
{button href="tiki-list_submissions.php" class="btn btn-default" _text="{tr}View Submissions{/tr}"}
{button href="tiki-list_submissions.php" _class="btn btn-default" _text="{tr}View Submissions{/tr}"}
{/if}
</div>
<div class="clearfix" style="clear: both;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment