Commit b1fc846a authored by sylvieg's avatar sylvieg

[MOD]description: homogenize description - same class+escape

parent 2009a331
<div class="blogtitle">{tr}Blog{/tr}: {$title}</div>
{if $description neq ""}
<div class="blogdesc">{tr}Description:{/tr} {$description}</div>
<div class="description">{$description|escape}</div>
{/if}
<div class="bloginfo">
{tr}Created by{/tr} {$creator|userlink} {tr}on{/tr} {$created|tiki_short_datetime}<br />
......
......@@ -65,8 +65,8 @@
{/if}
{if strlen($description) > 0}
<div class="imgaldescr">
{$description}
<div class="description">
{$description|escape}
</div>
{/if}
......
......@@ -17,7 +17,7 @@
{if $prefs.feature_siteidentity ne 'y' or $prefs.feature_breadcrumbs ne 'y'}
<a class="dirlink" href="tiki-directory_browse.php?parent=0">Top</a>{if $parent > 0} >> {/if}{$path}
{/if}
<div class="description">{$parent_info.description}</div>
<div class="description">{$parent_info.description|escape}</div>
<br /><br />
{if count($items) > 0}
<div class="findtable">
......@@ -115,9 +115,7 @@
{if $prefs.cachepages eq 'y'}
(<a class="dirsitelink" href="tiki-view_cache.php?url={$items[ix].url}" target="_blank">{tr}Cache{/tr}</a>)
{/if}
<br />
<span class="dirsitedesc">{$items[ix].description}</span>
<br />
<div class="description">{$items[ix].description}</div>
{assign var=fsfs value=1}
<span class="dirsitecats">
{tr}Categories{/tr}:
......
......@@ -20,9 +20,9 @@
{/strip}
{/title}
{if $edit_mode neq 'y' and $description neq ''}
<div class="simplebox">
{$description|escape}
{if $edit_mode neq 'y' and $gal_info.description neq ''}
<div class="description">
{$gal_info.description|escape}
</div>
{/if}
......
......@@ -28,7 +28,7 @@ settimeleft(itid);
{/if}
<h2>{$quiz_info.name}</h2>
<div class="quizdescription">{$quiz_info.description}</div>
<div class="description">{$quiz_info.description|escape}</div>
{if $ans eq 'n'}
{section name=ix loop=$questions}
<div class="questionblock">
......
......@@ -6,7 +6,7 @@
<input type="hidden" name="surveyId" value="{$surveyId|escape}" />
<input type="hidden" name="vote" value="yes" />
{if !isset($show_name) or $show_name eq 'y'}<h2>{$survey_info.name}</h2>{/if}
<div class="quizdescription">{wiki}{$survey_info.description|escape}{/wiki}</div>
<div class="description">{wiki}{$survey_info.description|escape}{/wiki}</div>
{section name=ix loop=$questions}
<div class="questionblock">
<div class="quizquestion">{$questions[ix].question}</div>
......
{title help="FAQs"}{tr}{$faq_info.title}{/tr}{/title}
<div class="description">{$faq_info.description|escape}</div>
<div class="navbar">
{button href="tiki-list_faqs.php" _text="{tr}List FAQs{/tr}"}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment