Initial commit
This commit is contained in:
22
lotgd-web/lotgd/lib/mountname.php
Executable file
22
lotgd-web/lotgd/lib/mountname.php
Executable file
@ -0,0 +1,22 @@
|
||||
<?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);
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user