1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Admin news styling fixes.

This commit is contained in:
Cameron 2012-11-27 14:38:38 -08:00
parent f1ddcf9781
commit d8d5151933
3 changed files with 12 additions and 5 deletions

View File

@ -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
</table>
</fieldset>
<div class='buttons-bar center'>
".$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)."
<input type='hidden' name='news_id' value='{$id}' />

View File

@ -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) {

View File

@ -24,7 +24,7 @@ define("ADLINK_COLS",5);
$E_ADMIN_NAVIGATION['start'] = '<ul class="nav">';
$E_ADMIN_NAVIGATION['start'] = '<ul class="nav nav-pills">';
$E_ADMIN_NAVIGATION['button'] = '
<li class="dropdown">
@ -135,7 +135,7 @@ $E_ADMIN_NAVIGATION['end'] = '</ul>';
$ADMIN_HEADER = '<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="'.e_ADMIN_ABS.'admin.php" title="Return to Front Panel"><img src="'.THEME.'img/e107_adminlogo.png" alt="e107" /></a>
<a class="brand" href="'.e_ADMIN_ABS.'admin.php" title="Return to Front Panel"><img class="admin-logo" src="'.THEME.'img/e107_adminlogo.png" alt="e107" /></a>
<div class="nav-collapse collapse">
<div class="dropdown nav pull-right navbar-text ">