From d8d51519330c3f6128e891d913ab0e515e4dcb57 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 27 Nov 2012 14:38:38 -0800 Subject: [PATCH] Admin news styling fixes. --- e107_admin/newspost.php | 6 +++--- e107_themes/bootstrap/admin_style.css | 7 +++++++ e107_themes/bootstrap/admin_template.php | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/e107_admin/newspost.php b/e107_admin/newspost.php index 9395e4284..3a9c909da 100644 --- a/e107_admin/newspost.php +++ b/e107_admin/newspost.php @@ -67,7 +67,7 @@ class news_admin extends e_admin_dispatcher 'cat/list' => array('caption'=> NWSLAN_46, 'perm' => '7'), // Create Category. 'cat/create' => array('caption'=> "Create Category", 'perm' => '7'), // Category List 'main/settings' => array('caption'=> LAN_PREFS, 'perm' => '0'), // Preferences - 'main/submitted' => array('caption'=> "Old Submitted ", 'perm' => 'N'), // Submitted News + // 'main/submitted' => array('caption'=> "Old Submitted ", 'perm' => 'N'), // Submitted News 'sub/list' => array('caption'=> NWSLAN_47, 'perm' => 'N'), // Submitted News // 'main/maint' => array('caption'=> LAN_NEWS_55, 'perm' => '0') // Maintenance ); @@ -744,7 +744,7 @@ class admin_newspost public $error = false; - function __construct($qry, $pstobj) + function __construct($qry='', $pstobj='') { global $user_pref; @@ -2283,7 +2283,7 @@ class admin_newspost
- ".$frm->admin_button('preview', isset($_POST['preview']) ? NWSLAN_24 : NWSLAN_27 , 'submit')." + ".$frm->admin_button('preview', isset($_POST['preview']) ? NWSLAN_24 : NWSLAN_27 , 'other')." ".$frm->admin_button('submit_news', ($id && $sub_action != "sn" && $sub_action != "upload") ? NWSLAN_25 : NWSLAN_26 , 'update')." ".$frm->checkbox('create_edit_stay', 1, isset($_POST['create_edit_stay'])).$frm->label(LAN_NEWS_54, 'create_edit_stay', 1)." diff --git a/e107_themes/bootstrap/admin_style.css b/e107_themes/bootstrap/admin_style.css index cdb07e31a..35451cf99 100644 --- a/e107_themes/bootstrap/admin_style.css +++ b/e107_themes/bootstrap/admin_style.css @@ -34,6 +34,13 @@ td.center, th.center { text-align:center } .sidebar-nav { padding: 9px 0; font-size:11px; min-width:150px; } +a.brand:hover img { + filter: blur(13px); + -webkit-filter: blur(13px); + -moz-filter: blur(13px); + -o-filter: blur(13px); + -ms-filter: blur(13px); +} @media (min-width: 1300px) { diff --git a/e107_themes/bootstrap/admin_template.php b/e107_themes/bootstrap/admin_template.php index d2e02dbb2..8a6926880 100644 --- a/e107_themes/bootstrap/admin_template.php +++ b/e107_themes/bootstrap/admin_template.php @@ -24,7 +24,7 @@ define("ADLINK_COLS",5); -$E_ADMIN_NAVIGATION['start'] = '