diff --git a/include/conversation.php b/include/conversation.php index c87c8cb58..f681155a4 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1177,7 +1177,8 @@ function status_editor(App $a, $x, $notes_cid = 0, $popup = false) '$term' => DI::l10n()->t('Tag term:'), '$fileas' => DI::l10n()->t('Save to Folder:'), '$whereareu' => DI::l10n()->t('Where are you right now?'), - '$delitems' => DI::l10n()->t("Delete item\x28s\x29?") + '$delitems' => DI::l10n()->t("Delete item\x28s\x29?"), + '$is_mobile' => DI::mode()->isMobile(), ]); $jotplugins = ''; diff --git a/mod/editpost.php b/mod/editpost.php index 209fbcf5a..ff2d0f555 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -66,7 +66,8 @@ function editpost_content(App $a) DI::page()['htmlhead'] .= Renderer::replaceMacros($tpl, [ '$ispublic' => ' ', // DI::l10n()->t('Visible to everybody'), '$geotag' => $geotag, - '$nickname' => $a->user['nickname'] + '$nickname' => $a->user['nickname'], + '$is_mobile' => DI::mode()->isMobile(), ]); if (strlen($item['allow_cid']) || strlen($item['allow_gid']) || strlen($item['deny_cid']) || strlen($item['deny_gid'])) { diff --git a/src/Module/Notifications/Introductions.php b/src/Module/Notifications/Introductions.php index 2a8a6ef44..ccd596387 100644 --- a/src/Module/Notifications/Introductions.php +++ b/src/Module/Notifications/Introductions.php @@ -112,6 +112,7 @@ class Introductions extends BaseNotifications '$note' => $notification->getNote(), '$ignore' => DI::l10n()->t('Ignore'), '$discard' => DI::l10n()->t('Discard'), + '$is_mobile' => DI::mode()->isMobile(), ]); break; @@ -190,6 +191,7 @@ class Introductions extends BaseNotifications '$ignore' => DI::l10n()->t('Ignore'), '$discard' => $discard, '$action' => $action, + '$is_mobile' => DI::mode()->isMobile(), ]); break; } diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index aa00c5d98..8f9d59d98 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -8,7 +8,7 @@ var textlen = 0; function initEditor(callback) { if (editor == false) { var colorbox_options = { - {{if $APP->is_mobile}} + {{if $is_mobile}} 'width' : '100%', 'height' : '100%', {{/if}} diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 41ba31dc5..927d557b4 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -198,6 +198,11 @@ blockquote { padding: 1px 5px; font-size: 12px; } +.btn.btn-danger { + color: #FFFFFF; + background-color: #AE0F0F; +} + .btn.btn-primary { background: $nav_bg; color: $btn_primary_color; diff --git a/view/theme/frio/templates/notifications/intros.tpl b/view/theme/frio/templates/notifications/intros.tpl index f46082915..6e083201e 100644 --- a/view/theme/frio/templates/notifications/intros.tpl +++ b/view/theme/frio/templates/notifications/intros.tpl @@ -36,6 +36,16 @@