<commit_before><load target="css/syndication.css" />
<load target="js/syndication.js" />

<h3 class="xeAdmin">{$lang->syndication} <span class="gray">{$lang->cmd_management}</span></h3>
<p class="summary">{$lang->about_syndication}</p>

{@$form_id = "modules/syndication/tpl/config.html"}
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == $form_id" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="insertService" action="./" method="post">
	<input type="hidden" name="xe_validator_id" value="{$form_id}" />
	<input type="hidden" name="act" value="procSyndicationAdminInsertConfig" />
    <input type="hidden" name="year" value="{$year}" />

    <table cellspacing="0" class="rowTable">	
    <tr>
        <th scope="row"><div>{$lang->help}</div></th>
        <td>
            <p>{$lang->about_syndication}</p>
            <p><a href="http://webmastertool.naver.com/syndi/status.naver" target="_blank">http://webmastertool.naver.com/syndi/status.naver</a></p>
        </td>
	</tr>

	<tr>
        <th scope="row"><div>{$lang->use}</div></th>
        <td>
            <select name="syndication_use">
                <option value="Y" selected="selected"|cond="$syndication_use=='Y'">{$lang->use}</option>
                <option value="N" selected="selected"|cond="$syndication_use=='N'">{$lang->notuse}</option>
            </select>
        <td>
	</tr>
	
    <tr>
        <th scope="row"><div>{$lang->my_syndication_url}</div></th>
        <td>
            http://<input type="text" id="site_url" name="site_url" value="{$site_url}" />
            <span class="button green"><input type="button" value="{$lang->cmd_check_syndication_echo}" onclick="pingCheck(jQuery('#site_url').val())" /></span>
            <p>{$lang->about_my_syndication_url}</p>
			<p class="ping_test_result"></p>
        </td>
    </tr>
    
    <tr>
        <th scope="row"><div>{$lang->my_syndication_password}</div></th>
        <td>
            <input type="text" id="syndication_password" name="syndication_password" value="{$<PASSWORD>}" />
            <p>{$lang->about_my_syndication_password}</p>
        </td>
    </tr>
    
    <tr>
        <th scope="row"><div>{$lang->naver_syndication_token}</div></th>
        <td>
			<input type="text" name="syndication_token" value="{$syndication_token}" id="syndication_token" style="width:90%"/>
            <p>{$lang->about_syndication}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->except_module}</div></th>
        <td>
            <select name="_except_module" id="_except_module" size="10" class="exceptModuleList">
                {@$except_module_srls = array()}
                <!--@foreach($except_module as $v)-->
                {@$except_module_srls[] = $v->module_srl}
                <option value="{$v->module_srl}">{$v->browser_title} ({$v->mid})</option>
                <!--@end-->
            </select>
            <ul class="midCommand">
                <li><a href="{getUrl('','module','module','act','dispModuleSelectList','id','except_module')}" onclick="popopen(this.href, 'ModuleSelect');return false;" class="button blue"><span>{$lang->cmd_insert}</span></a></li>
                <li><a href="#" onclick="removeExceptModule('except_module');return false;" class="button red"><span>{$lang->cmd_delete}</span></a></li>
            </ul>
            <p>{$lang->about_except_module}</p>
            <input type="hidden" name="except_module" id="except_module" value="{implode(',',$except_module_srls)}" />
        </td>
    </tr>
    <tr>
        <th colspan="2" class="button">
            <span class="button black strong"><input type="submit" value="{$lang->cmd_apply}" accesskey="s" /></span>
        </th>
    </tr>
    </table>
</form>

<div>
    <h2>Ping Fail log</h2>
    <ul>
        <li loop="$ping_log=>$obj">
            <span>{zdate($obj->regdate)}</span> / <span>{urldecode($obj->message)}</span>
        </li>
	</ul>
</div><commit_msg>신디케이션 모듈 관리자 화면 개선<commit_after><load target="css/syndication.css" />
<load target="js/syndication.js" />

