plugins/SpecialUserPrefs.php
changeset 74 68469a95658d
parent 36 425261984266
child 85 7c68a18a27be
equal deleted inserted replaced
73:0a74676a2f2f 74:68469a95658d
   397           $db->_die();
   397           $db->_die();
   398         $session->signature = $sig;
   398         $session->signature = $sig;
   399         echo '<div class="info-box" style="margin: 0 0 10px 0;">Your signature has been saved.</div>';
   399         echo '<div class="info-box" style="margin: 0 0 10px 0;">Your signature has been saved.</div>';
   400       }
   400       }
   401       echo '<form action="'.makeUrl($paths->fullpage).'" method="post">';
   401       echo '<form action="'.makeUrl($paths->fullpage).'" method="post">';
   402       echo $template->tinymce_textarea('new_sig', $session->signature);
   402       echo $template->tinymce_textarea('new_sig', htmlspecialchars($session->signature));
   403       echo '<input type="submit" value="Save signature" />';
   403       echo '<input type="submit" value="Save signature" />';
   404       echo '</form>';
   404       echo '</form>';
   405       break;
   405       break;
   406     case "Profile":
   406     case "Profile":
   407       if ( isset($_POST['submit']) )
   407       if ( isset($_POST['submit']) )