Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

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

Revision Autor Zeilennr. Zeile
2 lars 1
{extends file="index.tpl"}
2
{block name="maincontent"}
3
    <!-- $Id: index.tpl 87 2023-05-20 23:09:43Z lars $ BEGIN -->
395 lars 4
    <!-- $Id: vportale_artikel.tpl 3931 2022-12-06 15:16:21Z tiefland $ -->
394 lars 5
    <script>
395 lars 6
        $(function(){
7
            $('#vportal_sel').change(list_artikel);
8
        })
9
 
10
        function list_artikel()
394 lars 11
        {
395 lars 12
            let vp_id = $('#vportal_sel').val();
400 lars 13
            $("#loadingDLG").dialog( "open" );
408 lars 14
            $('#vportale_artikel_content').load("/vportale/salesPortalItems/"+vp_id, function(){
400 lars 15
                $("#loadingDLG").dialog( "close" );
394 lars 16
            });
17
 
395 lars 18
        }
19
        function list_artikel_page(start)
20
        {
21
            let vp_id = $('#vportal_sel').val();
400 lars 22
            $('#vportale_artikel_content').load("/vportale/salesPortalItems"+vp_id+"&"+start, function(){
23
                $("#loadingDLG").dialog( "close" );
394 lars 24
            });
25
 
395 lars 26
        }
394 lars 27
    </script>
396 lars 28
    <table>
29
        <tr>
30
            <td class="links">Portal</td>
31
            <td class="rechts">
32
                <select id="vportal_sel">
398 lars 33
                    {html_options options=$vportale}
396 lars 34
                </select>
35
            </td>
36
        </tr>
37
    </table>
395 lars 38
    <div id="vportale_artikel_content" style="min-height:500px;">
394 lars 39
 
40
    </div>
2 lars 41
    <!-- $Id: index.tpl 87 2023-05-20 23:09:43Z lars $ END -->
42
{/block}