Admin/guest menu add fixed
authorRoland Häder <roland@mxchange.org>
Sat, 19 Dec 2009 10:05:21 +0000 (10:05 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 19 Dec 2009 10:05:21 +0000 (10:05 +0000)
inc/classes/rdf.class.php
inc/language/de.php
inc/modules/admin/what-admin_add.php
inc/modules/admin/what-guest_add.php

index 17de9f1..8233aba 100644 (file)
@@ -709,7 +709,7 @@ class fase4_rdf {
                                                        // First remove all \n
                                                        $this->_item['description'] = str_replace('\n', ' ', $this->_item['description']);
                                                        // Wrap with <br />\n
-                                                       $this->_item['description'] = wordwrap($this->_item['description'], $this->_word_wrap, "*<br>\n");
+                                                       $this->_item['description'] = wordwrap($this->_item['description'], $this->_word_wrap, "*<br />\n");
                                                }
                                                elseif (($this->_word_wrap == '0') && (!$this->_use_nl2br))
                                                {
@@ -805,7 +805,7 @@ class fase4_rdf {
                                        if(isset($this->_link_target)) { $this->_output .= "target=\"".$this->_link_target."\" "; }
                                        $this->_output .= "method=\"get\">\n";
                                        $this->_output .= "<div class=\"fase4_rdf_title\">".$this->_item['title']."</div>";
-                                       $this->_output .= strip_tags($this->_item['description'], '<a>, <img>')."<br><br>\n";
+                                       $this->_output .= strip_tags($this->_item['description'], '<a>, <img>')."<br /><br />\n";
                                        $this->_output .= "<input class=\"fase4_rdf_input\" type=\"text\" name=\"".$this->_item['name']."\">&nbsp;\n";
                                        $this->_output .= "<input class=\"fase4_rdf_input\" type=\"submit\" value=\"go\">";
                                        $this->_output .= "</form>\n";
index 3bceaaa..9548afc 100644 (file)
@@ -1088,7 +1088,7 @@ addMessages(array(
 
        'ADMIN_RESET_PASS' => "Ihr Administratorkennwort zur&uuml;cksetzen?",
        'ADMIN_NO_LOGIN_WITH_EMAIL' => "Kein Administrator-Account mit der angegebenen Email-Adresse gefunden.",
-       'ADMIN_RESET_PASS_LINK_SUBJ' => "Zuruecksetzung Ihres Admin-Passwortes",
+       'ADMIN_RESET_PASS_LINK_SUBJ' => "Zur&uuml;cksetzung Ihres Admin-Passwortes",
        'ADMIN_RESET_LINK_SENT' => "Der Reset-Link wurde soeben an Ihre eingegebene Email-Adresse ausgesendet.",
        'ADMIN_VALIDATION_RESET_LOGIN_HASH_FAILED' => "Validierung Ihrer Logindaten fehlgeschlagen. Haben Sie auch den Link aus der Mail angeklickt und Ihren Loginnamen eingegeben?",
        'ADMIN_VALIDATION_RESET_LOGIN_HASH_FAILED2' => "Validierung Ihrer Logindaten fehlgeschlagen. Es liegt ein Bug im Script vor. Bitte im <a href=\"http://bugs.mxchange.org\" target=\"_blank\" title=\"Direktlink zum Bug-Tracker\">Bug-Tracker</a> den Fehler melden.",
index 272d4bd..566a45a 100644 (file)
@@ -156,8 +156,8 @@ if (!isFormSent()) {
 
        // Prepare selections for template
        $content['below_selection']  = $OUT;
-       $content['what_selection']   = adminAddMenuSelectionBox('member', 'what'  , 'name');
-       $content['action_selection'] = adminAddMenuSelectionBox('member', 'action', 'menu');
+       $content['what_selection']   = adminAddMenuSelectionBox('admin', 'what'  , 'name');
+       $content['action_selection'] = adminAddMenuSelectionBox('admin', 'action', 'menu');
 
        // Display form
        loadTemplate('admin_admin_add', false, $content);
index 1728bdd..009ebdc 100644 (file)
@@ -174,8 +174,8 @@ ORDER BY `sort` ASC",
 
        // Prepare selections for template
        $content['below_selection']  = $OUT;
-       $content['what_selection']   = adminAddMenuSelectionBox('member', 'what'  , 'name');
-       $content['action_selection'] = adminAddMenuSelectionBox('member', 'action', 'menu');
+       $content['what_selection']   = adminAddMenuSelectionBox('guest', 'what'  , 'name');
+       $content['action_selection'] = adminAddMenuSelectionBox('guest', 'action', 'menu');
 
        // Display form
        loadTemplate('admin_guest_add', false, $content);