Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Untitled diff
Créé
il y a 7 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
14 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
325 lignes
Copier tout
19 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
324 lignes
Copier tout
<script>
<script>
<!--
<!--
function check_form_convers(){
function check_form_convers(){
if(document.getElementById('login').value == "") {
if(document.getElementById('login').value == "") {
alert("{L_REQUIRE_RECIPIENT}");
alert("{L_REQUIRE_RECIPIENT}");
return false;
return false;
}
}
if(document.getElementById('contents').value == "") {
if(document.getElementById('contents').value == "") {
alert("{L_REQUIRE_MESSAGE}");
alert("{L_REQUIRE_MESSAGE}");
return false;
return false;
}
}
if(document.getElementById('title').value == "") {
if(document.getElementById('title').value == "") {
alert("{L_REQUIRE_TITLE}");
alert("{L_REQUIRE_TITLE}");
return false;
return false;
}
}
return true;
return true;
}
}
function check_form_pm(){
function check_form_pm(){
if(document.getElementById('contents').value == "") {
if(document.getElementById('contents').value == "") {
alert("{L_REQUIRE_MESSAGE}");
alert("{L_REQUIRE_MESSAGE}");
return false;
return false;
}
}
return true;
return true;
}
}
function Confirm_pm() {
function Confirm_pm() {
return confirm("{L_DELETE_MESSAGE}");
return confirm("{L_DELETE_MESSAGE}");
}
}
-->
-->
</script>
</script>
# START convers #
# START convers #
<script>
<script>
<!--
<!--
function check_convers(status, id)
function check_convers(status, id)
{
{
var i;
var i;
for(i = 0; i < {convers.NBR_PM}; i++)
for(i = 0; i < {convers.NBR_PM}; i++)
{
{
if( document.getElementById(id + i) )
if( document.getElementById(id + i) )
document.getElementById(id + i).checked = status;
document.getElementById(id + i).checked = status;
}
}
document.getElementById('checkall').checked = status;
document.getElementById('checkall').checked = status;
document.getElementById('validc').checked = status;
document.getElementById('validc').checked = status;
}
}
-->
-->
</script>
</script>
# INCLUDE message_helper #
# INCLUDE message_helper #
<form action="pm{convers.U_USER_ACTION_PM}" method="post" onsubmit="javascript:return Confirm_pm();">
<form action="pm{convers.U_USER_ACTION_PM}" method="post" onsubmit="javascript:return Confirm_pm();">
<section id="module-user-convers">
<section id="module-user-convers">
<header>
<header>
<h1>{convers.U_PM_BOX}</h1>
<h1>{convers.U_PM_BOX}</h1>
</header>
</header>
<div class="content">
<div class="content">
<div class="right">{L_PRIVATE_MSG}: {convers.PM_POURCENT}</div>
<div class="right">{L_PRIVATE_MSG}: {convers.PM_POURCENT}</div>
Copier
Copié
Copier
Copié
<
br /><br /
>
<
div class="spacer"></div
>
<nav id="cssmenu-pmactions" class="cssmenu cssmenu-group">
<nav id="cssmenu-pmactions" class="cssmenu cssmenu-group">
<ul>
<ul>
<li>
<li>
Copier
Copié
Copier
Copié
<a href="{convers.U_POST_NEW_CONVERS}" class="cssmenu-title"><i class="fa fa-plus"
></i> {convers.L_POST_NEW_CONVERS}</a>
<a href="{convers.U_POST_NEW_CONVERS}" class="cssmenu-title"><i class="fa fa-plus"
aria-hidden="true"
></i> {convers.L_POST_NEW_CONVERS}</a>
</li>
</li>
<li>
<li>
Copier
Copié
Copier
Copié
<a href="{convers.U_MARK_AS_READ}" class="cssmenu-title"><i class="fa fa-eraser"
></i> {convers.L_MARK_AS_READ}</a>
<a href="{convers.U_MARK_AS_READ}" class="cssmenu-title"><i class="fa fa-eraser"
aria-hidden="true"
></i> {convers.L_MARK_AS_READ}</a>
</li>
</li>
</ul>
</ul>
</nav>
</nav>
<script>
<script>
jQuery("#cssmenu-pmactions").menumaker({
jQuery("#cssmenu-pmactions").menumaker({
title: "${LangLoader::get_message('form.options', 'common')}",
title: "${LangLoader::get_message('form.options', 'common')}",
format: "multitoggle",
format: "multitoggle",
breakpoint: 768
breakpoint: 768
});
});
</script>
</script>
Copier
Copié
Copier
Copié
<br /><br />
<table id="table">
<table id="table">
<thead>
<thead>
<tr>
<tr>
<th>
<th>
<i class="fa fa-envelope"></i>
<i class="fa fa-envelope"></i>
</th>
</th>
<th></th>
<th></th>
<th>
<th>
{L_TITLE}
{L_TITLE}
</th>
</th>
<th>
<th>
{L_PARTICIPANTS}
{L_PARTICIPANTS}
</th>
</th>
<th>
<th>
{L_MESSAGE}
{L_MESSAGE}
</th>
</th>
<th>
<th>
{L_LAST_MESSAGE}
{L_LAST_MESSAGE}
</th>
</th>
</tr>
</tr>
</thead>
</thead>
Copier
Copié
Copier
Copié
Text moved to lines 128-135
<tfoot>
<tr>
<td colspan="6">
<div class="left"> <input type="checkbox" id="validc" onclick="check_convers(this.checked, 'd');" title="{L_SELECT_ALL_MESSAGES}" /> <input type="hidden" name="token" value="{TOKEN}"><button type="submit" name="valid" value="true" class="submit">{L_DELETE}</button></div>
# IF convers.C_PAGINATION #<div class="float-right"># INCLUDE convers.PAGINATION #</div># ENDIF #
</td>
</tr>
</tfoot>
<tbody>
<tbody>
# START convers.list #
# START convers.list #
<tr>
<tr>
<td>
<td>
<input type="checkbox" id="d{convers.list.INCR}" name="{convers.list.ID}">
<input type="checkbox" id="d{convers.list.INCR}" name="{convers.list.ID}">
</td>
</td>
<td class="convers-announce">
<td class="convers-announce">
<i class="fa fa-envelope {convers.list.ANNOUNCE}"></i>
<i class="fa fa-envelope {convers.list.ANNOUNCE}"></i>
</td>
</td>
<td class="convers-title no-separator">
<td class="convers-title no-separator">
{convers.list.ANCRE} <a href="pm{convers.list.U_CONVERS}">{convers.list.TITLE}</a> <span class="smaller">[{convers.list.U_AUTHOR}]</span>
{convers.list.ANCRE} <a href="pm{convers.list.U_CONVERS}">{convers.list.TITLE}</a> <span class="smaller">[{convers.list.U_AUTHOR}]</span>
</td>
</td>
<td>
<td>
{convers.list.U_PARTICIPANTS}
{convers.list.U_PARTICIPANTS}
</td>
</td>
<td>
<td>
{convers.list.MSG}
{convers.list.MSG}
</td>
</td>
<td class="smaller">
<td class="smaller">
{convers.list.U_LAST_MSG}
{convers.list.U_LAST_MSG}
</td>
</td>
</tr>
</tr>
# END convers.list #
# END convers.list #
# START convers.no_pm #
# START convers.no_pm #
<tr>
<tr>
<td colspan="6">
<td colspan="6">
<span class="text-strong">{convers.no_pm.L_NO_PM}</span>
<span class="text-strong">{convers.no_pm.L_NO_PM}</span>
</td>
</td>
</tr>
</tr>
# END convers.no_pm #
# END convers.no_pm #
</tbody>
</tbody>
Copier
Copié
Copier
Copié
Text moved from lines 97-104
<tfoot>
<tr>
<td colspan="6">
<div class="left"> <input type="checkbox" id="validc" onclick="check_convers(this.checked, 'd');" title="{L_SELECT_ALL_MESSAGES}" /> <input type="hidden" name="token" value="{TOKEN}"><button type="submit" name="valid" value="true" class="submit">{L_DELETE}</button></div>
# IF convers.C_PAGINATION #<div class="float-right"># INCLUDE convers.PAGINATION #</div># ENDIF #
</td>
</tr>
</tfoot>
</table>
</table>
Copier
Copié
Copier
Copié
<br />
<table class="announce-legend">
<table class="announce-legend">
<tr>
<tr>
<td>
<td>
Copier
Copié
Copier
Copié
<i class="fa fa-envelope message-announce"
></i> {L_READ}
<i class="fa fa-envelope message-announce"
aria-hidden="true"
></i> {L_READ}
</td>
</td>
<td class="no-separator">
<td class="no-separator">
Copier
Copié
Copier
Copié
<i class="fa fa-envelope message-announce-track"
></i> {L_TRACK}
<i class="fa fa-envelope message-announce-track"
aria-hidden="true"
></i> {L_TRACK}
</td>
</td>
<td class="no-separator">
<td class="no-separator">
Copier
Copié
Copier
Copié
<i class="fa fa-envelope message-announce-new"
></i> {L_NOT_READ}
<i class="fa fa-envelope message-announce-new"
aria-hidden="true"
></i> {L_NOT_READ}
</td>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<footer></footer>
<footer></footer>
</section>
</section>
</form>
</form>
# END convers #
# END convers #
# START pm #
# START pm #
<section id="module-user-pm">
<section id="module-user-pm">
<header>
<header>
<h1>{pm.U_PM_BOX} : {pm.U_TITLE_CONVERS}</h1>
<h1>{pm.U_PM_BOX} : {pm.U_TITLE_CONVERS}</h1>
</header>
</header>
<div class="content">
<div class="content">
# IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF #
# IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF #
# START pm.msg #
# START pm.msg #
<article id="article-pm-{pm.msg.ID}" class="article-pm article-several message">
<article id="article-pm-{pm.msg.ID}" class="article-pm article-several message">
<div id="m{pm.msg.ID}" class="message-container">
<div id="m{pm.msg.ID}" class="message-container">
<div class="message-user-infos">
<div class="message-user-infos">
<div class="message-pseudo">
<div class="message-pseudo">
# IF pm.msg.C_VISITOR #
# IF pm.msg.C_VISITOR #
<span>{pm.msg.PSEUDO}</span>
<span>{pm.msg.PSEUDO}</span>
# ELSE #
# ELSE #
<a href="{pm.msg.U_PROFILE}" class="{pm.msg.LEVEL_CLASS}" # IF pm.msg.C_GROUP_COLOR # style="color:{pm.msg.GROUP_COLOR}" # ENDIF #>
<a href="{pm.msg.U_PROFILE}" class="{pm.msg.LEVEL_CLASS}" # IF pm.msg.C_GROUP_COLOR # style="color:{pm.msg.GROUP_COLOR}" # ENDIF #>
{pm.msg.PSEUDO}
{pm.msg.PSEUDO}
</a>
</a>
# ENDIF #
# ENDIF #
Copier
Copié
Copier
Copié
<div class="message-level">{pm.msg.L_LEVEL}</div>
</div>
</div>
Copier
Copié
Copier
Copié
<div class="message-level">{pm.msg.L_LEVEL}</div>
# IF pm.msg.C_AVATAR #<img src="{pm.msg.USER_AVATAR}" title="{pm.msg.USER_PSEUDO}" alt="{pm.msg.USER_PSEUDO}" class="message-avatar" /># ENDIF #
# IF pm.msg.C_AVATAR #<img src="{pm.msg.USER_AVATAR}" title="{pm.msg.USER_PSEUDO}" alt="{pm.msg.USER_PSEUDO}" class="message-avatar" /># ENDIF #
</div>
</div>
<div class="message-date">
<div class="message-date">
<span class="actions">
<span class="actions">
<a href="#article-pm-{pm.msg.ID}">\#{pm.msg.ID}</a>
<a href="#article-pm-{pm.msg.ID}">\#{pm.msg.ID}</a>
# IF pm.msg.C_MODERATION_TOOLS #
# IF pm.msg.C_MODERATION_TOOLS #
Copier
Copié
Copier
Copié
<a href="pm.php?edit={pm.msg.ID}"
title
="{L_EDIT}"
class="fa fa-edit"
></a>
<a href="pm.php?edit={pm.msg.ID}"
aria-label
="{L_EDIT}"
><i
class="fa fa-edit"
aria-hidden="true" title="{L_EDIT}"></i
></a>
<a href="pm.php?del={pm.msg.ID}&token={TOKEN}
" title="{L_DELETE}" class="fa fa-delete
" data-confirmation="delete-element"
></a>
<a href="pm.php?del={pm.msg.ID}&token={TOKEN}
" data-confirmation="delete-element"
aria-label="{L_DELETE}"><i class="fa fa-delete" aria-hidden="true" title="{L_DELETE}"></i
></a>
# ENDIF #
# ENDIF #
</span>
</span>
<span>${LangLoader::get_message('on', 'main')} {pm.msg.DATE_FULL}</span>
<span>${LangLoader::get_message('on', 'main')} {pm.msg.DATE_FULL}</span>
</div>
</div>
<div class="message-message">
<div class="message-message">
<div class="message-content">{pm.msg.CONTENTS}</div>
<div class="message-content">{pm.msg.CONTENTS}</div>
</div>
</div>
</div>
</div>
</article>
</article>
# END pm.msg #
# END pm.msg #
</div>
</div>
<footer>
<footer>
# IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF #
# IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF #
</footer>
</footer>
</section>
</section>
# END pm #
# END pm #
# START post_pm #
# START post_pm #
# INCLUDE message_helper #
# INCLUDE message_helper #
<span id="quote"></span>
<span id="quote"></span>
<form action="pm{post_pm.U_PM_ACTION_POST}" method="post" onsubmit="return check_form_msg();" class="post-pm">
<form action="pm{post_pm.U_PM_ACTION_POST}" method="post" onsubmit="return check_form_msg();" class="post-pm">
<legend>{L_RESPOND}</legend>
<legend>{L_RESPOND}</legend>
<div class="form-element-textarea">
<div class="form-element-textarea">
{KERNEL_EDITOR}
{KERNEL_EDITOR}
<div class="form-field-textarea">
<div class="form-field-textarea">
<textarea rows="25" cols="66" id="contents" name="contents">{post_pm.CONTENTS}</textarea>
<textarea rows="25" cols="66" id="contents" name="contents">{post_pm.CONTENTS}</textarea>
</div>
</div>
</div>
</div>
<div class="center">
<div class="center">
<input type="hidden" name="token" value="{TOKEN}">
<input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="pm" value="true" class="submit">{L_SUBMIT}</button>
<button type="submit" name="pm" value="true" class="submit">{L_SUBMIT}</button>
<button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button>
<button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button>
<button type="reset" value="true">{L_RESET}</button>
<button type="reset" value="true">{L_RESET}</button>
</div>
</div>
</form>
</form>
# END post_pm #
# END post_pm #
# START edit_pm #
# START edit_pm #
<form action="pm{edit_pm.U_ACTION_EDIT}" method="post" onsubmit="return check_form_convers();">
<form action="pm{edit_pm.U_ACTION_EDIT}" method="post" onsubmit="return check_form_convers();">
<section id="module-user-edit-pm">
<section id="module-user-edit-pm">
<header>
<header>
<h1>{edit_pm.U_PM_BOX}</h1>
<h1>{edit_pm.U_PM_BOX}</h1>
</header>
</header>
<div class="content">
<div class="content">
<div class="fieldset-content">
<div class="fieldset-content">
<p class="center">{L_REQUIRE}</p>
<p class="center">{L_REQUIRE}</p>
<fieldset>
<fieldset>
<legend>{L_EDIT}</legend>
<legend>{L_EDIT}</legend>
# START edit_pm.title #
# START edit_pm.title #
<div class="form-element">
<div class="form-element">
<label for="title">* {L_TITLE}</label>
<label for="title">* {L_TITLE}</label>
<div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{edit_pm.title.TITLE}"></label></div>
<div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{edit_pm.title.TITLE}"></label></div>
</div>
</div>
# END edit_pm.title #
# END edit_pm.title #
<div class="form-element-textarea">
<div class="form-element-textarea">
<label for="contents">* {L_MESSAGE}</label>
<label for="contents">* {L_MESSAGE}</label>
{KERNEL_EDITOR}
{KERNEL_EDITOR}
<div class="form-field-textarea">
<div class="form-field-textarea">
<textarea rows="25" id="contents" name="contents">{edit_pm.CONTENTS}</textarea>
<textarea rows="25" id="contents" name="contents">{edit_pm.CONTENTS}</textarea>
</div>
</div>
</div>
</div>
</fieldset>
</fieldset>
<div class="center">
<div class="center">
<input type="hidden" name="token" value="{TOKEN}">
<input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="{SUBMIT_NAME}" value="{L_SUBMIT}" class="submit">{L_SUBMIT}</button>
<button type="submit" name="{SUBMIT_NAME}" value="{L_SUBMIT}" class="submit">{L_SUBMIT}</button>
<button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button>
<button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button>
<button type="reset" value="true">{L_RESET}</button>
<button type="reset" value="true">{L_RESET}</button>
</div>
</div>
</div>
</div>
</div>
</div>
<footer></footer>
<footer></footer>
</section>
</section>
</form>
</form>
# END edit_pm #
# END edit_pm #
# START post_convers #
# START post_convers #
<form action="pm.php" method="post" onsubmit="return check_form_convers();">
<form action="pm.php" method="post" onsubmit="return check_form_convers();">
<section id="module-user-post-convers">
<section id="module-user-post-convers">
<header>
<header>
<h1>{post_convers.U_PM_BOX}</h1>
<h1>{post_convers.U_PM_BOX}</h1>
</header>
</header>
<div class="content">
<div class="content">
# INCLUDE message_helper #
# INCLUDE message_helper #
<div class="fieldset-content">
<div class="fieldset-content">
<p class="center">{L_REQUIRE}</p>
<p class="center">{L_REQUIRE}</p>
<fieldset>
<fieldset>
<legend>{L_POST_NEW_CONVERS}</legend>
<legend>{L_POST_NEW_CONVERS}</legend>
# START post_convers.user_id_dest #
# START post_convers.user_id_dest #
<div class="form-element">
<div class="form-element">
<label for="login">* {L_RECIPIENT}</label>
<label for="login">* {L_RECIPIENT}</label>
<div class="form-field">
<div class="form-field">
<label>
<label>
<input type="text" maxlength="25" id="login" name="login" value="{post_convers.LOGIN}">
<input type="text" maxlength="25" id="login" name="login" value="{post_convers.LOGIN}">
<button type="button" value="{L_SEARCH}" onclick="XMLHttpRequest_search_members('', '{THEME}', 'insert_member', '{L_REQUIRE_RECIPIENT}');">{L_SEARCH}</button>
<button type="button" value="{L_SEARCH}" onclick="XMLHttpRequest_search_members('', '{THEME}', 'insert_member', '{L_REQUIRE_RECIPIENT}');">{L_SEARCH}</button>
<span id="search_img"></span>
<span id="search_img"></span>
</label>
</label>
<div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div>
<div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div>
# START post_convers.user_id_dest.search #
# START post_convers.user_id_dest.search #
{post_convers.user_id_dest.search.RESULT}
{post_convers.user_id_dest.search.RESULT}
# END post_convers.user_id_dest.search #
# END post_convers.user_id_dest.search #
</div>
</div>
</div>
</div>
# END post_convers.user_id_dest #
# END post_convers.user_id_dest #
<div class="form-element">
<div class="form-element">
<label for="title">* {L_TITLE}</label>
<label for="title">* {L_TITLE}</label>
<div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{post_convers.TITLE}"></label></div>
<div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{post_convers.TITLE}"></label></div>
</div>
</div>
<div class="form-element-textarea">
<div class="form-element-textarea">
<label for="contents">* {L_MESSAGE}</label>
<label for="contents">* {L_MESSAGE}</label>
{KERNEL_EDITOR}
{KERNEL_EDITOR}
<div class="form-field-textarea">
<div class="form-field-textarea">
<textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea>
<textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea>
</div>
</div>
</div>
</div>
</fieldset>
</fieldset>
<div class="center">
<div class="center">
<input type="hidden" name="token" value="{TOKEN}">
<input type="hidden" name="token" value="{TOKEN}">
<button type="submit" name="convers" value="true" class="submit">{L_SUBMIT}</button>
<button type="submit" name="convers" value="true" class="submit">{L_SUBMIT}</button>
<button type="button" name="prw_convers" id="prw_convers_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button>
<button type="button" name="prw_convers" id="prw_convers_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button>
<button type="reset" value="true">{L_RESET}</button>
<button type="reset" value="true">{L_RESET}</button>
</div>
</div>
</div>
</div>
</div>
</div>
<footer></footer>
<footer></footer>
</section>
</section>
</form>
</form>
# END post_convers #
# END post_convers #
Différences enregistrées
Texte d'origine
Ouvrir un fichier
<script> <!-- function check_form_convers(){ if(document.getElementById('login').value == "") { alert("{L_REQUIRE_RECIPIENT}"); return false; } if(document.getElementById('contents').value == "") { alert("{L_REQUIRE_MESSAGE}"); return false; } if(document.getElementById('title').value == "") { alert("{L_REQUIRE_TITLE}"); return false; } return true; } function check_form_pm(){ if(document.getElementById('contents').value == "") { alert("{L_REQUIRE_MESSAGE}"); return false; } return true; } function Confirm_pm() { return confirm("{L_DELETE_MESSAGE}"); } --> </script> # START convers # <script> <!-- function check_convers(status, id) { var i; for(i = 0; i < {convers.NBR_PM}; i++) { if( document.getElementById(id + i) ) document.getElementById(id + i).checked = status; } document.getElementById('checkall').checked = status; document.getElementById('validc').checked = status; } --> </script> # INCLUDE message_helper # <form action="pm{convers.U_USER_ACTION_PM}" method="post" onsubmit="javascript:return Confirm_pm();"> <section id="module-user-convers"> <header> <h1>{convers.U_PM_BOX}</h1> </header> <div class="content"> <div class="right">{L_PRIVATE_MSG}: {convers.PM_POURCENT}</div> <br /><br /> <nav id="cssmenu-pmactions" class="cssmenu cssmenu-group"> <ul> <li> <a href="{convers.U_POST_NEW_CONVERS}" class="cssmenu-title"><i class="fa fa-plus"></i> {convers.L_POST_NEW_CONVERS}</a> </li> <li> <a href="{convers.U_MARK_AS_READ}" class="cssmenu-title"><i class="fa fa-eraser"></i> {convers.L_MARK_AS_READ}</a> </li> </ul> </nav> <script> jQuery("#cssmenu-pmactions").menumaker({ title: "${LangLoader::get_message('form.options', 'common')}", format: "multitoggle", breakpoint: 768 }); </script> <br /><br /> <table id="table"> <thead> <tr> <th> <i class="fa fa-envelope"></i> </th> <th></th> <th> {L_TITLE} </th> <th> {L_PARTICIPANTS} </th> <th> {L_MESSAGE} </th> <th> {L_LAST_MESSAGE} </th> </tr> </thead> <tfoot> <tr> <td colspan="6"> <div class="left"> <input type="checkbox" id="validc" onclick="check_convers(this.checked, 'd');" title="{L_SELECT_ALL_MESSAGES}" /> <input type="hidden" name="token" value="{TOKEN}"><button type="submit" name="valid" value="true" class="submit">{L_DELETE}</button></div> # IF convers.C_PAGINATION #<div class="float-right"># INCLUDE convers.PAGINATION #</div># ENDIF # </td> </tr> </tfoot> <tbody> # START convers.list # <tr> <td> <input type="checkbox" id="d{convers.list.INCR}" name="{convers.list.ID}"> </td> <td class="convers-announce"> <i class="fa fa-envelope {convers.list.ANNOUNCE}"></i> </td> <td class="convers-title no-separator"> {convers.list.ANCRE} <a href="pm{convers.list.U_CONVERS}">{convers.list.TITLE}</a> <span class="smaller">[{convers.list.U_AUTHOR}]</span> </td> <td> {convers.list.U_PARTICIPANTS} </td> <td> {convers.list.MSG} </td> <td class="smaller"> {convers.list.U_LAST_MSG} </td> </tr> # END convers.list # # START convers.no_pm # <tr> <td colspan="6"> <span class="text-strong">{convers.no_pm.L_NO_PM}</span> </td> </tr> # END convers.no_pm # </tbody> </table> <br /> <table class="announce-legend"> <tr> <td> <i class="fa fa-envelope message-announce"></i> {L_READ} </td> <td class="no-separator"> <i class="fa fa-envelope message-announce-track"></i> {L_TRACK} </td> <td class="no-separator"> <i class="fa fa-envelope message-announce-new"></i> {L_NOT_READ} </td> </tr> </table> </div> <footer></footer> </section> </form> # END convers # # START pm # <section id="module-user-pm"> <header> <h1>{pm.U_PM_BOX} : {pm.U_TITLE_CONVERS}</h1> </header> <div class="content"> # IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF # # START pm.msg # <article id="article-pm-{pm.msg.ID}" class="article-pm article-several message"> <div id="m{pm.msg.ID}" class="message-container"> <div class="message-user-infos"> <div class="message-pseudo"> # IF pm.msg.C_VISITOR # <span>{pm.msg.PSEUDO}</span> # ELSE # <a href="{pm.msg.U_PROFILE}" class="{pm.msg.LEVEL_CLASS}" # IF pm.msg.C_GROUP_COLOR # style="color:{pm.msg.GROUP_COLOR}" # ENDIF #> {pm.msg.PSEUDO} </a> # ENDIF # </div> <div class="message-level">{pm.msg.L_LEVEL}</div> # IF pm.msg.C_AVATAR #<img src="{pm.msg.USER_AVATAR}" title="{pm.msg.USER_PSEUDO}" alt="{pm.msg.USER_PSEUDO}" class="message-avatar" /># ENDIF # </div> <div class="message-date"> <span class="actions"> <a href="#article-pm-{pm.msg.ID}">\#{pm.msg.ID}</a> # IF pm.msg.C_MODERATION_TOOLS # <a href="pm.php?edit={pm.msg.ID}" title="{L_EDIT}" class="fa fa-edit"></a> <a href="pm.php?del={pm.msg.ID}&token={TOKEN}" title="{L_DELETE}" class="fa fa-delete" data-confirmation="delete-element"></a> # ENDIF # </span> <span>${LangLoader::get_message('on', 'main')} {pm.msg.DATE_FULL}</span> </div> <div class="message-message"> <div class="message-content">{pm.msg.CONTENTS}</div> </div> </div> </article> # END pm.msg # </div> <footer> # IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF # </footer> </section> # END pm # # START post_pm # # INCLUDE message_helper # <span id="quote"></span> <form action="pm{post_pm.U_PM_ACTION_POST}" method="post" onsubmit="return check_form_msg();" class="post-pm"> <legend>{L_RESPOND}</legend> <div class="form-element-textarea"> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" cols="66" id="contents" name="contents">{post_pm.CONTENTS}</textarea> </div> </div> <div class="center"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" name="pm" value="true" class="submit">{L_SUBMIT}</button> <button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </div> </form> # END post_pm # # START edit_pm # <form action="pm{edit_pm.U_ACTION_EDIT}" method="post" onsubmit="return check_form_convers();"> <section id="module-user-edit-pm"> <header> <h1>{edit_pm.U_PM_BOX}</h1> </header> <div class="content"> <div class="fieldset-content"> <p class="center">{L_REQUIRE}</p> <fieldset> <legend>{L_EDIT}</legend> # START edit_pm.title # <div class="form-element"> <label for="title">* {L_TITLE}</label> <div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{edit_pm.title.TITLE}"></label></div> </div> # END edit_pm.title # <div class="form-element-textarea"> <label for="contents">* {L_MESSAGE}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" id="contents" name="contents">{edit_pm.CONTENTS}</textarea> </div> </div> </fieldset> <div class="center"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" name="{SUBMIT_NAME}" value="{L_SUBMIT}" class="submit">{L_SUBMIT}</button> <button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </div> </div> </div> <footer></footer> </section> </form> # END edit_pm # # START post_convers # <form action="pm.php" method="post" onsubmit="return check_form_convers();"> <section id="module-user-post-convers"> <header> <h1>{post_convers.U_PM_BOX}</h1> </header> <div class="content"> # INCLUDE message_helper # <div class="fieldset-content"> <p class="center">{L_REQUIRE}</p> <fieldset> <legend>{L_POST_NEW_CONVERS}</legend> # START post_convers.user_id_dest # <div class="form-element"> <label for="login">* {L_RECIPIENT}</label> <div class="form-field"> <label> <input type="text" maxlength="25" id="login" name="login" value="{post_convers.LOGIN}"> <button type="button" value="{L_SEARCH}" onclick="XMLHttpRequest_search_members('', '{THEME}', 'insert_member', '{L_REQUIRE_RECIPIENT}');">{L_SEARCH}</button> <span id="search_img"></span> </label> <div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div> # START post_convers.user_id_dest.search # {post_convers.user_id_dest.search.RESULT} # END post_convers.user_id_dest.search # </div> </div> # END post_convers.user_id_dest # <div class="form-element"> <label for="title">* {L_TITLE}</label> <div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{post_convers.TITLE}"></label></div> </div> <div class="form-element-textarea"> <label for="contents">* {L_MESSAGE}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea> </div> </div> </fieldset> <div class="center"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" name="convers" value="true" class="submit">{L_SUBMIT}</button> <button type="button" name="prw_convers" id="prw_convers_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </div> </div> </div> <footer></footer> </section> </form> # END post_convers #
Texte modifié
Ouvrir un fichier
<script> <!-- function check_form_convers(){ if(document.getElementById('login').value == "") { alert("{L_REQUIRE_RECIPIENT}"); return false; } if(document.getElementById('contents').value == "") { alert("{L_REQUIRE_MESSAGE}"); return false; } if(document.getElementById('title').value == "") { alert("{L_REQUIRE_TITLE}"); return false; } return true; } function check_form_pm(){ if(document.getElementById('contents').value == "") { alert("{L_REQUIRE_MESSAGE}"); return false; } return true; } function Confirm_pm() { return confirm("{L_DELETE_MESSAGE}"); } --> </script> # START convers # <script> <!-- function check_convers(status, id) { var i; for(i = 0; i < {convers.NBR_PM}; i++) { if( document.getElementById(id + i) ) document.getElementById(id + i).checked = status; } document.getElementById('checkall').checked = status; document.getElementById('validc').checked = status; } --> </script> # INCLUDE message_helper # <form action="pm{convers.U_USER_ACTION_PM}" method="post" onsubmit="javascript:return Confirm_pm();"> <section id="module-user-convers"> <header> <h1>{convers.U_PM_BOX}</h1> </header> <div class="content"> <div class="right">{L_PRIVATE_MSG}: {convers.PM_POURCENT}</div> <div class="spacer"></div> <nav id="cssmenu-pmactions" class="cssmenu cssmenu-group"> <ul> <li> <a href="{convers.U_POST_NEW_CONVERS}" class="cssmenu-title"><i class="fa fa-plus" aria-hidden="true"></i> {convers.L_POST_NEW_CONVERS}</a> </li> <li> <a href="{convers.U_MARK_AS_READ}" class="cssmenu-title"><i class="fa fa-eraser" aria-hidden="true"></i> {convers.L_MARK_AS_READ}</a> </li> </ul> </nav> <script> jQuery("#cssmenu-pmactions").menumaker({ title: "${LangLoader::get_message('form.options', 'common')}", format: "multitoggle", breakpoint: 768 }); </script> <table id="table"> <thead> <tr> <th> <i class="fa fa-envelope"></i> </th> <th></th> <th> {L_TITLE} </th> <th> {L_PARTICIPANTS} </th> <th> {L_MESSAGE} </th> <th> {L_LAST_MESSAGE} </th> </tr> </thead> <tbody> # START convers.list # <tr> <td> <input type="checkbox" id="d{convers.list.INCR}" name="{convers.list.ID}"> </td> <td class="convers-announce"> <i class="fa fa-envelope {convers.list.ANNOUNCE}"></i> </td> <td class="convers-title no-separator"> {convers.list.ANCRE} <a href="pm{convers.list.U_CONVERS}">{convers.list.TITLE}</a> <span class="smaller">[{convers.list.U_AUTHOR}]</span> </td> <td> {convers.list.U_PARTICIPANTS} </td> <td> {convers.list.MSG} </td> <td class="smaller"> {convers.list.U_LAST_MSG} </td> </tr> # END convers.list # # START convers.no_pm # <tr> <td colspan="6"> <span class="text-strong">{convers.no_pm.L_NO_PM}</span> </td> </tr> # END convers.no_pm # </tbody> <tfoot> <tr> <td colspan="6"> <div class="left"> <input type="checkbox" id="validc" onclick="check_convers(this.checked, 'd');" title="{L_SELECT_ALL_MESSAGES}" /> <input type="hidden" name="token" value="{TOKEN}"><button type="submit" name="valid" value="true" class="submit">{L_DELETE}</button></div> # IF convers.C_PAGINATION #<div class="float-right"># INCLUDE convers.PAGINATION #</div># ENDIF # </td> </tr> </tfoot> </table> <table class="announce-legend"> <tr> <td> <i class="fa fa-envelope message-announce" aria-hidden="true"></i> {L_READ} </td> <td class="no-separator"> <i class="fa fa-envelope message-announce-track" aria-hidden="true"></i> {L_TRACK} </td> <td class="no-separator"> <i class="fa fa-envelope message-announce-new" aria-hidden="true"></i> {L_NOT_READ} </td> </tr> </table> </div> <footer></footer> </section> </form> # END convers # # START pm # <section id="module-user-pm"> <header> <h1>{pm.U_PM_BOX} : {pm.U_TITLE_CONVERS}</h1> </header> <div class="content"> # IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF # # START pm.msg # <article id="article-pm-{pm.msg.ID}" class="article-pm article-several message"> <div id="m{pm.msg.ID}" class="message-container"> <div class="message-user-infos"> <div class="message-pseudo"> # IF pm.msg.C_VISITOR # <span>{pm.msg.PSEUDO}</span> # ELSE # <a href="{pm.msg.U_PROFILE}" class="{pm.msg.LEVEL_CLASS}" # IF pm.msg.C_GROUP_COLOR # style="color:{pm.msg.GROUP_COLOR}" # ENDIF #> {pm.msg.PSEUDO} </a> # ENDIF # <div class="message-level">{pm.msg.L_LEVEL}</div> </div> # IF pm.msg.C_AVATAR #<img src="{pm.msg.USER_AVATAR}" title="{pm.msg.USER_PSEUDO}" alt="{pm.msg.USER_PSEUDO}" class="message-avatar" /># ENDIF # </div> <div class="message-date"> <span class="actions"> <a href="#article-pm-{pm.msg.ID}">\#{pm.msg.ID}</a> # IF pm.msg.C_MODERATION_TOOLS # <a href="pm.php?edit={pm.msg.ID}" aria-label="{L_EDIT}"><i class="fa fa-edit" aria-hidden="true" title="{L_EDIT}"></i></a> <a href="pm.php?del={pm.msg.ID}&token={TOKEN}" data-confirmation="delete-element" aria-label="{L_DELETE}"><i class="fa fa-delete" aria-hidden="true" title="{L_DELETE}"></i></a> # ENDIF # </span> <span>${LangLoader::get_message('on', 'main')} {pm.msg.DATE_FULL}</span> </div> <div class="message-message"> <div class="message-content">{pm.msg.CONTENTS}</div> </div> </div> </article> # END pm.msg # </div> <footer> # IF pm.C_PAGINATION #<div class="float-right"># INCLUDE pm.PAGINATION #</div># ENDIF # </footer> </section> # END pm # # START post_pm # # INCLUDE message_helper # <span id="quote"></span> <form action="pm{post_pm.U_PM_ACTION_POST}" method="post" onsubmit="return check_form_msg();" class="post-pm"> <legend>{L_RESPOND}</legend> <div class="form-element-textarea"> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" cols="66" id="contents" name="contents">{post_pm.CONTENTS}</textarea> </div> </div> <div class="center"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" name="pm" value="true" class="submit">{L_SUBMIT}</button> <button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </div> </form> # END post_pm # # START edit_pm # <form action="pm{edit_pm.U_ACTION_EDIT}" method="post" onsubmit="return check_form_convers();"> <section id="module-user-edit-pm"> <header> <h1>{edit_pm.U_PM_BOX}</h1> </header> <div class="content"> <div class="fieldset-content"> <p class="center">{L_REQUIRE}</p> <fieldset> <legend>{L_EDIT}</legend> # START edit_pm.title # <div class="form-element"> <label for="title">* {L_TITLE}</label> <div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{edit_pm.title.TITLE}"></label></div> </div> # END edit_pm.title # <div class="form-element-textarea"> <label for="contents">* {L_MESSAGE}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" id="contents" name="contents">{edit_pm.CONTENTS}</textarea> </div> </div> </fieldset> <div class="center"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" name="{SUBMIT_NAME}" value="{L_SUBMIT}" class="submit">{L_SUBMIT}</button> <button type="button" name="prw" id="prw_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </div> </div> </div> <footer></footer> </section> </form> # END edit_pm # # START post_convers # <form action="pm.php" method="post" onsubmit="return check_form_convers();"> <section id="module-user-post-convers"> <header> <h1>{post_convers.U_PM_BOX}</h1> </header> <div class="content"> # INCLUDE message_helper # <div class="fieldset-content"> <p class="center">{L_REQUIRE}</p> <fieldset> <legend>{L_POST_NEW_CONVERS}</legend> # START post_convers.user_id_dest # <div class="form-element"> <label for="login">* {L_RECIPIENT}</label> <div class="form-field"> <label> <input type="text" maxlength="25" id="login" name="login" value="{post_convers.LOGIN}"> <button type="button" value="{L_SEARCH}" onclick="XMLHttpRequest_search_members('', '{THEME}', 'insert_member', '{L_REQUIRE_RECIPIENT}');">{L_SEARCH}</button> <span id="search_img"></span> </label> <div id="xmlhttprequest-result-search" style="display: none;" class="xmlhttprequest-result-search"></div> # START post_convers.user_id_dest.search # {post_convers.user_id_dest.search.RESULT} # END post_convers.user_id_dest.search # </div> </div> # END post_convers.user_id_dest # <div class="form-element"> <label for="title">* {L_TITLE}</label> <div class="form-field"><label><input type="text" maxlength="100" id="title" name="title" value="{post_convers.TITLE}"></label></div> </div> <div class="form-element-textarea"> <label for="contents">* {L_MESSAGE}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea> </div> </div> </fieldset> <div class="center"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" name="convers" value="true" class="submit">{L_SUBMIT}</button> <button type="button" name="prw_convers" id="prw_convers_pm" onclick="XMLHttpRequest_preview();">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </div> </div> </div> <footer></footer> </section> </form> # END post_convers #
Trouver la différence