update
This commit is contained in:
14
core/plugins/Smarty/modifier.url2pl.php
Normal file
14
core/plugins/Smarty/modifier.url2pl.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* formatuje tak date posta, żeby zamiast konkretnej daty wyświetlało : wczoraj , przed wczoraj, x dni temu, x tygodni temu, x miesięcy temu, x lat temu
|
||||
*
|
||||
* @param $str
|
||||
* @return unknown_type
|
||||
*/
|
||||
|
||||
function smarty_modifier_url2pl($str){
|
||||
|
||||
return Utils::url2pl(urldecode($str));
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user