added email property

This commit is contained in:
Batuhan Icoz 2011-10-20 17:51:57 +03:00
parent 0ef1a83a1d
commit 34a0d86c92
2 changed files with 6 additions and 4 deletions

View file

@ -42,6 +42,9 @@
if (property_exists($user, 'url')) {
$holder = '<a href="'.$user->url.'">' . $holder . '</a>';
}
if (property_exists($user, 'email')) {
$holder = $holder . ' &lt;<a href="mailto:' . $user->email . '">' . $user->email . '</a>&gt;';
}
if (property_exists($user, 'format')) {
if (strtolower($user->format) == 'txt') {
@ -111,6 +114,4 @@
header('content-type: text/plain');
}
echo $license;
?>
echo $license;

View file

@ -1,4 +1,5 @@
{
"copyright": "Batuhan Icoz, http://batu.me/1",
"url": "http://batu.me/1"
"url": "http://batu.me/1",
"email": "i@batu.me"
}