|
|
@ -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"> |
|
|
|
<div class="title"> |
|
|
|
<h5>{#IMPORT_MODULE_NAME#}</h5> |
|
|
|
<h5>{#mod_name#}</h5> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="widget" style="margin-top: 0px;"> |
|
|
|
|
|
|
|
<div class="body"> |
|
|
|
|
|
|
|
{#IMPORT_EDIT_TIP#} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="breadCrumbHolder module"> |
|
|
|
<div class="breadCrumbHolder module"> |
|
|
|
<div class="breadCrumb module"> |
|
|
|
<div class="breadCrumb module"> |
|
|
|
<ul> |
|
|
|
<ul> |
|
|
|
<li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a></li> |
|
|
|
<li class="firstB"> |
|
|
|
<li><a href="index.php?do=modules&cp={$sess}">{#MODULES_SUB_TITLE#}</a></li> |
|
|
|
<a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a> |
|
|
|
<li>{#IMPORT_MODULE#}</li> |
|
|
|
</li> |
|
|
|
<li><strong class="code">{#IMPORT_MODULE_NAME#}</strong></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> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="widget first"> |
|
|
|
<div class="widget first"> |
|
|
|
<div class="head"> |
|
|
|
<div class="head"> |
|
|
|
<h5 class="iFrames">{#IMPORT_MODULE_NAME#}</h5> |
|
|
|
<h5 class="iFrames">{#imports#}</h5> |
|
|
|
<div class="num"> |
|
|
|
<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> |
|
|
|
</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> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<tr class="noborder"> |
|
|
|
<td width="10">{#IMPORT_ID#}</td> |
|
|
|
<td>ID</td> |
|
|
|
<td width="">{#IMPORT_NAME#}</td> |
|
|
|
<td>{#name#}</td> |
|
|
|
<td width="200">{#IMPORT_RUBRICS#}</td> |
|
|
|
<td>{#rub_name#}</td> |
|
|
|
<td width="200">{#IMPORT_PARSER#}</td> |
|
|
|
<td>{#parser#}</td> |
|
|
|
<td width="140">{#IMPORT_LAST_UPDATE#}</td> |
|
|
|
<td>{#time_edited#}</td> |
|
|
|
<td colspan="3">{#IMPORT_ACTIONS#}</td> |
|
|
|
<td>{#time_run#}</td> |
|
|
|
|
|
|
|
<td colspan="4">{#actions#}</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
|
{foreach from=$imports item=import} |
|
|
|
{foreach from=$imports item=import} |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td align="center"><strong>{$import->id}</strong></td> |
|
|
|
<td>{$import.id}</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> |
|
|
|
<td align="center"> |
|
|
|
<a class="topDir" href="index.php?do=modules&action=modedit&mod=import&moduleaction=edit&import_id={$import.id}&cp={$sess}" title="{#edit#}"> |
|
|
|
{foreach from=$rubs item=rub} |
|
|
|
<strong>{$import.name|escape|stripslashes}</strong> |
|
|
|
{if $rub->Id==$import->import_rub} |
|
|
|
</a> |
|
|
|
<strong class="code">{$rub->rubric_title}</strong> |
|
|
|
</td> |
|
|
|
{/if} |
|
|
|
<td align="center">{$import.rub_title|escape|stripslashes}</td> |
|
|
|
{/foreach} |
|
|
|
<td align="center">{$import.parser|escape|stripslashes}</td> |
|
|
|
</td> |
|
|
|
<td align="center" class="date_text nowrap">{$import.time_edited|date_format:$TIME_FORMAT|pretty_date}</td> |
|
|
|
<td align="center" class="dgrey nowrap">{$import->import_parser}</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" class="dgrey nowrap">{$import->import_last_update|date_format:"%Y-%m-%d %H:%M"}</td> |
|
|
|
<td align="center"> |
|
|
|
<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> |
|
|
|
<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 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> |
|
|
|
<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> |
|
|
|
<td align="center"> |
|
|
|
</tr> |
|
|
|
<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> |
|
|
|
{/foreach} |
|
|
|
</td> |
|
|
|
{if ! $imports} |
|
|
|
<td align="center"> |
|
|
|
<tr> |
|
|
|
<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 colspan="8"><ul class="messages"> |
|
|
|
</td> |
|
|
|
<li class="highlight yellow">{#IMPORT_NO_ITEMS#}</li> |
|
|
|
<td align="center"> |
|
|
|
</ul></td> |
|
|
|
<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> |
|
|
|
</tr> |
|
|
|
</td> |
|
|
|
{/if} |
|
|
|
</tr> |
|
|
|
|
|
|
|
{/foreach} |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
|
|
|
|
{if !$imports} |
|
|
|
|
|
|
|
<div class="rowElem"> |
|
|
|
|
|
|
|
<ul class="messages"> |
|
|
|
|
|
|
|
<li class="highlight yellow">{#noimports#}</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
{/if} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{if $page_nav} |
|
|
|
{if $page_nav} |
|
|
|
<div class="pagination"> |
|
|
|
<div class="pagination"> |
|
|
|