2010-02-26, 09:52:49
In GetSimple v2 I have found overlook determine global variable:
admin\inc\theme_functions.php; function get_page_url (); line 74: I have add global $inter;
Without it the page title in header is incomplete.
admin\inc\theme_functions.php; function get_page_url (); line 74: I have add global $inter;
Without it the page title in header is incomplete.
Code:
function get_page_url($a=false) {
global $inter;
global $url;
global $SITEURL;
global $PRETTYURLS;
global $parent;
if ($parent != '' ) { $parent = tsl($parent); }
if ($url == 'index' ) { $urls = ''; } else { $urls = $url; }
if ($PRETTYURLS == '1') {
if (!$a) {
echo $SITEURL . $parent . $urls;
} else {
return $SITEURL . $parent . $urls;
}
} else {
if (!$a) {
if ($urls != '') {
$inter = 'index.php?id=';
} else {
$inter = '';
}
echo $SITEURL . $inter . $urls;
} else {
return $SITEURL . $inter . $urls;
}
}
}