* adjust comments for only body feature.
This commit is contained in:
@@ -86,7 +86,7 @@ class html
|
||||
if(empty($title)) $title = $href;
|
||||
$newline = $newline ? "\n" : '';
|
||||
|
||||
//if page has onlybody param then add this param in all link. the param hide header and footer.
|
||||
/* if page has onlybody param then add this param in all link. the param hide header and footer. */
|
||||
if(strpos($href, 'onlybody=yes') === false and isset($_GET['onlybody']) and $_GET['onlybody'] == 'yes')
|
||||
{
|
||||
$onlybody = $config->requestType == 'PATH_INFO' ? "?onlybody=yes" : "&onlybody=yes";
|
||||
|
||||
Reference in New Issue
Block a user