<h3 class="xeAdmin">{$lang->syndication} <span class="gray">{$lang->cmd_management}</span></h3>
<p class="summary">{$lang->about_syndication}</p>

{@$form_id = "modules/syndication/tpl/config.html"}
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == $form_id" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="insertService" action="./" method="post">
	<input type="hidden" name="xe_validator_id" value="{$form_id}" />
	<input type="hidden" name="act" value="procSyndicationAdminInsertConfig" />
    <input type="hidden" name="year" value="{$year}" />

    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div>{$lang->help}</div></th>
        <td>
            <p>{$lang->about_syndication}</p>
            <p><a href="http://webmastertool.naver.com/syndi/status.naver" target="_blank">http://webmastertool.naver.com/syndi/status.naver</a></p>
        </td>
	</tr>

	<tr>
        <th scope="row"><div>{$lang->use}</div></th>
        <td>
            <select name="syndication_use">
                <option value="Y" selected="selected"|cond="$syndication_use=='Y'">{$lang->use}</option>
                <option value="N" selected="selected"|cond="$syndication_use=='N'">{$lang->notuse}</option>
            </select>
        <td>
	</tr>
	
    <tr>
        <th scope="row"><div>{$lang->my_syndication_url}</div></th>
        <td>
            http://<input type="text" id="site_url" name="site_url" value="{$site_url}" />
            <span class="btn"><input type="button" value="{$lang->cmd_check_syndication_echo}" onclick="pingCheck(jQuery('#site_url').val())" /></span>
            <p>{$lang->about_my_syndication_url}</p>
			<p class="ping_test_result"></p>
        </td>
    </tr>
    
    <tr>
        <th scope="row"><div>{$lang->my_syndication_password}</div></th>
        <td>
            <input type="text" id="syndication_password" name="syndication_password" value="{$<PASSWORD>}" />
            <p>{$lang->about_my_syndication_password}</p>
        </td>
    </tr>
    
    <tr>
        <th scope="row"><div>{$lang->naver_syndication_token}</div></th>
        <td>
			<input type="text" name="syndication_token" value="{$syndication_token}" id="syndication_token" style="width:90%"/>
            <p>{$lang->about_syndication}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->except_module}</div></th>
        <td>
            <select name="_except_module" id="_except_module" size="10" class="exceptModuleList">
                {@$except_module_srls = array()}
                <!--@foreach($except_module as $v)-->
                {@$except_module_srls[] = $v->module_srl}
                <option value="{$v->module_srl}">{$v->browser_title} ({$v->mid})</option>
                <!--@end-->
            </select>
            <ul class="midCommand">
                <li><span class="btn"><a href="{getUrl('','module','module','act','dispModuleSelectList','id','except_module')}" onclick="popopen(this.href, 'ModuleSelect');return false;" class="button blue">{$lang->cmd_insert}</a></span></li>
                <li><span class="btn"><a href="#" onclick="removeExceptModule('except_module');return false;" class="button red">{$lang->cmd_delete}</a></span></li>
            </ul>
            <p>{$lang->about_except_module}</p>
            <input type="hidden" name="except_module" id="except_module" value="{implode(',',$except_module_srls)}" />
        </td>
    </tr>
    <tr>
        <th colspan="2" class="button">
            <span class="btn"><input type="submit" value="{$lang->cmd_apply}" accesskey="s" /></span>
        </th>
    </tr>
    </table>
</form>

<div>
    <h2>Ping Fail log</h2>
    <ul>
        <li loop="$ping_log=>$obj">
            <span>{zdate($obj->regdate)}</span> / <span>{urldecode($obj->message)}</span>
        </li>
	</ul>
</div>
{'fraction_non_alphanumeric': 0.222278035916112, 'fraction_numerical': 0.0025116162250408136, 'mean_word_length': 3.137142857142857, 'pattern_counts': {'":': 0, '<': 275, '<?xml version=': 0, '>': 329, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7172011', 'n_tokens_mistral': 2763, 'n_tokens_neox': 2716, 'n_words': 368}