mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 01:30:32 +02:00
Auto-detection of {WMESSAGE}
This commit is contained in:
@@ -318,11 +318,10 @@ echo "\n<!-- ".md5($bcache)." -->\n";
|
||||
|
||||
unset($uclist, $bcache);
|
||||
|
||||
if(!deftrue('e_POWEREDBY_DISABLE'))
|
||||
{
|
||||
// No IDs or Classes - hinder js disable.
|
||||
echo "<div style='text-align:center; display:block; position: absolute; width:100%;height:20px; margin-top:-30px; z-index:30000; opacity:1.0; color: silver'>Proudly powered by <a style='color:silver' href='http://e107.org/' title='e107 Content Management System'>e107</a></div>";
|
||||
}
|
||||
$show = deftrue('e_POWEREDBY_DISABLE') ? "none" : "block"; // Let search engines find us to increase e107.org ranking - even if hidden.
|
||||
//XXX Must not contain IDs or Classes
|
||||
echo "<div style='text-align:center; display:".$show."; position: absolute; width:99%; height:20px; margin-top:-30px; z-index:30000; opacity:1.0; color: silver'>Proudly powered by <a style='color:silver' href='http://e107.org/' title='e107 Content Management System'>e107</a></div>";
|
||||
unset($show);
|
||||
echo "\n</body>\n</html>";
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user