| 1348 |
lars |
1 |
{include file="header.tpl"}
|
|
|
2 |
<!-- $Id: dokuadmin.tpl 2043 2017-02-17 23:14:26Z lars $ -->
|
|
|
3 |
{if isset($user_rechte.Warenwirtschaft.dokuadmin.suche)}
|
|
|
4 |
<form method="post" id="search_form">
|
|
|
5 |
<table cellpadding="3" cellspacing="0" border="0" width="100%">
|
|
|
6 |
<tr class="links" align="left">
|
|
|
7 |
<td class="headline">Dokumentensuche</th>
|
|
|
8 |
</tr>
|
|
|
9 |
<tr class="links">
|
|
|
10 |
<td class="links" >Dateiname:
|
|
|
11 |
|
|
|
12 |
<input type="text" name="search_title" id="search_title" value="{$smarty.post.search_title}"/>
|
|
|
13 |
<button id="doc_search">Suche starten</button>
|
|
|
14 |
</td>
|
|
|
15 |
|
|
|
16 |
</tr>
|
|
|
17 |
</table>
|
|
|
18 |
</form>
|
|
|
19 |
{/if}
|
|
|
20 |
|
|
|
21 |
<style>
|
|
|
22 |
.headline , .headline a:link, .headline a:visited{
|
|
|
23 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
24 |
font-size: 10pt;
|
|
|
25 |
font-weight:bold;
|
|
|
26 |
color:black !important;
|
|
|
27 |
}
|
|
|
28 |
</style>
|
|
|
29 |
<table class="keinRand" cellpadding="3" cellspacing="0" border="0" width="100%">
|
|
|
30 |
<tr class="links">
|
|
|
31 |
<td class="headline" style="text-align:left !important;">
|
|
|
32 |
<a href="{$SCRIPT_NAME}?sort=document&dir={$sort.document.dir}">Dokumentart</a>
|
|
|
33 |
</td>
|
|
|
34 |
<td class="headline" style="text-align:left !important;">
|
|
|
35 |
<a href="{$SCRIPT_NAME}?sort=document&dir={$sort.document.dir}">Dokumentname</a>
|
|
|
36 |
</td>
|
|
|
37 |
<td class="headline" style="text-align:left !important;">
|
|
|
38 |
<a href="{$SCRIPT_NAME}?sort=letzte_aenderung_am&dir={$sort.letzte_aenderung_am.dir}">Datum</a>
|
|
|
39 |
</td>
|
|
|
40 |
<td class="headline" style="text-align:left !important;">
|
|
|
41 |
<a href="{$SCRIPT_NAME}?sort=letzte_aenderung_am&dir={$sort.letzte_aenderung_am.dir}">Zeit</a>
|
|
|
42 |
</td>
|
|
|
43 |
<td class="headline" style="text-align:left !important;">
|
|
|
44 |
<a href="{$SCRIPT_NAME}?sort=letzte_aenderung_von&dir={$sort.letzte_aenderung_von.dir}">Ersteller</a>
|
|
|
45 |
</td>
|
|
|
46 |
<td class="headline" style="text-align:left !important;">Vorgang</td>
|
|
|
47 |
<td>
|
| 2043 |
lars |
48 |
<img src="/images/navigation/trashcan.gif" alt="Löschen" title="Löschen"/>
|
| 1348 |
lars |
49 |
</td>
|
|
|
50 |
</tr>
|
|
|
51 |
{section loop=$dokumente name=d_ind}
|
|
|
52 |
{cycle values=', gerade' assign='class'}
|
|
|
53 |
<tr class="rechts {$class}" >
|
|
|
54 |
<td style="text-align:left !important;">{$dokumente[d_ind].docu_type}</td>
|
|
|
55 |
<td style="text-align:left !important;">
|
|
|
56 |
{if $dokumente[d_ind].docu_type == "Link"}
|
|
|
57 |
<a href="{$dokumente[d_ind].link}" target="{$dokumente[d_ind].target}">
|
|
|
58 |
{$dokumente[d_ind].name|basename}
|
|
|
59 |
</a>
|
|
|
60 |
{else}
|
|
|
61 |
<a href="{$dok_domain}/images/dokumente/{$dokumente[d_ind].name}" target="_blank">
|
|
|
62 |
{$dokumente[d_ind].name|basename}
|
|
|
63 |
</a>
|
|
|
64 |
{/if}
|
|
|
65 |
</td>
|
|
|
66 |
<td style="text-align:left !important;">
|
|
|
67 |
{$dokumente[d_ind].date|date_format:"%x"}
|
|
|
68 |
</td>
|
|
|
69 |
<td style="text-align:left !important;">
|
|
|
70 |
{$dokumente[d_ind].date|date_format:"H:i"} Uhr
|
|
|
71 |
</td>
|
|
|
72 |
<td style="text-align:left !important;">
|
|
|
73 |
{$dokumente[d_ind].author}
|
|
|
74 |
</td>
|
|
|
75 |
<td style="text-align:left !important;">
|
|
|
76 |
{if $dokumente[d_ind].valid==true}
|
| 2043 |
lars |
77 |
<a href="/order/edit/{$dokumente[d_ind].data_foreign}">zum Vorgang</a>
|
| 1348 |
lars |
78 |
{else}
|
|
|
79 |
kein Vorgang
|
|
|
80 |
{/if}
|
|
|
81 |
</td>
|
|
|
82 |
<td style="text-align:left !important;">
|
| 1357 |
lars |
83 |
{if $dokumente[d_ind].deletable && isset($user_rechte.Warenwirtschaft.bestellung.dokument_delete)}
|
| 1348 |
lars |
84 |
<a href="{$SCRIPT_NAME}?mode=del&id={$dokumente[d_ind].ID}&p_id={$p_id}&sort={$sort}">
|
| 2043 |
lars |
85 |
<img src="/images/navigation/trashcan.gif" alt="Löschen" title="Löschen" onclick="return confirm('Wollen sie diese Bestellung wirklich löschen?')" border="0"/>
|
| 1348 |
lars |
86 |
</a>
|
|
|
87 |
{else}
|
|
|
88 |
|
|
|
89 |
{/if}
|
|
|
90 |
</tr>
|
|
|
91 |
{/section}
|
|
|
92 |
</table>
|
|
|
93 |
<script src="/js/doc_search.js"></script>
|
|
|
94 |
<script type="text/javascript">
|
|
|
95 |
|
|
|
96 |
$(".keinRand tr").not(':first').hover(
|
|
|
97 |
function () {
|
|
|
98 |
$(this).css("background-color","#8b8b8b");
|
|
|
99 |
},
|
|
|
100 |
function () {
|
|
|
101 |
$(this).css("background-color","");
|
|
|
102 |
}
|
|
|
103 |
);
|
|
|
104 |
|
|
|
105 |
</script>
|
|
|
106 |
{include file="footer.tpl"}
|