4525: Sanitize all input fields to disallow XSS. All the input field that most likel...
[acontent.git] / docs / themes / default / tests / create_edit_test.tmpl.php
index a8d3bd8..0bee40a 100644 (file)
@@ -19,7 +19,7 @@
        <fieldset class="group_form"><legend class="group_form"><?php echo _AT('edit_test'); ?></legend>\r
        <div class="row">\r
                <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="title"><?php echo _AT('title'); ?></label><br />\r
-               <input type="text" name="title" id="title" size="40" value="<?php if (isset($_POST['title'])) echo stripslashes(htmlspecialchars($_POST['title'])); else echo $this->row['title']; ?>" />\r
+               <input type="text" name="title" id="title" size="40" value="<?php if (isset($_POST['title'])) echo stripslashes(htmlspecialchars($_POST['title'])); else echo AT_print($this->row['title'], 'input.text'); ?>" />\r
        </div>\r
        \r
        <div class="row">\r