From 03acf26a09cd9c2a6928c967470596e51ebeb7e0 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 31 Jan 2023 12:13:47 -0500 Subject: [PATCH] contextual_help removes code related to contextual help --- .gitignore | 1 - Code/Lib/Navbar.php | 15 ------- Code/Module/Admin/Site.php | 6 +-- util/messages.po | 9 ---- util/strings.php | 2 - view/ca/messages.po | 10 ----- view/ca/strings.php | 2 - view/de-de/messages.po | 10 ----- view/de-de/strings.php | 2 - view/en-au/messages.po | 9 ---- view/en/messages.po | 9 ---- view/es-es/messages.po | 12 ----- view/es-es/strings.php | 2 - view/fr/messages.po | 9 ---- view/fr/strings.php | 2 - view/he/messages.po | 10 ----- view/he/strings.php | 2 - view/it/messages.po | 10 ----- view/it/strings.php | 2 - view/js/main.js | 37 --------------- view/nb-no/messages.po | 10 ----- view/nb-no/strings.php | 2 - view/nl/hmessages.po | 10 ----- view/nl/hstrings.php | 2 - view/pl/messages.po | 11 ----- view/pl/messages.pot | 9 ---- view/pl/strings.php | 2 - view/ru/messages.po | 9 ---- view/ru/strings.php | 2 - view/theme/redbasic/css/narrow_navbar.css | 4 -- view/theme/redbasic/css/style.css | 45 ------------------- view/theme/redbasic/schema/dark.css | 19 -------- ...ack_on_white_(unmaintained,deprecated).css | 5 --- ...een_on_black_(unmaintained,deprecated).css | 18 -------- ...ite_on_black_(unmaintained,deprecated).css | 18 -------- view/tpl/navbar_default.tpl | 19 -------- view/tpl/navbar_tucson.tpl | 19 -------- 37 files changed, 1 insertion(+), 364 deletions(-) diff --git a/.gitignore b/.gitignore index c109d5628..5cffd6a7a 100755 --- a/.gitignore +++ b/.gitignore @@ -33,7 +33,6 @@ custom/ cache/ # site apps apps/ -!doc/context/*/apps doc/site # default startpage home.html diff --git a/Code/Lib/Navbar.php b/Code/Lib/Navbar.php index 42338fb90..2e9deea5f 100644 --- a/Code/Lib/Navbar.php +++ b/Code/Lib/Navbar.php @@ -164,23 +164,8 @@ class Navbar { $nav['register'] = ['register',t('Register'), "", t('Create an account'),'register_nav_btn']; } - if (! get_config('system', 'hide_help', true)) { - $help_url = z_root() . '/help?f=&cmd=' . App::$cmd; - $context_help = ''; - $enable_context_help = ((intval(get_config('system', 'enable_context_help')) === 1 || get_config('system', 'enable_context_help') === false) ? true : false); - if ($enable_context_help === true) { - require_once('include/help.php'); - $context_help = load_context_help(); - //point directly to /help if $context_help is empty - this can be removed once we have context help for all modules - $enable_context_help = (($context_help) ? true : false); - } - $nav['help'] = [$help_url, t('Help'), "", t('Help and documentation'), 'help_nav_btn', $context_help, $enable_context_help]; - } - - $search_form_action = 'search'; - $nav['search'] = ['search', t('Search'), "", t('Search site @name, #tag, ?doc, content'), $search_form_action]; /** diff --git a/Code/Module/Admin/Site.php b/Code/Module/Admin/Site.php index b61372cf2..cebeb7f7e 100644 --- a/Code/Module/Admin/Site.php +++ b/Code/Module/Admin/Site.php @@ -64,7 +64,6 @@ class Site $public_stream_mode = ((x($_POST, 'public_stream_mode')) ? intval($_POST['public_stream_mode']) : PUBLIC_STREAM_NONE); $animations = ((x($_POST, 'animations')) ? true : false); $login_on_homepage = ((x($_POST, 'login_on_homepage')) ? true : false); - $enable_context_help = ((x($_POST, 'enable_context_help')) ? true : false); $no_community_page = !((x($_POST, 'no_community_page')) ? true : false); $default_expire_days = ((array_key_exists('default_expire_days', $_POST)) ? intval($_POST['default_expire_days']) : 0); $active_expire_days = ((array_key_exists('active_expire_days', $_POST)) ? intval($_POST['active_expire_days']) : 7); @@ -109,7 +108,6 @@ class Site set_config('system', 'mirror_frontpage', $mirror_frontpage); set_config('system', 'sitename', $sitename); set_config('system', 'login_on_homepage', $login_on_homepage); - set_config('system', 'enable_context_help', $enable_context_help); set_config('system', 'verify_email', $verify_email); set_config('system', 'default_expire_days', $default_expire_days); set_config('system', 'active_expire_days', $active_expire_days); @@ -267,8 +265,7 @@ class Site } $homelogin = get_config('system', 'login_on_homepage'); - $enable_context_help = get_config('system', 'enable_context_help'); - + return replace_macros(Theme::get_template('admin_site.tpl'), [ '$title' => t('Administration'), '$page' => t('Site'), @@ -316,7 +313,6 @@ class Site '$excl' => ['pub_excl', t('Do not import Public stream posts with this text'), get_config('system', 'pubstream_excl'), t('words one per line or #tags or /patterns/ or lang=xx, leave blank to import all posts')], '$max_imported_follow' => ['max_imported_follow', t('Maximum number of imported friends of friends'), get_config('system', 'max_imported_follow', MAX_IMPORTED_FOLLOW), t('Warning: higher numbers will improve the quality of friend suggestions and directory results but can exponentially increase resource usage')], '$login_on_homepage' => ['login_on_homepage', t("Login on Homepage"), ((intval($homelogin) || $homelogin === false) ? 1 : ''), t("Present a login box to visitors on the home page if no other content has been configured.")], - '$enable_context_help' => ['enable_context_help', t("Enable context help"), ((intval($enable_context_help) === 1 || $enable_context_help === false) ? 1 : 0), t("Display contextual help for the current page when the help button is pressed.")], '$reply_address' => ['reply_address', t('Reply-to email address for system generated email.'), get_config('system', 'reply_address', 'noreply@' . App::get_hostname()), ''], '$from_email' => ['from_email', t('Sender (From) email address for system generated email.'), get_config('system', 'from_email', 'Administrator@' . App::get_hostname()), ''], '$from_email_name' => ['from_email_name', t('Display name of email sender for system generated email.'), get_config('system', 'from_email_name', System::get_site_name()), ''], diff --git a/util/messages.po b/util/messages.po index c9c6896c8..6e85cb18e 100644 --- a/util/messages.po +++ b/util/messages.po @@ -3551,15 +3551,6 @@ msgid "" "been configured." msgstr "" -#: Code/Module/Admin/Site.php:319 -msgid "Enable context help" -msgstr "" - -#: Code/Module/Admin/Site.php:319 -msgid "" -"Display contextual help for the current page when the help button is pressed." -msgstr "" - #: Code/Module/Admin/Site.php:320 msgid "Reply-to email address for system generated email." msgstr "" diff --git a/util/strings.php b/util/strings.php index f368ed7d6..11c119986 100644 --- a/util/strings.php +++ b/util/strings.php @@ -561,8 +561,6 @@ App::$strings['words one per line or #tags or /patterns/ or lang=xx, leave blank App::$strings['Do not import Public stream posts with this text'] = ''; App::$strings['Login on Homepage'] = ''; App::$strings['Present a login box to visitors on the home page if no other content has been configured.'] = ''; -App::$strings['Enable context help'] = ''; -App::$strings['Display contextual help for the current page when the help button is pressed.'] = ''; App::$strings['Reply-to email address for system generated email.'] = ''; App::$strings['Sender (From) email address for system generated email.'] = ''; App::$strings['Name of email sender for system generated email.'] = ''; diff --git a/view/ca/messages.po b/view/ca/messages.po index 124619ade..2836d7182 100644 --- a/view/ca/messages.po +++ b/view/ca/messages.po @@ -2948,16 +2948,6 @@ msgid "" "been configured." msgstr "Presenta una casella d'identificació a la pàgina d'inici als visitants si no s'ha configurat altre contingut." -#: ../../Code/Module/Admin/Site.php:352 -msgid "Enable context help" -msgstr "Activar l'ajuda contextual" - -#: ../../Code/Module/Admin/Site.php:352 -msgid "" -"Display contextual help for the current page when the help button is " -"pressed." -msgstr "Mostra l'ajuda contextual per la pàgina actual quan el botó d'ajuda es pressionat." - #: ../../Code/Module/Admin/Site.php:354 msgid "Reply-to email address for system generated email." msgstr "Adreça de correu de resposta per als correus generats." diff --git a/view/ca/strings.php b/view/ca/strings.php index b5e4bec28..959b1ea0d 100644 --- a/view/ca/strings.php +++ b/view/ca/strings.php @@ -572,8 +572,6 @@ App::$strings["words one per line or #tags or /patterns/ or lang=xx, leave blank App::$strings["Do not import Public stream posts with this text"] = "No importes entrades del flux públic que continguin aquest text"; App::$strings["Login on Homepage"] = "Accés a la Pàgina d'inici"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Presenta una casella d'identificació a la pàgina d'inici als visitants si no s'ha configurat altre contingut."; -App::$strings["Enable context help"] = "Activar l'ajuda contextual"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Mostra l'ajuda contextual per la pàgina actual quan el botó d'ajuda es pressionat."; App::$strings["Reply-to email address for system generated email."] = "Adreça de correu de resposta per als correus generats."; App::$strings["Sender (From) email address for system generated email."] = "Adreça de correu de remitent per als correus generats."; App::$strings["Name of email sender for system generated email."] = "Nom visible de remitent per als correus generats."; diff --git a/view/de-de/messages.po b/view/de-de/messages.po index 255d140f3..bbdc5db0e 100644 --- a/view/de-de/messages.po +++ b/view/de-de/messages.po @@ -2986,16 +2986,6 @@ msgid "" "been configured." msgstr "Zeigt Besuchern der Homepage eine Anmeldemaske, falls keine anderen Inhalte konfiguriert wurden." -#: ../../Code/Module/Admin/Site.php:334 -msgid "Enable context help" -msgstr "Kontext-Hilfe aktivieren" - -#: ../../Code/Module/Admin/Site.php:334 -msgid "" -"Display contextual help for the current page when the help button is " -"pressed." -msgstr "Zeigt Kontext-sensitive Hilfe für die aktuelle Seite an, wenn der Hilfe-Knopf geklickt wird." - #: ../../Code/Module/Admin/Site.php:336 msgid "Reply-to email address for system generated email." msgstr "Antwortadresse (reply-to) für Emails, die vom System generiert wurden." diff --git a/view/de-de/strings.php b/view/de-de/strings.php index 9dfcd0859..4ee46b15f 100644 --- a/view/de-de/strings.php +++ b/view/de-de/strings.php @@ -584,8 +584,6 @@ App::$strings["Allow anybody on the internet to access the Public streams"] = "A App::$strings["Disable to require authentication before viewing. Warning: this content is unmoderated."] = "Deaktiviert die erforderliche Authentifizierung vor dem Ansehen. Warnung: Diese Inhalte sind nicht moderiert."; App::$strings["Login on Homepage"] = "Log-in auf der Startseite"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Zeigt Besuchern der Homepage eine Anmeldemaske, falls keine anderen Inhalte konfiguriert wurden."; -App::$strings["Enable context help"] = "Kontext-Hilfe aktivieren"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Zeigt Kontext-sensitive Hilfe für die aktuelle Seite an, wenn der Hilfe-Knopf geklickt wird."; App::$strings["Reply-to email address for system generated email."] = "Antwortadresse (reply-to) für Emails, die vom System generiert wurden."; App::$strings["Sender (From) email address for system generated email."] = "Absenderadresse (from) für Emails, die vom System generiert wurden."; App::$strings["Name of email sender for system generated email."] = "Name des Versenders von Emails, die vom System generiert wurden."; diff --git a/view/en-au/messages.po b/view/en-au/messages.po index 79ff37f59..060789842 100644 --- a/view/en-au/messages.po +++ b/view/en-au/messages.po @@ -4103,15 +4103,6 @@ msgid "" "been configured." msgstr "" -#: Code/Module/Admin/Site.php:325 -msgid "Enable context help" -msgstr "" - -#: Code/Module/Admin/Site.php:325 -msgid "" -"Display contextual help for the current page when the help button is pressed." -msgstr "" - #: Code/Module/Admin/Site.php:326 msgid "Reply-to email address for system generated email." msgstr "" diff --git a/view/en/messages.po b/view/en/messages.po index 79ff37f59..060789842 100644 --- a/view/en/messages.po +++ b/view/en/messages.po @@ -4103,15 +4103,6 @@ msgid "" "been configured." msgstr "" -#: Code/Module/Admin/Site.php:325 -msgid "Enable context help" -msgstr "" - -#: Code/Module/Admin/Site.php:325 -msgid "" -"Display contextual help for the current page when the help button is pressed." -msgstr "" - #: Code/Module/Admin/Site.php:326 msgid "Reply-to email address for system generated email." msgstr "" diff --git a/view/es-es/messages.po b/view/es-es/messages.po index f121c96d7..86efa8b50 100644 --- a/view/es-es/messages.po +++ b/view/es-es/messages.po @@ -3329,18 +3329,6 @@ msgstr "" "Presentar a los visitantes una casilla de identificación en la página de " "inicio, si no se ha configurado otro tipo de contenido." -#: Code/Module/Admin/Site.php:356 -msgid "Enable context help" -msgstr "Habilitar la ayuda contextual" - -#: Code/Module/Admin/Site.php:356 -msgid "" -"Display contextual help for the current page when the help button is " -"pressed." -msgstr "" -"Ver la ayuda contextual para la página actual cuando se pulse el botón de " -"Ayuda." - #: Code/Module/Admin/Site.php:357 msgid "Reply-to email address for system generated email." msgstr "" diff --git a/view/es-es/strings.php b/view/es-es/strings.php index 47287b7a3..ae017419d 100644 --- a/view/es-es/strings.php +++ b/view/es-es/strings.php @@ -678,8 +678,6 @@ App::$strings["Maximum number of imported friends of friends"] = "Número máxim App::$strings["Warning: higher numbers will improve the quality of friend suggestions and directory results but can exponentially increase resource usage"] = "Advertencia: los números más altos mejorarán la calidad de las sugerencias de amigos y los resultados del directorio, pero pueden aumentar exponencialmente el uso de recursos"; App::$strings["Login on Homepage"] = "Iniciar sesión en la página personal"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Presentar a los visitantes una casilla de identificación en la página de inicio, si no se ha configurado otro tipo de contenido."; -App::$strings["Enable context help"] = "Habilitar la ayuda contextual"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Ver la ayuda contextual para la página actual cuando se pulse el botón de Ayuda."; App::$strings["Reply-to email address for system generated email."] = "Dirección de respuesta para el correo electrónico generado por el sistema."; App::$strings["Sender (From) email address for system generated email."] = "Dirección del remitente (From) para el correo electrónico generado por el sistema."; App::$strings["Display name of email sender for system generated email."] = "Nombre del remitente del correo electrónico generado por el sistema."; diff --git a/view/fr/messages.po b/view/fr/messages.po index 1c25a9ce3..260b39b5b 100644 --- a/view/fr/messages.po +++ b/view/fr/messages.po @@ -5855,15 +5855,6 @@ msgstr "" "Présenter une boîte de dialogue de connexion aux visiteurs sur la page " "d'accueil si aucun autre contenu n'a été configuré." -#: ../../Code/Module/Admin/Site.php:322 -msgid "Enable context help" -msgstr "Permettre l'aide contextuelle" - -#: ../../Code/Module/Admin/Site.php:322 -msgid "" -"Display contextual help for the current page when the help button is pressed." -msgstr "Afficher l'aide contextuel en cliquant sur le bouton aide." - #: ../../Code/Module/Admin/Site.php:323 msgid "Reply-to email address for system generated email." msgstr "" diff --git a/view/fr/strings.php b/view/fr/strings.php index 8b16d7733..5188d516e 100644 --- a/view/fr/strings.php +++ b/view/fr/strings.php @@ -1162,8 +1162,6 @@ App::$strings["Maximum number of imported friends of friends"] = "Nombre maximal App::$strings["Warning: higher numbers will improve the quality of friend suggestions and directory results but can exponentially increase resource usage"] = "Attention : un nombre plus élevé augmentera la qualité des suggestions de contacts et les résultats de l'annuaire, mais peut augmenter l'utilisation des ressources de façon exponentielle"; App::$strings["Login on Homepage"] = "Connexion sur la page d'accueil"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Présenter une boîte de dialogue de connexion aux visiteurs sur la page d'accueil si aucun autre contenu n'a été configuré."; -App::$strings["Enable context help"] = "Permettre l'aide contextuelle"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Afficher l'aide contextuel en cliquant sur le bouton aide."; App::$strings["Reply-to email address for system generated email."] = "Adresse courriel de retour pour les courriels générés par l'application."; App::$strings["Sender (From) email address for system generated email."] = "Adresse courriel de l'expéditeur (champ \"De\") pour les courriels générés par l'application."; App::$strings["Display name of email sender for system generated email."] = "Nom affiché pour l'expéditeur des courriels générés par le système."; diff --git a/view/he/messages.po b/view/he/messages.po index 1e09a617a..fe3bc8b26 100644 --- a/view/he/messages.po +++ b/view/he/messages.po @@ -3911,16 +3911,6 @@ msgid "" "been configured." msgstr "" -#: ../../Code/Module/Admin.php:523 -msgid "Enable context help" -msgstr "" - -#: ../../Code/Module/Admin.php:523 -msgid "" -"Display contextual help for the current page when the help button is " -"pressed." -msgstr "" - #: ../../Code/Module/Admin.php:525 msgid "Directory Server URL" msgstr "" diff --git a/view/he/strings.php b/view/he/strings.php index 0a096ab59..f30acf7d3 100644 --- a/view/he/strings.php +++ b/view/he/strings.php @@ -861,8 +861,6 @@ App::$strings["Import Public Streams"] = ""; App::$strings["Import and allow access to public content pulled from other sites. Warning: this content is unmoderated."] = ""; App::$strings["Login on Homepage"] = "התחבר בעמוד בית"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = ""; -App::$strings["Enable context help"] = ""; -App::$strings["Display contextual help for the current page when the help button is pressed."] = ""; App::$strings["Directory Server URL"] = ""; App::$strings["Default directory server"] = "שרת ספרייה שגרתי"; App::$strings["Proxy user"] = "משתמש פרוקסי"; diff --git a/view/it/messages.po b/view/it/messages.po index a26a05d11..b3b9e7568 100644 --- a/view/it/messages.po +++ b/view/it/messages.po @@ -2959,16 +2959,6 @@ msgid "" "been configured." msgstr "Presenta il modulo di login ai visitatori sulla homepage in mancanza di altri contenuti." -#: ../../Code/Module/Admin/Site.php:334 -msgid "Enable context help" -msgstr "Abilita la guida contestuale" - -#: ../../Code/Module/Admin/Site.php:334 -msgid "" -"Display contextual help for the current page when the help button is " -"pressed." -msgstr "Quando è premuto, il bottone della guida mostra quella relativa alla pagina corrente" - #: ../../Code/Module/Admin/Site.php:336 msgid "Reply-to email address for system generated email." msgstr "Indirizzo Reply-to per mail generate dal sistema." diff --git a/view/it/strings.php b/view/it/strings.php index 011fb80cd..96e3b0aa3 100644 --- a/view/it/strings.php +++ b/view/it/strings.php @@ -583,8 +583,6 @@ App::$strings["Allow anybody on the internet to access the Public streams"] = "P App::$strings["Disable to require authentication before viewing. Warning: this content is unmoderated."] = "Disabilita per richiedere di autenticarsi prima di visualizzare. Attenzione: questo contenuto non è moderato."; App::$strings["Login on Homepage"] = "Login sulla homepage"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Presenta il modulo di login ai visitatori sulla homepage in mancanza di altri contenuti."; -App::$strings["Enable context help"] = "Abilita la guida contestuale"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Quando è premuto, il bottone della guida mostra quella relativa alla pagina corrente"; App::$strings["Reply-to email address for system generated email."] = "Indirizzo Reply-to per mail generate dal sistema."; App::$strings["Sender (From) email address for system generated email."] = "Indirzzo email del mittente (From) per mail generate dal sistema."; App::$strings["Name of email sender for system generated email."] = "Nome del mittente per mail generate dal sistema"; diff --git a/view/js/main.js b/view/js/main.js index 5a03cbae9..6463aed9b 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -703,43 +703,6 @@ function handleNotificationsItems(notifyType, data) { } } -function contextualHelp() { - let container = $("#contextual-help-content"); - - if(container.hasClass('contextual-help-content-open')) { - container.removeClass('contextual-help-content-open'); - $('main').css('margin-top', '') - } - else { - container.addClass('contextual-help-content-open'); - let mainTop = container.outerHeight(true); - $('main').css('margin-top', mainTop + 'px'); - } -} - -function contextualHelpFocus(target, openSidePanel) { - if($(target).length) { - if (openSidePanel) { - $("main").addClass('region_1-on'); // Open the side panel to highlight element - } - else { - $("main").removeClass('region_1-on'); - } - - let css_position = $(target).parent().css('position'); - if (css_position === 'fixed') { - $(target).parent().css('position', 'static'); - } - - $('html,body').animate({ scrollTop: $(target).offset().top - $('nav').outerHeight(true) - $('#contextual-help-content').outerHeight(true)}, 'slow'); - for (i = 0; i < 3; i++) { - $(target).fadeTo('slow', 0.1).fadeTo('slow', 1.0); - } - - $(target).parent().css('position', css_position); - } -} - function updatePageItems(mode, data) { if(mode === 'append') { diff --git a/view/nb-no/messages.po b/view/nb-no/messages.po index 3d5ef3779..0e06272f3 100644 --- a/view/nb-no/messages.po +++ b/view/nb-no/messages.po @@ -3905,16 +3905,6 @@ msgid "" "been configured." msgstr "Presenter en innloggingsboks til besøkende på hjemmesiden hvis ikke noe annet innhold har blitt konfigurert." -#: ../../Code/Module/Admin.php:523 -msgid "Enable context help" -msgstr "" - -#: ../../Code/Module/Admin.php:523 -msgid "" -"Display contextual help for the current page when the help button is " -"pressed." -msgstr "" - #: ../../Code/Module/Admin.php:525 msgid "Directory Server URL" msgstr "Katalogtjener URL" diff --git a/view/nb-no/strings.php b/view/nb-no/strings.php index 80197af3f..39879a523 100644 --- a/view/nb-no/strings.php +++ b/view/nb-no/strings.php @@ -861,8 +861,6 @@ App::$strings["Import Public Streams"] = "Importer offentlige innholdsstrømmer" App::$strings["Import and allow access to public content pulled from other sites. Warning: this content is unmoderated."] = "Importer og gi tilgang til offentlig innhold trukket inn fra andre nettsteder. Advarsel: dette innholdet er ikke moderert."; App::$strings["Login on Homepage"] = ""; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Presenter en innloggingsboks til besøkende på hjemmesiden hvis ikke noe annet innhold har blitt konfigurert."; -App::$strings["Enable context help"] = ""; -App::$strings["Display contextual help for the current page when the help button is pressed."] = ""; App::$strings["Directory Server URL"] = "Katalogtjener URL"; App::$strings["Default directory server"] = "Standard katalogtjener"; App::$strings["Proxy user"] = "Brukernavn mellomtjener"; diff --git a/view/nl/hmessages.po b/view/nl/hmessages.po index 6f5850efa..10f140533 100644 --- a/view/nl/hmessages.po +++ b/view/nl/hmessages.po @@ -2969,16 +2969,6 @@ msgid "" "been configured." msgstr "Toon een inlogformulier voor bezoekers op de homepagina wanneer geen andere inhoud is geconfigureerd. " -#: ../../Code/Module/Admin/Site.php:334 -msgid "Enable context help" -msgstr "Schakel contextuele hulp in" - -#: ../../Code/Module/Admin/Site.php:334 -msgid "" -"Display contextual help for the current page when the help button is " -"pressed." -msgstr "Toon hulp en documentatie voor de op dat moment getoonde pagina, wanneer op de hulp-knop wordt geklikt." - #: ../../Code/Module/Admin/Site.php:336 msgid "Reply-to email address for system generated email." msgstr "Antwoordadres voor door de hub verzonden e-mail." diff --git a/view/nl/hstrings.php b/view/nl/hstrings.php index db1aabf63..8b93c9e1e 100644 --- a/view/nl/hstrings.php +++ b/view/nl/hstrings.php @@ -584,8 +584,6 @@ App::$strings["Allow anybody on the internet to access the Public streams"] = "A App::$strings["Disable to require authentication before viewing. Warning: this content is unmoderated."] = "Uitschakelen wanneer authenticatie is vereist om de berichten te kunnen zien. Waarschuwing: de inhoud van deze berichten wordt niet gemodereerd."; App::$strings["Login on Homepage"] = "Inlogformulier op de homepagina"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Toon een inlogformulier voor bezoekers op de homepagina wanneer geen andere inhoud is geconfigureerd. "; -App::$strings["Enable context help"] = "Schakel contextuele hulp in"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Toon hulp en documentatie voor de op dat moment getoonde pagina, wanneer op de hulp-knop wordt geklikt."; App::$strings["Reply-to email address for system generated email."] = "Antwoordadres voor door de hub verzonden e-mail."; App::$strings["Sender (From) email address for system generated email."] = "Afzenderadres voor door de hub verzonden e-mail."; App::$strings["Name of email sender for system generated email."] = "Volledige naam van afzenderadres voor door de hub verzonden e-mail."; diff --git a/view/pl/messages.po b/view/pl/messages.po index a75fa52ad..2df590e01 100644 --- a/view/pl/messages.po +++ b/view/pl/messages.po @@ -3288,17 +3288,6 @@ msgstr "" "Wyświetlaj formularz logowania odwiedzającym na stronie głównej, jeśli nie " "skonfigurowano żadnych innych treści." -#: Code/Module/Admin/Site.php:356 -msgid "Enable context help" -msgstr "Włącz pomoc kontekstową" - -#: Code/Module/Admin/Site.php:356 -msgid "" -"Display contextual help for the current page when the help button is pressed." -msgstr "" -"Wyświetlanie pomocy kontekstowej dla bieżącej strony po naciśnięciu " -"przycisku pomocy." - #: Code/Module/Admin/Site.php:357 msgid "Reply-to email address for system generated email." msgstr "Zwrotny adres e-mail dla wiadomości wygenerowanych przez system." diff --git a/view/pl/messages.pot b/view/pl/messages.pot index d9dd0dee2..cdbdb7743 100644 --- a/view/pl/messages.pot +++ b/view/pl/messages.pot @@ -3162,15 +3162,6 @@ msgid "" "been configured." msgstr "" -#: Code/Module/Admin/Site.php:356 -msgid "Enable context help" -msgstr "" - -#: Code/Module/Admin/Site.php:356 -msgid "" -"Display contextual help for the current page when the help button is pressed." -msgstr "" - #: Code/Module/Admin/Site.php:357 msgid "Reply-to email address for system generated email." msgstr "" diff --git a/view/pl/strings.php b/view/pl/strings.php index 6cdcd76ad..c6517075e 100644 --- a/view/pl/strings.php +++ b/view/pl/strings.php @@ -683,8 +683,6 @@ App::$strings["Maximum number of imported friends of friends"] = "Maksymalna lic App::$strings["Warning: higher numbers will improve the quality of friend suggestions and directory results but can exponentially increase resource usage"] = "Ostrzeżenie: wyższe liczby poprawią jakość proponowanych znajomych i wyników w katalogu, ale mogą wykładniczo zwiększyć wykorzystanie zasobów"; App::$strings["Login on Homepage"] = "Zaloguj się na stronie głównej"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Wyświetlaj formularz logowania odwiedzającym na stronie głównej, jeśli nie skonfigurowano żadnych innych treści."; -App::$strings["Enable context help"] = "Włącz pomoc kontekstową"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Wyświetlanie pomocy kontekstowej dla bieżącej strony po naciśnięciu przycisku pomocy."; App::$strings["Reply-to email address for system generated email."] = "Zwrotny adres e-mail dla wiadomości wygenerowanych przez system."; App::$strings["Sender (From) email address for system generated email."] = "Adres e-mail nadawcy (Od) wiadomości e-mail wygenerowanej przez system."; App::$strings["Display name of email sender for system generated email."] = "Wyświetlana nazwa nadawcy wiadomości e-mail generowanej przez system."; diff --git a/view/ru/messages.po b/view/ru/messages.po index 8ed41a8ce..7e11bee7d 100644 --- a/view/ru/messages.po +++ b/view/ru/messages.po @@ -11730,15 +11730,6 @@ msgid "" "been configured." msgstr "Предоставлять форму входа для посетителей на домашней странице если другого содержимого не настроено." -#: ../../Code/Module/Admin/Site.php:352 -msgid "Enable context help" -msgstr "Включить контекстную помощь" - -#: ../../Code/Module/Admin/Site.php:352 -msgid "" -"Display contextual help for the current page when the help button is pressed." -msgstr "Показывать контекстную помощь для текущей странице при нажатии на кнопку \"Помощь\"." - #: ../../Code/Module/Admin/Site.php:354 msgid "Reply-to email address for system generated email." msgstr "Адрес email Reply-to для генерируемых системой сообщений." diff --git a/view/ru/strings.php b/view/ru/strings.php index 07f8e4e75..f573173db 100644 --- a/view/ru/strings.php +++ b/view/ru/strings.php @@ -2632,8 +2632,6 @@ App::$strings["Only import Public stream posts with this text"] = "Импорт App::$strings["Do not import Public stream posts with this text"] = "Не импортировать публичные потоки с этим текстом"; App::$strings["Login on Homepage"] = "Вход на домашней странице"; App::$strings["Present a login box to visitors on the home page if no other content has been configured."] = "Предоставлять форму входа для посетителей на домашней странице если другого содержимого не настроено."; -App::$strings["Enable context help"] = "Включить контекстную помощь"; -App::$strings["Display contextual help for the current page when the help button is pressed."] = "Показывать контекстную помощь для текущей странице при нажатии на кнопку \"Помощь\"."; App::$strings["Reply-to email address for system generated email."] = "Адрес email Reply-to для генерируемых системой сообщений."; App::$strings["Sender (From) email address for system generated email."] = "Адрес email отправителя (From) для генерируемых системой сообщений."; App::$strings["Name of email sender for system generated email."] = "Имя отправителя для генерируемых системой сообщений."; diff --git a/view/theme/redbasic/css/narrow_navbar.css b/view/theme/redbasic/css/narrow_navbar.css index 99f083638..22cab5733 100644 --- a/view/theme/redbasic/css/narrow_navbar.css +++ b/view/theme/redbasic/css/narrow_navbar.css @@ -10,10 +10,6 @@ left: -0.25rem; } - .contextual-help-content-open { - top: 2.5rem; - } - aside { padding-top: 3.5rem; } diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 0fa99b3da..16daed73a 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -325,51 +325,6 @@ nav { .nav-channel-select { margin-left: 8px; } -/* contextual help */ -.contextual-help-content { - display: none; - -} - -.contextual-help-content-open { - display: block; - position: fixed; - top: 3.35rem; - left: 0px; - width: 100%; - max-height: 50%; - background: $comment_item_colour; - padding: 1rem; - border-bottom: #ccc 1px solid; - overflow: auto; - -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); - -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); - box-shadow: 0px 3px 3px rgba(0,0,0,0.2); -} - -.contextual-help-content dd { - margin-bottom: 1em; -} - -.contextual-help-tool { - padding: 7px; - filter: alpha(opacity=20); - opacity: .5; -} - -.contextual-help-tool:hover { - filter: alpha(opacity=50); - opacity: 1; - text-decoration: none; -} - -.contextual-help-tool i { - color: $font_colour; - font-size: 1.05rem; -} - -/* contextual help end */ - /* spinner */ .spinner-wrapper { diff --git a/view/theme/redbasic/schema/dark.css b/view/theme/redbasic/schema/dark.css index c3f044f6e..8eaab335c 100644 --- a/view/theme/redbasic/schema/dark.css +++ b/view/theme/redbasic/schema/dark.css @@ -443,25 +443,6 @@ pre { box-shadow: 0px 3px 3px #222; } -.contextual-help-content-open { - background: $nav_bg; - border-bottom: #555 1px solid; - box-shadow: 0px 3px 3px rgba(85,85,85,0.2); -} - -.contextual-help-tool { - opacity: 0.5; -} - -.contextual-help-tool:hover { - opacity: 1; -} - -.contextual-help-tool i { - color: $link_colour; -} - - .profile-match-wrapper { width: 150px; height: 120px; diff --git a/view/theme/redbasic/schema/simple_black_on_white_(unmaintained,deprecated).css b/view/theme/redbasic/schema/simple_black_on_white_(unmaintained,deprecated).css index ab819d774..52f5d9127 100644 --- a/view/theme/redbasic/schema/simple_black_on_white_(unmaintained,deprecated).css +++ b/view/theme/redbasic/schema/simple_black_on_white_(unmaintained,deprecated).css @@ -295,11 +295,6 @@ pre { box-shadow: none; } - -.contextual-help-content-open { - background: #FFF; -} - .profile-match-wrapper { width: 150px; height: 120px; diff --git a/view/theme/redbasic/schema/simple_green_on_black_(unmaintained,deprecated).css b/view/theme/redbasic/schema/simple_green_on_black_(unmaintained,deprecated).css index c8ea87050..12d0dcfea 100644 --- a/view/theme/redbasic/schema/simple_green_on_black_(unmaintained,deprecated).css +++ b/view/theme/redbasic/schema/simple_green_on_black_(unmaintained,deprecated).css @@ -369,24 +369,6 @@ pre { box-shadow: none; } -.contextual-help-content-open { - background: $nav_bg; - border-bottom: #1C5419 1px solid; - box-shadow: 0px 3px 3px rgba(28,84,25,0.2); -} - -.contextual-help-tool { - opacity: 0.5; -} - -.contextual-help-tool:hover { - opacity: 1; -} - -.contextual-help-tool i { - color: $link_colour; -} - .profile-match-wrapper { width: 150px; height: 120px; diff --git a/view/theme/redbasic/schema/simple_white_on_black_(unmaintained,deprecated).css b/view/theme/redbasic/schema/simple_white_on_black_(unmaintained,deprecated).css index ea04d4d9e..446bf07fc 100644 --- a/view/theme/redbasic/schema/simple_white_on_black_(unmaintained,deprecated).css +++ b/view/theme/redbasic/schema/simple_white_on_black_(unmaintained,deprecated).css @@ -342,24 +342,6 @@ pre { box-shadow: none; } -.contextual-help-content-open { - background: $nav_bg; - border-bottom: #FFF 1px solid; - box-shadow: 0px 3px 3px rgba(255,255,255,0.2); -} - -.contextual-help-tool { - opacity: 0.5; -} - -.contextual-help-tool:hover { - opacity: 1; -} - -.contextual-help-tool i { - color: $link_colour; -} - .profile-match-wrapper { width: 150px; height: 120px; diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index db5b10e2b..1350c62db 100755 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -67,11 +67,6 @@ {{/if}} {{/if}} -{{if $nav.help.6}} -
- {{$nav.help.5}} - -
-{{/if}} diff --git a/view/tpl/navbar_tucson.tpl b/view/tpl/navbar_tucson.tpl index a83c75a0f..1964f7603 100755 --- a/view/tpl/navbar_tucson.tpl +++ b/view/tpl/navbar_tucson.tpl @@ -71,11 +71,6 @@ {{/if}} {{/if}} -{{if $nav.help.6}} -
- {{$nav.help.5}} - -
-{{/if}}