[Hastymail-cvs] SF.net SVN: hastymail: [513] trunk/hastymail2
Brought to you by:
sailfrog,
slushpupie
From: <sai...@us...> - 2008-06-15 18:15:46
|
Revision: 513 http://hastymail.svn.sourceforge.net/hastymail/?rev=513&view=rev Author: sailfrog Date: 2008-06-15 11:15:44 -0700 (Sun, 15 Jun 2008) Log Message: ----------- move unread count to the far left of the title to make it visible even on small browser tabs Modified Paths: -------------- trunk/hastymail2/lib/ajax_functions.php trunk/hastymail2/themes/default/templates/main.php Modified: trunk/hastymail2/lib/ajax_functions.php =================================================================== --- trunk/hastymail2/lib/ajax_functions.php 2008-06-11 04:31:23 UTC (rev 512) +++ trunk/hastymail2/lib/ajax_functions.php 2008-06-15 18:15:44 UTC (rev 513) @@ -6,7 +6,7 @@ global $user; global $conf; if ($user->logged_in) { - return $user->str[10].' ('.$_SESSION['total_unread'].')'.$title.' '.$conf['page_title']; + return $_SESSION['total_unread'].' '.$user->str[10].$title.' '.$conf['page_title']; } } function ajax_refresh_new_page($arg, $page_id) { Modified: trunk/hastymail2/themes/default/templates/main.php =================================================================== --- trunk/hastymail2/themes/default/templates/main.php 2008-06-11 04:31:23 UTC (rev 512) +++ trunk/hastymail2/themes/default/templates/main.php 2008-06-15 18:15:44 UTC (rev 513) @@ -34,7 +34,7 @@ <head> <base href="'.$pd->pd['base_href'].'" /> <title id="title">'; - if ($pd->user->logged_in) { echo $pd->user->str[10].' ('.$_SESSION['total_unread'].')'; } echo ' + if ($pd->user->logged_in) { echo $_SESSION['total_unread'].' '.$pd->user->str[10]; } echo ' '.$pd->user->page_title.' '.$pd->pd['site_title'].'</title><complex-'.$page_id.'> <link rel="shortcut icon" href="themes/'.$pd->pd['theme'].'/images/hastymail.ico" type="image/vnd.microsoft.icon" /> <link rel="icon" href="themes/'.$pd->pd['theme'].'/images/hastymail.ico" type="image/vnd.microsoft.icon" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |