




/*****************************************************/
/* Function to translate Datestrings */
/*****************************************************/


function translate($phrase) {
switch($phrase) {
case "xdatestring": $tmp = "%A, %d.%m. @ %T %Z"; break;
case "linksdatestring": $tmp = "%d.%m. %Y"; break;
case "xdatestring2": $tmp = "%A, %d.%m."; break;
//United-Nuke added
//user_dateformat in DB
case "user_dateformat": $tmp = 'D d. M, Y G:i'; break;
//modul Avantgo
case "avantgo": $tmp = '%d. %m. %Y, %H:%M:%S'; break;
//modul Downloads and Web_Links
case "downloads": $tmp = '%d. %B, %Y'; break;
//modul Review
case "reviews": $tmp = '%d. %B %Y'; break;
case "reviewscomments": $tmp = '%d.%m. %Y'; break;
//for administrating stories and planed stories on main admin page
case "adminstories": $tmp = '%e. %B %Y - %H:%M:%S'; break;
//for Submissions
case "submissions": $tmp = '%e. %B %Y'; break;
//ipban admin module
case "convertipban": $tmp = "%d.%m. %Y"; break;
//SLUFU tray check time
case "slufuchecktime": $tmp = "j. n. Y ve G:i"; break;
//Content module (showpage)
case "content_page": $tmp = "%d.%m. %Y"; break;
//News module (mail to friend)
case "news_time": $tmp = "%e. %B %Y - %H:%M:%S"; break;
//Stories_Archive
case "sa_time": $tmp = "%d.%m. %Y"; break;
//Review post time
case "reviews_ptime": $tmp = "%e. %B %Y"; break;
//Reviews comment post time
case "reviews_ctime": $tmp = "%e. %m. %Y, %H:%M:%S"; break;
default: $tmp = $phrase; break;
}
return $tmp;
}


?>


Obsah fóra BLASSENweb » United-Nuke
![]() |
|