If your site uses the admin_menu & menu_breadcrumb modules, you might have noticed something wrong with your page titles on the /user page, similar to this:
# / # <img src="/sites/all/modules/admin_menu/images/icon_users.png" width="16" height="15" alt="Current anonymous / authenticated users" title="Current anonymous / authenticated users" />The incorrect HTML is being output from the admin_menu in admin_menu.module on line 286, but it's caused from the menu_breadcrumb module.
As a quick solution, I added some code to my theme template.php file in a preprocess_page function to replace the titles.
<?php
function MYTHEME_preprocess_page(&$variables) {
if (stripos($variables['head_title'],'icon_users.png')) {
$variables['head_title'] = 'User account | ' . variable_get('site_name', '');
}
if (stripos($variables['title'],'icon_users.png')) {
$variables['title'] = 'User account';
}
}
?>




















