[LON-CAPA-cvs] cvs: loncom /interface lonannounce.pm
raeburn
raeburn at source.lon-capa.org
Sat May 25 17:45:42 EDT 2013
raeburn Sat May 25 21:45:42 2013 EDT
Modified files:
/loncom/interface lonannounce.pm
Log:
- xhtml
Index: loncom/interface/lonannounce.pm
diff -u loncom/interface/lonannounce.pm:1.85 loncom/interface/lonannounce.pm:1.86
--- loncom/interface/lonannounce.pm:1.85 Tue Aug 21 14:36:27 2012
+++ loncom/interface/lonannounce.pm Sat May 25 21:45:42 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Announce
#
-# $Id: lonannounce.pm,v 1.85 2012/08/21 14:36:27 raeburn Exp $
+# $Id: lonannounce.pm,v 1.86 2013/05/25 21:45:42 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -68,14 +68,14 @@
$r->print(<<ENDFORM);
<h2>$lt{'annon'} $help</h2>
-<form name="anno" method="post">
+<form name="anno" method="post" action="">
<input type="hidden" value='' name="action" />
<table><tr><td>$lt{'start'}:</td><td>$startdateform</td></tr>
<tr><td>$lt{'end'}:</td><td>$enddateform</td></tr></table>
<textarea name="msg" rows="4" cols="60">$text</textarea>
<br />
<label><input type="checkbox" name="rsspost" /> $lt{'incrss'}</label>
-<br /><input type="button" onClick="trysubmit()" value="$lt{'post'}" /><hr />
+<br /><input type="button" onclick="trysubmit()" value="$lt{'post'}" /><hr />
ENDFORM
}
@@ -592,7 +592,7 @@
}
$r->print(&Apache::loncommon::confirmwrapper($message));
}
- $r->print('<form name="serveranno" method="post">'
+ $r->print('<form name="serveranno" method="post" action="">'
.'<h2>'.&mt('Post Server Announcements').'</h2>'
.&mt('Post announcements to the system login and roles screen').'<br />'
.'<i>'.&mt('(leave blank to delete announcement)').'</i><br />'
@@ -775,7 +775,7 @@
# ----------------------------------------------------------------- Check marks
undef(%showedcheck);
# --------------------------------------------------------------- Remove button
- if ($allowed) { $r->print('<br /><input type="button" onClick="removesub()" value="'.&mt('Remove Checked Entries').'">'.
+ if ($allowed) { $r->print('<br /><input type="button" onclick="removesub()" value="'.&mt('Remove Checked Entries').'" />'.
&Apache::loncommon::help_open_topic('Calendar_Remove_Announcement').'</form>'); }
$r->print('<p>'.
'<a href="/adm/announcements?month='.$pm.'&year='.$py.
More information about the LON-CAPA-cvs
mailing list