From: Victor B. <vb...@us...> - 2006-08-15 06:10:19
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv25744/core Modified Files: columns_api.php Log Message: Fixed #7348: no print_column_date_submitted() in columns_api.php Index: columns_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/columns_api.php,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- columns_api.php 18 May 2006 06:24:36 -0000 1.14 +++ columns_api.php 15 Aug 2006 06:10:14 -0000 1.15 @@ -583,6 +583,14 @@ # -------------------- # $p_columns_target: see COLUMNS_TARGET_* in constant_inc.php + function print_column_date_submitted( $p_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { + $t_date_submitted = date( config_get( 'short_date_format' ), $p_row['date_submitted'] ); + + echo '<td class="center">', $t_date_submitted, '</td>'; + } + + # -------------------- + # $p_columns_target: see COLUMNS_TARGET_* in constant_inc.php function print_column_summary( $p_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { global $t_icon_path; |