Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
7 years ago
Diff never expires
Clear
Export
Share
Explain
8 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
134 lines
Copy
3 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
134 lines
Copy
<script>
<script>
<!--
<!--
var path = '{PICTURES_DATA_PATH}';
var path = '{PICTURES_DATA_PATH}';
var selected_cat = {SELECTED_CAT};
var selected_cat = {SELECTED_CAT};
function check_form_post(){
function check_form_post(){
if(document.getElementById('title') && document.getElementById('title').value == "") {
if(document.getElementById('title') && document.getElementById('title').value == "") {
alert("{L_ALERT_TITLE}");
alert("{L_ALERT_TITLE}");
return false;
return false;
}
}
if(document.getElementById('contents').value == "") {
if(document.getElementById('contents').value == "") {
alert("{L_ALERT_CONTENTS}");
alert("{L_ALERT_CONTENTS}");
return false;
return false;
}
}
return true;
return true;
}
}
var disabled = {OWN_AUTH_DISABLED};
var disabled = {OWN_AUTH_DISABLED};
function disable_own_auth()
function disable_own_auth()
{
{
if( disabled )
if( disabled )
{
{
disabled = false;
disabled = false;
jQuery("#own_auth_display").show();
jQuery("#own_auth_display").show();
}
}
else
else
{
{
jQuery("#own_auth_display").hide();
jQuery("#own_auth_display").hide();
disabled = true;
disabled = true;
}
}
}
}
-->
-->
</script>
</script>
<script src="{PATH_TO_ROOT}/pages/templates/js/pages.js"></script>
<script src="{PATH_TO_ROOT}/pages/templates/js/pages.js"></script>
Copy
Copied
Copy
Copied
# INCLUDE message_helper #
# INCLUDE message_helper #
Copy
Copied
Copy
Copied
# START previewing #
# START previewing #
<article>
<article>
<header>
<header>
<h1>{L_PREVIEWING} {previewing.TITLE}</h1>
<h1>{L_PREVIEWING} {previewing.TITLE}</h1>
</header>
</header>
<div class="content">{previewing.PREVIEWING}</div>
<div class="content">{previewing.PREVIEWING}</div>
<footer></footer>
<footer></footer>
</article>
</article>
# END previewing #
# END previewing #
Copy
Copied
Copy
Copied
<form action="post.php" method="post" onsubmit="return check_form_post();" class="fieldset-content">
<form action="post.php" method="post" onsubmit="return check_form_post();" class="fieldset-content">
<fieldset>
<fieldset>
<legend>{L_TITLE_POST}</legend>
<legend>{L_TITLE_POST}</legend>
# START create #
# START create #
<div class="form-element">
<div class="form-element">
<label for="title">* {L_TITLE_FIELD}</label>
<label for="title">* {L_TITLE_FIELD}</label>
<div class="form-field"><label><input type="text" id="title" name="title" maxlength="250" class="field-large" value="{PAGE_TITLE}"></label></div>
<div class="form-field"><label><input type="text" id="title" name="title" maxlength="250" class="field-large" value="{PAGE_TITLE}"></label></div>
</div>
</div>
# END create #
# END create #
<div class="form-element-textarea">
<div class="form-element-textarea">
<label for="contents">* {L_CONTENTS}</label>
<label for="contents">* {L_CONTENTS}</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>
Copy
Copied
Copy
Copied
</fieldset>
</fieldset>
<fieldset>
<fieldset>
<legend>{L_PATH}</legend>
<legend>{L_PATH}</legend>
<div class="form-element">
<div class="form-element">
<label for="is_cat">{L_IS_CAT}</label>
<label for="is_cat">{L_IS_CAT}</label>
<div class="form-field"><label><input type="checkbox" name="is_cat" id="is_cat" {CHECK_IS_CAT}></label></div>
<div class="form-field"><label><input type="checkbox" name="is_cat" id="is_cat" {CHECK_IS_CAT}></label></div>
</div>
</div>
<div class="form-element">
<div class="form-element">
<label>{L_CAT}</label>
<label>{L_CAT}</label>
<div class="explorer inline">
<div class="explorer inline">
<div class="cats">
<div class="cats">
<div class="content">
<div class="content">
<input type="hidden" name="id_cat" id="id_cat" value="{ID_CAT}"/>
<input type="hidden" name="id_cat" id="id_cat" value="{ID_CAT}"/>
<ul>
<ul>
Copy
Copied
Copy
Copied
<li><a id="class-0" class="{CAT_0}" href="javascript:select_cat(0);"><i class="fa fa-folder"
></i>{L_ROOT}</a></li>
<li><a id="class-0" class="{CAT_0}" href="javascript:select_cat(0);"><i class="fa fa-folder"
aria-hidden="true"
></i>{L_ROOT}</a></li>
{CAT_LIST}
{CAT_LIST}
</ul>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</fieldset>
Copy
Copied
Copy
Copied
<fieldset>
<fieldset>
<legend>{L_PROPERTIES}</legend>
<legend>{L_PROPERTIES}</legend>
<div class="form-element">
<div class="form-element">
<label for="count_hits">{L_COUNT_HITS}</label>
<label for="count_hits">{L_COUNT_HITS}</label>
<div class="form-field"><label><input type="checkbox" id="count_hits" name="count_hits" {COUNT_HITS_CHECKED}></label></div>
<div class="form-field"><label><input type="checkbox" id="count_hits" name="count_hits" {COUNT_HITS_CHECKED}></label></div>
</div>
</div>
<div class="form-element">
<div class="form-element">
<label for="comments_activated">{L_COMMENTS_ACTIVATED}</label>
<label for="comments_activated">{L_COMMENTS_ACTIVATED}</label>
<div class="form-field"><label><input type="checkbox" id="comments_activated" name="comments_activated" {COMMENTS_ACTIVATED_CHECKED}></label></div>
<div class="form-field"><label><input type="checkbox" id="comments_activated" name="comments_activated" {COMMENTS_ACTIVATED_CHECKED}></label></div>
</div>
</div>
<div class="form-element">
<div class="form-element">
<label for="display_print_link">{L_DISPLAY_PRINT_LINK}</label>
<label for="display_print_link">{L_DISPLAY_PRINT_LINK}</label>
<div class="form-field"><label><input type="checkbox" id="display_print_link" name="display_print_link" {DISPLAY_PRINT_LINK_CHECKED}></label></div>
<div class="form-field"><label><input type="checkbox" id="display_print_link" name="display_print_link" {DISPLAY_PRINT_LINK_CHECKED}></label></div>
</div>
</div>
</fieldset>
</fieldset>
Copy
Copied
Copy
Copied
<fieldset>
<fieldset>
<legend>{L_AUTH}</legend>
<legend>{L_AUTH}</legend>
<div class="form-element">
<div class="form-element">
<label for="own_auth">{L_OWN_AUTH}</label>
<label for="own_auth">{L_OWN_AUTH}</label>
<div class="form-field"><label><input type="checkbox" name="own_auth" id="own_auth" onclick="disable_own_auth();" {OWN_AUTH_CHECKED}></label></div>
<div class="form-field"><label><input type="checkbox" name="own_auth" id="own_auth" onclick="disable_own_auth();" {OWN_AUTH_CHECKED}></label></div>
</div>
</div>
<span id="own_auth_display" style="{DISPLAY}">
<span id="own_auth_display" style="{DISPLAY}">
<div class="form-element">
<div class="form-element">
<label>{L_READ_PAGE}</label>
<label>{L_READ_PAGE}</label>
<div class="form-field">{SELECT_READ_PAGE}</div>
<div class="form-field">{SELECT_READ_PAGE}</div>
</div>
</div>
<div class="form-element">
<div class="form-element">
<label>{L_EDIT_PAGE}</label>
<label>{L_EDIT_PAGE}</label>
<div class="form-field">{SELECT_EDIT_PAGE}</div>
<div class="form-field">{SELECT_EDIT_PAGE}</div>
</div>
</div>
<div class="form-element">
<div class="form-element">
<label>{L_READ_COM}</label>
<label>{L_READ_COM}</label>
<div class="form-field">{SELECT_READ_COM}</div>
<div class="form-field">{SELECT_READ_COM}</div>
</div>
</div>
</span>
</span>
</fieldset>
</fieldset>
Copy
Copied
Copy
Copied
<fieldset class="fieldset-submit">
<fieldset class="fieldset-submit">
<legend>{L_SUBMIT}</legend>
<legend>{L_SUBMIT}</legend>
<input type="hidden" name="id_edit" value="{ID_EDIT}">
<input type="hidden" name="id_edit" value="{ID_EDIT}">
<input type="hidden" name="token" value="{TOKEN}">
<input type="hidden" name="token" value="{TOKEN}">
<button type="submit" class="submit">{L_SUBMIT}</button>
<button type="submit" class="submit">{L_SUBMIT}</button>
<button type="submit" name="preview" value="preview">{L_PREVIEW}</button>
<button type="submit" name="preview" value="preview">{L_PREVIEW}</button>
<button type="reset">{L_RESET}</button>
<button type="reset">{L_RESET}</button>
</fieldset>
</fieldset>
</form>
</form>
Saved diffs
Original text
Open file
<script> <!-- var path = '{PICTURES_DATA_PATH}'; var selected_cat = {SELECTED_CAT}; function check_form_post(){ if(document.getElementById('title') && document.getElementById('title').value == "") { alert("{L_ALERT_TITLE}"); return false; } if(document.getElementById('contents').value == "") { alert("{L_ALERT_CONTENTS}"); return false; } return true; } var disabled = {OWN_AUTH_DISABLED}; function disable_own_auth() { if( disabled ) { disabled = false; jQuery("#own_auth_display").show(); } else { jQuery("#own_auth_display").hide(); disabled = true; } } --> </script> <script src="{PATH_TO_ROOT}/pages/templates/js/pages.js"></script> # INCLUDE message_helper # # START previewing # <article> <header> <h1>{L_PREVIEWING} {previewing.TITLE}</h1> </header> <div class="content">{previewing.PREVIEWING}</div> <footer></footer> </article> # END previewing # <form action="post.php" method="post" onsubmit="return check_form_post();" class="fieldset-content"> <fieldset> <legend>{L_TITLE_POST}</legend> # START create # <div class="form-element"> <label for="title">* {L_TITLE_FIELD}</label> <div class="form-field"><label><input type="text" id="title" name="title" maxlength="250" class="field-large" value="{PAGE_TITLE}"></label></div> </div> # END create # <div class="form-element-textarea"> <label for="contents">* {L_CONTENTS}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea> </div> </div> </fieldset> <fieldset> <legend>{L_PATH}</legend> <div class="form-element"> <label for="is_cat">{L_IS_CAT}</label> <div class="form-field"><label><input type="checkbox" name="is_cat" id="is_cat" {CHECK_IS_CAT}></label></div> </div> <div class="form-element"> <label>{L_CAT}</label> <div class="explorer inline"> <div class="cats"> <div class="content"> <input type="hidden" name="id_cat" id="id_cat" value="{ID_CAT}"/> <ul> <li><a id="class-0" class="{CAT_0}" href="javascript:select_cat(0);"><i class="fa fa-folder"></i>{L_ROOT}</a></li> {CAT_LIST} </ul> </div> </div> </div> </div> </fieldset> <fieldset> <legend>{L_PROPERTIES}</legend> <div class="form-element"> <label for="count_hits">{L_COUNT_HITS}</label> <div class="form-field"><label><input type="checkbox" id="count_hits" name="count_hits" {COUNT_HITS_CHECKED}></label></div> </div> <div class="form-element"> <label for="comments_activated">{L_COMMENTS_ACTIVATED}</label> <div class="form-field"><label><input type="checkbox" id="comments_activated" name="comments_activated" {COMMENTS_ACTIVATED_CHECKED}></label></div> </div> <div class="form-element"> <label for="display_print_link">{L_DISPLAY_PRINT_LINK}</label> <div class="form-field"><label><input type="checkbox" id="display_print_link" name="display_print_link" {DISPLAY_PRINT_LINK_CHECKED}></label></div> </div> </fieldset> <fieldset> <legend>{L_AUTH}</legend> <div class="form-element"> <label for="own_auth">{L_OWN_AUTH}</label> <div class="form-field"><label><input type="checkbox" name="own_auth" id="own_auth" onclick="disable_own_auth();" {OWN_AUTH_CHECKED}></label></div> </div> <span id="own_auth_display" style="{DISPLAY}"> <div class="form-element"> <label>{L_READ_PAGE}</label> <div class="form-field">{SELECT_READ_PAGE}</div> </div> <div class="form-element"> <label>{L_EDIT_PAGE}</label> <div class="form-field">{SELECT_EDIT_PAGE}</div> </div> <div class="form-element"> <label>{L_READ_COM}</label> <div class="form-field">{SELECT_READ_COM}</div> </div> </span> </fieldset> <fieldset class="fieldset-submit"> <legend>{L_SUBMIT}</legend> <input type="hidden" name="id_edit" value="{ID_EDIT}"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" class="submit">{L_SUBMIT}</button> <button type="submit" name="preview" value="preview">{L_PREVIEW}</button> <button type="reset">{L_RESET}</button> </fieldset> </form>
Changed text
Open file
<script> <!-- var path = '{PICTURES_DATA_PATH}'; var selected_cat = {SELECTED_CAT}; function check_form_post(){ if(document.getElementById('title') && document.getElementById('title').value == "") { alert("{L_ALERT_TITLE}"); return false; } if(document.getElementById('contents').value == "") { alert("{L_ALERT_CONTENTS}"); return false; } return true; } var disabled = {OWN_AUTH_DISABLED}; function disable_own_auth() { if( disabled ) { disabled = false; jQuery("#own_auth_display").show(); } else { jQuery("#own_auth_display").hide(); disabled = true; } } --> </script> <script src="{PATH_TO_ROOT}/pages/templates/js/pages.js"></script> # INCLUDE message_helper # # START previewing # <article> <header> <h1>{L_PREVIEWING} {previewing.TITLE}</h1> </header> <div class="content">{previewing.PREVIEWING}</div> <footer></footer> </article> # END previewing # <form action="post.php" method="post" onsubmit="return check_form_post();" class="fieldset-content"> <fieldset> <legend>{L_TITLE_POST}</legend> # START create # <div class="form-element"> <label for="title">* {L_TITLE_FIELD}</label> <div class="form-field"><label><input type="text" id="title" name="title" maxlength="250" class="field-large" value="{PAGE_TITLE}"></label></div> </div> # END create # <div class="form-element-textarea"> <label for="contents">* {L_CONTENTS}</label> {KERNEL_EDITOR} <div class="form-field-textarea"> <textarea rows="25" id="contents" name="contents">{CONTENTS}</textarea> </div> </div> </fieldset> <fieldset> <legend>{L_PATH}</legend> <div class="form-element"> <label for="is_cat">{L_IS_CAT}</label> <div class="form-field"><label><input type="checkbox" name="is_cat" id="is_cat" {CHECK_IS_CAT}></label></div> </div> <div class="form-element"> <label>{L_CAT}</label> <div class="explorer inline"> <div class="cats"> <div class="content"> <input type="hidden" name="id_cat" id="id_cat" value="{ID_CAT}"/> <ul> <li><a id="class-0" class="{CAT_0}" href="javascript:select_cat(0);"><i class="fa fa-folder" aria-hidden="true"></i>{L_ROOT}</a></li> {CAT_LIST} </ul> </div> </div> </div> </div> </fieldset> <fieldset> <legend>{L_PROPERTIES}</legend> <div class="form-element"> <label for="count_hits">{L_COUNT_HITS}</label> <div class="form-field"><label><input type="checkbox" id="count_hits" name="count_hits" {COUNT_HITS_CHECKED}></label></div> </div> <div class="form-element"> <label for="comments_activated">{L_COMMENTS_ACTIVATED}</label> <div class="form-field"><label><input type="checkbox" id="comments_activated" name="comments_activated" {COMMENTS_ACTIVATED_CHECKED}></label></div> </div> <div class="form-element"> <label for="display_print_link">{L_DISPLAY_PRINT_LINK}</label> <div class="form-field"><label><input type="checkbox" id="display_print_link" name="display_print_link" {DISPLAY_PRINT_LINK_CHECKED}></label></div> </div> </fieldset> <fieldset> <legend>{L_AUTH}</legend> <div class="form-element"> <label for="own_auth">{L_OWN_AUTH}</label> <div class="form-field"><label><input type="checkbox" name="own_auth" id="own_auth" onclick="disable_own_auth();" {OWN_AUTH_CHECKED}></label></div> </div> <span id="own_auth_display" style="{DISPLAY}"> <div class="form-element"> <label>{L_READ_PAGE}</label> <div class="form-field">{SELECT_READ_PAGE}</div> </div> <div class="form-element"> <label>{L_EDIT_PAGE}</label> <div class="form-field">{SELECT_EDIT_PAGE}</div> </div> <div class="form-element"> <label>{L_READ_COM}</label> <div class="form-field">{SELECT_READ_COM}</div> </div> </span> </fieldset> <fieldset class="fieldset-submit"> <legend>{L_SUBMIT}</legend> <input type="hidden" name="id_edit" value="{ID_EDIT}"> <input type="hidden" name="token" value="{TOKEN}"> <button type="submit" class="submit">{L_SUBMIT}</button> <button type="submit" name="preview" value="preview">{L_PREVIEW}</button> <button type="reset">{L_RESET}</button> </fieldset> </form>
Find difference