15 lines
395 B
PHP
15 lines
395 B
PHP
<?php
|
|
setlocale(LC_ALL, 'ru_RU.UTF-8');
|
|
|
|
switch ($notification->type) {
|
|
case Notifications::typePointConfirmed:
|
|
print strftime('%d %b %H:%M', $notification->date).' — Ваша точка <a href="/point/'.$notification->objectId.'">"'.$notification->RefPoint->name.'"</a> прошла модерацию.';
|
|
break;
|
|
case Notifications::typeNewCommentPoint:
|
|
|
|
|
|
break;
|
|
default:
|
|
break;
|
|
}
|