Giving the capabilities a bit more room on smaller screens

This commit is contained in:
moodler 2006-09-24 14:26:50 +00:00
parent bc28fcd8fc
commit 8173517648

View File

@ -70,10 +70,11 @@
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>