LotGDocker/lotgd-web/lotgd/lib/mountname.php

23 lines
533 B
PHP
Raw Normal View History

2020-08-17 19:16:42 -04:00
<?php
// translator ready
// addnews ready
// mail ready
function getmountname()
{
global $playermount;
tlschema("mountname");
$name = '';
$lcname = '';
if (isset($playermount['mountname'])) {
$name = sprintf_translate("Your %s", $playermount['mountname']);
$lcname = sprintf_translate("your %s", $playermount['mountname']);
}
tlschema();
if (isset($playermount['newname']) && $playermount['newname'] != "") {
$name = $playermount['newname'];
$lcname = $playermount['newname'];
}
return array($name, $lcname);
}
?>