move template stuff to zotlabs/render

This commit is contained in:
redmatrix
2016-05-20 19:11:14 -07:00
parent b2f0d2d085
commit f4da365abd
8 changed files with 148 additions and 132 deletions

View File

@@ -3,8 +3,6 @@
* @file include/text.php
*/
require_once("include/template_processor.php");
require_once("include/smarty.php");
require_once("include/bbcode.php");
// random string, there are 86 characters max in text mode, 128 for hex
@@ -16,8 +14,8 @@ define('RANDOM_STRING_TEXT', 0x01 );
/**
* @brief This is our template processor.
*
* @param string|FriendicaSmarty $s the string requiring macro substitution,
* or an instance of FriendicaSmarty
* @param string|SmartyEngine $s the string requiring macro substitution,
* or an instance of SmartyEngine
* @param array $r key value pairs (search => replace)
* @return string substituted string
*/