1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-30 21:45:01 +03:00

разрешение тегов в информации о себе

This commit is contained in:
Mzhelskiy Maxim 2012-04-15 07:45:08 +04:00
parent 180c77896c
commit d75eead7bf
3 changed files with 3 additions and 4 deletions

View file

@ -483,7 +483,7 @@ class ActionSettings extends Action {
* Проверяем информацию о себе
*/
if (func_check(getRequest('profile_about'),'text',1,3000)) {
$this->oUserCurrent->setProfileAbout(getRequest('profile_about'));
$this->oUserCurrent->setProfileAbout($this->Text_Parser(getRequest('profile_about')));
} else {
$this->oUserCurrent->setProfileAbout(null);
}

View file

@ -1,11 +1,10 @@
{include file='header.tpl' menu='blog'}
{assign var="oUser" value=$oTopic->getUser()}
{include file='topic.tpl'}
{include
file='comment_tree.tpl'
iTargetId=$oTopic->getId()
iAuthorId=$oUser->getId()
iAuthorId=$oTopic->getUserId()
sTargetType='topic'
iCountComment=$oTopic->getCountComment()
sDateReadLast=$oTopic->getDateRead()

View file

@ -14,7 +14,7 @@
{if $oUserProfile->getProfileAbout()}
<div class="profile-info-about">
<h3>{$aLang.profile_about}</h3>
{$oUserProfile->getProfileAbout()|escape:'html'}
{$oUserProfile->getProfileAbout()}
</div>
{/if}