mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<!--#include("header.html")-->
|
|
<!--%import("filter/delete_alias.xml")-->
|
|
|
|
<form ruleset="deleteAlias" id="deleteForm" action="./" method="post">
|
|
<input type="hidden" name="module" value="document" />
|
|
<input type="hidden" name="act" value="procDocumentAdminDeleteAlias" />
|
|
<input type="hidden" id="target_srl" name="target_srl" value="" />
|
|
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
|
</form>
|
|
|
|
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/document/tpl/document_alias/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
|
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
|
</div>
|
|
<form ruleset="insertAlias" action="{Context::getRequestUri()}" method="post">
|
|
<input type="hidden" name="module" value="document" />
|
|
<input type="hidden" name="act" value="procDocumentAdminInsertAlias" />
|
|
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
|
<input type="hidden" name="module_srl" value="{$oDocument->get('module_srl')}" />
|
|
<input type="hidden" name="xe_validator_id" value="modules/document/tpl/document_alias/1" />
|
|
|
|
<h1>{$lang->alias}</h1>
|
|
<table class="x_table x_table-striped x_table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">{$lang->title}</th>
|
|
<th scope="col">{$lang->alias}</th>
|
|
<th scope="col"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="{count($aliases)+1}">{$oDocument->getTitle()}</td>
|
|
{@ $bFirst = true; }
|
|
<!--@foreach($aliases as $val)-->
|
|
<!--@if(!$bFirst)-->
|
|
<tr>
|
|
{@ $bFirst = false; }
|
|
<!--@end-->
|
|
<td>{$val->alias_title}</td>
|
|
<td><button type="button" onclick="deleteByFilter('{$val->alias_srl}', delete_alias);">Delete</button>
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
<!--@if(!$bFirst)-->
|
|
<tr>
|
|
<!--@end-->
|
|
<td>
|
|
<input type="text" name="alias_title" />
|
|
</td>
|
|
<td><input class="btn" type="submit" value="{$lang->cmd_registration}" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|