From c53b1dfe75e9be3cb7755b28884e35f3f1ea61f7 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 27 Jun 2013 09:10:14 +0000 Subject: [PATCH] * change to table. --- module/my/view/m.story.html.php | 3 +- module/product/view/m.browse.html.php | 3 +- module/story/view/m.activate.html.php | 26 --------- module/story/view/m.close.html.php | 42 +++++++++------ module/story/view/m.review.html.php | 78 ++++++++++++++++----------- module/user/view/m.login.html.php | 29 ++++++---- 6 files changed, 93 insertions(+), 88 deletions(-) delete mode 100755 module/story/view/m.activate.html.php diff --git a/module/my/view/m.story.html.php b/module/my/view/m.story.html.php index dc0355e9df..ff2a1cbfcd 100755 --- a/module/my/view/m.story.html.php +++ b/module/my/view/m.story.html.php @@ -38,8 +38,7 @@ if(!$story->deleted) { common::printIcon('story', 'review', "storyID=$story->id", $story); - common::printIcon('story', 'close', "storyID=$story->id", $story, '', '', '', 'iframe'); - common::printIcon('story', 'activate', "storyID=$story->id", $story, '', '', '', 'iframe'); + common::printIcon('story', 'close', "storyID=$story->id", $story); common::printIcon('story', 'delete', "storyID=$story->id", '', '', '', 'hiddenwin'); } ?> diff --git a/module/product/view/m.browse.html.php b/module/product/view/m.browse.html.php index 0b7a8f2cf0..aac96e75a9 100755 --- a/module/product/view/m.browse.html.php +++ b/module/product/view/m.browse.html.php @@ -14,8 +14,7 @@ if(!$story->deleted) { common::printIcon('story', 'review', "storyID=$story->id", $story); - common::printIcon('story', 'close', "storyID=$story->id", $story, '', '', '', 'iframe'); - common::printIcon('story', 'activate', "storyID=$story->id", $story, '', '', '', 'iframe'); + common::printIcon('story', 'close', "storyID=$story->id", $story); common::printIcon('story', 'delete', "storyID=$story->id", '', '', '', 'hiddenwin'); } ?> diff --git a/module/story/view/m.activate.html.php b/module/story/view/m.activate.html.php deleted file mode 100755 index 25730e534e..0000000000 --- a/module/story/view/m.activate.html.php +++ /dev/null @@ -1,26 +0,0 @@ - - * @package story - * @version $Id: activate.html.php 4129 2013-01-18 01:58:14Z wwccss $ - * @link http://www.zentao.net - */ -?> - - -
-

story->activate;?>

- story->assignedTo;?> - closedBy, 'class="select-3"');?> - story->comment;?> - -

- - -

-
- diff --git a/module/story/view/m.close.html.php b/module/story/view/m.close.html.php index 0cdc40ae0b..ccdc97e282 100755 --- a/module/story/view/m.close.html.php +++ b/module/story/view/m.close.html.php @@ -13,22 +13,30 @@
-

title;?>

- story->closedReason;?> - story->reasonList, '', 'onchange="setStory(this.value)"');?> - - - story->comment;?> - -

- - -

+

title;?>

+ + + + + + + + + + + + + + + + + + + + +
story->closedReason;?>story->reasonList, '', 'onchange="setStory(this.value)"');?>
story->comment;?>
+ + +
diff --git a/module/story/view/m.review.html.php b/module/story/view/m.review.html.php index aa7aabc1f8..69c27e4671 100755 --- a/module/story/view/m.review.html.php +++ b/module/story/view/m.review.html.php @@ -14,37 +14,51 @@

title?>

- story->reviewedDate;?> - - story->reviewResult;?> - story->reviewResultList, '', 'class=select-3 onchange="switchShow(this.value)"');?> - - - - status == 'changed' or ($story->status == 'draft' and $story->version > 1)):?> - - - story->assignedTo;?> - lastEditedBy ? $story->lastEditedBy : $story->openedBy, 'class=select-3');?> - story->reviewedBy;?> - user->account . ', ', 'class=text-1');?> - story->comment;?> - -

- - -

+ + + + + + + + + + + + + + + + + + + + + + status == 'changed' or ($story->status == 'draft' and $story->version > 1)):?> + + + + + + + + + + + + + + + + + + + + +
story->reviewedDate;?>
story->reviewResult;?>story->reviewResultList, '', 'onchange="switchShow(this.value)"');?>
story->assignedTo;?>lastEditedBy ? $story->lastEditedBy : $story->openedBy);?>
story->reviewedBy;?>user->account . ', ');?>
story->comment;?>
+ + +
diff --git a/module/user/view/m.login.html.php b/module/user/view/m.login.html.php index c5d9be0473..16b282b3ce 100755 --- a/module/user/view/m.login.html.php +++ b/module/user/view/m.login.html.php @@ -15,15 +15,26 @@ include '../../common/view/m.header.lite.html.php';
- user->account}'"); - echo html::password('password', '', "placeholder='{$lang->user->password}'"); - echo html::select('lang', $config->langs, $this->app->getClientLang(), 'onchange=selectLang(this.value)'); - echo html::checkBox('keepLogin', $lang->user->keepLogin, $keepLogin); - echo html::submitButton($lang->login, "data-inline='true' data-theme='b'"); - if($app->company->guest) echo html::linkButton($lang->user->asGuest, $this->createLink($config->default->module), '', "data-inline='true'"); - echo html::hidden('referer', $referer); - ?> + + + + + + + + + + + + + +
user->account;?>:
user->password;?>:
user->keepLogin, $keepLogin);?>
+ login, "data-inline='true' data-theme='b'"); + if($app->company->guest) echo html::linkButton($lang->user->asGuest, $this->createLink($config->default->module), '', "data-inline='true'"); + echo html::hidden('referer', $referer); + ?> +