* adjust comments for only body feature.

This commit is contained in:
wangchunsheng
2012-09-02 06:53:10 +00:00
parent ef6e3fd46c
commit a8f692d644
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ class helper
foreach($vars as $key => $value) $link .= "&$key=$value";
}
//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(isset($_GET['onlybody']) and $_GET['onlybody'] == 'yes')
{
$onlybody = $config->requestType == 'PATH_INFO' ? "?onlybody=yes" : "&onlybody=yes";