aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-23 15:37:03 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-23 15:37:03 +0200
commitc1c9f252f7f0133903dc4143a0db8ed8104f8733 (patch)
tree7882a1db8eed5426e5a2f461bfe517b3103a5141
parent2987031bc3d30437e7b34c3fe912a0ccbcc87f10 (diff)
downloadwallabag-c1c9f252f7f0133903dc4143a0db8ed8104f8733.tar.gz
wallabag-c1c9f252f7f0133903dc4143a0db8ed8104f8733.tar.zst
wallabag-c1c9f252f7f0133903dc4143a0db8ed8104f8733.zip
display flash message in article view
-rw-r--r--inc/functions.php2
-rw-r--r--tpl/view.html1
2 files changed, 1 insertions, 2 deletions
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)
110 */ 110 */
111function prepare_url($url) 111function prepare_url($url)
112{ 112{
113 global $msg;
114
115 $parametres = array(); 113 $parametres = array();
116 $url = html_entity_decode(trim($url)); 114 $url = html_entity_decode(trim($url));
117 115
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 @@
38 <h1><a href="{$url}">{$title}</a></h1> 38 <h1><a href="{$url}">{$title}</a></h1>
39 <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="original : {$title}">view original</a></div> 39 <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="original : {$title}">view original</a></div>
40 </header> 40 </header>
41 {include="messages"}
41 <article> 42 <article>
42 <div id="readityourselfcontent"> 43 <div id="readityourselfcontent">
43 {$content} 44 {$content}