1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Consolidate parsing classes into single file.

This commit is contained in:
Cameron
2013-05-20 17:10:38 -07:00
parent e55b3cbbd9
commit 4581b9986c
13 changed files with 234 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
<?php
/*
/**
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
@@ -9,19 +9,23 @@
*
* $URL$
* $Id$
* @DEPRECATED FILE
*/
if (!defined('e107_INIT'))
{
exit;
}
/**
* @DEPRECATED
* Use e107::getParser()->parseTemplate("{USER_AVATAR=".$avatar."}",true); instead.
*/
function avatar($avatar)
{
return e107::getParser()->parseTemplate("{USER_AVATAR=".$avatar."}",true);
/*
global $tp;
if (stristr($avatar, '-upload-') !== false)
{
@@ -43,6 +47,7 @@ function avatar($avatar)
{
return $avatar;
}
*/
}
?>