another tiny fix
authorzapata <zapata>
Sat, 21 Oct 2006 23:46:08 +0000 (23:46 +0000)
committerzapata <zapata>
Sat, 21 Oct 2006 23:46:08 +0000 (23:46 +0000)
templates/admin/start_admin.template

index bff2574..7b9730e 100755 (executable)
       <if messages>
         <list messages as m>
           <p class="x-small">
       <if messages>
         <list messages as m>
           <p class="x-small">
-            <if m.title><b>${m.title}</b><br></if>
-            ${m.description}<br>
+            <if m.title><b>${utility.encodeHTML(m.title)}</b><br></if>
+            ${utility.prettyEncodeHTML(m.description)}<br>
             <span class="x-small">
             <span class="x-small">
-              <if m.creator><i>by: ${m.creator}</i> / </if>${m.creationdate.format(config["Mir.DefaultDateTimeFormat"])}}<br>
+              <if m.creator><i>by: ${utility.encodeHTML(m.creator)}</i> / </if>${m.creationdate.format(config["Mir.DefaultDateTimeFormat"])}}<br>
             </span>
           </p>
         </list>
             </span>
           </p>
         </list>
   </td>
 
   </tr>
   </td>
 
   </tr>
-  
+
   <comment> BOTTOM ROW FOR SEARCH </comment>
   <tr>
     <td colspan="5" valign="top">
   <comment> BOTTOM ROW FOR SEARCH </comment>
   <tr>
     <td colspan="5" valign="top">