version 1.82, 2007/08/06 22:00:53
|
version 1.84, 2008/02/22 13:32:49
|
Line 737 $content{'sendername'}.':'.
|
Line 737 $content{'sendername'}.':'.
|
'<br />'.&mt('Subject').': '.$content{'subject'}. |
'<br />'.&mt('Subject').': '.$content{'subject'}. |
'<br /><pre>'. |
'<br /><pre>'. |
&Apache::lontexconvert::msgtexconverted($content{'message'}). |
&Apache::lontexconvert::msgtexconverted($content{'message'}). |
'</pre><small>'; |
'</pre><div class="LC_error">'; |
my ($rec_button,$reprec_button); |
my ($rec_button,$reprec_button); |
$rec_button = &mt('Move to Inbox'); |
$rec_button = &mt('Move to Inbox'); |
if (!$content{'noreplies'}) { |
if (!$content{'noreplies'}) { |
Line 752 $content{'sendername'}.':'.
|
Line 752 $content{'sendername'}.':'.
|
} else { |
} else { |
$result .= &mt('Access to other pages will be prevented until you have moved the message to your inbox.'); |
$result .= &mt('Access to other pages will be prevented until you have moved the message to your inbox.'); |
} |
} |
$result .= '</small><br />'. |
$result .= '</div><br />'. |
'<input type="submit" name="rec_'.$key.'" value="'.$rec_button.'" />'; |
'<input type="submit" name="rec_'.$key.'" value="'.$rec_button.'" />'; |
if (!$content{'noreplies'}) { |
if (!$content{'noreplies'}) { |
$result .= '<input type="submit" name="reprec_'.$key.'" '. |
$result .= '<input type="submit" name="reprec_'.$key.'" '. |
Line 929 sub disfolder {
|
Line 929 sub disfolder {
|
<script type="text/javascript"> |
<script type="text/javascript"> |
$jscript |
$jscript |
|
|
function checkfoldermove() { |
|
if (document.disall.checkedaction.options[document.disall.checkedaction.selectedIndex].value == 'markedmove') { |
|
if (document.disall.movetofolder.options[document.disall.movetofolder.selectedIndex].value == "") { |
|
alert("$lt{'sede'}"); |
|
return; |
|
} |
|
} |
|
return; |
|
} |
|
|
|
function validate_checkedaction() { |
function validate_checkedaction() { |
document.disall.markedaction.value = document.disall.checkedaction.options[document.disall.checkedaction.selectedIndex].value; |
document.disall.markedaction.value = document.disall.checkedaction.options[document.disall.checkedaction.selectedIndex].value; |
if (document.disall.checkedaction.options[document.disall.checkedaction.selectedIndex].value == 'markedmove') { |
if (document.disall.checkedaction.options[document.disall.checkedaction.selectedIndex].value == 'markedmove') { |
Line 1110 ENDDISHEADER
|
Line 1100 ENDDISHEADER
|
'<input type="button" onclick="javascript:uncheckAll(document.disall.delmark)" value="'.&mt('Uncheck All').'" />'."\n". |
'<input type="button" onclick="javascript:uncheckAll(document.disall.delmark)" value="'.&mt('Uncheck All').'" />'."\n". |
'<input type="hidden" name="sortedby" value="'.$env{'form.sortedby'}.'" /></td><td> </td>'."\n". |
'<input type="hidden" name="sortedby" value="'.$env{'form.sortedby'}.'" /></td><td> </td>'."\n". |
'<td align="center"><b>'.&mt('Action').'</b><br />'."\n". |
'<td align="center"><b>'.&mt('Action').'</b><br />'."\n". |
' <select name="checkedaction" onchange="javascript:checkfoldermove()">'."\n"); |
' <select name="checkedaction">'."\n"); |
|
|
if ($folder ne 'trash') { |
if ($folder ne 'trash') { |
$r->print(' <option value="markeddel">'.&mt('Delete').'</option>'."\n"); |
$r->print(' <option value="markeddel">'.&mt('Delete').'</option>'."\n"); |