mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed
This commit is contained in:
parent
c0fe837eeb
commit
60af27037b
44 changed files with 197 additions and 197 deletions
|
@ -468,7 +468,7 @@
|
|||
echo " <input type=\"hidden\" name=\"wdir\" value=\"$wdir\" />\n";
|
||||
echo " <input type=\"hidden\" name=\"action\" value=\"zip\" />\n";
|
||||
echo " <input type=\"hidden\" name=\"sesskey\" value=\"$USER->sesskey\" />\n";
|
||||
echo " <INPUT TYPE=text name=name SIZE=35 value=\"new.zip\" />\n";
|
||||
echo " <INPUT type=\"text\" name=\"name\" size=\"35\" value=\"new.zip\" />\n";
|
||||
echo " <input type=\"submit\" value=\"".get_string("createziparchive")."\" />";
|
||||
echo "</form>\n";
|
||||
echo "</td>\n<td>\n";
|
||||
|
|
|
@ -70,7 +70,7 @@ function ValidateColor(string) { // return valid color code
|
|||
<tr>
|
||||
<td style="background:buttonface" valign=center><div style="background-color: #000000; padding: 1; height: 21px; width: 50px"><div id="ColorPreview" style="height: 100%; width: 100%"></div></div></td>
|
||||
<td style="background:buttonface" valign=center><input type="text" name="ColorHex"
|
||||
id="ColorHex" value="" size=15 style="font-size: 12px"></td>
|
||||
id="ColorHex" value="" size=15 style="font-size: 12px" /></td>
|
||||
<td style="background:buttonface" width=100%></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -508,7 +508,7 @@ function rss_get_form($act='none', $url='', $rssid='', $preferredtitle='', $shar
|
|||
$returnstring .= '<input type="hidden" name="user" value="'. $USER->id .'" />'."\n";
|
||||
$returnstring .= '<br /><input type="submit" value="';
|
||||
$validatestring = "<a href=\"#\"
|
||||
onClick=\"window.open('http://feedvalidator.org/check.cgi?url='+getElementId('block_rss').elements['url'].value,'validate','width=640,height=480,scrollbars=yes,status=yes,resizable=yes');return true;\">". get_string('validatefeed', 'block_rss_client')."</a>";
|
||||
onClick=\"window.open('http://feedvalidator.org/check.cgi?url='+getElementId('block_rss').elements['url'].value,'validate','width=640,height=480,scrollbars=yes,status=yes,resizable=yes');return true;\" />". get_string('validatefeed', 'block_rss_client')."</a>";
|
||||
|
||||
if ($act == 'rssedit') {
|
||||
$returnstring .= $stredit;
|
||||
|
|
|
@ -111,11 +111,11 @@ function init_spell() {
|
|||
<table border="0" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input class="buttonDefault" type="button" value="Ignore" onClick="ignore_word();">
|
||||
<input class="buttonDefault" type="button" value="Ignore" onClick="ignore_word();" />
|
||||
</td>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input class="buttonDefault" type="button" value="Ignore All" onClick="ignore_all();">
|
||||
<input class="buttonDefault" type="button" value="Ignore All" onClick="ignore_all();" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -124,11 +124,11 @@ function init_spell() {
|
|||
<tr>
|
||||
|
||||
<td>
|
||||
<input class="buttonDefault" type="button" value="Replace" onClick="replace_word();">
|
||||
<input class="buttonDefault" type="button" value="Replace" onClick="replace_word();" />
|
||||
</td>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input class="buttonDefault" type="button" value="Replace All" onClick="replace_all();">
|
||||
<input class="buttonDefault" type="button" value="Replace All" onClick="replace_all();" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -136,11 +136,11 @@ function init_spell() {
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input class="buttonDefault" type="button" name="btnUndo" value="Undo" onClick="undo();" disabled>
|
||||
<input class="buttonDefault" type="button" name="btnUndo" value="Undo" onClick="undo();" disabled />
|
||||
</td>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input class="buttonDefault" type="button" value="Close" onClick="end_spell();">
|
||||
<input class="buttonDefault" type="button" value="Close" onClick="end_spell();" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -45,7 +45,7 @@ function postWords() {
|
|||
bodyDoc.write('<p>Spell check in progress...</p>');
|
||||
bodyDoc.write('<form action="'+speller.spellCheckScript+'" method="post">');
|
||||
for( var i = 0; i < speller.textInputs.length; i++ ) {
|
||||
bodyDoc.write('<input type="hidden" name="textinputs[]" value="'+encodeForPost(speller.textInputs[i].value)+'">');
|
||||
bodyDoc.write('<input type="hidden" name="textinputs[]" value="'+encodeForPost(speller.textInputs[i].value)+'" />');
|
||||
}
|
||||
bodyDoc.write('</form>');
|
||||
bodyDoc.write('</body>');
|
||||
|
|
|
@ -258,7 +258,7 @@ function _getWordObject( textIndex, wordIndex ) {
|
|||
|
||||
function _wordInputStr( word ) {
|
||||
var str = '<input readonly ';
|
||||
str += 'class="blend" type="text" value="' + word + '" size="' + word.length + '">';
|
||||
str += 'class="blend" type="text" value="' + word + '" size="' + word.length + '" />';
|
||||
return str;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue