Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2757e4ef
authored
2011-12-15 12:49:42 -0500
by
Marty Penner
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Clean up whitespace in Branding module. refs #1357
1 parent
e4a5ea67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
com/Branding/Branding.php
com/Branding/Branding.php
View file @
2757e4e
...
...
@@ -13,15 +13,15 @@ class Actions {
public
static
function
admin_print_styles
()
{
_enqueue_style
(
'branding-style'
,
Tools\url
(
'css/tenzing.css'
,
__FILE__
));
}
public
static
function
admin_print_scripts
()
{
_enqueue_script
(
'jquery-alerts'
,
Tools\url
(
'jquery_alerts/jquery.alerts.js'
,
__FILE__
),
Array
(
'jquery'
),
'1.1'
);
_enqueue_script
(
'colorbox'
,
Tools\url
(
'scripts/jquery.colorbox.js'
,
__FILE__
),
Array
(
'jquery'
));
_enqueue_script
(
'date'
,
Tools\url
(
'scripts/date.js'
,
__FILE__
));
_enqueue_script
(
'jquery-datepicker'
,
Tools\url
(
'scripts/jquery.datePicker.js'
,
__FILE__
),
Array
(
'jquery'
,
'date'
));
_enqueue_script
(
'jquery-admin-uploadify'
,
Tools\url
(
'uploadify/jquery.uploadify.v2.1.4.js'
,
__FILE__
),
Array
(
'jquery'
,
'swfobject'
));
}
}
public
static
function
admin_head
()
{
?>
...
...
@@ -30,24 +30,24 @@ class Actions {
#toplevel_page_cbvreport .wp-menu-image {
background: url(
<?php
echo
Tools\url
(
'cpt-icons/table.png'
,
__FILE__
)
?>
) no-repeat 6px -17px !important;
}
#toplevel_page_cbvreport:hover .wp-menu-image, #menu-posts-POSTTYPE.wp-has-current-submenu .wp-menu-image {
#toplevel_page_cbvreport:hover .wp-menu-image, #menu-posts-POSTTYPE.wp-has-current-submenu .wp-menu-image {
background-position:6px 7px!important;
}
#toplevel_page_cbv_options .wp-menu-image a img { display:none; }
#toplevel_page_cbv_options .wp-menu-image {
background: url(
<?php
echo
Tools\url
(
'cpt-icons/switch.png'
,
__FILE__
)
?>
)
no-repeat
6px
-17px
!
important
;
}
#toplevel_page_cbv_options
:hover
.wp-menu-image
,
#menu-posts-POSTTYPE
.wp-has-current-submenu
.wp-menu-image
{
#toplevel_page_cbv_options
:hover
.wp-menu-image
,
#menu-posts-POSTTYPE
.wp-has-current-submenu
.wp-menu-image
{
background-position
:
6px
7px
!important
;
}
</style>
<?php
/*
global $current_user;
get_currentuserinfo();
...
...
@@ -59,16 +59,16 @@ class Actions {
public
static
function
admin_footer_text
()
{
echo
'© 2010 Tenzing Communications Inc.'
;
}
public
static
function
login_head
()
{
echo
'<link rel="stylesheet" type="text/css" href="'
.
Tools\url
(
'css/tz_login.css'
,
__FILE__
)
.
'" />'
;
}
public
static
function
admin_menu
()
{
rename_admin_menu_section
(
'Posts'
,
'Publications'
);
swap_admin_menu_sections
(
'CBV Options'
,
'Publications'
);
}
}
...
...
Please
register
or
sign in
to post a comment