mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
Move mod/cal.php and mod/events.php to Module
This commit is contained in:
parent
89fde911f9
commit
f13c91b320
41 changed files with 1054 additions and 1109 deletions
|
@ -218,7 +218,7 @@ class Post
|
|||
if (DI::userSession()->getLocalUserId()) {
|
||||
if (Strings::compareLink(DI::session()->get('my_url'), $item['author-link'])) {
|
||||
if ($item['event-id'] != 0) {
|
||||
$edpost = ['events/event/' . $item['event-id'], DI::l10n()->t('Edit')];
|
||||
$edpost = ['calendar/event/edit/' . $item['event-id'], DI::l10n()->t('Edit')];
|
||||
} else {
|
||||
$edpost = ['editpost/' . $item['id'], DI::l10n()->t('Edit')];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue