Subversion-Projekte lars-tiefland.ci

Revision

Revision 1341 | Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

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