attribut src au lieu de href pour les sources
[mw_sourceml] / app / out / default / views / content / sources / xml_form.php
index faa21c2..48cab50 100644 (file)
@@ -90,7 +90,7 @@
       Editer le contenu du fichier XML
       <input type="checkbox" class="use_edit_<?php echo $xml_name ?>_content" id="use_edit_<?php echo $xml_name ?>_content<?php echo $xml_id_suffix ?>" name="use_edit_<?php echo $xml_name ?>_content<?php echo $xml_id_suffix ?>"<?php echo $source["xml"]["use_edit_content"] ? " checked=\"checked\"" : "" ?> />
       <span<?php echo $source["xml"]["use_edit_content"] ? "" : " style=\"display:none\"" ?>>
-        <textarea name="edit_<?php echo $xml_name ?>_content<?php echo $xml_id_suffix ?>" id="edit_<?php echo $xml_name ?>_content<?php echo $xml_id_suffix ?>" cols="64" rows="15" wrap="off"><?php echo $source["xml"]["content"] ?></textarea>
+        <textarea name="edit_<?php echo $xml_name ?>_content<?php echo $xml_id_suffix ?>" id="edit_<?php echo $xml_name ?>_content<?php echo $xml_id_suffix ?>" cols="64" rows="15" wrap="off"><?php echo htmlentities($source["xml"]["content"]) ?></textarea>
       </span>
     </span>
   </div>