1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

toFile() - needs to be completed.

This commit is contained in:
Cameron
2017-01-21 13:59:55 -08:00
parent acbf93ef8a
commit 1e933f0fdd
2 changed files with 12 additions and 1 deletions

View File

@@ -685,6 +685,10 @@ class cpage_shortcodes extends e_shortcode
return ($raw) ? $value : $tp->toDate($value);
break;
case "file":
return ($raw) ? $tp->toFile($value, array('raw'=>1)) : $tp->toFile($value);
break;
case "url":
case "email":
return ($raw) ? $value : $tp->toHtml($value);