* @package user
* @version $Id: index.html.php 3830 2016-05-18 09:34:17Z liugang $
* @link http://www.zentao.net
*/
?>
$module->common) ? $lang->$module->common: $module;
$methodName = isset($lang->$module->$method) ? $lang->$module->$method: $method;
/* find method name if method is lowercase letter. */
if(!isset($lang->$module->$method))
{
$tmpLang = array();
foreach($lang->$module as $key => $value)
{
$tmpLang[strtolower($key)] = $value;
}
$methodName = isset($tmpLang[$method]) ? $tmpLang[$method] : $method;
}
printf($lang->user->errorDeny, $moduleName, $methodName);
?>