From c7cdb125ae902fe47639fe3e9d4ebff8242b3ee2 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Wed, 10 Feb 2010 08:22:05 +0000 Subject: [PATCH] * change the reviewedDate. --- trunk/db/update0.4.sql | 3 +++ trunk/lib/front/front.class.php | 4 ++-- trunk/www/theme/default/style.css | 11 +++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/trunk/db/update0.4.sql b/trunk/db/update0.4.sql index 38a4a899f5..20e01eb317 100644 --- a/trunk/db/update0.4.sql +++ b/trunk/db/update0.4.sql @@ -103,3 +103,6 @@ DROP TABLE `zt_releation`; -- 20100208 adjust action table. ALTER TABLE `zt_action` ADD `extra` VARCHAR( 255 ) NOT NULL AFTER `id`; UPDATE zt_action SET extra = substr( ACTION , 13 ) , ACTION = 'Resolved' WHERE ACTION LIKE 'Resolved%'; + +--20100210 adjust the reviewedDate +ALTER TABLE `zt_story` CHANGE `reviewedDate` `reviewedDate` DATE NOT NULL diff --git a/trunk/lib/front/front.class.php b/trunk/lib/front/front.class.php index 59822b8721..8a2759487e 100644 --- a/trunk/lib/front/front.class.php +++ b/trunk/lib/front/front.class.php @@ -232,14 +232,14 @@ class html * @access public * @return string the submit button tag. */ - public static function submitButton($label = '') + public static function submitButton($label = '', $misc = '') { if(empty($label)) { global $lang; $label = $lang->save; } - return " "; + return " "; } /** diff --git a/trunk/www/theme/default/style.css b/trunk/www/theme/default/style.css index b27250fe0b..f6169da77d 100644 --- a/trunk/www/theme/default/style.css +++ b/trunk/www/theme/default/style.css @@ -69,8 +69,8 @@ caption {border:1px solid #e4e4e4; background:#efefef; margin:0; padding:5 .colhead th {text-align:center; background:#efefef;} .rowhead {font-weight:bold; text-align:right; width:100px} .fixed {table-layout:fixed} -.nobr {overflow:hidden; text-overflow:ellipsis; white-space:nowrap;} -.fixed th, .fixed td {overflow:hidden; text-overflow:ellipsis; white-space:nowrap;} +.nobr {overflow:hidden; white-space:nowrap;} +.fixed th, .fixed td {overflow:hidden; white-space:nowrap;} .odd {background:#ECF6FC} .even {background:white} @@ -161,6 +161,13 @@ caption {border:1px solid #e4e4e4; background:#efefef; margin:0; padding:5 .bg-yellow {background-color:#FBF5C6;} .bg-gray {background-color:#efefef;} +/*-----------------------COLOR SETTING----------------------------*/ +.red {color:red;} +.blue {color:blue} +.yellow {color:yellow;} +.gray {color:gray;} +.green {color:green;} + /*-----------------------SPECIAL PART SETTING--------------------*/ /* 最顶部的导航条。*/