Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<html>
    <head>
        <title>Daten Import</title>
        <link rel="stylesheet" type="text/css" href="../styles/styles.php">
        <style type="text/css">
        {include_php file="../styles/styles.php"}
        </style>
        {if file_exists("../css/$site/jquery-ui.custom.css")}
        <link rel="stylesheet" type="text/css" href="/css/{$site}/jquery-ui.custom.css">
        {else}
        <link rel="stylesheet" type="text/css" href="/css/ui-darkness/jquery-ui.custom.css">
        {/if}
        <script type="text/javascript" language="javascript" src="/js/jquery-1.4.4.min.js"></script>  
        <script type="text/javascript" language="javascript" src="/js/jquery-ui-1.8.9.custom.min.js"></script>       
        <script type="text/javascript" language="javascript" src="/js/i18n/jquery.ui.datepicker-de.js"></script>
        <script>
            $(function()
            {
                $('.beschreibung').click(display_beschreibung).css("cursor","pointer").button({
                    icons:{
                        primary:"ui-icon-help"
                    }
                });
                $('.beschreibung_dlg').dialog("destroy").dialog(
                {
                    modal:true,
                    width:1000,
                    resizable:false,
                    autoOpen:false,
                    buttons:{
                        'schließen': function()
                        {
                            $(this).dialog("close");
                        }
                    }
                });
            });
            
            function display_beschreibung()
            {
                id = this.id;
                $("#"+id+"_dlg").dialog("open");
            }
        </script>
    </head>
    <body >
        {if $tools|count}
Importtools:
        <ul>
        {foreach $tools as $tool}
            <li>
                <a href="{$tool.Importtool}">{$tool.Name}</a>
            </li>
        {/foreach}
        </ul>
        {/if}
        {if $tools|count && $tools2|count}
        <hr>
        {/if}
        {if $tools2|count}
Import-/Exporttools:
        <ul>
        {foreach $tools2 as $t_id => $tool}
            <li>
                <a href="{$tool.skript}">{$tool.l_name}: {$tool.name}</a>(<a id="beschreibung_{$t_id}" class="beschreibung"></a>)
                <div id="beschreibung_{$t_id}_dlg" title="Beschreibung" class="beschreibung_dlg">
                    {$tool.beschreibung|nl2br}
                </div>
            </li>
        {/foreach}
        </ul>
        {/if}
    </body>
</html>