Skip to content

Commit

Permalink
Fixed help button layout in accordance with standard modules (bug 2556).
Browse files Browse the repository at this point in the history
  • Loading branch information
mchurch committed Feb 18, 2005
1 parent ee930c4 commit f0195f0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions mod/wiki/mod.html
Expand Up @@ -83,7 +83,6 @@


<tr valign="top"> <tr valign="top">
<td align="right"> <td align="right">
<?php helpbutton('wikitype', get_string('wikitype', 'wiki'), 'wiki'); ?>
<b><?php print_string('wikitype', "wiki") ?>:</b></td> <b><?php print_string('wikitype', "wiki") ?>:</b></td>
<td> <td>
<?php <?php
Expand All @@ -94,6 +93,7 @@
choose_from_menu($WIKI_TYPES, 'wtype', $form->wtype, ""); choose_from_menu($WIKI_TYPES, 'wtype', $form->wtype, "");
} }
?> ?>
<?php helpbutton('wikitype', get_string('wikitype', 'wiki'), 'wiki'); ?>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
Expand All @@ -107,40 +107,39 @@
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td align="right"> <td align="right">
<?php helpbutton('htmlmode', get_string('htmlmode', 'wiki'), 'wiki'); ?>
<b><?php print_string('htmlmode', 'wiki') ?>:</b></td> <b><?php print_string('htmlmode', 'wiki') ?>:</b></td>
<td> <td>
<?php <?php
$htmlmodes=array( "0" => get_string("nohtml","wiki") , "1" => get_string("safehtml","wiki"), "2" => get_string("htmlonly","wiki")); $htmlmodes=array( "0" => get_string("nohtml","wiki") , "1" => get_string("safehtml","wiki"), "2" => get_string("htmlonly","wiki"));
choose_from_menu($htmlmodes, "htmlmode", $form->htmlmode, ""); choose_from_menu($htmlmodes, "htmlmode", $form->htmlmode, "");
?> ?>
<?php helpbutton('htmlmode', get_string('htmlmode', 'wiki'), 'wiki'); ?>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
<td align="right"> <td align="right">
<?php helpbutton('ewikiacceptbinary', get_string('ewikiacceptbinary', 'wiki'), 'wiki') ?>
<b><?php print_string('ewikiacceptbinary', 'wiki') ?>:</b></td> <b><?php print_string('ewikiacceptbinary', 'wiki') ?>:</b></td>
<td> <td>
<select size="1" name="ewikiacceptbinary"> <select size="1" name="ewikiacceptbinary">
<option value="1" <?php if ( $form->ewikiacceptbinary) { echo 'selected="selected"'; }?>><?php print_string('yes') ?></option> <option value="1" <?php if ( $form->ewikiacceptbinary) { echo 'selected="selected"'; }?>><?php print_string('yes') ?></option>
<option value="0" <?php if ( !$form->ewikiacceptbinary) { echo 'selected="selected"'; }?>><?php print_string('no') ?></option> <option value="0" <?php if ( !$form->ewikiacceptbinary) { echo 'selected="selected"'; }?>><?php print_string('no') ?></option>
</select> </select>
<?php helpbutton('ewikiacceptbinary', get_string('ewikiacceptbinary', 'wiki'), 'wiki') ?>
</td> </td>
</tr> </tr>


<tr valign="top"> <tr valign="top">
<td align="right"> <td align="right">
<?php helpbutton('wikilinkoptions', get_string('wikilinkoptions', 'wiki'), 'wiki') ?>
<b> <?php print_string('wikilinkoptions', 'wiki') ?>:</b></td> <b> <?php print_string('wikilinkoptions', 'wiki') ?>:</b></td>
<td> <td>
<input type="checkbox" name="disablecamelcase" value="1" <?php echo $form->disablecamelcase?"CHECKED":""; ?> alt="<?php print_string('disablecamel', 'wiki') ?>" /> <input type="checkbox" name="disablecamelcase" value="1" <?php echo $form->disablecamelcase?"CHECKED":""; ?> alt="<?php print_string('disablecamel', 'wiki') ?>" />
<?php print_string('disablecamel', 'wiki') ?><br /> <?php print_string('disablecamel', 'wiki') ?><br />
<?php helpbutton('wikilinkoptions', get_string('wikilinkoptions', 'wiki'), 'wiki') ?>
</td> </td>
</tr> </tr>


<tr valign="top"> <tr valign="top">
<td align="right"> <td align="right">
<?php helpbutton('studentadminoptions', get_string('studentadminoptions', 'wiki'), 'wiki') ?>
<b> <?php print_string('studentadminoptions', 'wiki') ?>:</b></td> <b> <?php print_string('studentadminoptions', 'wiki') ?>:</b></td>
<td> <td>
<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr> <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>
Expand All @@ -152,7 +151,9 @@
</td> </td>
<td width="50%"> <td width="50%">
<input type="checkbox" name="removepages" value="1" <?php echo $form->removepages?"CHECKED":""; ?> alt="<?php print_string('allowremovepages', 'wiki') ?>" /> <input type="checkbox" name="removepages" value="1" <?php echo $form->removepages?"CHECKED":""; ?> alt="<?php print_string('allowremovepages', 'wiki') ?>" />
<?php print_string('allowremovepages', 'wiki') ?><br /> <?php print_string('allowremovepages', 'wiki') ?>
<?php helpbutton('studentadminoptions', get_string('studentadminoptions', 'wiki'), 'wiki') ?>
<br />
<input type="checkbox" name="revertchanges" value="1" <?php echo $form->revertchanges?"CHECKED":""; ?> alt="<?php print_string('allowrevertchanges', 'wiki') ?>" /> <input type="checkbox" name="revertchanges" value="1" <?php echo $form->revertchanges?"CHECKED":""; ?> alt="<?php print_string('allowrevertchanges', 'wiki') ?>" />
<?php print_string('allowrevertchanges', 'wiki') ?><br /> <?php print_string('allowrevertchanges', 'wiki') ?><br />
</td> </td>
Expand All @@ -167,7 +168,6 @@


<tr valign="top"> <tr valign="top">
<td align="right"> <td align="right">
<?php helpbutton('wikiname', get_string('wikiname', 'wiki'), 'wiki'); ?>
<b><?php print_string('wikiname', 'wiki') ?>:</b></td> <b><?php print_string('wikiname', 'wiki') ?>:</b></td>
<td> <td>
<?php <?php
Expand All @@ -181,12 +181,12 @@
<?php <?php
} }
?> ?>
<?php helpbutton('wikiname', get_string('wikiname', 'wiki'), 'wiki'); ?>
</td> </td>
</tr> </tr>


<tr valign="top"> <tr valign="top">
<td align="right" nowrap="nowrap"> <td align="right" nowrap="nowrap">
<?php helpbutton('initialcontent', get_string('initialcontent', 'wiki'), 'wiki'); ?>
<b><?php echo get_string("initialcontent", "wiki") ?>:</b> <b><?php echo get_string("initialcontent", "wiki") ?>:</b>
</td> </td>
<td> <td>
Expand All @@ -201,6 +201,7 @@
"wikifiles", $strchooseafile, 500, 750, $strchooseafile); "wikifiles", $strchooseafile, 500, 750, $strchooseafile);
} }
?> ?>
<?php helpbutton('initialcontent', get_string('initialcontent', 'wiki'), 'wiki'); ?>
</td> </td>
</tr> </tr>
<?php print_standard_coursemodule_settings($form); ?> <?php print_standard_coursemodule_settings($form); ?>
Expand Down

0 comments on commit f0195f0

Please sign in to comment.