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
b0ef0a50
authored
2010-08-11 19:10:28 +0000
by
Chris Boden
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Replated deprecated function in Branding for WP 3 compatibility
1 parent
c3256182
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
com/Branding/views/header.php
com/Branding/views/header.php
View file @
b0ef0a5
<script
type=
"text/javascript"
>
jQuery(document).ready(function() {
jQuery('body').prepend('<div id="TzBrandingHeader"><div id="TzBrandingHeader_UtilityMenu">Tenzing CMS built on WordPress<br />Howdy, <a href="
<?php
echo
get_
settings
(
'siteurl'
);
?>
/wp-admin/profile.php">
<?php
if
(
isset
(
$current_user
->
user_firstname
)){
echo
(
$current_user
->
user_firstname
);
}
else
{
echo
(
$current_user
->
user_login
);}
?>
</a> | <a href="
<?php
echo
get_settings
(
'siteurl'
);
?>
">Home</a> | <a href="
<?php
echo
_logout_url
();
?>
"
>
Log
Out
<
/a></
div
><
/div>'
)
;
jQuery('body').prepend('<div id="TzBrandingHeader"><div id="TzBrandingHeader_UtilityMenu">Tenzing CMS built on WordPress<br />Howdy, <a href="
<?php
echo
get_
option
(
'siteurl'
);
?>
/wp-admin/profile.php">
<?php
if
(
isset
(
$current_user
->
user_firstname
)){
echo
(
$current_user
->
user_firstname
);
}
else
{
echo
(
$current_user
->
user_login
);}
?>
</a> | <a href="
<?php
echo
get_option
(
'siteurl'
);
?>
">Home</a> | <a href="
<?php
echo
_logout_url
();
?>
"
>
Log
Out
<
/a></
div
><
/div>'
)
;
});
</script>
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment