]> wagnertech.de Git - timetracker.git/commitdiff
Added title.download_file to translation files.
authorNik Okuntseff <support@anuko.com>
Sat, 30 Mar 2019 20:31:09 +0000 (20:31 +0000)
committerNik Okuntseff <support@anuko.com>
Sat, 30 Mar 2019 20:31:09 +0000 (20:31 +0000)
32 files changed:
WEB-INF/resources/ca.lang.php
WEB-INF/resources/cs.lang.php
WEB-INF/resources/da.lang.php
WEB-INF/resources/de.lang.php
WEB-INF/resources/en.lang.php
WEB-INF/resources/es.lang.php
WEB-INF/resources/et.lang.php
WEB-INF/resources/fa.lang.php
WEB-INF/resources/fi.lang.php
WEB-INF/resources/fr.lang.php
WEB-INF/resources/gr.lang.php
WEB-INF/resources/he.lang.php
WEB-INF/resources/hu.lang.php
WEB-INF/resources/it.lang.php
WEB-INF/resources/ja.lang.php
WEB-INF/resources/ko.lang.php
WEB-INF/resources/nl.lang.php
WEB-INF/resources/no.lang.php
WEB-INF/resources/pl.lang.php
WEB-INF/resources/pt-br.lang.php
WEB-INF/resources/pt.lang.php
WEB-INF/resources/ro.lang.php
WEB-INF/resources/ru.lang.php
WEB-INF/resources/sk.lang.php
WEB-INF/resources/sl.lang.php
WEB-INF/resources/sr.lang.php
WEB-INF/resources/sv.lang.php
WEB-INF/resources/tr.lang.php
WEB-INF/resources/zh-cn.lang.php
WEB-INF/resources/zh-tw.lang.php
WEB-INF/templates/footer.tpl
file_download.php

index 4a8b1bbe8f52d302d41e52a32731c9770b4d5223..f6a535745c55602f5ae91e962eae1bcb49438ffc 100644 (file)
@@ -380,6 +380,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index f76e0bb6e93147bf1efdbed6947214e43b172944..fc976878fb061bbc599ffba95a019cf6b37f7a48 100644 (file)
@@ -391,6 +391,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 222b6cb25312b80406190740448a3ab22d168dd2..6c748c8f4aedc921ac66a1996db0908395ae0580 100644 (file)
@@ -358,6 +358,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 8416cda08e46bf381e0f432611122adf4be5aabf..e162f3989b98c2fa3ede8cc3767d889651f48ad7 100644 (file)
@@ -341,6 +341,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 0c4d7e0ad706fbda8ed6cde699233f20f10d7b6c..54da108c0849b394edd55a24d3e089a5c1ee41a0 100644 (file)
@@ -331,6 +331,7 @@ $i18n_key_words = array(
 'title.delete_template' => 'Deleting Template',
 'title.edit_file' => 'Editing File',
 'title.delete_file' => 'Deleting File',
+'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 8d1f837f1cb87723b09b97cc52048de30caa910a..aee71b4c0210951ce8a5d09884bf5f4ebd5698b0 100644 (file)
@@ -379,6 +379,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index faf45cb0640a5dabe235474cf93c8f7dff9c2bb4..4963cc592fe4bda7d9ce5b7c7b5e9e9d89e85e0f 100644 (file)
@@ -363,6 +363,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 64902e530b8454d5011c579700b0252e2c2183cc..d6ed945c82536d6d56d8e35bcfeb0fd95955b3d9 100644 (file)
@@ -367,6 +367,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 735724cfbab5e02b14a65336a86360c151803820..5aaf7f9718cf3527c0e9bf665d5fac5035cca672 100644 (file)
@@ -358,6 +358,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index ee64810100f22b018e7433f40b1cf1dcc01d1cf7..f95bf742446af3ab047bbace27dcaf5fbb4d33b4 100644 (file)
@@ -352,6 +352,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 5155254ebc36a2cf9a10ce6454650bdd34b33a6f..ee10172a46468c47185aa1d865f1c01e3b3af0d0 100644 (file)
@@ -348,6 +348,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 3f2232d7cb498f7a3c63985d5514c4c07aef738b..90056902cc358d874f3c0d9b73eaba6c54864339 100644 (file)
@@ -378,6 +378,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index a14445c4291378cb6ec62051695ac03316e37f2e..58fcf50ac03a40ec3e0d954464093ed7536fedde 100644 (file)
@@ -379,6 +379,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 870b1e93dd3497412228668736840a37a45cc9ac..4b6cf98d2f6104d24346b20718fa65d7e9e9c093 100644 (file)
@@ -358,6 +358,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index b020a04e52c081746bfff9b4373852c93f8f7c5e..b4fd746f0c77aa064ded16d40a61b9500bffdf3c 100644 (file)
@@ -386,6 +386,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index dff995ff698ac6a0ac460031c7d55d030fd03653..b7c4a695266583b7de0cc1c9081c5473eb6ebefb 100644 (file)
@@ -387,6 +387,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index c95e15029520a03a5b7a009fa2587cfa66ed11a4..f06047151cc3c5aaaa94463e9ac66b70eacdb5e4 100644 (file)
@@ -330,6 +330,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 96a5f135b24bd03bf49943c5fe46ba23fdeda685..d8848cd0cca88eb9d8fca10b5e9bdc3b90b1ce3d 100644 (file)
@@ -383,6 +383,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 6813fe26fad3b6cfe879918154146094537060ca..b62c3b613db837c8f4cc38a6634c9486aab09351 100644 (file)
@@ -361,6 +361,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 712a28929287d144c9aafb087e7c9b9c5b0132dc..7662b98d60aa74f6e83239eeb2077e481da5997c 100644 (file)
@@ -356,6 +356,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index d66ffaf52f108897027abd0895baf0cc27d3a26e..b76b0dcdb80c7c8444b80af7c5ba598d0f13cede 100644 (file)
@@ -367,6 +367,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index eab1c21a94efab7a3cc323b52be1430e7ec2b33f..908c7d38a7a646d406889dd18d484edbddaab534 100644 (file)
@@ -386,6 +386,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 126844e8a94579c33018b10adcfc53ea3fb4a2cb..cb7c0925db231e71c48060cc41afd285ca4301e5 100644 (file)
@@ -328,6 +328,7 @@ $i18n_key_words = array(
 'title.delete_template' => 'Удаление шаблона',
 'title.edit_file' => 'Редактирование файла',
 'title.delete_file' => 'Удаление файла',
+'title.download_file' => 'Скачивание файла',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index b8bcbef056c4d0a9153baf322393e26a14b61d22..2024b49ff3ce7dfea55e9b953ca6e4c2ab1a039c 100644 (file)
@@ -367,6 +367,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index efdd2c14ba2e02b2edfb574bcb743be7b45f46d3..bd7615dc852ef34b672ab904bda1712a9858ff7c 100644 (file)
@@ -361,6 +361,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index c47cc41e31dbfde4b8ac3f704bbf51f6b7203d8b..89875af5f0f325f32c16ecc0983051fb0362a9bd 100644 (file)
@@ -359,6 +359,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index f21cd4f6c9fb8f90df0271109ab619f5b3d1d335..ff2dda3434eb7d69c4b1903110e931479f44233c 100644 (file)
@@ -359,6 +359,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index 82ba90ec3d5f1b10b0c264b195e1b06e5cf4a342..c0411a64689b53d5e1bc59c698dc2331eab258c1 100644 (file)
@@ -395,6 +395,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index f5dab87f6aa18f6b314b5b6a2912fae4b426bdd8..208bd684fe017cf43c91eb4bd38442c05a0f5ff9 100644 (file)
@@ -374,6 +374,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index eba42ab9d7e1a7bb987da7a4e3dadaf499b6e5fc..0dcd0e8c42263a2df401f6ff826bcf354c5867cd 100644 (file)
@@ -381,6 +381,7 @@ $i18n_key_words = array(
 // 'title.delete_template' => 'Deleting Template',
 // 'title.edit_file' => 'Editing File',
 // 'title.delete_file' => 'Deleting File',
+// 'title.download_file' => 'Downloading File',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
index b36f3d07ede235086d30fed72c810b8ab1a19719..381ae4fd73674445cdd29fdbf06b349f506fab08 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.61.4897 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.61.4898 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 83ff703a5827f44287c42b214717f972a7a953ae..fb9239ab8fb2d82fc98b5c1677cdd2ee9fddca77 100644 (file)
@@ -68,35 +68,8 @@ if ($fileHelper->getFile($file)) {
 
   echo $fileHelper->getFileData();
   exit;
-} else
-  $err->add($i18n->get('error.sys'));
-
-$form = new Form('fileForm');
-$form->addInput(array('type'=>'hidden','name'=>'id','value'=>$cl_file_id));
-$form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'file_name','style'=>'width: 250px;','value'=>$cl_name));
-$form->getElement('file_name')->setEnabled(false);
-$form->addInput(array('type'=>'textarea','name'=>'description','style'=>'width: 250px; height: 40px;','value'=>$cl_description));
-$form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save')));
-
-if ($request->isPost()) {
-  // Validate user input.
-  if (!ttValidString($cl_description, true)) $err->add($i18n->get('error.field'), $i18n->get('label.description'));
-
-  if ($err->no()) {
-    if ($request->getParameter('btn_save')) {
-      // Update file information.
-      $updated = ttFileHelper::update(array('id' => $cl_file_id,'description' => $cl_description));
-      if ($updated && $file['entity_type'] == 'project') {
-        header('Location: project_files.php?id='.$file['entity_id']);
-        exit();
-      } else
-        $err->add($i18n->get('error.db'));
-    }
-  }
-} // isPost
+}
 
-$smarty->assign('forms', array($form->getName()=>$form->toArray()));
-$smarty->assign('onload', 'onLoad="document.fileForm.description.focus()"');
-$smarty->assign('title', $i18n->get('title.edit_file'));
-$smarty->assign('content_page_name', 'file_edit.tpl');
+$smarty->assign('title', $i18n->get('title.download_file'));
+$smarty->assign('content_page_name', 'file_download.tpl');
 $smarty->display('index.tpl');