mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-09 21:01:00 +00:00
feat: front-end page names
This commit is contained in:
@@ -389,5 +389,9 @@ echo round(($generator->pageLoadTimeEnd()-$pagestart)*1000);
|
||||
</div>
|
||||
|
||||
<div id="ce"> </div>
|
||||
<script type="text/javascript">
|
||||
// update TITLE to include building name, as it's not very possible to do in PHP in current codebase
|
||||
document.title = document.title + ' » » ' + document.getElementsByTagName('h1')[0].innerHTML.replace(/(<([^>]+)>)/ig,"");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user