diff --git a/module/build/view/view.html.php b/module/build/view/view.html.php index 6395e955ef..dd13df6264 100644 --- a/module/build/view/view.html.php +++ b/module/build/view/view.html.php @@ -48,7 +48,7 @@ id);?> story->priList[$story->pri]?>'>story->priList[$story->pri];?> - title, '', "class='preview'");?> + title, '', "class='preview'");?> openedBy];?> estimate;?> story->statusList[$story->status];?> @@ -72,7 +72,7 @@ createLink('bug', 'view', "bugID=$bug->id", '', true);?> id);?> - title, '', "class='preview'");?> + title, '', "class='preview'");?> bug->statusList[$bug->status];?> openedBy];?> openedDate, 5, 11)?> diff --git a/module/common/lang/zh-cn.php b/module/common/lang/zh-cn.php index 34eca08189..ffb8cc670e 100644 --- a/module/common/lang/zh-cn.php +++ b/module/common/lang/zh-cn.php @@ -423,6 +423,7 @@ $lang->icons['testtask']= 'check'; $lang->icons['group'] = 'group'; $lang->icons['team'] = 'group'; $lang->icons['company'] = 'building'; +$lang->icons['user'] = 'user'; $lang->icons['dept'] = 'sitemap'; $lang->icons['usecase'] = 'usecase'; $lang->icons['testcase']= 'smile'; diff --git a/module/group/css/managepriv.css b/module/group/css/managepriv.css index 0aab5245ba..7c1b9285d9 100644 --- a/module/group/css/managepriv.css +++ b/module/group/css/managepriv.css @@ -1 +1,3 @@ .form-condensed select.form-control {height:250px} +#featurebar > .nav > li > a > .icon-home {display: none} +.group-item {display:block; width:200px; float:left; font-size: 14px} diff --git a/module/group/view/privbygroup.html.php b/module/group/view/privbygroup.html.php index bd12cc917f..0e0e784bbb 100644 --- a/module/group/view/privbygroup.html.php +++ b/module/group/view/privbygroup.html.php @@ -12,29 +12,33 @@ ?>
- - > - group->all)?> - +
+
- - - - - - +
group->module;?>group->method;?>
+ + + + + + resource as $moduleName => $moduleActions):?> group->checkMenuModule($menu, $moduleName)) continue;?> - '> - '> + - + - + @@ -84,7 +84,7 @@ createLink('bug', 'view', "bugID=$bug->id"), sprintf("%03d", $bug->id));?> - + diff --git a/module/productplan/view/linkstory.html.php b/module/productplan/view/linkstory.html.php index f15db20b47..6fd01ed9c0 100644 --- a/module/productplan/view/linkstory.html.php +++ b/module/productplan/view/linkstory.html.php @@ -44,7 +44,7 @@ - + @@ -90,7 +90,7 @@ createLink('story', 'view', "storyID=$story->id"), sprintf("%03d", $story->id));?> - + diff --git a/module/project/view/doc.html.php b/module/project/view/doc.html.php index fdc2b6f016..34c545b36e 100644 --- a/module/project/view/doc.html.php +++ b/module/project/view/doc.html.php @@ -42,7 +42,7 @@ - + - + diff --git a/module/project/view/importtask.html.php b/module/project/view/importtask.html.php index fbe5ab9d07..e1076d33f3 100644 --- a/module/project/view/importtask.html.php +++ b/module/project/view/importtask.html.php @@ -13,7 +13,7 @@ -
group->module;?>group->method;?>
lang->$moduleName->common;?> +
lang->$moduleName->common;?> $actionLabel):?> -
+
/> $moduleName->$actionLabel;?>
-
"; $i ++;?>
selectAll . html::selectAll('', 'checkbox')?>selectAll . html::selectAll('', 'checkbox')?> save, "onclick='setNoChecked()'"); diff --git a/module/productplan/view/linkbug.html.php b/module/productplan/view/linkbug.html.php index 6551805924..4c47d51cc9 100644 --- a/module/productplan/view/linkbug.html.php +++ b/module/productplan/view/linkbug.html.php @@ -42,7 +42,7 @@ pri;?>'>pri?> planTitle;?>createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?>createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?> openedBy];?> assignedTo];?> bug->statusList[$bug->status];?> pri;?>'>pri?>createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?>createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?> openedBy];?> assignedTo];?> bug->statusList[$bug->status];?> pri;?>'>pri?> planTitle;?>createLink('story', 'view', "storyID=$story->id"), $story->title);?>createLink('story', 'view', "storyID=$story->id"), $story->title);?> openedBy];?> assignedTo];?> estimate;?> pri;?>'>pri?>createLink('story', 'view', "storyID=$story->id"), $story->title);?>createLink('story', 'view', "storyID=$story->id"), $story->title);?> openedBy];?> assignedTo];?> estimate;?>
id)); else printf('%03d', $doc->id);?> module]))print($modules[$doc->module]);?>title);?>title);?> addedBy];?> addedDate;?> diff --git a/module/project/view/importbug.html.php b/module/project/view/importbug.html.php index da32a19477..1425ee7754 100755 --- a/module/project/view/importbug.html.php +++ b/module/project/view/importbug.html.php @@ -44,7 +44,7 @@ var browseType = ''; bug->severityList[$bug->severity]?>'>bug->severityList[$bug->severity]?> bug->priList[$bug->pri]?>'>bug->priList[$bug->pri]?>id", $bug->title, '', "class='preview'", true, true);?>id", $bug->title, '', "class='preview'", true, true);?> bug->statusList[$bug->status];?> id]", $lang->task->priList, 3);?> id]", $users, zget($users, $bug->assignedTo, '', $bug->assignedTo));?>
+
- + - - + diff --git a/module/release/view/view.html.php b/module/release/view/view.html.php index 3aeda767fb..1af0cf343c 100644 --- a/module/release/view/view.html.php +++ b/module/release/view/view.html.php @@ -142,7 +142,7 @@ createLink('bug', 'view', "bugID=$bug->id", '', true);?> - + diff --git a/module/user/lang/zh-cn.php b/module/user/lang/zh-cn.php index 8db81d0bfd..afe37eb89d 100644 --- a/module/user/lang/zh-cn.php +++ b/module/user/lang/zh-cn.php @@ -9,37 +9,40 @@ * @version $Id: zh-cn.php 5053 2013-07-06 08:17:37Z wyd621@gmail.com $ * @link http://www.zentao.net */ -$lang->user->common = '用户'; -$lang->user->id = '用户编号'; -$lang->user->company = '所属公司'; -$lang->user->dept = '所属部门'; -$lang->user->account = '用户名'; -$lang->user->password = '密码'; -$lang->user->password2 = '请重复密码'; -$lang->user->role = '职位'; -$lang->user->group = '分组'; -$lang->user->realname = '真实姓名'; -$lang->user->nickname = '昵称'; -$lang->user->commiter = '源代码帐号'; -$lang->user->avatar = '头像'; -$lang->user->birthyear = '出生年'; -$lang->user->gender = '性别'; -$lang->user->email = '邮箱'; -$lang->user->skype = 'Skype'; -$lang->user->qq = 'QQ'; -$lang->user->yahoo = '雅虎通'; -$lang->user->gtalk = 'GTalk'; -$lang->user->wangwang = '旺旺'; -$lang->user->mobile = '手机'; -$lang->user->phone = '电话'; -$lang->user->address = '通讯地址'; -$lang->user->zipcode = '邮编'; -$lang->user->join = '加入日期'; -$lang->user->visits = '访问次数'; -$lang->user->ip = '最后IP'; -$lang->user->last = '最后登录'; -$lang->user->status = '状态'; -$lang->user->ditto = '同上'; +$lang->user->common = '用户'; +$lang->user->id = '用户编号'; +$lang->user->company = '所属公司'; +$lang->user->dept = '所属部门'; +$lang->user->account = '用户名'; +$lang->user->password = '密码'; +$lang->user->password2 = '请重复密码'; +$lang->user->role = '职位'; +$lang->user->group = '分组'; +$lang->user->realname = '真实姓名'; +$lang->user->nickname = '昵称'; +$lang->user->commiter = '源代码帐号'; +$lang->user->avatar = '头像'; +$lang->user->birthyear = '出生年'; +$lang->user->gender = '性别'; +$lang->user->email = '邮箱'; +$lang->user->basicInfo = '基本信息'; +$lang->user->accountInfo = '帐号信息'; +$lang->user->contactInfo = '联系信息'; +$lang->user->skype = 'Skype'; +$lang->user->qq = 'QQ'; +$lang->user->yahoo = '雅虎通'; +$lang->user->gtalk = 'GTalk'; +$lang->user->wangwang = '旺旺'; +$lang->user->mobile = '手机'; +$lang->user->phone = '电话'; +$lang->user->address = '通讯地址'; +$lang->user->zipcode = '邮编'; +$lang->user->join = '加入日期'; +$lang->user->visits = '访问次数'; +$lang->user->ip = '最后IP'; +$lang->user->last = '最后登录'; +$lang->user->status = '状态'; +$lang->user->ditto = '同上'; $lang->user->index = "用户视图首页"; $lang->user->view = "用户详情"; diff --git a/module/user/model.php b/module/user/model.php index 5f740b3970..4cd11c3e85 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -42,7 +42,7 @@ class userModel extends model */ public function setUserList($users, $account) { - return html::select('account', $users, $account, "onchange=\"switchAccount(this.value, '{$this->app->getMethodName()}')\""); + return html::select('account', $users, $account, "onchange=\"switchAccount(this.value, '{$this->app->getMethodName()}')\" class='form-control'"); } /** diff --git a/module/user/view/bug.html.php b/module/user/view/bug.html.php index 057852abd3..36a929579a 100644 --- a/module/user/view/bug.html.php +++ b/module/user/view/bug.html.php @@ -13,17 +13,17 @@ -
-
+
+
+
-
$lang->project->fromproject) + $projects; @@ -46,12 +46,12 @@
project], 2);?> pri?>'>pri;?>id", $task->name)) echo $task->name;?>id", $task->name)) echo $task->name;?> >assignedToRealName;?> left;?> delay)) echo 'delayed';?>>deadline, 0, 4) > 0) echo $task->deadline;?> status;?> >task->statusList[$task->status];?> + storyID) { diff --git a/module/release/view/ajaxgetstoriesandbugs.html.php b/module/release/view/ajaxgetstoriesandbugs.html.php index 9edc20171f..867e407ebb 100644 --- a/module/release/view/ajaxgetstoriesandbugs.html.php +++ b/module/release/view/ajaxgetstoriesandbugs.html.php @@ -63,7 +63,7 @@ status == 'closed' or $bug->status == 'resolved') echo "checked"; ?>> id);?> title, '', "class='preview'");?>title, '', "class='preview'");?> bug->statusList[$bug->status];?>
id);?>title, '', "class='preview'");?>title, '', "class='preview'");?> bug->statusList[$bug->status];?> openedBy];?> openedDate, 5, 11)?>
+
@@ -43,7 +43,7 @@ - + diff --git a/module/user/view/dynamic.html.php b/module/user/view/dynamic.html.php index 7034e3e288..44ab52f910 100644 --- a/module/user/view/dynamic.html.php +++ b/module/user/view/dynamic.html.php @@ -13,21 +13,21 @@ -
-
+
+
+
-
idAB;?>bug->severityList[$bug->severity]?> bug->priList[$bug->pri]?>'>bug->priList[$bug->pri]?> bug->typeList[$bug->type]?>createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?>createLink('bug', 'view', "bugID=$bug->id"), $bug->title);?> openedBy];?> resolvedBy];?> bug->resolutionList[$bug->resolution];?>
+
diff --git a/module/user/view/edit.html.php b/module/user/view/edit.html.php index 3bafd95480..48998e185a 100644 --- a/module/user/view/edit.html.php +++ b/module/user/view/edit.html.php @@ -12,90 +12,89 @@ ?> - -
action->date;?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
user->edit;?>
user->dept;?>dept, "class='form-control'");?> -
user->account;?>account, "class='form-control' autocomplete='off'");?>
user->realname;?>realname, "class='form-control'");?>
user->role;?>user->roleList, $user->role, "class='form-control'");?>
group->priv;?>
user->commiter;?>commiter, "class='form-control'");?>
user->email;?>email, "class='form-control'");?>
user->join;?>join, "class='form-control form-date'");?>
user->gender;?>user->genderList, $user->gender);?>
user->password;?>
user->password2;?>
user->skype;?>skype, "class='form-control'");?>
user->qq;?>qq, "class='form-control'");?>
user->yahoo;?>yahoo, "class='form-control'");?>
user->gtalk;?>gtalk, "class='form-control'");?>
user->wangwang;?>wangwang, "class='form-control'");?>
user->mobile;?>mobile, "class='form-control'");?>
user->phone;?>phone, "class='form-control'");?>
user->address;?>address, "class='form-control'");?>
user->zipcode;?>zipcode, "class='form-control'");?>
-
+
+
+
+ icons['user']) . ' #' . $user->id;?> + account", $user->realname)) echo $user->realname;?> (account;?>) + user->edit;?> icons['edit']);?> +
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
user->basicInfo;?>
user->realname;?>realname, "class='form-control'");?>
user->dept;?>dept, "class='form-control'");?>user->role;?>user->roleList, $user->role, "class='form-control'");?>
group->priv;?>
user->join;?>join, "class='form-control form-date'");?>user->gender;?>user->genderList, $user->gender);?>
+ + + + + + + + + + + + + + + + + + +
user->accountInfo;?>
user->account;?>account, "class='form-control' autocomplete='off'");?>user->email;?>email, "class='form-control'");?>
user->password;?>user->password2;?>
user->commiter;?>commiter, "class='form-control'");?>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
user->contactInfo;?>
user->skype;?>skype, "class='form-control'");?>user->qq;?>qq, "class='form-control'");?>
user->yahoo;?>yahoo, "class='form-control'");?>user->gtalk;?>gtalk, "class='form-control'");?>
user->wangwang;?>wangwang, "class='form-control'");?>user->mobile;?>mobile, "class='form-control'");?>
user->phone;?>phone, "class='form-control'");?>user->address;?>address, "class='form-control'");?>
user->zipcode;?>zipcode, "class='form-control'");?>
+
+
diff --git a/module/user/view/featurebar.html.php b/module/user/view/featurebar.html.php index e1634ab1db..51a31c92fd 100755 --- a/module/user/view/featurebar.html.php +++ b/module/user/view/featurebar.html.php @@ -1,24 +1,25 @@
-
+
+
-
-
+
+
+
' id='todoform'> - +
recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}"; ?> @@ -38,7 +38,7 @@ - + diff --git a/www/js/my.full.js b/www/js/my.full.js index 764ff9025f..94ef07983b 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -385,6 +385,7 @@ function saveWindowSize() function setOuterBox() { if($('.outer > .side').length) $('.outer').addClass('with-side'); + if($('.sub-featurebar').length) $('#featurebar').addClass('with-sub'); var resetOuterHeight = function() { diff --git a/www/theme/default/style.css b/www/theme/default/style.css index a5b54e888d..8e73918c8f 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -394,6 +394,14 @@ body {font-size: 12px; color:#141414;padding-bottom: 40px;} #featurebar .btn > i {display: inline-block; margin-right: 2px; opacity: 0.8} #featurebar .actions {float: right; margin-top: -2px;} +/* sub featurebar */ +.sub-featurebar {border-bottom: 1px solid #ddd; padding: 5px 10px} +.sub-featurebar > .nav > li {float: left;} +.sub-featurebar > .nav > li > a {padding: 5px 10px} +.sub-featurebar > .nav > li.active > a {color: #333; font-weight: bold;} + +#featurebar.with-sub > .nav > li.active > a {border: 1px solid #ddd; position: relative; border-bottom: none; background: #fff; padding: 2px 15px 5px} + /* Title bar. */ #titlebar {background: #F8FAFE; border-bottom: 1px solid #e5e5e5; min-height: 46px; padding: 15px 20px 10px; vertical-align: bottom; position: relative;} #titlebar > .heading {font-size: 14px; line-height: 20px; }
todo->name);?> todo->beginAB);?> todo->endAB);?>todo->status);?>todo->status);?>