Обновление файла.
This commit is contained in:
parent
b96192b3c1
commit
d1215469ed
@ -1,90 +1,91 @@
|
||||
<script type="text/javascript" language="JavaScript">
|
||||
$(document).ready(function(){ldelim}
|
||||
|
||||
$(".ConfirmDelete").click(function(e){ldelim}
|
||||
e.preventDefault();
|
||||
var href = $(this).attr('href');
|
||||
var title = $(this).attr('name');
|
||||
var confirm = $(this).attr('dir');
|
||||
jConfirm(
|
||||
confirm,
|
||||
title,
|
||||
function(b){ldelim}
|
||||
if (b){ldelim}
|
||||
$.alerts._overlay('show');
|
||||
window.location = href;
|
||||
{rdelim}
|
||||
{rdelim}
|
||||
);
|
||||
{rdelim});
|
||||
|
||||
{rdelim});
|
||||
</script>
|
||||
|
||||
<div class="title">
|
||||
<h5>{#IMPORT_MODULE_NAME#}</h5>
|
||||
</div>
|
||||
<div class="widget" style="margin-top: 0px;">
|
||||
<div class="body">
|
||||
{#IMPORT_EDIT_TIP#}
|
||||
</div>
|
||||
<h5>{#mod_name#}</h5>
|
||||
</div>
|
||||
<div class="breadCrumbHolder module">
|
||||
<div class="breadCrumb module">
|
||||
<ul>
|
||||
<li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a></li>
|
||||
<li><a href="index.php?do=modules&cp={$sess}">{#MODULES_SUB_TITLE#}</a></li>
|
||||
<li>{#IMPORT_MODULE#}</li>
|
||||
<li><strong class="code">{#IMPORT_MODULE_NAME#}</strong></li>
|
||||
<li class="firstB">
|
||||
<a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.php?do=modules&cp={$sess}">{#MODULES_SUB_TITLE#}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.php?do=modules&action=modedit&mod=import&moduleaction=1&cp={$sess}">{#mod_name#}</a>
|
||||
</li>
|
||||
<li>
|
||||
<strong class="code">{#imports#}</strong>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget first">
|
||||
<div class="head">
|
||||
<h5 class="iFrames">{#IMPORT_MODULE_NAME#}</h5>
|
||||
<h5 class="iFrames">{#imports#}</h5>
|
||||
<div class="num">
|
||||
<a class="basicNum" href="index.php?do=modules&action=modedit&mod=import&moduleaction=edit&cp={$sess}">{#IMPORT_ADD#}</a>
|
||||
<a class="basicNum" href="index.php?do=modules&action=modedit&mod=import&moduleaction=edit&cp={$sess}">{#import_add#}</a>
|
||||
</div>
|
||||
</div>
|
||||
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm">
|
||||
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic" id="importsTable">
|
||||
<colgroup>
|
||||
<col width="1" />
|
||||
<col width="*" />
|
||||
<col width="150" />
|
||||
<col width="80" />
|
||||
<col width="140" />
|
||||
<col width="140" />
|
||||
<col width="1" />
|
||||
<col width="1" />
|
||||
<col width="1" />
|
||||
<col width="1" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<td width="10">{#IMPORT_ID#}</td>
|
||||
<td width="">{#IMPORT_NAME#}</td>
|
||||
<td width="200">{#IMPORT_RUBRICS#}</td>
|
||||
<td width="200">{#IMPORT_PARSER#}</td>
|
||||
<td width="140">{#IMPORT_LAST_UPDATE#}</td>
|
||||
<td colspan="3">{#IMPORT_ACTIONS#}</td>
|
||||
<tr class="noborder">
|
||||
<td>ID</td>
|
||||
<td>{#name#}</td>
|
||||
<td>{#rub_name#}</td>
|
||||
<td>{#parser#}</td>
|
||||
<td>{#time_edited#}</td>
|
||||
<td>{#time_run#}</td>
|
||||
<td colspan="4">{#actions#}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$imports item=import}
|
||||
<tr>
|
||||
<td align="center"><strong>{$import->id}</strong></td>
|
||||
<td><a class="topDir" title="{#IMPORT_EDIT_HINT#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=edit&cp={$sess}&id={$import->id}"><strong> {$import->import_name|escape}</strong></a></td>
|
||||
<td align="center">
|
||||
{foreach from=$rubs item=rub}
|
||||
{if $rub->Id==$import->import_rub}
|
||||
<strong class="code">{$rub->rubric_title}</strong>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
<td align="center" class="dgrey nowrap">{$import->import_parser}</td>
|
||||
<td align="center" class="dgrey nowrap">{$import->import_last_update|date_format:"%Y-%m-%d %H:%M"}</td>
|
||||
<td width="1%" align="center"><a class="topleftDir icon_sprite ico_start" title="{#IMPORT_DO_HINT#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=do&cp={$sess}&id={$import->id}"></a></td>
|
||||
<td width="1%" align="center"><a class="topleftDir icon_sprite ico_edit" title="{#IMPORT_EDIT_HINT#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=edit&cp={$sess}&id={$import->id}"></a></td>
|
||||
<td width="1%" align="center"><a class="topleftDir ConfirmDelete icon_sprite ico_delete" dir="{#IMPORT_DEL_HINT#}" name="{#IMPORT_DELETE_HINT#}" title="{#IMPORT_DELETE_HINT#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=del&cp={$sess}&id={$import->id}"></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{if ! $imports}
|
||||
<tr>
|
||||
<td colspan="8"><ul class="messages">
|
||||
<li class="highlight yellow">{#IMPORT_NO_ITEMS#}</li>
|
||||
</ul></td>
|
||||
</tr>
|
||||
{/if}
|
||||
{foreach from=$imports item=import}
|
||||
<tr>
|
||||
<td>{$import.id}</td>
|
||||
<td>
|
||||
<a class="topDir" href="index.php?do=modules&action=modedit&mod=import&moduleaction=edit&import_id={$import.id}&cp={$sess}" title="{#edit#}">
|
||||
<strong>{$import.name|escape|stripslashes}</strong>
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">{$import.rub_title|escape|stripslashes}</td>
|
||||
<td align="center">{$import.parser|escape|stripslashes}</td>
|
||||
<td align="center" class="date_text nowrap">{$import.time_edited|date_format:$TIME_FORMAT|pretty_date}</td>
|
||||
<td align="center" class="date_text nowrap">{if $import.time_run}{$import.time_run|date_format:$TIME_FORMAT|pretty_date}{/if}</td>
|
||||
<td align="center">
|
||||
<a class="topDir icon_sprite ico_start" title="{#run#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=run&import_id={$import.id}&cp={$sess}"></a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a class="topDir icon_sprite ico_edit" title="{#edit#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=edit&import_id={$import.id}&cp={$sess}"></a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a class="topDir icon_sprite ico_copy" title="{#copy#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=copy&import_id={$import.id}&cp={$sess}"></a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a class="topleftDir icon_sprite ico_delete ConfirmDelete" dir="{#delete_t#}" name="{#delete_m#}" title="{#delete#}" href="index.php?do=modules&action=modedit&mod=import&moduleaction=delete&import_id={$import.id}&cp={$sess}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{if !$imports}
|
||||
<div class="rowElem">
|
||||
<ul class="messages">
|
||||
<li class="highlight yellow">{#noimports#}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{if $page_nav}
|
||||
<div class="pagination">
|
||||
@ -92,4 +93,4 @@ $(document).ready(function(){ldelim}
|
||||
{$page_nav}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
Loading…
x
Reference in New Issue
Block a user