From 7e225b3078c36c5a109fcc1950a0594d3c76fe14 Mon Sep 17 00:00:00 2001 From: mambax7 Date: Sat, 16 Apr 2022 05:48:52 -0400 Subject: [PATCH 1/2] Smarty defaults --- .../system/templates/system_imagemanager.html | 60 +++++++++---------- .../system/templates/system_imagemanager.tpl | 6 +- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/htdocs/modules/system/templates/system_imagemanager.html b/htdocs/modules/system/templates/system_imagemanager.html index 8621b46fa..d859ef22e 100644 --- a/htdocs/modules/system/templates/system_imagemanager.html +++ b/htdocs/modules/system/templates/system_imagemanager.html @@ -27,12 +27,12 @@ <{php}> - $language = $GLOBALS['xoopsConfig']['language']; - if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){ - echo " - - "; - } + $language = $GLOBALS['xoopsConfig']['language']; + if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){ + echo " + + "; + } <{/php}> @@ -49,39 +49,39 @@ <{if $show_cat > 0}> - <{$lang_addimage}> + <{$lang_addimage}> <{/if}> - -<{if $image_total > 0}> - - - - - - - + +<{if $image_total|default:0 > 0}> +
<{$lang_imagename}><{$lang_image}><{$lang_imagemime}><{$lang_align}>
+ + + + + + - <{section name=i loop=$images}> - - - - - - <{/section}> -
<{$lang_imagename}><{$lang_image}><{$lang_imagemime}><{$lang_align}>
<{$images[i].nicename}><{$images[i].mimetype}> - - -
+ <{section name=i loop=$images}> + + <{$images[i].nicename}> + + <{$images[i].mimetype}> + + + + + <{/section}> + <{else}> -
+
<{/if}> - +