Subversion-Projekte lars-tiefland.ci

Revision

Revision 2043 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

{include file="header.tpl"}
<!-- $Id: dokuadmin.tpl 2048 2017-02-17 23:41:59Z lars $ -->
{if isset($user_rechte.Warenwirtschaft.dokuadmin.suche)}
<form method="post" id="search_form">
    <table cellpadding="3" cellspacing="0" border="0" width="100%">
        <tr class="links" align="left">
            <td class="headline">Dokumentensuche</th>
        </tr>
        <tr class="links">    
            <td  class="links" >Dateiname:
            
                <input type="text" name="search_title" id="search_title" value="{$smarty.post.search_title}"/>
                <button id="doc_search">Suche starten</button>
            </td>
            
        </tr>
    </table>
</form>
{/if}

<style>
.headline , .headline a:link, .headline a:visited{
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 10pt;
    font-weight:bold;
    color:black !important;
}
</style>
<table class="keinRand" cellpadding="3" cellspacing="0" border="0" width="100%">
    <tr class="links">
        <td class="headline" style="text-align:left !important;">
            <a href="{$SCRIPT_NAME}?sort=document&dir={$sort.document.dir}">Dokumentart</a>
        </td>
        <td class="headline" style="text-align:left !important;">
            <a href="{$SCRIPT_NAME}?sort=document&dir={$sort.document.dir}">Dokumentname</a>
        </td>
        <td class="headline" style="text-align:left !important;">
            <a href="{$SCRIPT_NAME}?sort=letzte_aenderung_am&dir={$sort.letzte_aenderung_am.dir}">Datum</a>
        </td>
        <td class="headline" style="text-align:left !important;">
            <a href="{$SCRIPT_NAME}?sort=letzte_aenderung_am&dir={$sort.letzte_aenderung_am.dir}">Zeit</a>
        </td>
        <td class="headline" style="text-align:left !important;">
            <a href="{$SCRIPT_NAME}?sort=letzte_aenderung_von&dir={$sort.letzte_aenderung_von.dir}">Ersteller</a>
        </td>
        <td class="headline" style="text-align:left !important;">Vorgang</td>
        <td>
            <img src="/backend/images/navigation/trashcan.gif" alt="Löschen" title="Löschen"/>
        </td>
    </tr>
    {section loop=$dokumente name=d_ind}
    {cycle values=', gerade' assign='class'}
    <tr class="rechts {$class}" >
        <td style="text-align:left !important;">{$dokumente[d_ind].docu_type}</td>
        <td style="text-align:left !important;">
            {if $dokumente[d_ind].docu_type == "Link"}
            <a href="{$dokumente[d_ind].link}" target="{$dokumente[d_ind].target}">
                {$dokumente[d_ind].name|basename}
            </a>
            {else}
            <a href="{$dok_domain}/images/dokumente/{$dokumente[d_ind].name}" target="_blank">
                {$dokumente[d_ind].name|basename}
            </a>
            {/if}
        </td>
        <td style="text-align:left !important;">
            {$dokumente[d_ind].date|date_format:"%x"}
        </td>
        <td style="text-align:left !important;">
            {$dokumente[d_ind].date|date_format:"H:i"} Uhr
        </td>
        <td style="text-align:left !important;">
            {$dokumente[d_ind].author}
        </td>
        <td style="text-align:left !important;">
            {if $dokumente[d_ind].valid==true}
            <a href="/backend/order/edit/{$dokumente[d_ind].data_foreign}">zum Vorgang</a>
            {else}
            kein Vorgang
            {/if}
        </td>
        <td style="text-align:left !important;">
            {if $dokumente[d_ind].deletable && isset($user_rechte.Warenwirtschaft.bestellung.dokument_delete)}
            <a href="{$SCRIPT_NAME}?mode=del&id={$dokumente[d_ind].ID}&p_id={$p_id}&sort={$sort}">
                <img src="/backend/images/navigation/trashcan.gif" alt="Löschen" title="Löschen"  onclick="return confirm('Wollen sie diese Bestellung wirklich löschen?')" border="0"/>
            </a>
            {else}
                &nbsp;
            {/if}
    </tr>
    {/section}
</table>
<script src="/js/doc_search.js"></script>
<script type="text/javascript">
 
$(".keinRand tr").not(':first').hover(
  function () {
    $(this).css("background-color","#8b8b8b");
  }, 
  function () {
    $(this).css("background-color","");
  }
);
 
</script>
{include file="footer.tpl"}