From: Michael Rasmussen Date: Sun, 31 May 2015 21:44:33 +0000 (+0200) Subject: Add title tag to links X-Git-Url: http://git.datanom.net/qtadmin.git/commitdiff_plain/bb06f1727e40a566d487b1b5ede2794d292b27ad Add title tag to links --- diff --git a/index.php b/index.php index 47c88ba..6852624 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,7 @@ echo $util->getHeading(); echo "{$util->getUser()} - Logout"; + Logout"; $which = ($util->isAdmin() == true) ? 'all' : $util->getUser(); $rows = $DB->getQMails($offset, $rowsPerPage, $which); $numrows = $DB->numRows(); @@ -46,10 +46,10 @@ $id = $row->mail_id; $mailInfo[$id] = serialize($row); $url = urlencode($id); - $recipient = "{$row->recipient}"; - $action = ""; + $recipient = "{$row->recipient}"; + $action = ""; $action .= "\"Release\""; - $action .= " "; + $action .= " "; $action .= "\"Delete\""; $sender = $row->sender; $received = strftime("%c", $row->time_iso); @@ -68,9 +68,9 @@ if ($pageNum > 1) { $page = $pageNum - 1; - $prev = " [Prev]"; - $first = " [First Page] "; } else { $prev = ' '; // we're on page one, don't print previous link @@ -79,9 +79,9 @@ if ($pageNum < $maxPage) { $page = $pageNum + 1; - $next = " [Next]"; - $last = "[Last Page] "; } else { $next = ' '; // we're on the last page, don't print next link diff --git a/lib/utils.inc.php b/lib/utils.inc.php index 2f1671d..6be511f 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -21,8 +21,8 @@ class Utils { __TITLE__ '; - private $footer = ''; + private $footer = ''; private $heading = '

Session timeout:

__TITLE__

';