Vote result: Clear markdown tags
This commit is contained in:
parent
c9ea14362d
commit
bb3d10583d
|
@ -49,8 +49,14 @@ $smarty->assign('lang', $lang);
|
||||||
$smarty->assign('langs', $ALLOWED_LANGUAGES);
|
$smarty->assign('langs', $ALLOWED_LANGUAGES);
|
||||||
$smarty->assign('date_format', $date_format);
|
$smarty->assign('date_format', $date_format);
|
||||||
|
|
||||||
function smarty_modifier_poll_url($poll_id, $admin=false){return Utils::getUrlSondage($poll_id, $admin);}
|
function smarty_modifier_poll_url($poll_id, $admin = false) {
|
||||||
function smarty_modifier_markdown($md) {return Utils::markdown($md);}
|
return Utils::getUrlSondage($poll_id, $admin);
|
||||||
|
}
|
||||||
|
|
||||||
|
function smarty_modifier_markdown($md, $clear = false) {
|
||||||
|
return Utils::markdown($md, $clear);
|
||||||
|
}
|
||||||
|
|
||||||
// End- Smarty
|
// End- Smarty
|
||||||
|
|
||||||
$connect = new FramaDB(DB_CONNECTION_STRING, DB_USER, DB_PASSWORD);
|
$connect = new FramaDB(DB_CONNECTION_STRING, DB_USER, DB_PASSWORD);
|
||||||
|
|
|
@ -177,7 +177,7 @@
|
||||||
<ul style="list-style:none">
|
<ul style="list-style:none">
|
||||||
{foreach $slots as $slot}
|
{foreach $slots as $slot}
|
||||||
{if $best_choices[$i] == $max}
|
{if $best_choices[$i] == $max}
|
||||||
<li><strong>{$slot->title}</strong></li>
|
<li><strong>{$slot->title|markdown:true}</strong></li>
|
||||||
{/if}
|
{/if}
|
||||||
{$i = $i+1}
|
{$i = $i+1}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user