From 45734673389de1423aee9723390be9db16d8ff07 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Wed, 8 Nov 2017 09:49:24 +0100 Subject: [PATCH] Admin image storage --- modules/purchaseguide/classes/GuideCategory.php | 2 +- modules/purchaseguide/views/templates/admin/form/file.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/purchaseguide/classes/GuideCategory.php b/modules/purchaseguide/classes/GuideCategory.php index a50a141f..768b226a 100644 --- a/modules/purchaseguide/classes/GuideCategory.php +++ b/modules/purchaseguide/classes/GuideCategory.php @@ -60,7 +60,7 @@ class GuideCategory extends ObjectModel public static function getSubPath() { - return 'modules/purchaseguide/img'; + return 'img/purchaseguide'; } public function getImageFilePath() diff --git a/modules/purchaseguide/views/templates/admin/form/file.tpl b/modules/purchaseguide/views/templates/admin/form/file.tpl index 56432b8a..46f805ed 100644 --- a/modules/purchaseguide/views/templates/admin/form/file.tpl +++ b/modules/purchaseguide/views/templates/admin/form/file.tpl @@ -19,7 +19,7 @@ {/if} {if $input.max_size} - File size'} : + {l s='File size'} : {$input.max_size} {l s='max'}. {/if}