Diff
checker
Text
Text
Bilder
Dokumente
Excel
Ordner
Legal
Enterprise
Desktop-App
Preise
Einloggen
Diffchecker Desktop herunterladen
Texte vergleichen
Finde den Unterschied zwischen zwei Textdateien
Werkzeuge
Verlauf
Anzeige
Ansicht
Zweispaltig
Einspaltig
Live-Editor
Leerzeichen ausblenden
Gleiches ausblenden
Zeilenumbruch aus
Vergleichsgenauigkeit
Intelligent
Syntax
Keine
Darstellung ändern
Verarbeitung
Ignorieren
Text umwandeln
Zur ersten Änderung
Eingabe bearbeiten
Diffchecker Desktop
Der sicherste Weg, Diffchecker zu nutzen. Hol dir die Desktop-App: Deine Diffs verlassen nie deinen Computer!
Desktop holen
Untitled diff
Erstellt
vor 9 Jahren
Diff läuft nie ab
Löschen
Exportieren
Teilen
Erklären
2 Entfernungen
Zeilen
Gesamt
Entfernt
Zeichen
Gesamt
Entfernt
Um diese Funktion weiterhin zu nutzen, aktualisiere auf
Diff
checker
Pro
Preise anzeigen
133 Zeilen
Kopieren
26 Hinzufügungen
Zeilen
Gesamt
Hinzugefügt
Zeichen
Gesamt
Hinzugefügt
Um diese Funktion weiterhin zu nutzen, aktualisiere auf
Diff
checker
Pro
Preise anzeigen
149 Zeilen
Kopieren
# 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>
Kopieren
Kopiert
Kopieren
Kopiert
<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>
Kopieren
Kopiert
Kopieren
Kopiert
# 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>
Kopieren
Kopiert
Kopieren
Kopiert
# 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>
Kopieren
Kopiert
Kopieren
Kopiert
<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>
Kopieren
Kopiert
Kopieren
Kopiert
<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>
Kopieren
Kopiert
Kopieren
Kopiert
<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">
Gespeicherte Diffs
Originaltext
Datei öffnen
# 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 #
Bearbeitung
Datei öffnen
# 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 #
Unterschied finden