mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-27 15:07:42 +00:00
added email property
This commit is contained in:
parent
0ef1a83a1d
commit
34a0d86c92
2 changed files with 6 additions and 4 deletions
|
|
@ -42,6 +42,9 @@
|
||||||
if (property_exists($user, 'url')) {
|
if (property_exists($user, 'url')) {
|
||||||
$holder = '<a href="'.$user->url.'">' . $holder . '</a>';
|
$holder = '<a href="'.$user->url.'">' . $holder . '</a>';
|
||||||
}
|
}
|
||||||
|
if (property_exists($user, 'email')) {
|
||||||
|
$holder = $holder . ' <<a href="mailto:' . $user->email . '">' . $user->email . '</a>>';
|
||||||
|
}
|
||||||
|
|
||||||
if (property_exists($user, 'format')) {
|
if (property_exists($user, 'format')) {
|
||||||
if (strtolower($user->format) == 'txt') {
|
if (strtolower($user->format) == 'txt') {
|
||||||
|
|
@ -112,5 +115,3 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $license;
|
echo $license;
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
"copyright": "Batuhan Icoz, http://batu.me/1",
|
"copyright": "Batuhan Icoz, http://batu.me/1",
|
||||||
"url": "http://batu.me/1"
|
"url": "http://batu.me/1",
|
||||||
|
"email": "i@batu.me"
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue