\documentclass{article}
\usepackage{ulem}
\pagestyle{headings}
\begin{document}
\tableofcontents

NotesModificationDescriptionshorde/lib/View/Topbar.php

\subsection{Notes}
\textbf{IMP 6, Horde 5}\newline
\textbf{Modifies topbar to display user id beside date}.

Tested on Debian 6.0 (squeeze), Horde 5.0.3 and IMP 6.0.3.


\noindent\rule{\textwidth}{1pt}
\subsection{Modification}
\begin{tabular}{|l|l|}
\hline
File & Variables, Function(s)\\
\hline
horde/lib/View/Topbar.php & \\
\hline
\end{tabular}
\textsl{Last updated 2013-01-16}


\noindent\rule{\textwidth}{1pt}
\subsection{Descriptions}

\noindent\rule{\textwidth}{1pt}
\subsubsection{horde/lib/View/Topbar.php}
Backup your original horde/lib/View/Topbar.php. Edit Topbar.php and modify line 78:\newline
\textbf{Form:}\newline
\begin{verbatim}

        /* Sub bar. */
        $this->date = strftime($GLOBALS['prefs']->getValue('date_format'));
\end{verbatim}

\newline
\textbf{To:}\newline
\begin{verbatim}

        /* Sub bar. */
        $this->date = strftime($GLOBALS['prefs']->getValue('date_format')) . ' - ' 
            . $GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')->create()->getName();
\end{verbatim}

\newline
To display user name and email address:\newline
\begin{verbatim}

        /* Sub bar. */
        $this->date = strftime($GLOBALS['prefs']->getValue('date_format')) . ' - ' 
            . htmlspecialchars($GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')->create()->getDefaultFromAddress(true));
\end{verbatim}

\end{document}
