Admins have no problem moderating, but moderation is set to moderation by users, and when registered users try to moderate they get this error...
Fatal error: Cannot redeclare translate() (previously declared in /var/www/html/language/lang-english.php:179) in /var/www/html/language/lang-english.php on line 179
this is the code in question, would some sort of ifdef macro help here or am I talking out my *ss? Please if any one has an idea or work around to get moderation to work, please help, thanks.
function translate($phrase) {
switch($phrase) {
case "xdatestring": $tmp = "%A, %B %d @ %T %Z"; break;
case "linksdatestring": $tmp = "%d-%b-%Y"; break;
case "xdatestring2": $tmp = "%A, %B %d"; break;
default: $tmp = "$phrase"; break;
}
return $tmp;
}
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum