From 96478bb2ccb980411f88fd97bcd2b389e768ee91 Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 28 Jan 2021 22:00:36 +0100 Subject: [PATCH] Drupal: popravek pri angleski prijavi in registraciji, da direktno odpre modal brez AAI obvestila --- .../modules/prijava_1ka/prijava_1ka.module | 4 ++-- .../pro1ka/templates/page--front.tpl.php | 23 ++++++++++++++++--- .../all/themes/pro1ka/templates/page.tpl.php | 23 ++++++++++++++++--- lang/2.php | 4 ++-- 4 files changed, 44 insertions(+), 10 deletions(-) diff --git a/frontend/drupal/sites/all/modules/prijava_1ka/prijava_1ka.module b/frontend/drupal/sites/all/modules/prijava_1ka/prijava_1ka.module index 8f630a30a..d3740ac38 100644 --- a/frontend/drupal/sites/all/modules/prijava_1ka/prijava_1ka.module +++ b/frontend/drupal/sites/all/modules/prijava_1ka/prijava_1ka.module @@ -718,14 +718,14 @@ function ostale_prijave_gumbi(){ $text .= '
- Facebook prijava + '.$lang['login_with_facebook'].' '.$lang['login_with_facebook'].'
'; $text .= '
- Gmail prijava + '.$lang['login_with_google'].' '.$lang['login_with_google'].'
'; diff --git a/frontend/drupal/sites/all/themes/pro1ka/templates/page--front.tpl.php b/frontend/drupal/sites/all/themes/pro1ka/templates/page--front.tpl.php index b80f76116..9ca123bb3 100644 --- a/frontend/drupal/sites/all/themes/pro1ka/templates/page--front.tpl.php +++ b/frontend/drupal/sites/all/themes/pro1ka/templates/page--front.tpl.php @@ -154,9 +154,26 @@ - - + + diff --git a/frontend/drupal/sites/all/themes/pro1ka/templates/page.tpl.php b/frontend/drupal/sites/all/themes/pro1ka/templates/page.tpl.php index 2147ea362..cacb355d5 100644 --- a/frontend/drupal/sites/all/themes/pro1ka/templates/page.tpl.php +++ b/frontend/drupal/sites/all/themes/pro1ka/templates/page.tpl.php @@ -69,9 +69,26 @@ - - + + diff --git a/lang/2.php b/lang/2.php index 30bb2311d..8f97e51d5 100644 --- a/lang/2.php +++ b/lang/2.php @@ -6395,8 +6395,8 @@ $lang = array ( 'login_create_own' => 'Create own', 'login_create_right' => 'LOGIN
and
REGISTRATION', 'login_with_account' => 'Login with account', - 'login_with_google' => 'Gmail account', - 'login_with_facebook' => 'Facebook account', + 'login_with_google' => 'Gmail', + 'login_with_facebook' => 'Facebook', 'login_with_aai' => 'ARNES AAI-account', 'login_with_aai_title' => 'REGISTRATION WITH AAI ON 1KA.ARNES.SI FOR FREE UNLIMITED USE OF 1KA', 'login_with_aai_small_text' => 'Students, researchers, teachers and others with AAI access can sign up for free use of all 1KA functionality with their existing AAI account or digital identity .',