// Remove <img> from confirmation messages

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10258 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-11-18 11:00:37 +00:00
parent 5d825bbbc1
commit 8a1bd2eb2d
4 changed files with 254 additions and 254 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
*} *}
{if isset($conf)} {if isset($conf)}
<div class="conf"> <div class="conf">
<img src="../img/admin/ok2.png" alt="" />{$conf} {$conf}
</div> </div>
{/if} {/if}
+1 -1
View File
@@ -212,7 +212,7 @@
</dl> </dl>
</div> </div>
<p class="desc">{l s='Description'} : {$module->description}</p> <p class="desc">{l s='Description'} : {$module->description}</p>
{if isset($module->message)}<div class="conf"><img src="../img/admin/ok2.png" alt="" />{$module->message}</div>{/if} {if isset($module->message)}<div class="conf">{$module->message}</div>{/if}
<div class="row-actions-module"> <div class="row-actions-module">
{$module->optionsHtml} {$module->optionsHtml}
</div> </div>
+1 -1
View File
@@ -1247,7 +1247,7 @@ abstract class AdminTabCore
if ($conf = Tools::getValue('conf')) if ($conf = Tools::getValue('conf'))
echo ' echo '
<div class="conf"> <div class="conf">
<img src="../img/admin/ok2.png" alt="" /> '.$this->_conf[(int)($conf)].' '.$this->_conf[(int)($conf)].'
</div>'; </div>';
} }
+4 -4
View File
@@ -1180,7 +1180,7 @@ class BlockLayered extends Module
Db::getInstance()->AutoExecute(_DB_PREFIX_.'layered_filter', $valuesToInsert, 'INSERT'); Db::getInstance()->AutoExecute(_DB_PREFIX_.'layered_filter', $valuesToInsert, 'INSERT');
echo '<div class="conf"><img src="../img/admin/ok2.png" alt="" /> echo '<div class="conf">
'.$this->l('Your filter').' "'.Tools::safeOutput(Tools::getValue('layered_tpl_name')).'" '. '.$this->l('Your filter').' "'.Tools::safeOutput(Tools::getValue('layered_tpl_name')).'" '.
((isset($_POST['id_layered_filter']) && $_POST['id_layered_filter']) ? $this->l('was updated successfully.') : $this->l('was added successfully.')).'</div>'; ((isset($_POST['id_layered_filter']) && $_POST['id_layered_filter']) ? $this->l('was updated successfully.') : $this->l('was added successfully.')).'</div>';
} }
@@ -1193,7 +1193,7 @@ class BlockLayered extends Module
$html .= ' $html .= '
<div class="conf"> <div class="conf">
<img src="../img/admin/ok2.png" alt="" /> '.$this->l('Settings saved successfully').' '.$this->l('Settings saved successfully').'
</div>'; </div>';
} }
else if (isset($_GET['deleteFilterTemplate'])) else if (isset($_GET['deleteFilterTemplate']))
@@ -1209,7 +1209,7 @@ class BlockLayered extends Module
$html .= ' $html .= '
<div class="conf"> <div class="conf">
<img src="../img/admin/ok2.png" alt="" /> '.$this->l('Filters template deleted, categories updated (reverted to default Filters template).').' '.$this->l('Filters template deleted, categories updated (reverted to default Filters template).').'
</div>'; </div>';
} }
else else
@@ -1223,7 +1223,7 @@ class BlockLayered extends Module
$html .= ' $html .= '
<div id="ajax-message-ok" class="conf ajax-message" style="display: none"> <div id="ajax-message-ok" class="conf ajax-message" style="display: none">
<img alt="" src="../img/admin/ok2.png"><span class="message"></span> <span class="message"></span>
</div> </div>
<div id="ajax-message-ko" class="error ajax-message" style="display: none"> <div id="ajax-message-ko" class="error ajax-message" style="display: none">
<img src="../img/admin/error2.png" alt="" /><span class="message"></span> <img src="../img/admin/error2.png" alt="" /><span class="message"></span>