Subversion-Projekte lars-tiefland.ci

Revision

Revision 1354 | Revision 1356 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1348 lars 1
{include file="header.tpl"}
2
<!-- $Id: dokuadmin.tpl 1355 2016-11-07 18:54:45Z 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
    {if $webs.bgcolor_seite != "FFFFFF"}
27
    color:white !important;
28
    {else}
29
    color:black !important;
30
    {/if}
31
}
32
</style>
33
<table class="keinRand" cellpadding="3" cellspacing="0" border="0" width="100%">
34
    <tr class="links">
35
        <td class="headline" style="text-align:left !important;">
36
            <a href="{$SCRIPT_NAME}?sort=document&dir={$sort.document.dir}">Dokumentart</a>
37
        </td>
38
        <td class="headline" style="text-align:left !important;">
39
            <a href="{$SCRIPT_NAME}?sort=document&dir={$sort.document.dir}">Dokumentname</a>
40
        </td>
41
        <td class="headline" style="text-align:left !important;">
42
            <a href="{$SCRIPT_NAME}?sort=letzte_aenderung_am&dir={$sort.letzte_aenderung_am.dir}">Datum</a>
43
        </td>
44
        <td class="headline" style="text-align:left !important;">
45
            <a href="{$SCRIPT_NAME}?sort=letzte_aenderung_am&dir={$sort.letzte_aenderung_am.dir}">Zeit</a>
46
        </td>
47
        <td class="headline" style="text-align:left !important;">
48
            <a href="{$SCRIPT_NAME}?sort=letzte_aenderung_von&dir={$sort.letzte_aenderung_von.dir}">Ersteller</a>
49
        </td>
50
        <td class="headline" style="text-align:left !important;">Vorgang</td>
51
        <td>
1349 lars 52
            <img src="/backend/images/navigation/trashcan.gif" alt="Löschen" title="Löschen"/>
1348 lars 53
        </td>
54
    </tr>
55
    {section loop=$dokumente name=d_ind}
56
    {cycle values=', gerade' assign='class'}
57
    <tr class="rechts {$class}" >
58
        <td style="text-align:left !important;">{$dokumente[d_ind].docu_type}</td>
59
        <td style="text-align:left !important;">
60
            {if $dokumente[d_ind].docu_type == "Link"}
61
            <a href="{$dokumente[d_ind].link}" target="{$dokumente[d_ind].target}">
62
                {$dokumente[d_ind].name|basename}
63
            </a>
64
            {else}
65
            <a href="{$dok_domain}/images/dokumente/{$dokumente[d_ind].name}" target="_blank">
66
                {$dokumente[d_ind].name|basename}
67
            </a>
68
            {/if}
69
        </td>
70
        <td style="text-align:left !important;">
71
            {$dokumente[d_ind].date|date_format:"%x"}
72
        </td>
73
        <td style="text-align:left !important;">
74
            {$dokumente[d_ind].date|date_format:"H:i"} Uhr
75
        </td>
76
        <td style="text-align:left !important;">
77
            {$dokumente[d_ind].author}
78
        </td>
79
        <td style="text-align:left !important;">
80
            {if $dokumente[d_ind].valid==true}
1353 lars 81
            <a href="/backend/order/edit/{$dokumente[d_ind].data_foreign}">zum Vorgang</a>
1348 lars 82
            {else}
83
            kein Vorgang
84
            {/if}
85
        </td>
86
        <td style="text-align:left !important;">
1355 lars 87
            {if $dokumente[d_ind].deletable && isset($user_rechte.Warenwirtschaft.dokuadmin.dokudel)}
1348 lars 88
            <a href="{$SCRIPT_NAME}?mode=del&id={$dokumente[d_ind].ID}&p_id={$p_id}&sort={$sort}">
89
                <img src="/backend/images/navigation/trashcan.gif" alt="L&ouml;schen" title="Löschen"  onclick="return confirm('Wollen sie diese Bestellung wirklich löschen?')" border="0"/>
90
            </a>
91
            {else}
92
                &nbsp;
93
            {/if}
94
    </tr>
95
    {/section}
96
</table>
97
<script src="/js/doc_search.js"></script>
98
<script type="text/javascript">
99
 
100
$(".keinRand tr").not(':first').hover(
101
  function () {
102
    $(this).css("background-color","#8b8b8b");
103
  },
104
  function () {
105
    $(this).css("background-color","");
106
  }
107
);
108
 
109
</script>
110
{include file="footer.tpl"}