}
-echo report_header($Language->getText('reporting_ut','title'));
+echo report_header(_('User Time Reporting'));
$abc_array = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
-echo $Language->getText('reporting_ut','description');
+echo _('Choose the <strong>First Letter</strong> of the name of the person you wish to report on.<p>');
for ($i=0; $i<count($abc_array); $i++) {
if ($sw == $abc_array[$i]) {
if ($sw) {
- $a[]=$Language->getText('reporting_ttbp','bytask');
- $a[]=$Language->getText('reporting_ttbp','bycategory');
- $a[]=$Language->getText('reporting_ttbp','bysubproject');
+ $a[]=_('By Task');
+ $a[]=_('By Category');
+ $a[]=_('By Subproject');
$a2[]='tasks';
$a2[]='category';
$a2[]='subproject';
?>
- <h3><?php echo $Language->getText('reporting_ut','title'); ?></h3>
+ <h3><?php echo _('User Time Reporting'); ?></h3>
<p>
<form action="<?php echo getStringFromServer('PHP_SELF'); ?>" method="get">
<input type="hidden" name="sw" value="<?php echo $sw; ?>">
<input type="hidden" name="typ" value="<?php echo $typ; ?>">
<table><tr>
- <td><strong><?php echo $Language->getText('reporting','user'); ?>:</strong><br /><?php echo report_usertime_box('dev_id',$dev_id,$sw); ?></td>
- <td><strong><?php echo $Language->getText('reporting','type'); ?>:</strong><br /><?php echo html_build_select_box_from_arrays($a2,$a,'type',$type,false); ?></td>
- <td><strong><?php echo $Language->getText('reporting','start'); ?>:</strong><br /><?php echo report_months_box($report, 'start', $start); ?></td>
- <td><strong><?php echo $Language->getText('reporting','end'); ?>:</strong><br /><?php echo report_months_box($report, 'end', $end); ?></td>
- <td><input type="submit" name="submit" value="<?php echo $Language->getText('reporting','refresh'); ?>"></td>
+ <td><strong><?php echo _('User'); ?>:</strong><br /><?php echo report_usertime_box('dev_id',$dev_id,$sw); ?></td>
+ <td><strong><?php echo _('Type'); ?>:</strong><br /><?php echo html_build_select_box_from_arrays($a2,$a,'type',$type,false); ?></td>
+ <td><strong><?php echo _('Start'); ?>:</strong><br /><?php echo report_months_box($report, 'start', $start); ?></td>
+ <td><strong><?php echo _('End'); ?>:</strong><br /><?php echo report_months_box($report, 'end', $end); ?></td>
+ <td><input type="submit" name="submit" value="<?php echo _('Refresh'); ?>"></td>
</tr></table>
</form>
<p>