Diff
checker
Texto
Texto
Imagens
Documentos
Excel
Pastas
Legal
Enterprise
Aplicativo para desktop
Preços
Fazer login
Baixar o Diffchecker Desktop
Comparar texto
Encontre a diferença entre dois arquivos de texto
Ferramentas
Histórico
Exibição
Layout
Dividido
Unificado
Editor live
Ocultar espaços em branco
Recolher inalteradas
Sem quebra de linha
Nível de detalhe
Inteligente
Sintaxe
Nenhum
Alterar aparência
Processamento
Ignorar
Transformar texto
Ir à primeira mudança
Editar entrada
Diffchecker Desktop
A maneira mais segura de usar o Diffchecker. Obtenha o aplicativo Diffchecker Desktop: seus diffs nunca saem do seu computador!
Obter Desktop
Untitled diff
Criado
há 9 anos
O diff nunca expira
Limpar
Exportar
Compartilhar
Explicar
2 remoções
Linhas
Total
Removido
Caracteres
Total
Removido
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
133 linhas
Copiar tudo
26 adições
Linhas
Total
Adicionado
Caracteres
Total
Adicionado
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
149 linhas
Copiar tudo
# IF C_ADD_MEDIA #
# IF C_ADD_MEDIA #
<script>
<script>
<!--
<!--
function check_form()
function check_form()
{
{
if (document.getElementById('name').value == "")
if (document.getElementById('name').value == "")
{
{
alert ("{L_REQUIRE_NAME}");
alert ("{L_REQUIRE_NAME}");
return false;
return false;
}
}
if (document.getElementById('u_media').value == "" || document.getElementById('u_media').value == "http://")
if (document.getElementById('u_media').value == "" || document.getElementById('u_media').value == "http://")
{
{
alert ("{L_REQUIRE_URL}");
alert ("{L_REQUIRE_URL}");
return false;
return false;
}
}
return true;
return true;
}
}
function in_array(needle, haystack)
function in_array(needle, haystack)
{
{
for (var i=0; i < haystack.length; i++)
for (var i=0; i < haystack.length; i++)
if (haystack[i] == needle)
if (haystack[i] == needle)
return true;
return true;
return false;
return false;
}
}
function hide_width_height()
function hide_width_height()
{
{
var id_music = new Array({JS_ID_MUSIC});
var id_music = new Array({JS_ID_MUSIC});
if (id_music.length > 0)
if (id_music.length > 0)
if (in_array(jQuery('#idcat').val(), id_music))
if (in_array(jQuery('#idcat').val(), id_music))
{
{
jQuery('#width_dl').hide();
jQuery('#width_dl').hide();
jQuery('#height_dl').hide();
jQuery('#height_dl').hide();
}
}
else
else
{
{
jQuery('#width_dl').show();
jQuery('#width_dl').show();
jQuery('#height_dl').show();
jQuery('#height_dl').show();
}
}
}
}
jQuery(document).ready(function() {
jQuery(document).ready(function() {
# IF C_MUSIC #
# IF C_MUSIC #
jQuery('#width_dl').hide();
jQuery('#width_dl').hide();
jQuery('#height_dl').hide();
jQuery('#height_dl').hide();
# ENDIF #
# ENDIF #
jQuery('#idcat').change(function() {
jQuery('#idcat').change(function() {
hide_width_height();
hide_width_height();
});
});
});
});
-->
-->
</script>
</script>
<section id="module-media-action">
<section id="module-media-action">
<header>
<header>
<h1>{L_PAGE_TITLE}</h1>
<h1>{L_PAGE_TITLE}</h1>
</header>
</header>
<div class="content">
<div class="content">
<form action="media_action.php" method="post" onsubmit="return check_form();" class="fieldset-content">
<form action="media_action.php" method="post" onsubmit="return check_form();" class="fieldset-content">
<p class="center">{L_REQUIRE}</p>
<p class="center">{L_REQUIRE}</p>
<fieldset>
<fieldset>
<legend>{L_PAGE_TITLE}</legend>
<legend>{L_PAGE_TITLE}</legend>
<div class="form-element">
<div class="form-element">
<label for="name">* {L_TITLE}</label>
<label for="name">* {L_TITLE}</label>
Copiar
Copiado
Copiar
Copiado
<div class="form-field"><input type="text" maxlength="100" class="field-large" id="name" name="name" value="{NAME}"
></div>
<div class="form-field"><input type="text" maxlength="100" class="field-large" id="name" name="name" value="{NAME}"
/
></div>
</div>
</div>
Copiar
Copiado
Copiar
Copiado
# IF C_CATEGORIES #
<div class="form-element">
<div class="form-element">
<label for="category">${LangLoader::get_message('form.category', 'common')}</label>
<label for="category">${LangLoader::get_message('form.category', 'common')}</label>
<div class="form-field">
<div class="form-field">
<select name="idcat" id="idcat">
<select name="idcat" id="idcat">
{CATEGORIES}
{CATEGORIES}
</select>
</select>
</div>
</div>
</div>
</div>
Copiar
Copiado
Copiar
Copiado
# ENDIF #
<div class="form-element" id="width_dl">
<div class="form-element" id="width_dl">
<label for="width">{L_WIDTH}</label>
<label for="width">{L_WIDTH}</label>
Copiar
Copiado
Copiar
Copiado
<div class="form-field"><input type="number" min="10" max="5000" maxlength="4" id="width" name="width" value="{WIDTH}"
></div>
<div class="form-field"><input type="number" min="10" max="5000" maxlength="4" id="width" name="width" value="{WIDTH}"
/
></div>
</div>
</div>
<div class="form-element" id="height_dl">
<div class="form-element" id="height_dl">
<label for="height">{L_HEIGHT}</label>
<label for="height">{L_HEIGHT}</label>
Copiar
Copiado
Copiar
Copiado
<div class="form-field"><input type="number" min="10" max="5000" id="height" name="height" value="{HEIGHT}"
></div>
<div class="form-field"><input type="number" min="10" max="5000" id="height" name="height" value="{HEIGHT}"
/
></div>
</div>
</div>
<div class="form-element">
<div class="form-element">
<label for="u_media">* {L_U_MEDIA}</label>
<label for="u_media">* {L_U_MEDIA}</label>
Copiar
Copiado
Copiar
Copiado
<div class="form-field">
<input type="text" maxlength="
500
" class="field-large" id="u_media" name="u_media" value="{U_MEDIA}"
placeholder="http://"></
div>
<div class="form-field">
<input type="text" maxlength="
255
" class="field-large" id="u_media" name="u_media" value="{U_MEDIA}"
/>
# IF C_AUTH_UPLOAD #
<a title="${LangLoader::get_message('files_management', 'main')}" href="" class="fa fa-cloud-upload fa-2x" onclick="window.open('{PATH_TO_ROOT}/user/upload.php?popup=1&fd=u_media&parse=true&no_path=true', '', 'height=500,width=720,resizable=yes,scrollbars=yes');return false;"></a>
# ENDIF #
</div>
</div>
<div class="form-element">
<label for="poster">{L_POSTER}</label>
<div class="form-field# IF C_AUTH_UPLOAD # form-field-upload-file# ENDIF #">
<input type="text" maxlength="255" class="field-large" id="poster" name="poster" value="{POSTER}" />
# IF C_AUTH_UPLOAD #
<a title="${LangLoader::get_message('files_management', 'main')}" href="" class="fa fa-cloud-upload fa-2x" onclick="window.open('{PATH_TO_ROOT}/user/upload.php?popup=1&fd=poster&parse=true&no_path=true', '', 'height=500,width=720,resizable=yes,scrollbars=yes');return false;"></a>
# ENDIF #
</
div>
</div>
</div>
<div class="form-element-textarea">
<div class="form-element-textarea">
<label for="contents" id="preview_content">{L_CONTENTS}</label>
<label for="contents" id="preview_content">{L_CONTENTS}</label>
{KERNEL_EDITOR}
{KERNEL_EDITOR}
<div class="form-field-textarea">
<div class="form-field-textarea">
<textarea rows="10" cols="90" id="contents" name="contents">{DESCRIPTION}</textarea>
<textarea rows="10" cols="90" id="contents" name="contents">{DESCRIPTION}</textarea>
</div>
</div>
</div>
</div>
# IF C_APROB #
# IF C_APROB #
<div class="form-element">
<div class="form-element">
Diferenças salvas
Texto original
Abrir arquivo
# IF C_ADD_MEDIA # <script> <!-- function check_form() { if (document.getElementById('name').value == "") { alert ("{L_REQUIRE_NAME}"); return false; } if (document.getElementById('u_media').value == "" || document.getElementById('u_media').value == "http://") { alert ("{L_REQUIRE_URL}"); return false; } return true; } function in_array(needle, haystack) { for (var i=0; i < haystack.length; i++) if (haystack[i] == needle) return true; return false; } function hide_width_height() { var id_music = new Array({JS_ID_MUSIC}); if (id_music.length > 0) if (in_array(jQuery('#idcat').val(), id_music)) { jQuery('#width_dl').hide(); jQuery('#height_dl').hide(); } else { jQuery('#width_dl').show(); jQuery('#height_dl').show(); } } jQuery(document).ready(function() { # IF C_MUSIC # jQuery('#width_dl').hide(); jQuery('#height_dl').hide(); # ENDIF # jQuery('#idcat').change(function() { hide_width_height(); }); }); --> </script> <section id="module-media-action"> <header> <h1>{L_PAGE_TITLE}</h1> </header> <div class="content"> <form action="media_action.php" method="post" onsubmit="return check_form();" class="fieldset-content"> <p class="center">{L_REQUIRE}</p> <fieldset> <legend>{L_PAGE_TITLE}</legend> <div class="form-element"> <label for="name">* {L_TITLE}</label> <div class="form-field"><input type="text" maxlength="100" class="field-large" id="name" name="name" value="{NAME}"></div> </div> <div class="form-element"> <label for="category">${LangLoader::get_message('form.category', 'common')}</label> <div class="form-field"> <select name="idcat" id="idcat"> {CATEGORIES} </select> </div> </div> <div class="form-element" id="width_dl"> <label for="width">{L_WIDTH}</label> <div class="form-field"><input type="number" min="10" max="5000" maxlength="4" id="width" name="width" value="{WIDTH}"></div> </div> <div class="form-element" id="height_dl"> <label for="height">{L_HEIGHT}</label> <div class="form-field"><input type="number" min="10" max="5000" id="height" name="height" value="{HEIGHT}"></div> </div> <div class="form-element"> <label for="u_media">* {L_U_MEDIA}</label> <div class="form-field"><input type="text" maxlength="500" class="field-large" id="u_media" name="u_media" value="{U_MEDIA}" placeholder="http://"></div> </div> <div class="form-element-textarea"> <label for="contents" id="preview_content">{L_CONTENTS}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="10" cols="90" id="contents" name="contents">{DESCRIPTION}</textarea> </div> </div> # IF C_APROB # <div class="form-element"> <label>{L_APPROVED}</label> <div class="form-field"> <input type="checkbox" name="approved" id="approved"{APPROVED}> </div> </div> # ENDIF # </fieldset> # IF C_CONTRIBUTION # <fieldset> <legend>{L_CONTRIBUTION_LEGEND}</legend> <div class="notice">{L_NOTICE_CONTRIBUTION}</div> <div class="form-element-textarea"> <label>{L_CONTRIBUTION_COUNTERPART} <p class="field-description">{L_CONTRIBUTION_COUNTERPART_EXPLAIN}</p></label> {CONTRIBUTION_COUNTERPART_EDITOR} <div class="form-field-textarea"> <textarea rows="20" cols="40" id="counterpart" name="counterpart">{CONTRIBUTION_COUNTERPART}</textarea> </div> </div> </fieldset> # ENDIF # <fieldset class="fieldset-submit"> <legend>{L_SUBMIT}</legend> <input type="hidden" name="idedit" value="{IDEDIT}"> <input type="hidden" name="contrib" value="{C_CONTRIBUTION}"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" name="submit" value="true" class="submit">{L_SUBMIT}</button> <button type="button" onclick="XMLHttpRequest_preview(); return false;">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </fieldset> </form> </div> <footer></footer> </section> # ENDIF #
Texto alterado
Abrir arquivo
# IF C_ADD_MEDIA # <script> <!-- function check_form() { if (document.getElementById('name').value == "") { alert ("{L_REQUIRE_NAME}"); return false; } if (document.getElementById('u_media').value == "" || document.getElementById('u_media').value == "http://") { alert ("{L_REQUIRE_URL}"); return false; } return true; } function in_array(needle, haystack) { for (var i=0; i < haystack.length; i++) if (haystack[i] == needle) return true; return false; } function hide_width_height() { var id_music = new Array({JS_ID_MUSIC}); if (id_music.length > 0) if (in_array(jQuery('#idcat').val(), id_music)) { jQuery('#width_dl').hide(); jQuery('#height_dl').hide(); } else { jQuery('#width_dl').show(); jQuery('#height_dl').show(); } } jQuery(document).ready(function() { # IF C_MUSIC # jQuery('#width_dl').hide(); jQuery('#height_dl').hide(); # ENDIF # jQuery('#idcat').change(function() { hide_width_height(); }); }); --> </script> <section id="module-media-action"> <header> <h1>{L_PAGE_TITLE}</h1> </header> <div class="content"> <form action="media_action.php" method="post" onsubmit="return check_form();" class="fieldset-content"> <p class="center">{L_REQUIRE}</p> <fieldset> <legend>{L_PAGE_TITLE}</legend> <div class="form-element"> <label for="name">* {L_TITLE}</label> <div class="form-field"><input type="text" maxlength="100" class="field-large" id="name" name="name" value="{NAME}" /></div> </div> # IF C_CATEGORIES # <div class="form-element"> <label for="category">${LangLoader::get_message('form.category', 'common')}</label> <div class="form-field"> <select name="idcat" id="idcat"> {CATEGORIES} </select> </div> </div> # ENDIF # <div class="form-element" id="width_dl"> <label for="width">{L_WIDTH}</label> <div class="form-field"><input type="number" min="10" max="5000" maxlength="4" id="width" name="width" value="{WIDTH}" /></div> </div> <div class="form-element" id="height_dl"> <label for="height">{L_HEIGHT}</label> <div class="form-field"><input type="number" min="10" max="5000" id="height" name="height" value="{HEIGHT}" /></div> </div> <div class="form-element"> <label for="u_media">* {L_U_MEDIA}</label> <div class="form-field"> <input type="text" maxlength="255" class="field-large" id="u_media" name="u_media" value="{U_MEDIA}" /> # IF C_AUTH_UPLOAD # <a title="${LangLoader::get_message('files_management', 'main')}" href="" class="fa fa-cloud-upload fa-2x" onclick="window.open('{PATH_TO_ROOT}/user/upload.php?popup=1&fd=u_media&parse=true&no_path=true', '', 'height=500,width=720,resizable=yes,scrollbars=yes');return false;"></a> # ENDIF # </div> </div> <div class="form-element"> <label for="poster">{L_POSTER}</label> <div class="form-field# IF C_AUTH_UPLOAD # form-field-upload-file# ENDIF #"> <input type="text" maxlength="255" class="field-large" id="poster" name="poster" value="{POSTER}" /> # IF C_AUTH_UPLOAD # <a title="${LangLoader::get_message('files_management', 'main')}" href="" class="fa fa-cloud-upload fa-2x" onclick="window.open('{PATH_TO_ROOT}/user/upload.php?popup=1&fd=poster&parse=true&no_path=true', '', 'height=500,width=720,resizable=yes,scrollbars=yes');return false;"></a> # ENDIF # </div> </div> <div class="form-element-textarea"> <label for="contents" id="preview_content">{L_CONTENTS}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="10" cols="90" id="contents" name="contents">{DESCRIPTION}</textarea> </div> </div> # IF C_APROB # <div class="form-element"> <label>{L_APPROVED}</label> <div class="form-field"> <input type="checkbox" name="approved" id="approved"{APPROVED} /> </div> </div> # ENDIF # </fieldset> # IF C_CONTRIBUTION # <fieldset> <legend>{L_CONTRIBUTION_LEGEND}</legend> <div class="notice">{L_NOTICE_CONTRIBUTION}</div> <div class="form-element-textarea"> <label>{L_CONTRIBUTION_COUNTERPART} <p class="field-description">{L_CONTRIBUTION_COUNTERPART_EXPLAIN}</p></label> {CONTRIBUTION_COUNTERPART_EDITOR} <div class="form-field-textarea"> <textarea rows="20" cols="40" id="counterpart" name="counterpart">{CONTRIBUTION_COUNTERPART}</textarea> </div> </div> </fieldset> # ENDIF # <fieldset class="fieldset-submit"> <legend>{L_SUBMIT}</legend> <input type="hidden" name="idedit" value="{IDEDIT}" /> <input type="hidden" name="contrib" value="{C_CONTRIBUTION}" /> <input type="hidden" name="token" value="{TOKEN}" /> <button type="submit" name="submit" value="true" class="submit">{L_SUBMIT}</button> <button type="button" onclick="XMLHttpRequest_preview(); return false;">{L_PREVIEW}</button> <button type="reset" value="true">{L_RESET}</button> </fieldset> </form> </div> <footer></footer> </section> # ENDIF #
Encontrar Diferença