Explorar el Código

Add files via upload

Daniele Bonini (皮夕): WebDev and DevOps by lots of Simplicity bits hace 3 años
padre
commit
e0602278e8
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Private/scripts/home.php

+ 3 - 0
Private/scripts/home.php

@@ -702,6 +702,9 @@ function showImages() {
       $title = substr($fsEntry, $ipos+1);
       $ipos = mb_stripos($title, ".");
       $title = substr($title, 0, $ipos);
+      if (strlen($title)>22) {
+        $title = left($title,22) . "..";
+      }  
 
       $cdate = date("d-m-Y", filectime($fsEntry));