Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>{$webs.kunde_bezeichnung}: Redaktionssystem</title>
        <script language="javascript" type="text/javascript">
                function check_form()
                {
                        var mode=document.desc_form.mode.value;
                        var desc=document.desc_form.beschreibung.value;
                        var word=document.desc_form.begriff.value;
                        if(mode=="update")
                        {
                                if(desc=="")
                                {
                                        alert("Bitte eine Beschreibung eingeben!");
                                        return false;
                                }
                        }
                        else
                        {
                                if(mode=="save")
                                {
                                        if(desc=="")
                                {
                                        alert("Bitte eine Beschreibung eingeben!");
                                                return false;
                                        }
                                        if(word=="")
                                        {
                                                alert("Bitte einen Begriff eingeben!");
                            return false;
                                        }
                                 }
                          }
                   }
        
                   function ask()
                   {
                       var conf=confirm("Datensatz wirklich löschen? ACHTUNG: Es werden ALLE Begriffe gelöscht, die mit dieser Beschreibung verknüpft sind!");
                   return conf;
                }
            </script>
            <style type="text/css">
                .submit 
                {
                    cursor:pointer;
                }
                body 
                {
                    font-family: Arial, Helvetica, sans-serif; 
                    font-size: 10pt;
                    {if $webs.font_color_seite}
                        color:                          #{$webs.font_color_seite};
                    {/if}
                    {if $webs.bgcolor_seite}
                        background-color:       #{$webs.bgcolor_seite};
                    {/if}
                    {if $webs.hintergrundbild}
                        background-image: url(../images/hintergrundbild/{$webs.hintergrundbild};
                    {/if}
                }
                th, .links
                {
                    font-size: 10pt;
                    {if $webs.font_color_links}
                        color:                          #{$webs.font_color_links};
                    {/if}
                    {if $webs.bgcolor_links}
                        background-color:       #{$webs.bgcolor_links};
                    {/if}
                }
                .td1, .rechts
                {
                    font-size: 10pt;
                    {if $webs.font_color_rechts}
                        color:                          #{$webs.font_color_rechts};
                    {/if}
                    {if $webs.bgcolor_rechts}
                        background-color:       #{$webs.bgcolor_rechts};
                    {/if}
                }
                .td0
                {
                    font-size: 10pt;
                    {if $webs.font_color_rechts}
                        background-color:                               #{$webs.font_color_rechts};
                    {/if}
                    {if $webs.bgcolor_rechts}
                        color:  #{$webs.bgcolor_rechts};
                    {/if}
                }
                A:link 
                {
                    font-family: Arial, Helvetica, sans-serif; 
                    font-size: 10pt; 
                    color: #{$webs.font_color_rechts};
                }
                A:visited 
                {
                    font-family: Arial, Helvetica, sans-serif; 
                    font-size: 10pt; 
                    color: #{$webs.font_color_rechts};
                }
                A:active 
                {
                    font-family: Arial, Helvetica, sans-serif; 
                    font-size: 10pt; 
                    color: #{$webs.font_color_rechts};
                }
                A:hover 
                {
                    font-family: Arial, Helvetica, sans-serif; 
                    font-size: 10pt; 
                    color: #{$webs.font_color_rechts};
                }
                table.input
                {
                    border-width: 2px 1px 1px 2px;
                    border-top-color    : #CCCCCC;
                    border-left-color   : #CCCCCC;
                    border-bottom-color : #AAAAAA;
                    border-right-color  : #AAAAAA;
                    border-style                :inset;
                    background-color    : #FFFFFF;
                }       
                form 
                {
                    display:inline;
                }
            </style>
    </head>
    <body>
        <table>
                <tr>
                        <th colspan="2">Einschr&auml;nken auf Beriffe mit dem Anfangsbuchstaben</th>
                </tr>
                <tr>
                        <td colspan="2">{$auswahl}</td>
                </tr>
            <tr>
                        <td colspan="2" align="center">Es sind {$anz} Begriffe aufgelistet.</td>
            </tr>
                <tr>
                        <th colspan="2">Definierte Begriffe</th>
                </tr>
                <tr>
                        <td colspan="2" class="rechts" align="center">
                                <form action="acronyms_desc.php" method="post">
                                        <input type="hidden" name="mode" value="new">
                                        <input type="submit" value="Neue Beschreibung und Begriffe anlegen?" class="submit">
                                </form>
                        </td>
                </tr>
            {section loop=$letters name=l_ind}
                <tr>
                <td class="links" align="center">
                    {$letters[l_ind].letter}
                </td>
                <td class="rechts">
                    <table>
                {section loop=$letters[l_ind].words name=w_ind}
                        <tr>
                            <td>
                                <form action="acronyms_desc.php" method="post">
                                    <input type="hidden" name="ID" value="{$letters[l_ind].words[w_ind].ID}">
                                    <input type="hidden" name="action" value="edit">
                                    <a href="#" onclick="submit(this);">{$letters[l_ind].words[w_ind].word}</a>
                                </form>
                            </td>
                        </tr>
                {/section}   
                    </table>
                </td>
            </tr>
            {/section}
                <tr>
                        <td colspan="2" class="rechts" align="center">
                                <form action="acronyms_desc.php" method="post">
                                        <input type="hidden" name="mode" value="new">
                                        <input type="submit" value="Neue Beschreibung und Begriffe anlegen?" class="submit">
                                </form>
                        </td>
                </tr>
        </table>
    </body>
</html>