From c1c9f252f7f0133903dc4143a0db8ed8104f8733 Mon Sep 17 00:00:00 2001 From: nicosomb Date: Tue, 23 Apr 2013 15:37:03 +0200 Subject: [PATCH] display flash message in article view --- inc/functions.php | 2 -- tpl/view.html | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index c6cde82..7db9e90 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -110,8 +110,6 @@ function get_external_file($url) */ function prepare_url($url) { - global $msg; - $parametres = array(); $url = html_entity_decode(trim($url)); diff --git a/tpl/view.html b/tpl/view.html index 4384631..af94df2 100644 --- a/tpl/view.html +++ b/tpl/view.html @@ -38,6 +38,7 @@

{$title}

view original
+ {include="messages"}
{$content}