From fb8406926ea5819c338ce26412267400578a6d4c Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Tue, 25 Sep 2007 19:44:10 +0000 Subject: [PATCH] Fix to stop showing formatting changes in mce fields. --- application/views/request/credit_hours.xhtml | 2 +- application/views/request/fullEdit.xhtml | 8 ++++---- application/views/request/notes_description.xhtml | 2 +- application/views/request/supportive_material.xhtml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/application/views/request/credit_hours.xhtml b/application/views/request/credit_hours.xhtml index d7720934..b247a2f1 100644 --- a/application/views/request/credit_hours.xhtml +++ b/application/views/request/credit_hours.xhtml @@ -145,6 +145,6 @@ <fieldset> <label> <h2>Prerequisites (text)</h2> - <textarea name="prerequisite" class="mceEditor"><?php echo htmlspecialchars($this->course->prerequisite); ?></textarea> + <textarea name="prerequisite" class="mceEditor"><?php echo $this->course->prerequisite; ?></textarea> </label> </fieldset> diff --git a/application/views/request/fullEdit.xhtml b/application/views/request/fullEdit.xhtml index d65bb4b8..eae6d2b0 100644 --- a/application/views/request/fullEdit.xhtml +++ b/application/views/request/fullEdit.xhtml @@ -268,7 +268,7 @@ <h3>Prerequisite</h3> <fieldset> - <textarea id="prerequisite" name="prerequisite" class="mceEditor"><?php echo htmlentities($this->course->prerequisite, ENT_COMPAT, 'UTF-8'); ?></textarea> + <textarea id="prerequisite" name="prerequisite" class="mceEditor"><?php echo $this->course->prerequisite; ?></textarea> </fieldset> @@ -515,13 +515,13 @@ <h3>Notes</h3> <fieldset> - <textarea id="notes" name="notes" class="mceEditor"><?php echo htmlentities($this->course->notes, ENT_COMPAT, 'UTF-8'); ?></textarea> + <textarea id="notes" name="notes" class="mceEditor"><?php echo $this->course->notes; ?></textarea> </fieldset> <h3>Description</h3> <fieldset> - <textarea id="description" name="description" class="mceEditor"><?php echo htmlentities($this->course->description, ENT_COMPAT, 'UTF-8'); ?></textarea> + <textarea id="description" name="description" class="mceEditor"><?php echo $this->course->description; ?></textarea> </fieldset> @@ -576,7 +576,7 @@ <fieldset> <label> <h3 class="required">Justification</h3> - <textarea name="request[justification]" class="mceEditor"><?php echo htmlspecialchars($this->request->justification); ?></textarea> + <textarea name="request[justification]" class="mceEditor"><?php echo $this->request->justification; ?></textarea> </label> </fieldset> diff --git a/application/views/request/notes_description.xhtml b/application/views/request/notes_description.xhtml index 99eedb0e..f5edbb1b 100644 --- a/application/views/request/notes_description.xhtml +++ b/application/views/request/notes_description.xhtml @@ -5,6 +5,6 @@ </label> <label> <h2>Description</h2> - <textarea name="description" class="mceEditor"><?php echo htmlspecialchars($this->course->description); ?></textarea> + <textarea name="description" class="mceEditor"><?php echo $this->course->description; ?></textarea> </label> </fieldset> \ No newline at end of file diff --git a/application/views/request/supportive_material.xhtml b/application/views/request/supportive_material.xhtml index 3babe37a..496f86a4 100644 --- a/application/views/request/supportive_material.xhtml +++ b/application/views/request/supportive_material.xhtml @@ -1,7 +1,7 @@ <fieldset> <label> <h2>Justification</h2> - <textarea name="request[justification]" class="mceEditor"><?php echo htmlspecialchars($this->request->justification); ?></textarea> + <textarea name="request[justification]" class="mceEditor"><?php echo $this->request->justification; ?></textarea> </label> </fieldset> -- GitLab