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>
尋找差異