]> git.mjollnir.org Git - moodle.git/commitdiff
Moved the view source button to solve problems with other languages
authormoodler <moodler>
Sun, 15 Dec 2002 17:59:40 +0000 (17:59 +0000)
committermoodler <moodler>
Sun, 15 Dec 2002 17:59:40 +0000 (17:59 +0000)
pushing it off the screen

lib/rte/richedit.html

index 21d3ad51ca7f0c9dfe34e9eef2c6e9ae17fcdc42..3f6a1239d71b51332a2cb66cf6143c88fc497651 100644 (file)
@@ -182,7 +182,14 @@ var tEdit = null;
                <img id="btnRule"   onclick="doStyle('InsertHorizontalRule')" alt="@{InsertLine}" src="images/icon_rule.gif" align="absMiddle" width="20" height="20">\r
                <img id="btnSmile"  onclick="insert('smile')" alt="@{InsertSmily}" src="images/em.icon.smile.gif" align="absMiddle" width="15" height="15">\r
                <img id="btnChar"       onclick="insert('char')" alt="@{InsertCharacter}" src="images/icon_ins_char.gif" align="absMiddle" width="20" height="20" border="0">\r
-    </span></nobr></td></tr>\r
+       <span id="featureSource">\r
+               <img class="spacer" src="images/spacer.gif" width="2"><span class="start"></span>&nbsp;\r
+               <span class="label">@{Source}</span>\r
+               <input title="@{SourceTitle}" class="checkbox" hidefocus type="checkbox" name="switchMode"\r
+                               onclick="tEdit.stopCellResize(true); tEdit.unSetTableElements(); setEditMode(switchMode)">\r
+    </span>\r
+       </span>\r
+    </nobr></td></tr>\r
        <tr id="featureStyleBar" ondragstart="handleDrag(0)" onmouseup="press(false)" onmousedown="press(true)" onmouseover="hover(true)" onmouseout="hover(false)">\r
     <td colspan=2 class="rebar"><nobr><span class="toolbar">\r
                <img class="spacer" src="images/spacer.gif" width="2"><span class="start"></span>&nbsp;\r
@@ -223,12 +230,6 @@ var tEdit = null;
                        <img id="btnText"  onclick="pickColor('ForeColor')" alt="@{TextColor}" src="images/icon_color_text.gif" align="absMiddle" width="36" height="20">\r
                        <img id="btnFill"  onclick="pickColor('BackColor')" alt="@{BackgroundColor}" src="images/icon_color_fill.gif" align="absMiddle" width="36" height="20">\r
                </span>\r
-               <span id="featureSource">\r
-                       <img class="spacer" src="images/spacer.gif" width="2"><span class="start"></span>&nbsp;\r
-                       <span class="label">@{Source}</span>\r
-                       <input title="@{SourceTitle}" class="checkbox" hidefocus type="checkbox" name="switchMode"\r
-                                       onclick="tEdit.stopCellResize(true); tEdit.unSetTableElements(); setEditMode(switchMode)">\r
-               </span>\r
        </span></nobr></td>\r
 </tr>\r
 <!-- Fields are inserted here -->\r