<div class="containerHeadline">
<h3><a href="{link controller='Trophy' object=$userTrophy->getTrophy()}{/link}">{@$userTrophy->getTrophy()->getTitle()}</a></h3>
- <small>{@$userTrophy->getDescription()} - {@$userTrophy->time|time}</small>
+ <small>{$userTrophy->getDescription()} - {@$userTrophy->time|time}</small>
</div>
</div>
</li>
<div class="contentHeaderTitle">
<h1 class="contentTitle">{$trophy->getTitle()}</h1>
<ul class="inlineList contentHeaderMetaData">
- <li>{@$trophy->getDescription()}</li>
+ <li>{$trophy->getDescription()}</li>
<li><span class="icon icon16 fa-users"></span> {@$items}</li>
</ul>
</div>
<div class="sidebarItemTitle">
<h3>{@$userTrophy->getUserProfile()->getAnchorTag()}</h3>
- <small>{@$userTrophy->getDescription()} – {@$userTrophy->time|time}</small>
+ <small>{$userTrophy->getDescription()} – {@$userTrophy->time|time}</small>
</div>
</li>
{/foreach}
<div class="sidebarItemTitle">
<h3><a href="{$trophy->getLink()}">{@$trophy->getTitle()}</a></h3>
- <small>{@$trophy->getDescription()}</small>
+ <small>{$trophy->getDescription()}</small>
</div>
</li>
{/foreach}
</dd>
</dl>
{include file='multipleLanguageInputJavascript' elementIdentifier='title' forceSelection=false}
-
+
<dl{if $errorField == 'description'} class="formError"{/if}>
<dt><label for="description">{lang}wcf.acp.trophy.description{/lang}</label></dt>
<dd>
- <textarea id="description" name="description" cols="40" rows="10">{$i18nPlainValues[description]}</textarea>
+ <input id="description" name="description" type="text" value="{$i18nPlainValues[description]}">
{if $errorField == 'description'}
<small class="innerError">
{if $errorType == 'empty'}
<label><input type="checkbox" name="useCustomDescription" value="1"{if $useCustomDescription} checked{/if}> {lang}wcf.acp.trophy.userTrophy.useCustomDescription{/lang}</label>
</dd>
</dl>
-
-
+
<dl id="userTrophyDescriptionDL"{if $errorField == 'description'} class="formError"{/if}{if !$useCustomDescription} style="display: none;"{/if}>
<dt><label for="description">{lang}wcf.acp.trophy.description{/lang}</label></dt>
<dd>
- <textarea id="description" name="description" cols="40" rows="10">{$i18nPlainValues[description]}</textarea>
+ <input id="description" name="description" type="text" value="{$i18nPlainValues[description]}">
{if $errorField == 'description'}
<small class="innerError">
{if $errorType == 'empty'}
* @return string
*/
public function getDescription() {
- return nl2br(StringUtil::encodeHTML(WCF::getLanguage()->get($this->description)), false);
+ return WCF::getLanguage()->get($this->description);
}
/**
return $this->getTrophy()->getDescription();
}
- return nl2br(StringUtil::encodeHTML(strtr($this->description, $this->getReplacements())));
+ return strtr(WCF::getLanguage()->get($this->description), $this->getReplacements());
}
/**