diff --git a/app.php b/app.php index a61a8c3..cd1cb60 100644 --- a/app.php +++ b/app.php @@ -86,6 +86,7 @@ $f3->route('GET /signature/@hash', $f3->error(404); } + $f3->set('activeTab', 'sign'); echo View::instance()->render('signature.html.php'); } ); @@ -238,6 +239,7 @@ $f3->route('POST /share', $f3->route('GET /signature/@hash/pdf', function($f3) { + $f3->set('activeTab', 'sign'); $hash = Web::instance()->slug($f3->get('PARAMS.hash')); $sharingFolder = $f3->get('PDF_STORAGE_PATH').$hash; $files = scandir($sharingFolder); @@ -312,6 +314,7 @@ $f3->route('POST /signature/@hash/save', $f3->route('GET /signature/@hash/nblayers', function($f3) { + $f3->set('activeTab', 'sign'); $hash = Web::instance()->slug($f3->get('PARAMS.hash')); $files = scandir($f3->get('PDF_STORAGE_PATH').$hash); $nbLayers = 0; diff --git a/locale/application.pot b/locale/application.pot index 71b4b0f..22f9415 100644 --- a/locale/application.pot +++ b/locale/application.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-22 17:24+0200\n" +"POT-Creation-Date: 2023-09-22 17:48+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -515,8 +515,7 @@ msgid "Your signature has been successfully recorded!" msgstr "" #: templates/components/navtab.html.php:4 -#, php-format -msgid "%s Language" +msgid "Language" msgstr "" #: templates/components/navtab.html.php:15 diff --git a/locale/ar/LC_MESSAGES/application.po b/locale/ar/LC_MESSAGES/application.po index 837b817..1914764 100644 --- a/locale/ar/LC_MESSAGES/application.po +++ b/locale/ar/LC_MESSAGES/application.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-22 17:16+0200\n" +"POT-Creation-Date: 2023-09-22 17:42+0200\n" "PO-Revision-Date: 2023-09-20 16:01+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic \n" "Language-Team: French