add mail counter in title

This commit is contained in:
Synox 2018-01-19 21:31:52 +01:00
parent 71582e235d
commit b1de900ce4
2 changed files with 4 additions and 1 deletions

View file

@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
- Blacklist some usernames (https://github.com/synox/disposable-mailbox/issues/27) - Blacklist some usernames (https://github.com/synox/disposable-mailbox/issues/27)
- copyToClipboard button (https://github.com/synox/disposable-mailbox/issues/30) - copyToClipboard button (https://github.com/synox/disposable-mailbox/issues/30)
- make all addresses lowercase (https://github.com/synox/disposable-mailbox/issues/30) - make all addresses lowercase (https://github.com/synox/disposable-mailbox/issues/30)
- mail counter in title
## [0.1.4] - 2017-04-15 ## [0.1.4] - 2017-04-15

View file

@ -17,7 +17,9 @@ $purifier = new HTMLPurifier($purifier_config);
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title><?php echo $user->address ?></title> <title><?php
echo $emails ? "(" . count($emails) . ") " : "";
echo $user->address ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/x-icon" href="favicon.gif"> <link rel="icon" type="image/x-icon" href="favicon.gif">
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">