]> git.mjollnir.org Git - moodle.git/commitdiff
Giving the capabilities a bit more room on smaller screens
authormoodler <moodler>
Sun, 24 Sep 2006 14:26:50 +0000 (14:26 +0000)
committermoodler <moodler>
Sun, 24 Sep 2006 14:26:50 +0000 (14:26 +0000)
admin/roles/manage.html

index ac92bd2e6ebec9a79d81870a62aa0ea75f906123..eb5475c95a648dcc166e4daa914e60769499201b 100755 (executable)
         print_textarea($usehtmleditor, 10, 50, 50, 10, 'description', $role->description);
     } ?></td>
 </tr>
+</table>
 
-<tr valign="top">
-    <td align="right"><?php print_string('permissions','role') ?>:</td>
-    <td><table class="rolecap">
+<?php print_heading(get_string('permissions','role')) ?>
+
+<table class="rolecap">
 
 <tr>
 <th class="name" align="left"><?php print_string('capability','role') ?></th>
@@ -149,15 +150,13 @@ foreach ($capabilities as $capability) {
         </tr>
 
 <?php } ?>
-</table></td></tr>
+</table>
 
-<tr>
-    <td />
-    <td><input type="submit" value="<?php p($submitlabel) ?>" />
+<div class="submit" align="center">
+<input type="submit" value="<?php p($submitlabel) ?>" />
 <?php if ($action != 'view') { ?>
 <input type="submit" name="cancel" value="<?php print_string('cancel') ?>" />
 <?php } ?>
-    </form>
-    </td>
-</tr>
-</table>
+</div>
+
+</form>