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

Revision

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

{extends file="index.tpl"}
{block name="maincontent"}
    <!-- $Id: index.tpl 87 2023-05-20 23:09:43Z lars $ BEGIN -->
    <!-- $Id: vportale_artikel.tpl 3931 2022-12-06 15:16:21Z tiefland $ -->
    <script>
        $(function(){
            $('#vportal_sel').change(list_artikel);
        })

        function list_artikel()
        {
            let vp_id = $('#vportal_sel').val();
            $("#loadingDLG").dialog( "open" );
            $('#vportale_artikel_content').load("/vportale/salesPortalItems/"+vp_id, function(){
                $("#loadingDLG").dialog( "close" );
            });

        }
        function list_artikel_page(start)
        {
            let vp_id = $('#vportal_sel').val();
            $('#vportale_artikel_content').load("/vportale/salesPortalItems"+vp_id+"&"+start, function(){
                $("#loadingDLG").dialog( "close" );
            });

        }
    </script>
    <table>
        <tr>
            <td class="links">Portal</td>
            <td class="rechts">
                <select id="vportal_sel">
                    {html_options options=$vportale}
                </select>
            </td>
        </tr>
    </table>
    <div id="vportale_artikel_content" style="min-height:500px;">

    </div>
    <!-- $Id: index.tpl 87 2023-05-20 23:09:43Z lars $ END -->
{/block}