* change for js:set.
This commit is contained in:
@@ -16,7 +16,7 @@ include '../../common/view/treeview.html.php';
|
||||
include '../../common/view/colorize.html.php';
|
||||
js::set('browseType', $browseType);
|
||||
js::set('moduleID', $moduleID);
|
||||
js::set('customed', $customed, 'number');
|
||||
js::set('customed', $customed);
|
||||
?>
|
||||
|
||||
<div id='featurebar'>
|
||||
|
||||
@@ -16,8 +16,8 @@ include '../../common/view/chosen.html.php';
|
||||
include '../../common/view/autocomplete.html.php';
|
||||
include '../../common/view/alert.html.php';
|
||||
include '../../common/view/kindeditor.html.php';
|
||||
js::set('holders', $lang->bug->placeholder, 'json');
|
||||
js::set('userList', array_keys($users), 'json');
|
||||
js::set('holders', $lang->bug->placeholder);
|
||||
js::set('userList', array_keys($users));
|
||||
js::set('page', 'create');
|
||||
?>
|
||||
|
||||
|
||||
@@ -17,15 +17,15 @@ include '../../common/view/autocomplete.html.php';
|
||||
include '../../common/view/alert.html.php';
|
||||
include '../../common/view/kindeditor.html.php';
|
||||
js::set('page' , 'edit');
|
||||
js::set('changeProductConfirmed' , 'false', 'number');
|
||||
js::set('changeProjectConfirmed' , 'false', 'number');
|
||||
js::set('changeProductConfirmed' , false);
|
||||
js::set('changeProjectConfirmed' , false);
|
||||
js::set('confirmChangeProduct' , $lang->bug->confirmChangeProduct);
|
||||
js::set('oldProjectID' , $bug->project);
|
||||
js::set('oldStoryID' , $bug->story);
|
||||
js::set('oldTaskID' , $bug->task);
|
||||
js::set('oldOpenedBuild' , $bug->openedBuild);
|
||||
js::set('oldResolvedBuild' , $bug->resolvedBuild);
|
||||
js::set('userList' , array_keys($users), 'json');
|
||||
js::set('userList' , array_keys($users));
|
||||
?>
|
||||
|
||||
<form method='post' target='hiddenwin' enctype='multipart/form-data' id='dataform'>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php js::set('holders ', $lang->doc->placeholder, 'json');?>
|
||||
<?php js::set('holders ', $lang->doc->placeholder);?>
|
||||
<form method='post' enctype='multipart/form-data' target='hiddenwin' id='dataform'>
|
||||
<table class='table-1'>
|
||||
<caption><?php echo $lang->doc->create;?></caption>
|
||||
|
||||
@@ -37,5 +37,5 @@
|
||||
<?php endif;?>
|
||||
</tr>
|
||||
</table>
|
||||
<?php if($setFlow) js::set('flow', 'true', 'number');?>
|
||||
<?php js::set('flow', $setFlow ? true : false);?>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
@@ -32,7 +32,7 @@ $(document).ready(function()
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php js::import($jsRoot . 'misc/date.js');?>
|
||||
<?php js::set('holders', $lang->project->placeholder, 'json');?>
|
||||
<?php js::set('holders', $lang->project->placeholder);?>
|
||||
<form method='post' target='hiddenwin' id='dataform'>
|
||||
<table align='center' class='table-1 a-left'>
|
||||
<caption>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php js::set('projectID', $project->id);?>
|
||||
<?php js::set('roles', $roles, 'json');?>
|
||||
<?php js::set('roles', $roles);?>
|
||||
<form method='post'>
|
||||
<table align='center' class='table-4 a-center'>
|
||||
<caption>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include './header.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php js::set('holders', $lang->story->placeholder, 'json'); ?>
|
||||
<?php js::set('holders', $lang->story->placeholder); ?>
|
||||
<form method='post' enctype='multipart/form-data' target='hiddenwin' id='dataform'>
|
||||
<table align='center' class='table-1'>
|
||||
<caption><?php echo $lang->story->create;?></caption>
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
<?php include '../../common/view/autocomplete.html.php';?>
|
||||
<?php include '../../common/view/chosen.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php js::set('holders', $lang->task->placeholder, 'json'); ?>
|
||||
<?php js::set('userList', array_keys($users), 'json'); ?>
|
||||
<?php js::set('holders', $lang->task->placeholder); ?>
|
||||
<?php js::set('userList', array_keys($users)); ?>
|
||||
<form method='post' enctype='multipart/form-data' target='hiddenwin' id='dataform'>
|
||||
<table align='center' class='table-1 a-left'>
|
||||
<caption>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/chosen.html.php';?>
|
||||
<?php js::set('roleGroup', json_encode($roleGroup));?>
|
||||
<?php js::set('roleGroup', $roleGroup);?>
|
||||
<form method='post' target='hiddenwin' id='dataform'>
|
||||
<table class='table-1 fixed'>
|
||||
<caption><?php echo $lang->user->batchCreate;?></caption>
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php js::set('holders', $lang->user->placeholder, 'json');?>
|
||||
<?php js::set('roleGroup', $roleGroup, 'json');?>
|
||||
<?php js::set('holders', $lang->user->placeholder);?>
|
||||
<?php js::set('roleGroup', $roleGroup);?>
|
||||
<form method='post' target='hiddenwin' id='dataform'>
|
||||
<table align='center' class='table-5'>
|
||||
<caption><?php echo $lang->user->create;?></caption>
|
||||
|
||||
Reference in New Issue
Block a user