+
+
+
+
\ No newline at end of file
diff --git a/classes/functions.php b/classes/functions.php
index 091bb36..fa32a1b 100644
--- a/classes/functions.php
+++ b/classes/functions.php
@@ -488,8 +488,9 @@ if(!defined('entry') || !entry) die('Not a valid page');
}
function trimString($string, $len = "") {
- if($len>strlen($string) or $len<1)
- return $string;
+ if($len>strlen($string) or $len<1) {
+ return strip_tags($string);
+ }
$string = strip_tags($string);
$len = (empty($len)) ? "50" : $len ;
return ( strpos($string, " ", $len) ) ? substr_replace($string, "...", $len) : $string ;
diff --git a/classes/gelato.class.php b/classes/gelato.class.php
index fcec137..985fafd 100644
--- a/classes/gelato.class.php
+++ b/classes/gelato.class.php
@@ -199,14 +199,6 @@ class gelato extends Conexion_Mysql {
$out .= ($this->conf->urlFriendly) ? "/post/" : "/index.php?post=";
$out .= $post_id.$strEnd;
return $out;
- }
-
- function getPermalink($post_id){
- $strEnd = ($this->conf->urlFriendly) ? "/" : "";
- $out = $this->conf->urlGelato;
- $out .= ($this->conf->urlFriendly) ? "/post/" : "/index.php?post=";
- $out .= $post_id.$strEnd;
- return $out;
- }
+ }
}
-?>
+?>
diff --git a/entry.php b/entry.php
index fd22776..6940095 100644
--- a/entry.php
+++ b/entry.php
@@ -81,6 +81,5 @@ if($installed){
$feeds = new feeds();
$feeds->updateFeeds();
unset($feeds);
-}
-?>
-
+}
+?>
\ No newline at end of file
diff --git a/notice.txt b/notice.txt
index 650180c..dc900f8 100644
--- a/notice.txt
+++ b/notice.txt
@@ -11,8 +11,12 @@ Juan del Rio [ http://elcaminante.net/ ]
= COPYRIGHT NOTICES =
This product includes code and libraries developed by third parties, which are governed by different licenses. These components, and their licenses, are listed below.
+= Archive based on code from: simple Tumblr API processor =
+Copyright (c) Vivek, http://www.stageleftstudios.com
+simple Tumblr API processor is available under Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
+
= markItUp! Universal MarkUp Engine, JQuery plugin =
-Copyright (C) 2007-2008 Jay Salvat, http://markitup.jaysalvat.com/
+Copyright (c) 2007-2008 Jay Salvat, http://markitup.jaysalvat.com/
markItUp is available under a dual licensed the MIT and GPL licenses.
= NicEdit - Micro Inline WYSIWYG =
@@ -47,10 +51,6 @@ Clase Conexion_Mysql available under MIT license.
Copyright (c) Victor De la Rocha, http://www.mis-algoritmos.com/
Digg Style Paginator Class available under MIT license.
-= Clase plantillas =
-Copyright (c) Pedro Santana, http://www.pecesama.net/weblog/
-Clase plantillas available under MIT license.
-
= Textile class =
Copyright (c) 2003-2004, Dean Allen, http://textile.thresholdstate.com/
Textile class available under GNU General Public License.