From f532e79b9f8633e09b1f0febb8863574b7f70132 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 13 Aug 2014 01:16:27 +0000 Subject: [PATCH] * htmlspecialchars the field of kindeditor when edit. --- module/build/view/edit.html.php | 2 +- module/doc/view/edit.html.php | 4 ++-- module/product/view/edit.html.php | 2 +- module/productplan/view/edit.html.php | 2 +- module/project/view/edit.html.php | 2 +- module/release/view/edit.html.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/module/build/view/edit.html.php b/module/build/view/edit.html.php index fa295d2a3e..61d7a76138 100644 --- a/module/build/view/edit.html.php +++ b/module/build/view/edit.html.php @@ -108,7 +108,7 @@ build->desc;?> - desc, "rows='10' class='form-control'");?> + desc), "rows='10' class='form-control'");?> project);?> diff --git a/module/doc/view/edit.html.php b/module/doc/view/edit.html.php index bf11af1241..fa1282a893 100644 --- a/module/doc/view/edit.html.php +++ b/module/doc/view/edit.html.php @@ -51,11 +51,11 @@ $(document).ready(function() doc->content;?> - content, "class='form-control' rows='8' style='width:90%; height:200px'");?> + content), "class='form-control' rows='8' style='width:90%; height:200px'");?> doc->digest;?> - digest, "class='form-control' rows=3");?> + digest), "class='form-control' rows=3");?> doc->comment;?> diff --git a/module/product/view/edit.html.php b/module/product/view/edit.html.php index 2d5db7b176..2e0978a181 100644 --- a/module/product/view/edit.html.php +++ b/module/product/view/edit.html.php @@ -48,7 +48,7 @@ product->desc;?> - desc, "rows='8' class='form-control'");?> + desc), "rows='8' class='form-control'");?> product->acl;?> diff --git a/module/productplan/view/edit.html.php b/module/productplan/view/edit.html.php index 8b728da495..135e869824 100644 --- a/module/productplan/view/edit.html.php +++ b/module/productplan/view/edit.html.php @@ -41,7 +41,7 @@ productplan->desc;?> - desc, "rows='10' class='form-control'");?> + desc), "rows='10' class='form-control'");?> diff --git a/module/project/view/edit.html.php b/module/project/view/edit.html.php index ab48fcb52c..2d97694d53 100644 --- a/module/project/view/edit.html.php +++ b/module/project/view/edit.html.php @@ -106,7 +106,7 @@ project->desc;?> - desc, "rows='6' class='form-control'");?> + desc), "rows='6' class='form-control'");?> project->acl;?> diff --git a/module/release/view/edit.html.php b/module/release/view/edit.html.php index 3724d16a47..16926bd3d1 100644 --- a/module/release/view/edit.html.php +++ b/module/release/view/edit.html.php @@ -98,7 +98,7 @@ release->desc;?> - desc, "rows=10 class='form-control'");?> + desc), "rows=10 class='form-control'");?> files;?>