forked from Adleraci/adlerka.top
php testing
This commit is contained in:
parent
4daf15a2c3
commit
26cc5822ee
@ -41,7 +41,11 @@ function generateNavigation()
|
||||
|
||||
$page_name = str_replace("_", " ", $page_dir);
|
||||
$page_name = explode(".", $page_name)[0];
|
||||
if ($page_name == "smp") {
|
||||
$page_name = "SMP";
|
||||
} else {
|
||||
$page_name = ucfirst($page_name);
|
||||
}
|
||||
|
||||
$navpages .= "<li class='navpage_item'><a href='$page_location' $page_class>$page_name</a></li>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user