This version of AoWoW is based on https://github.com/udw/udwbase and is not yet usable. An initial amount of testing has been finished, and you can import the aowow.sql database into your world database, and create a local copy of config.php.in as config.php to test this version. FirePHP (http://firephp.org/) has been added for testing purposes. Signed-off-by: TheLuda <theluda@getmangos.com>
27 lines
481 B
PHP
27 lines
481 B
PHP
<?php
|
|
/**
|
|
* Smarty plugin
|
|
* @package Smarty
|
|
* @subpackage plugins
|
|
*/
|
|
|
|
|
|
/**
|
|
* Smarty lower modifier plugin
|
|
*
|
|
* Type: modifier<br>
|
|
* Name: lower<br>
|
|
* Purpose: convert string to lowercase
|
|
* @link http://smarty.php.net/manual/en/language.modifier.lower.php
|
|
* lower (Smarty online manual)
|
|
* @author Monte Ohrt <monte at ohrt dot com>
|
|
* @param string
|
|
* @return string
|
|
*/
|
|
function smarty_modifier_lower($string)
|
|
{
|
|
return strtolower($string);
|
|
}
|
|
|
|
?>
|