forked from science-ation/science-ation
Look in the right location for the fair logo image file from the content management page display
This commit is contained in:
parent
b2fb7855f0
commit
09be3848ff
@ -1027,7 +1027,7 @@ function output_page_cms($filename)
|
|||||||
send_header($r->title);
|
send_header($r->title);
|
||||||
|
|
||||||
if(file_exists("data/logo-200.gif") && $r->showlogo==1)
|
if(file_exists("data/logo-200.gif") && $r->showlogo==1)
|
||||||
echo "<img align=\"right\" src=\"data/logo-200.gif\" border=\"0\">";
|
echo "<img align=\"right\" src=\"".$config['SFIABDIRECTORY']."/data/logo-200.gif\" border=\"0\">";
|
||||||
|
|
||||||
//if it looks like we have HTML content, dont do a nl2br, if there's no html, then do the nl2br
|
//if it looks like we have HTML content, dont do a nl2br, if there's no html, then do the nl2br
|
||||||
if(strlen($r->text)==strlen(strip_tags($r->text)))
|
if(strlen($r->text)==strlen(strip_tags($r->text)))
|
||||||
|
Loading…
Reference in New Issue
Block a user