Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
7年前
差异永不过期
清除
导出
分享
解释
8 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
134 行
全部复制
3 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
134 行
全部复制
<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>
复制
已复制
复制
已复制
# INCLUDE message_helper #
# INCLUDE message_helper #
复制
已复制
复制
已复制
# 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 #
复制
已复制
复制
已复制
<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>
复制
已复制
复制
已复制
</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>
复制
已复制
复制
已复制
<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>
复制
已复制
复制
已复制
<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>
复制
已复制
复制
已复制
<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>
复制
已复制
复制
已复制
<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>
已保存差异
原始文本
打开文件
<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>
更改后文本
打开文件
<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>
查找差异