This commit is contained in:
2026-05-15 18:33:51 +02:00
parent 3601be572f
commit c980004309
8442 changed files with 783630 additions and 1 deletions

View File

@@ -0,0 +1,49 @@
<table width="100%" class="datagrid" cellpadding="4" cellspacing="1">
<tr>
<th>klucz</th>
<th>Wersja PL</th>
<th>Wersja EN</th>
{* <th>Wersja RU</th>*}
{* <th>Wersja DE</th>*}
<th width="60">
{*<a href="{url SimpleArticle_Index=Add}" onclick="return load(this);"><img src="{$urlStatic}/image/Admin/iconAdd.gif" alt="Dodaj" title="Dodaj" border="0"/></a>*}
&nbsp;
</th>
</tr>
{assign var=x value=1}
{foreach from=$arrayObjDict item=objWord name=word}
<tr {if $x==1}{assign var=x value=0}{else}{assign var=x value=1}class="even"{/if}>
<td>{$objWord->GetKeyword()}</td>
<td>{$objWord->GetReplacement()}</td>
<td>{$objWord->GetReplacementEn()}</td>
{* <td>{$objWord->GetReplacementDe()}</td>*}
{* <td>{$objWord->GetReplacementRu()}</td>*}
<td style="text-align: center;">
<a class="editItemTable" href="{url Dictionary=Edit id=$objWord->GetId()}" title="Edytuj" >Edytuj</a>
<a class="deleteItemTable" href="{url Dictionary=Delete id=$objWord->GetId()}" title="Usuń" >Usuń</a>
</td>
</tr>
{if $smarty.foreach.word.last}
<tr>
<td colspan="10" align="center" >
<div class="paging">
{insertPagination}
</div>
</td>
</tr>
{/if}
{foreachelse}
{if !isset($searchString) || $searchString == ""}
<tr>
<td colspan="5" style="text-align: center;">Brak elementów wyszukiwania</td>
</tr>
{/if}
{/foreach}
</table>

View File

@@ -0,0 +1,51 @@
<form method="post" action="{url Dictionary='Edit' id=$objDict->GetId()}" id="sendForm" enctype="multipart/form-data">
{assign var="additionalTitle" value=""}
{dropDownContainer title="Ogólne" additionalTitle=$additionalTitle}
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
<tbody>
<tr>
<td>Klucz</td>
<td>
{$objDict->GetKeyword()}
<input name="keyword" type="hidden" value="{$objDict->GetKeyword()}" />
</td>
</tr>
<tr>
<td>Wersja PL</td>
<td>
<textarea class="input420" name="replacement[pl]">{$objDict->GetReplacement()}</textarea>
</td>
</tr>
<tr>
<td>Wersja EN</td>
<td>
<textarea class="input420" name="replacement[en]">{$objDict->GetReplacementEn()}</textarea>
</td>
</tr>
<tr style="display: none;">
<td>Wersja RU</td>
<td>
<textarea class="input420" name="replacement[ru]">{$objDict->GetReplacementRu()}</textarea>
</td>
</tr>
<tr style="display: none;">
<td>Wersja DE</td>
<td>
<textarea class="input420" name="replacement[de]">{$objDict->GetReplacementDe()}</textarea>
</td>
</tr>
</tbody>
</table>
{/dropDownContainer}
<div class="clearBoth"></div>
<div class="panelButtons">
<input type="button" class="cancel" value="Anuluj" name="" onclick="document.location.href='{url Dictionary=Index}';"/>
<input type="submit" value="Zapisz" name="doDictEdit"/>
</div>
</form>

View File

@@ -0,0 +1,76 @@
<div class="panelRightTop"></div>
<div class="panelRightBody">
<div class="paddedContent">
{dropDownContainer isClose=false isHidden=false title="Wyszukiwarka"}
<form method="post" action="">
<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
<tbody>
<tr>
<td>Szukana Fraza:</td>
<td class="left"><input name="search" id="search" onkeyup="GetTableContent('{url Dictionary=AjaxIndex}', '#dictionaryTableContent', $('#search').val(), '#roleList');" /></td>
</tr>
{*<tr>
<td colspan="2" class="right">
<input class="button" type="submit" value="Wyszukaj"/> <input class="button" name="clear" type="submit" value="Wyczyść" />
</td>
</tr>*}
</tbody>
</table>
</form>
{/dropDownContainer}
{dropDownContainer title="Słownik" id="dictionaryTableContent"}
<table width="100%" class="datagrid" cellpadding="4" cellspacing="1">
<tr>
<th>klucz</th>
<th>Wersja PL</th>
<th>Wersja EN</th>
{* <th>Wersja RU</th>*}
{* <th>Wersja DE</th>*}
<th width="60">
{*<a href="{url SimpleArticle_Index=Add}" onclick="return load(this);"><img src="{$urlStatic}/image/Admin/iconAdd.gif" alt="Dodaj" title="Dodaj" border="0"/></a>*}
&nbsp;
</th>
</tr>
{assign var=x value=1}
{foreach from=$arrayObjDict item=objWord name=word}
<tr {if $x==1}{assign var=x value=0}{else}{assign var=x value=1}class="even"{/if}>
<td>{$objWord->GetKeyword()}</td>
<td>{$objWord->GetReplacement()}</td>
<td>{$objWord->GetReplacementEn()}</td>
{* <td>{$objWord->GetReplacementDe()}</td>*}
{* <td>{$objWord->GetReplacementRu()}</td>*}
<td style="text-align: center;">
<a class="editItemTable" href="{url Dictionary=Edit id=$objWord->GetId()}" title="Edytuj" >Edytuj</a>
<a class="deleteItemTable" href="{url Dictionary=Delete id=$objWord->GetId()}" title="Usuń" >Usuń</a>
</td>
</tr>
{if $smarty.foreach.word.last}
<tr>
<td colspan="10" align="center" >
<div class="paging">
{insertPagination}
</div>
</td>
</tr>
{/if}
{foreachelse}
{if !isset($searchString) || $searchString == ""}
<tr>
<td colspan="5" style="text-align: center;">Brak elementów</td>
</tr>
{/if}
{/foreach}
</table>
{/dropDownContainer}
</div><!-- /paddedContent -->
</div><!-- /panelRightBody -->
<div class="panelRightBottom"></div>