From: nicosomb Date: Tue, 23 Apr 2013 13:37:03 +0000 (+0200) Subject: display flash message in article view X-Git-Tag: 0.3^2~8 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c1c9f252f7f0133903dc4143a0db8ed8104f8733;p=github%2Fwallabag%2Fwallabag.git display flash message in article view --- diff --git a/inc/functions.php b/inc/functions.php index c6cde82f..7db9e909 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 4384631b..af94df2e 100644 --- a/tpl/view.html +++ b/tpl/view.html @@ -38,6 +38,7 @@

{$title}

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