diff --git a/lib/front/front.class.php b/lib/front/front.class.php index 14795320e7..ab454f339b 100644 --- a/lib/front/front.class.php +++ b/lib/front/front.class.php @@ -770,6 +770,23 @@ EOT; $js .= self::end(); echo $js; } + + /** + * Set js value. + * + * @param string $key + * @param mix $value + * @static + * @access public + * @return void + */ + static public function set($key, $value) + { + $js = self::start(); + $js .= "$key=$value"; + $js .= self::end(); + echo $js; + } } /** diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index 9560a2af38..2d68a7bf8d 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -15,7 +15,7 @@ - +bug->placeholder));?> diff --git a/module/company/view/browse.html.php b/module/company/view/browse.html.php index a993f3aa20..bc3876f013 100644 --- a/module/company/view/browse.html.php +++ b/module/company/view/browse.html.php @@ -13,8 +13,8 @@ - diff --git a/module/doc/view/create.html.php b/module/doc/view/create.html.php index 455a5473df..82a68cf093 100644 --- a/module/doc/view/create.html.php +++ b/module/doc/view/create.html.php @@ -12,7 +12,7 @@ ?> - +doc->placeholder));?>
diff --git a/module/group/view/create.html.php b/module/group/view/create.html.php index e518593d44..3d14ff2985 100644 --- a/module/group/view/create.html.php +++ b/module/group/view/create.html.php @@ -11,7 +11,6 @@ */ ?> -
doc->create;?>
diff --git a/module/product/view/create.html.php b/module/product/view/create.html.php index 76b46a54c7..9dbb9e1a44 100644 --- a/module/product/view/create.html.php +++ b/module/product/view/create.html.php @@ -12,7 +12,6 @@ ?> -
group->create;?>
diff --git a/module/productplan/view/create.html.php b/module/productplan/view/create.html.php index c7e59dc035..9e800eb281 100644 --- a/module/productplan/view/create.html.php +++ b/module/productplan/view/create.html.php @@ -13,7 +13,6 @@ -
product->create;?>
diff --git a/module/project/view/create.html.php b/module/project/view/create.html.php index c8504b3141..03b85ca826 100644 --- a/module/project/view/create.html.php +++ b/module/project/view/create.html.php @@ -32,7 +32,7 @@ $(document).ready(function() - +project->placeholder));?>
productplan->create;?>
diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index f17cfc9b32..bd5721e65f 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -12,7 +12,7 @@ ?> - +story->placeholder)); ?> diff --git a/module/task/view/batchcreate.html.php b/module/task/view/batchcreate.html.php index becdbdd0c3..ff8777d2ff 100644 --- a/module/task/view/batchcreate.html.php +++ b/module/task/view/batchcreate.html.php @@ -12,7 +12,7 @@ ?> - +task->batchCreate);?>
story->create;?>
diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php index 106a33538e..46e874bd50 100644 --- a/module/task/view/create.html.php +++ b/module/task/view/create.html.php @@ -15,7 +15,7 @@ - +task->placeholder)); ?> +testcase->batchCreate);?>
task->project . $lang->colon . $lang->task->batchCreate;?>
diff --git a/module/user/view/batchcreate.html.php b/module/user/view/batchcreate.html.php index 99fbfecf02..a17e31869c 100644 --- a/module/user/view/batchcreate.html.php +++ b/module/user/view/batchcreate.html.php @@ -12,7 +12,6 @@ ?> -
testcase->batchCreate;?>
diff --git a/module/user/view/create.html.php b/module/user/view/create.html.php index 26b9fc6074..4062780201 100644 --- a/module/user/view/create.html.php +++ b/module/user/view/create.html.php @@ -12,7 +12,7 @@ ?> - +user->placeholder));?>
user->batchCreate;?>
user->create;?>