projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Outputs iso-8859-1 in addresses list as excel cannot open utf-8 csv properly.
[platal.git]
/
templates
/
emails
/
redirect.tpl
diff --git
a/templates/emails/redirect.tpl
b/templates/emails/redirect.tpl
index
fe168b3
..
ec033bb
100644
(file)
--- a/
templates/emails/redirect.tpl
+++ b/
templates/emails/redirect.tpl
@@
-84,7
+84,7
@@
{
if (confirm("Supprimer l'adresse " + email + " ?")) {
$.get(link.href, {},function() {
{
if (confirm("Supprimer l'adresse " + email + " ?")) {
$.get(link.href, {},function() {
- $('#line_' + email.replace('@', '_at_').replace(
'.', '\\.
')).remove();
+ $('#line_' + email.replace('@', '_at_').replace(
/\./g, '_dot_
')).remove();
showRemove();
activeEnable();
});
showRemove();
activeEnable();
});
@@
-136,7
+136,7
@@
<th> </th>
</tr>
{foreach from=$emails item=e name=redirect}
<th> </th>
</tr>
{foreach from=$emails item=e name=redirect}
- <tr class="{cycle values="pair,impair"}" id="line_{$e->
email|replace:'@':'_at_'
}">
+ <tr class="{cycle values="pair,impair"}" id="line_{$e->
id
}">
<td>
<strong>
{if $e->broken}<span class="erreur">{assign var="error" value="1"}{/if}
<td>
<strong>
{if $e->broken}<span class="erreur">{assign var="error" value="1"}{/if}
@@
-171,7
+171,7
@@
</a>
{else}
{if $e->sufficient}<span class="remove_email"><span style="display:none"> </span></span>{/if}
</a>
{else}
{if $e->sufficient}<span class="remove_email"><span style="display:none"> </span></span>{/if}
- <a href="emails/redirect#{$e->
email
}">{icon name=information title="Plus d'informations"}</a>
+ <a href="emails/redirect#{$e->
type
}">{icon name=information title="Plus d'informations"}</a>
{/if}
</td>
</tr>
{/if}
</td>
</tr>