From b9bbb9598af7749cdb3c722824d4174e3af9a766 Mon Sep 17 00:00:00 2001 From: drapeau Date: Fri, 19 Mar 2021 16:11:17 +0100 Subject: [PATCH] [ADD] translations feature for theme materialize --- themes/materialize/views/edit-translation.php | 58 +++++++++++++++++++ .../materialize/views/list-translations.php | 41 +++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 themes/materialize/views/edit-translation.php create mode 100644 themes/materialize/views/list-translations.php diff --git a/themes/materialize/views/edit-translation.php b/themes/materialize/views/edit-translation.php new file mode 100644 index 0000000..484ae44 --- /dev/null +++ b/themes/materialize/views/edit-translation.php @@ -0,0 +1,58 @@ +
+ +
+
+
+
+

+ getTranslationWithData( + 'message_noRightToAccessToThisPage', + $_SESSION['config']['default_lang_code'], + array( + ''. + $oTrans->getTranslation('webpage_register_name', $_SESSION['config']['default_lang_code']).' + ' + ) + ); + ?> +

+

+
+
+
+ +
+

getTranslation('webpage_editTranslation_title', $_SESSION['user']['lang_code']); ?>

+
+ "; + echo "user lang = ".$_SESSION['user']['lang_code']."
"; + ?> + +
+ +
+
+ + +
+
+
+
+ + +
+
+ +
+
+
+ +
diff --git a/themes/materialize/views/list-translations.php b/themes/materialize/views/list-translations.php new file mode 100644 index 0000000..51ce6cc --- /dev/null +++ b/themes/materialize/views/list-translations.php @@ -0,0 +1,41 @@ +
+
+
+ +
+

List Translations

+
+ +
+
getTranslation('webpage_listTranslations_codeTitle', $_SESSION['user']['lang_code']); ?>
+
getTranslation('webpage_listTranslations_sourceTitle', $_SESSION['user']['lang_code']); ?>
+
+
+ + + + + +
+
+ +
+
+