Branding.php
878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
namespace Tz\WordPress\Tools\Branding;
use Tz\WordPress\Tools;
call_user_func(function() {
Tools\add_actions(__NAMESPACE__ . '\Actions');
});
class Actions {
public static function admin_print_styles() {
_enqueue_style('branding-style', Tools\url('css/tenzing.css', __FILE__));
}
public static function admin_head() {
/*
global $current_user;
get_currentuserinfo();
include('views/header.php');
*/
}
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__) . '" />';
}
}
//Tools\add_actions(__NAMESPACE__ . '\Actions');
?>