]> git.mjollnir.org Git - moodle.git/commitdiff
Adding more checkboxes to editor settings (fontname, fontsize, formatblock).
authorjulmis <julmis>
Sat, 22 Jan 2005 11:01:34 +0000 (11:01 +0000)
committerjulmis <julmis>
Sat, 22 Jan 2005 11:01:34 +0000 (11:01 +0000)
admin/editor.html

index f0cb124cb3922ab47bd267b3deb4446c1478d98b..b48f266a1e40740e50b951015ce227333ba544da 100644 (file)
     }
     ?>
     <table border="0" cellpadding="2" cellspacing="1">
+    <tr>
+        <td colspan="12"><input type="checkbox" name="buttons[fontname]"<?php print(in_array("fontname", $buttons)) ? " checked=\"checked\"": "";?> /> <?php print_string("fontname","editor");?>
+        <input type="checkbox" name="buttons[fontsize]"<?php print(in_array("fontsize", $buttons)) ? " checked=\"checked\"": "";?> /> <?php print_string("fontsize","editor");?>
+        <input type="checkbox" name="buttons[formatblock]"<?php print(in_array("formatblock", $buttons)) ? " checked=\"checked\"": "";?> /> <?php print_string("formatblock","editor");?></td>
+    </tr>
     <tr>
         <td><img src="<?php echo $CFG->wwwroot ?>/lib/editor/images/ed_format_bold.gif" width="18" height="18" alt="<?php print_string("bold","editor");?>" title="<?php print_string("bold","editor");?>" /></td>
         <td><img src="<?php echo $CFG->wwwroot ?>/lib/editor/images/ed_format_italic.gif" width="18" height="18" alt="<?php print_string("italic","editor");?>" title="<?php print_string("italic","editor");?>" /></td>