first commit
This commit is contained in:
64
_rejestracja/_Admin/template/partial/Config/Add.tpl
Normal file
64
_rejestracja/_Admin/template/partial/Config/Add.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
<h1>Dodaj Grupę</h1>
|
||||
<script language="javascript" type="text/javascript">
|
||||
urlStatic = '{$urlStatic}';
|
||||
</script>
|
||||
|
||||
<form method="post" action="{url Config='Add'}" enctype="multipart/form-data">
|
||||
{if isset($obj)}
|
||||
<input type="hidden" name="id" value="{$obj->GetId()}" />
|
||||
{/if}
|
||||
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{assign var="additionalTitle" value=""}
|
||||
|
||||
{dropDownContainer title="Ogólne" additionalTitle=$additionalTitle}
|
||||
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="commonTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Nazwa:</td>
|
||||
<td>
|
||||
{formField name='name' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getName'}
|
||||
{if isset($error.name)}<div style="color: red;" id="actionError" class="validate">{$error.name}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Opis:</td>
|
||||
<td class="left">
|
||||
<textarea name="description" cols="54" rows="5">{$obj->GetDescription()}</textarea>
|
||||
{if isset($error.description)}<div style="color: red;" id="actionError">{$error.description}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Publikuj:</td>
|
||||
<td>{formField type='checkbox' name='publication' obj='obj' func='GetPublication'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kolejność:</td>
|
||||
<td>
|
||||
{formField name='weight' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getWeight'}
|
||||
{if isset($error.weight)}<div style="color: red;" id="actionError" class="validate">{$error.weight}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="panelButtons">
|
||||
{if isset($idStructure)}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url label=editStructure id=$idStructure}'" />
|
||||
{else}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url Config=Index}'"/>
|
||||
{/if}
|
||||
|
||||
<input type="submit" value="Zapisz" name="doCategoryAdd"/>
|
||||
</div>
|
||||
<input type="hidden" name="descriptionHidden" id="descriptionHidden" value="" />
|
||||
<input type="hidden" name="shortnoteHidden" id="shortnoteHidden" value="" />
|
||||
</form>
|
||||
69
_rejestracja/_Admin/template/partial/Config/AddElement.tpl
Normal file
69
_rejestracja/_Admin/template/partial/Config/AddElement.tpl
Normal file
@@ -0,0 +1,69 @@
|
||||
<h1>Dodaj Grupę</h1>
|
||||
<script language="javascript" type="text/javascript">
|
||||
urlStatic = '{$urlStatic}';
|
||||
</script>
|
||||
|
||||
<form method="post" action="{url Config='AddElement' idMain=$idMain}" enctype="multipart/form-data">
|
||||
<input type="hidden" name="idMain" value="{$idMain}" />
|
||||
{if isset($obj)}
|
||||
<input type="hidden" name="id" value="{$obj->GetId()}" />
|
||||
{/if}
|
||||
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{assign var="additionalTitle" value=""}
|
||||
|
||||
{dropDownContainer title="Ogólne" additionalTitle=$additionalTitle}
|
||||
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="commonTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Nazwa:</td>
|
||||
<td>
|
||||
{formField name='name' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getName'}
|
||||
{if isset($error.name)}<div style="color: red;" id="actionError" class="validate">{$error.name}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Opis:</td>
|
||||
<td class="left">
|
||||
<textarea name="description" cols="54" rows="5">{$obj->GetDescription()}</textarea>
|
||||
{if isset($error.description)}<div style="color: red;" id="actionError">{$error.description}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Publikuj:</td>
|
||||
<td>{formField type='checkbox' name='publication' obj='obj' func='GetPublication'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pole inne:</td>
|
||||
<td>{formField type='checkbox' name='other' obj='obj' func='GetOther'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kolejność:</td>
|
||||
<td>
|
||||
{formField name='weight' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getWeight'}
|
||||
{if isset($error.weight)}<div style="color: red;" id="actionError" class="validate">{$error.weight}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="panelButtons">
|
||||
{if isset($idMain)}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url Config=Edit id=$idMain}'" />
|
||||
{else}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url Config=Index}'"/>
|
||||
{/if}
|
||||
|
||||
<input type="submit" value="Zapisz" name="doCategoryAdd"/>
|
||||
</div>
|
||||
<input type="hidden" name="descriptionHidden" id="descriptionHidden" value="" />
|
||||
<input type="hidden" name="shortnoteHidden" id="shortnoteHidden" value="" />
|
||||
</form>
|
||||
43
_rejestracja/_Admin/template/partial/Config/AjaxArchive.tpl
Normal file
43
_rejestracja/_Admin/template/partial/Config/AjaxArchive.tpl
Normal file
@@ -0,0 +1,43 @@
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerTop"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a> <a href="#">usuń</a>
|
||||
</td>*}
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="noSort"><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
||||
<th class="noSort">Klient<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort">Konfiguracja<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort">Data Dodania<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort">Status<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort"> </th>
|
||||
</tr>
|
||||
{assign var=x value=0}
|
||||
{foreach from=$arrayObj item=obj}
|
||||
{assign var=x value=$x+1}
|
||||
{assign var=id value=$obj->GetId()}
|
||||
<tr>
|
||||
<td>{$x}</td>
|
||||
<td>
|
||||
{$obj->GetLastName()} {$obj->GetName()}<br />
|
||||
Firma: {$obj->GetCompany()}<br />
|
||||
Email: {$obj->GetEmail()}<br />
|
||||
tel. {$obj->GetPhone()}<br />
|
||||
|
||||
</td>
|
||||
<td>{$obj->getDescription()|replace:'<ul>':'<ul id="configList">'}</td>
|
||||
<td>{$obj->getDateAdd()}</td>
|
||||
<td>{$obj->GetStatus()|replace:0:"Nowe"|replace:1:"W takcie"|replace:2:"Zakończone"}</td>
|
||||
<td style="width:15px">
|
||||
<a href="{url Config=ShowArchive id=$id}" class="read">zobacz</a>{*<a href="{url Config=DeleteArchive id=$id}" class="delete">usuń</a>*}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr class="selAllRow">
|
||||
<td colspan="10" class="selAllRow" >
|
||||
<div class="paging">
|
||||
{insertPagination _class='pager'}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
67
_rejestracja/_Admin/template/partial/Config/Archive.tpl
Normal file
67
_rejestracja/_Admin/template/partial/Config/Archive.tpl
Normal file
@@ -0,0 +1,67 @@
|
||||
<h1>Zapytania - konfigurator</h1>
|
||||
|
||||
{dropDownContainer title='Lista konfiguracji'}
|
||||
<div class="searchBox">
|
||||
Firma: <input name="search" id="search" onkeyup="GetTableContent('{url Config=AjaxArchive}', '#tableContentClient', $('#search').val(), $('#roleList').val());" />
|
||||
Status: <select name="statusList" id="statusList" onchange="GetTableContent('{url Config=AjaxArchive}', '#tableContentClient', $('#search').val(), $('#statusList').val());">
|
||||
<option value="all">
|
||||
Wszystkie
|
||||
</option>
|
||||
<option value="0">
|
||||
Nowe
|
||||
</option>
|
||||
<option value="1">
|
||||
W takcie
|
||||
</option>
|
||||
<option value="2">
|
||||
Zakończone
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="tableContentClient">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerTop"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a> <a href="#">usuń</a>
|
||||
</td>*}
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="noSort"><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
||||
<th class="noSort">Klient<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort">Konfiguracja<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort">Data Dodania<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort">Status<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort"> </th>
|
||||
</tr>
|
||||
{assign var=x value=0}
|
||||
{foreach from=$arrayObj item=obj}
|
||||
{assign var=x value=$x+1}
|
||||
{assign var=id value=$obj->GetId()}
|
||||
<tr>
|
||||
<td>{$x}</td>
|
||||
<td>
|
||||
{$obj->GetLastName()} {$obj->GetName()}<br />
|
||||
Firma: {$obj->GetCompany()}<br />
|
||||
Email: {$obj->GetEmail()}<br />
|
||||
tel. {$obj->GetPhone()}<br />
|
||||
|
||||
</td>
|
||||
<td>{$obj->getDescription()|replace:'<ul>':'<ul id="configList">'}</td>
|
||||
<td>{$obj->getDateAdd()}</td>
|
||||
<td>{$obj->GetStatus()|replace:0:"Nowe"|replace:1:"W takcie"|replace:2:"Zakończone"}</td>
|
||||
<td style="width:15px">
|
||||
<a href="{url Config=ShowArchive id=$id}" class="read">zobacz</a>{*<a href="{url Config=DeleteArchive id=$id}" class="delete">usuń</a>*}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr class="selAllRow">
|
||||
<td colspan="10" class="selAllRow" >
|
||||
<div class="paging">
|
||||
{insertPagination _class='pager'}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
{/dropDownContainer}
|
||||
103
_rejestracja/_Admin/template/partial/Config/Edit.tpl
Normal file
103
_rejestracja/_Admin/template/partial/Config/Edit.tpl
Normal file
@@ -0,0 +1,103 @@
|
||||
<h1>Edytuj Grupę</h1>
|
||||
<script language="javascript" type="text/javascript">
|
||||
urlStatic = '{$urlStatic}';
|
||||
</script>
|
||||
|
||||
{assign var=id value=$obj->GetId()}
|
||||
<form method="post" action="{url Config='Edit' id=$obj->GetId()}" enctype="multipart/form-data">
|
||||
{if isset($obj)}
|
||||
<input type="hidden" name="id" value="{$obj->GetId()}" />
|
||||
{/if}
|
||||
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{assign var="additionalTitle" value=""}
|
||||
|
||||
{dropDownContainer title="Ogólne" additionalTitle=$additionalTitle}
|
||||
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="commonTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Nazwa:</td>
|
||||
<td>
|
||||
{formField name='name' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getName'}
|
||||
{if isset($error.name)}<div style="color: red;" id="actionError" class="validate">{$error.name}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Opis:</td>
|
||||
<td class="left">
|
||||
<textarea name="description" cols="54" rows="5">{$obj->GetDescription()}</textarea>
|
||||
{if isset($error.description)}<div style="color: red;" id="actionError">{$error.description}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Publikuj:</td>
|
||||
<td>{formField type='checkbox' name='publication' obj='obj' func='GetPublication'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kolejność:</td>
|
||||
<td>
|
||||
{formField name='weight' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getWeight'}
|
||||
{if isset($error.name)}<div style="color: red;" id="actionError" class="validate">{$error.weight}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
|
||||
|
||||
{dropDownContainer title="Elementy grupy" additionalTitle=$additionalTitle}
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerTop"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a> <a href="#">usuń</a>
|
||||
</td>*}
|
||||
</tr>
|
||||
<tr>
|
||||
{*<td class="selAll"> </td> *}
|
||||
<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
||||
<th>Nazwa<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
{*<th>Wartość<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>*}
|
||||
<th class="noSort">Publikuj<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort"><a href="{url Config=AddElement idMain=$id}" class="add">Dodaj</a> <div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
</tr>
|
||||
{assign var=x value=0}
|
||||
{assign value=$obj->getStepElement() var=arrayObjElement}
|
||||
{foreach from=$arrayObjElement item=objStepElement}
|
||||
{assign var=x value=$x+1}
|
||||
{assign var=idElement value=$objStepElement->GetId()}
|
||||
<tr>
|
||||
{*<td class="selAll"><input name="Checkbox1" type="checkbox" /></td> *}
|
||||
<td>{$x}</td>
|
||||
<td><a href="{url Config=EditElement id=$idElement idMain=$id}" title="edytuj">{$objStepElement->GetName()}</a></td>
|
||||
<td>{$obj->GetPublication()}</td>
|
||||
<td style="width:15px">
|
||||
<a href="{url Config=EditElement id=$idElement idMain=$id}" class="edit">edytuj</a><a href="{url Config=DeleteElement id=$idElement idMain=$id}" class="delete">usuń</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerBottom"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a><a href="#">usuń</a>
|
||||
|
||||
<div class="pager"><div class="perpage">wyświetl:<br/><select id="perpage" class="tiny " name="#"><option>10</option><option>25</option><option>50</option><option>100</option></select></div><a href="#" class="prvnext">« poprzednia</a><a href="#">1</a><a class="active" href="#">2</a><a href="#">3</a>...<a href="#">50</a><a href="#">51</a><a href="#">52</a>...<a href="#">100</a><a class="prvnext" href="#">następna »</a></div></td> *}
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="panelButtons">
|
||||
{if isset($idStructure)}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url label=editStructure id=$idStructure}'" />
|
||||
{else}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url Config=Index}'"/>
|
||||
{/if}
|
||||
|
||||
<input type="submit" value="Zapisz" name="doCategoryEdit"/>
|
||||
</div>
|
||||
<input type="hidden" name="descriptionHidden" id="descriptionHidden" value="" />
|
||||
<input type="hidden" name="shortnoteHidden" id="shortnoteHidden" value="" />
|
||||
</form>
|
||||
68
_rejestracja/_Admin/template/partial/Config/EditElement.tpl
Normal file
68
_rejestracja/_Admin/template/partial/Config/EditElement.tpl
Normal file
@@ -0,0 +1,68 @@
|
||||
<h1>Edytuj Grupę</h1>
|
||||
<script language="javascript" type="text/javascript">
|
||||
urlStatic = '{$urlStatic}';
|
||||
</script>
|
||||
|
||||
{assign var=id value=$obj->GetId()}
|
||||
<form method="post" action="{url Config='EditElement' id=$obj->GetId() idMain=$idMain}" enctype="multipart/form-data">
|
||||
<input type="hidden" name="idMain" value="{$idMain}" />
|
||||
{if isset($obj)}
|
||||
<input type="hidden" name="id" value="{$obj->GetId()}" />
|
||||
{/if}
|
||||
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
{assign var="additionalTitle" value=""}
|
||||
|
||||
{dropDownContainer title="Ogólne" additionalTitle=$additionalTitle}
|
||||
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="commonTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Nazwa:</td>
|
||||
<td>
|
||||
{formField name='name' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getName'}
|
||||
{if isset($error.name)}<div style="color: red;" id="actionError" class="validate">{$error.name}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Opis:</td>
|
||||
<td class="left">
|
||||
<textarea name="description" cols="54" rows="5">{$obj->GetDescription()}</textarea>
|
||||
{if isset($error.description)}<div style="color: red;" id="actionError">{$error.description}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Publikuj:</td>
|
||||
<td>{formField type='checkbox' name='publication' obj='obj' func='GetPublication'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pole inne:</td>
|
||||
<td>{formField type='checkbox' name='other' obj='obj' func='GetOther'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kolejność:</td>
|
||||
<td>
|
||||
{formField name='weight' class='inputWidth141 input100percent' errorClass='validate' type='text' obj='obj' func='getWeight'}
|
||||
{if isset($error.name)}<div style="color: red;" id="actionError" class="validate">{$error.weight}</div>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/dropDownContainer}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="cb"></div>
|
||||
<div class="panelButtons">
|
||||
{if isset($idMain)}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url Config=Edit id=$idMain}'" />
|
||||
{else}
|
||||
<input type="button" value="Anuluj" class="cancel" onclick="document.location.href='{url Config=Index}'"/>
|
||||
{/if}
|
||||
|
||||
<input type="submit" value="Zapisz" name="doCategoryEdit"/>
|
||||
</div>
|
||||
<input type="hidden" name="descriptionHidden" id="descriptionHidden" value="" />
|
||||
<input type="hidden" name="shortnoteHidden" id="shortnoteHidden" value="" />
|
||||
</form>
|
||||
40
_rejestracja/_Admin/template/partial/Config/Index.tpl
Normal file
40
_rejestracja/_Admin/template/partial/Config/Index.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
<h1>Konfigurator</h1>
|
||||
|
||||
{dropDownContainer title='Grupy'}
|
||||
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerTop"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a> <a href="#">usuń</a>
|
||||
</td>*}
|
||||
</tr>
|
||||
<tr>
|
||||
{*<td class="selAll"> </td> *}
|
||||
<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
||||
<th>Nazwa<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
{*<th>Wartość<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>*}
|
||||
<th class="noSort">Publikuj<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
<th class="noSort"><a href="{url Config=Add}" class="add">Dodaj</a> <div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
||||
</tr>
|
||||
{assign var=x value=0}
|
||||
{foreach from=$arrayObj item=obj}
|
||||
{assign var=x value=$x+1}
|
||||
{assign var=id value=$obj->GetId()}
|
||||
<tr>
|
||||
{*<td class="selAll"><input name="Checkbox1" type="checkbox" /></td> *}
|
||||
<td>{$x}</td>
|
||||
<td><a href="{url Config=Edit id=$id}" title="edytuj">{$obj->GetName()}</a></td>
|
||||
<td>{$obj->GetPublication()}</td>
|
||||
<td style="width:15px">
|
||||
<a href="{url Config=Edit id=$id}" class="edit">edytuj</a><a href="{url Config=Delete id=$id}" class="delete">usuń</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerBottom"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a><a href="#">usuń</a>
|
||||
|
||||
<div class="pager"><div class="perpage">wyświetl:<br/><select id="perpage" class="tiny " name="#"><option>10</option><option>25</option><option>50</option><option>100</option></select></div><a href="#" class="prvnext">« poprzednia</a><a href="#">1</a><a class="active" href="#">2</a><a href="#">3</a>...<a href="#">50</a><a href="#">51</a><a href="#">52</a>...<a href="#">100</a><a class="prvnext" href="#">następna »</a></div></td> *}
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
{/dropDownContainer}
|
||||
67
_rejestracja/_Admin/template/partial/Config/ShowArchive.tpl
Normal file
67
_rejestracja/_Admin/template/partial/Config/ShowArchive.tpl
Normal file
@@ -0,0 +1,67 @@
|
||||
<h1>Konfiguracja CRM</h1>
|
||||
|
||||
{dropDownContainer title="Ogólne"}
|
||||
|
||||
|
||||
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="commonTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Klient:</td>
|
||||
<td>
|
||||
{$obj->GetLastName()} {$obj->GetName()}<br />
|
||||
Firma: {$obj->GetCompany()}<br />
|
||||
Email: {$obj->GetEmail()}<br />
|
||||
tel. {$obj->GetPhone()}<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Konfiguracja:</td>
|
||||
<td>
|
||||
{$obj->getDescription()|replace:'<ul>':'<ul id="configList">'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Data dodania:</td>
|
||||
<td>
|
||||
{$obj->getDateAdd()}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Status: </td>
|
||||
<td>
|
||||
<div class="left">
|
||||
<select name="status" id="status" onchange="StatusConfigArchive('{url Config=AjaxArchiveStatus}', {$obj->GetId()}, $('#status').val());" class="left">
|
||||
<option value="all">
|
||||
Wszystkie
|
||||
</option>
|
||||
<option value="0" {if $obj->GetStatus() ==0}selected{/if}>
|
||||
Nowe
|
||||
</option>
|
||||
<option value="1" {if $obj->GetStatus() ==1}selected{/if}>
|
||||
W takcie
|
||||
</option>
|
||||
<option value="2" {if $obj->GetStatus() ==2}selected{/if}>
|
||||
Zakończone
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id="statusInfo"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="button" value="Wróć" class="cancel" onclick="document.location.href='{url Config=Archive}'"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
{/dropDownContainer}
|
||||
Reference in New Issue
Block a user