version 1.39, 2012/12/17 15:06:39
|
version 1.40, 2014/01/16 18:07:45
|
Line 286 ENDSCRIPT
|
Line 286 ENDSCRIPT
|
$output .= &Apache::loncommon::start_data_table(); |
$output .= &Apache::loncommon::start_data_table(); |
if ($msgcount > 0) { |
if ($msgcount > 0) { |
$output .= &Apache::loncommon::start_data_table_header_row(). |
$output .= &Apache::loncommon::start_data_table_header_row(). |
'<th><a href="javascript:changeSort(\'date\')">Date</a></th>'. |
'<th><a href="javascript:changeSort(\'date\')">'.&mt('Date').'</a></th>'. |
'<th><a href="javascript:changeSort(\'subject\')">Subject</a></th>'. |
'<th><a href="javascript:changeSort(\'subject\')">'.&mt('Subject').'</a></th>'. |
'<th><a href="javascript:changeSort(\'sender\')">Sender</a></th>'. |
'<th><a href="javascript:changeSort(\'sender\')">'.&mt('Sender').'</a></th>'. |
'<th><a href="javascript:changeSort(\'message\')">Message</a></th>'. |
'<th><a href="javascript:changeSort(\'message\')">'.&mt('Message').'</a></th>'. |
'<th><a href="javascript:changeSort(\'recipients\')">Recipients</a></th>'. |
'<th><a href="javascript:changeSort(\'recipients\')">'.&mt('Recipients').'</a></th>'. |
&Apache::loncommon::end_data_table_header_row(); |
&Apache::loncommon::end_data_table_header_row(); |
|
|
if (($env{'form.sortby'} eq 'date') || ($env{'form.sortby'} eq '') || (!defined($env{'form.sortby'})) || (($env{'form.sortby'} eq 'sender') && (@senders <= 1))) { |
if (($env{'form.sortby'} eq 'date') || ($env{'form.sortby'} eq '') || (!defined($env{'form.sortby'})) || (($env{'form.sortby'} eq 'sender') && (@senders <= 1))) { |
Line 357 ENDSCRIPT
|
Line 357 ENDSCRIPT
|
} |
} |
} else { |
} else { |
$output .= &Apache::loncommon::start_data_table_empty_row(). |
$output .= &Apache::loncommon::start_data_table_empty_row(). |
'<td>No mail sent matching supplied criteria</td>'. |
'<td>'.&mt('No mail sent matching supplied criteria').'</td>'. |
&Apache::loncommon::end_data_table_empty_row(); |
&Apache::loncommon::end_data_table_empty_row(); |
} |
} |
$output .= &Apache::loncommon::end_data_table(); |
$output .= &Apache::loncommon::end_data_table(); |
Line 720 ENDSCRIPT
|
Line 720 ENDSCRIPT
|
&Apache::loncommon::end_data_table_row(). |
&Apache::loncommon::end_data_table_row(). |
&Apache::loncommon::end_data_table(); |
&Apache::loncommon::end_data_table(); |
} else { |
} else { |
$output .= 'No mail sent - no recipients identified'; |
$output .= &mt('No mail sent - no recipients identified'); |
} |
} |
$output .= '<br /><a href="/adm/notify">'.&mt('Send another e-mail').'</a>'."\n"; |
$output .= '<br /><a href="/adm/notify">'.&mt('Send another e-mail').'</a>'."\n"; |
$output .= '<input type="hidden" name="command" />'."\n". |
$output .= '<input type="hidden" name="command" />'."\n". |