rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 7963b5d5c2246533ec1f0a81f53550efa5460a0d
parent 1a948ae2da68ab969302a300573218db501f6207
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 18:31:29 +0100

small fix

Diffstat:
Mcore/backend/blog/posts.php | 4++--
Mthemes/jumbotron/index.php | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php @@ -60,9 +60,9 @@ function shortText($string,$lenght) { if(strlen($string) > $lenght) { - $string = substr($string,0,$lenght)."..."; + $string = substr($string,0,$lenght)."[...]"; $string_ende = strrchr($string, " "); - $string = str_replace($string_ende," ...", $string); + $string = str_replace($string_ende," [...]", $string); } return $string; } diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -99,7 +99,7 @@ </div> <div> <p> - $post_text_short [...]</br> + $post_text_short</br> </p> </div> <p>