From d62043ac29acd45162ad47baf5181410c226c1d1 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Fri, 15 Apr 2022 11:49:35 +0200 Subject: [PATCH] Fix sidebar sort ; better HTML for images --- control | 2 +- usr/local/bin/gsl | 2 +- var/lib/gsl/scripts/gsl__page_creator | 2 +- var/lib/gsl/scripts/gsl__post_makers | 6 +++--- var/lib/gsl/scripts/gsl__sidebar | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/control b/control index 68641b9..1f632e6 100644 --- a/control +++ b/control @@ -1,5 +1,5 @@ Package: egsl -Version: 0.0.31 +Version: 0.0.32 Section: custom Priority: optional Architecture: all diff --git a/usr/local/bin/gsl b/usr/local/bin/gsl index 316537c..9327b26 100755 --- a/usr/local/bin/gsl +++ b/usr/local/bin/gsl @@ -1,5 +1,5 @@ #!/bin/bash -# Version: 0.0.31 +# Version: 0.0.32 # file: gsl # Folder: /usr/local/bin # By echolib diff --git a/var/lib/gsl/scripts/gsl__page_creator b/var/lib/gsl/scripts/gsl__page_creator index bf92ddb..761e0f8 100644 --- a/var/lib/gsl/scripts/gsl__page_creator +++ b/var/lib/gsl/scripts/gsl__page_creator @@ -292,5 +292,5 @@ while read -r "postroller" do cat "$gsl_dir_domain_listings/$postroller" \ >> "$gsl_dir_domain_tpl/last-posts-list.html" -done < <(ls -1 "$gsl_dir_domain_listings/" | sort -r) +done < <(ls -1X "$gsl_dir_domain_listings/") } diff --git a/var/lib/gsl/scripts/gsl__post_makers b/var/lib/gsl/scripts/gsl__post_makers index 4b68609..de6384f 100644 --- a/var/lib/gsl/scripts/gsl__post_makers +++ b/var/lib/gsl/scripts/gsl__post_makers @@ -627,11 +627,11 @@ do gsl_html_src="src=\"$gsl_uri/images/$gsl_post_hf_2\"" gsl_html_alt="alt=\"$gsl_post_hf_3\" title=\"$gsl_post_hf_3\"" - [[ "$width" ]] && gsl_html_width="style=\"width:${width}px;\"" - [[ "$height" ]] && gsl_html_height="style=\"height:${height}px;\"" + [[ "$width" ]] && gsl_html_width=" style=\"width:${width}px;\"" + [[ "$height" ]] && gsl_html_height=" style=\"height:${height}px;\"" gsl_html_image=` - printf '%s %s %s %s %s' \ + printf '%s %s %s%s%s' \ "