update
This commit is contained in:
65
Admin/template/partial/Mailing/Index.tpl
Normal file
65
Admin/template/partial/Mailing/Index.tpl
Normal file
@@ -0,0 +1,65 @@
|
||||
<div class="panelRightTop"></div>
|
||||
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
|
||||
{dropDownContainer title='Wysłane wiadomości'}
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
<table width="100%" class="datagrid" cellpadding="4" cellspacing="1" border="0">
|
||||
|
||||
<tr>
|
||||
<th width="20">lp.</th>
|
||||
<th>Temat</th>
|
||||
<th>Treść</th>
|
||||
<th>Status</th>
|
||||
<th>Testowe</th>
|
||||
<th class="light"><a href="{url mailing='send'}"><img src="{$urlStatic}/image/Admin/iconAdd.gif" alt="Dodaj" title="Dodaj" border="0"/></a></th>
|
||||
</tr>
|
||||
|
||||
{assign var=x value=1}
|
||||
{assign var=y value=$currentPage+1}
|
||||
{foreach item=objMailing from=$arrayObjMailing name=objMailing}
|
||||
{assign var=id value=$objMailing->GetId()}
|
||||
<tr {if $x==1}{assign var=x value=0}{else}{assign var=x value=1}class="even"{/if}>
|
||||
<td align="right"> {$y++} </td>
|
||||
<td> {$objMailing->GetTitle()} </td>
|
||||
<td> {$objMailing->GetTextClear()|truncate} </td>
|
||||
<td> {$objMailing->GetExecuted()|replace:"0":"w takcie"|replace:"1":"zakończono"} </td>
|
||||
<td align="center">{if $objMailing->GetExecuted() == 1} wysłany {else} <a href="{url mailing='getsend'}">wyślij</a>{/if}</td>
|
||||
<td align="center"> <a href="{url mailing='show' id=$id}">podgląd</a></td>
|
||||
</tr>
|
||||
{if $smarty.foreach.objMailing.last}
|
||||
{*
|
||||
<tr class="light">
|
||||
<td colspan="10" align="center" class="light" >
|
||||
<input type="submit" name="change" value=" Zapisz zmiany " class="button" >
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>*}
|
||||
<tr>
|
||||
<td colspan="10" align="center" >
|
||||
<div class="paging">
|
||||
{$pagination}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
</div>
|
||||
</div>
|
||||
<div class="panelRightBottom">
|
||||
<div class="panelButtons">
|
||||
{*<input type="button" class="button buttonAnuluj" value="" name="" onclick="javascript:document.location.href='{url _value=$controller,index}'"/>
|
||||
|
||||
<input type="submit" class="button buttonPodglad" value="" name=""/>
|
||||
<input type="button" class="button buttonZapisz" value="" name="saveStructure" onclick="{if $method != 'Index'} GetFromFCK('description'); GetFromFCK('shortnote'); {/if} Dosia.Form('sendForm'); return false;" />
|
||||
<input type="submit" class="button120 buttonZapiszIPublikuj" value="" name=""/>*}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user