mirror of
https://github.com/friendica/friendica
synced 2025-04-19 20:30:11 +00:00
Placeholder page for scheduled posts
This commit is contained in:
parent
302b2cecce
commit
ec5ed0cf46
4 changed files with 63 additions and 10 deletions
|
@ -70,14 +70,15 @@ class BaseProfile extends BaseModule
|
|||
'id' => 'photo-tab',
|
||||
'accesskey' => 'h',
|
||||
],
|
||||
[
|
||||
'label' => DI::l10n()->t('Videos'),
|
||||
'url' => DI::baseUrl() . '/videos/' . $nickname,
|
||||
'sel' => $current == 'videos' ? 'active' : '',
|
||||
'title' => DI::l10n()->t('Videos'),
|
||||
'id' => 'video-tab',
|
||||
'accesskey' => 'v',
|
||||
],
|
||||
// @todo Currently deactivated since it doesn't really work
|
||||
// [
|
||||
// 'label' => DI::l10n()->t('Videos'),
|
||||
// 'url' => DI::baseUrl() . '/videos/' . $nickname,
|
||||
// 'sel' => $current == 'videos' ? 'active' : '',
|
||||
// 'title' => DI::l10n()->t('Videos'),
|
||||
// 'id' => 'video-tab',
|
||||
// 'accesskey' => 'v',
|
||||
// ],
|
||||
];
|
||||
|
||||
// the calendar link for the full featured events calendar
|
||||
|
@ -112,6 +113,14 @@ class BaseProfile extends BaseModule
|
|||
'id' => 'notes-tab',
|
||||
'accesskey' => 't',
|
||||
];
|
||||
$tabs[] = [
|
||||
'label' => DI::l10n()->t('Scheduled Posts'),
|
||||
'url' => $baseProfileUrl . '/schedule',
|
||||
'sel' => $current == 'schedule' ? 'active' : '',
|
||||
'title' => DI::l10n()->t('Posts that are scheduled for publishing'),
|
||||
'id' => 'schedule-tab',
|
||||
'accesskey' => 'o',
|
||||
];
|
||||
}
|
||||
|
||||
if (empty($profile['hide-friends'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue