Permalink
Browse files

Authorize.net Setting sections...

  • Loading branch information...
ethem
ethem committed Dec 3, 2005
1 parent 2a39186 commit df12ac18e2d4930de004828310f21908b0f2396a
Showing with 38 additions and 89 deletions.
  1. +38 −89 enrol/authorize/config.html
View
@@ -1,149 +1,98 @@
<table cellspacing="0" cellpadding="5" border="0" align="center">
+<tr valign="top"><td colspan="3"><h4><?php print_string("adminauthorizewide", "enrol_authorize") ?></h4></td></tr>
+
<tr valign="top">
<td align="right">enrol_cost:</td>
- <td>
- <input type="text" size="5" name="enrol_cost" value="<?php p($frm->enrol_cost) ?>" />
- </td>
- <td>
- <?php print_string("costdefault") ?>
- </td>
+ <td><input type="text" size="5" name="enrol_cost" value="<?php p($frm->enrol_cost) ?>" /></td>
+ <td><?php print_string("costdefault") ?></td>
</tr>
<tr valign="top">
<td align="right">enrol_currency:</td>
- <td>
- <?php
- $currencies = get_list_of_currencies();
- choose_from_menu ($currencies, "enrol_currency", $frm->enrol_currency, "","", "") ?>
- </td>
- <td>
- <?php print_string("currency") ?>
+ <td><?php choose_from_menu(get_list_of_currencies(), "enrol_currency", $frm->enrol_currency, "","", "") ?></td>
+ <td><?php print_string("currency") ?>
</td>
</tr>
<tr valign="top">
<td align="right">loginhttps:</td>
- <td>
- <?php echo (empty($CFG->loginhttps) ? "<font color=\"red\">off</font>" : "<font color=\"green\">on</font>") ?>
- </td>
- <td>
- <?php
- $a->url = "$CFG->wwwroot/$CFG->admin/config.php#configsectionsecurity";
- print_string("logindesc", "enrol_authorize", $a)
- ?>
- </td>
+ <td><?php echo (empty($CFG->loginhttps) ? "<font color=\"red\">off</font>" : "<font color=\"green\">on</font>") ?></td>
+ <td><?php
+ $a->url = "$CFG->wwwroot/$CFG->admin/config.php#configsectionsecurity";
+ print_string("logindesc", "enrol_authorize", $a)
+ ?></td>
</tr>
-<tr valign="top"><td colspan="3"><hr noshade="noshade" size="1"></td></tr>
+<tr valign="top"><td colspan="3"><h4><?php print_string("adminauthorizesettings", "enrol_authorize") ?></h4></td></tr>
<tr valign="top">
<td align="right">an_login:</td>
- <td>
- <input type="text" name="an_login" value="<?php p($frm->an_login) ?>" />
- </td>
- <td>
- <?php print_string("anlogin", "enrol_authorize") ?>
- </td>
+ <td><input type="text" name="an_login" value="<?php p($frm->an_login) ?>" /></td>
+ <td><?php print_string("anlogin", "enrol_authorize") ?></td>
</tr>
<tr valign="top">
- <td align="right"></td>
- <td colspan="2">
- <?php print_string("chooseone", "enrol_authorize") ?>
- </td>
+ <td align="right">#&nbsp;</td>
+ <td colspan="2"><?php print_string("chooseone", "enrol_authorize") ?></td>
</tr>
<tr valign="top">
<td align="right">an_tran_key:</td>
- <td>
- <input type="text" name="an_tran_key" value="<?php p($frm->an_tran_key) ?>" />
- </td>
- <td>
- <?php print_string("antrankey", "enrol_authorize") ?>
- </td>
+ <td><input type="text" name="an_tran_key" value="<?php p($frm->an_tran_key) ?>" /></td>
+ <td><?php print_string("antrankey", "enrol_authorize") ?></td>
</tr>
<tr valign="top">
<td align="right">an_password:</td>
- <td>
- <input type="text" name="an_password" value="<?php p($frm->an_password) ?>" />
- </td>
- <td>
- <?php print_string("anpassword", "enrol_authorize") ?>
- </td>
+ <td><input type="text" name="an_password" value="<?php p($frm->an_password) ?>" /></td>
+ <td><?php print_string("anpassword", "enrol_authorize") ?></td>
</tr>
<tr valign="top">
<td align="right">an_referer:</td>
- <td>
- <input type="text" name="an_referer" value="<?php p($frm->an_referer) ?>" />
- </td>
- <td>
- <?php print_string("anreferer", "enrol_authorize") ?>
- </td>
+ <td><input type="text" name="an_referer" value="<?php p($frm->an_referer) ?>" /></td>
+ <td><?php print_string("anreferer", "enrol_authorize") ?></td>
</tr>
<tr valign="top">
<td align="right">an_test:</td>
- <td>
- <input type="checkbox" value="1" name="an_test" <?php if (!empty($frm->an_test)) echo "checked=\"true\"" ?> />
- </td>
- <td>
- <?php print_string("antestmode", "enrol_authorize") ?>
- </td>
+ <td><input type="checkbox" value="1" name="an_test" <?php if (!empty($frm->an_test)) echo "checked=\"true\"" ?> /></td>
+ <td><?php print_string("antestmode", "enrol_authorize") ?></td>
</tr>
+<tr valign="top"><td colspan="3"><h4><?php print_string("adminauthorizeccapture", "enrol_authorize") ?></h4></td></tr>
+
<tr valign="top">
<td align="right">an_review:</td>
- <td>
- <input type="checkbox" value="1" name="an_review" <?php if (!empty($frm->an_review)) echo "checked=\"true\"" ?> />
- </td>
- <td>
- <?php print_string("adminreview", "enrol_authorize") ?>
- </td>
+ <td><input type="checkbox" value="1" name="an_review" <?php if (!empty($frm->an_review)) echo "checked=\"true\"" ?> /></td>
+ <td><?php print_string("adminreview", "enrol_authorize") ?></td>
</tr>
+
<tr valign="top">
<td align="right">an_review_day:</td>
- <td>
- <input type="text" name="an_review_day" size="2" maxlength="2" value="<?php p($frm->an_review_day) ?>" />
- </td>
- <td>
- <?php
- print_string("reviewday", "enrol_authorize", $frm->an_review_day) ?>
- </td>
+ <td><input type="text" name="an_review_day" size="2" maxlength="2" value="<?php p($frm->an_review_day) ?>" /></td>
+ <td><?php print_string("reviewday", "enrol_authorize", $frm->an_review_day) ?></td>
</tr>
-<tr valign="top"><td colspan="3"><hr noshade="noshade" size="1"></td></tr>
+<tr valign="top"><td colspan="3"><h4><?php print_string("adminauthorizeemail", "enrol_authorize") ?></h4></td></tr>
<tr valign="top">
<td align="right">enrol_mailstudents:</td>
- <td>
- <input type="checkbox" value=1 name="enrol_mailstudents" <?php if (!empty($frm->enrol_mailstudents)) echo "checked=\"true\"" ?> />
- </td>
- <td>
- <?php print_string("mailstudents") ?>
- </td>
+ <td><input type="checkbox" value=1 name="enrol_mailstudents" <?php if (!empty($frm->enrol_mailstudents)) echo "checked=\"true\"" ?> /></td>
+ <td><?php print_string("mailstudents") ?></td>
</tr>
<tr valign="top">
<td align="right">enrol_mailteachers:</td>
- <td>
- <input type="checkbox" value=1 name="enrol_mailteachers" <?php if (!empty($frm->enrol_mailteachers)) echo "checked=\"true\"" ?> />
- </td>
- <td>
- <?php print_string("mailteachers") ?>
- </td>
+ <td><input type="checkbox" value=1 name="enrol_mailteachers" <?php if (!empty($frm->enrol_mailteachers)) echo "checked=\"true\"" ?> /></td>
+ <td><?php print_string("mailteachers") ?></td>
</tr>
<tr valign="top">
<td align="right">enrol_mailadmins:</td>
- <td>
- <input type="checkbox" value=1 name="enrol_mailadmins" <?php if (!empty($frm->enrol_mailadmins)) echo "checked=\"true\"" ?> />
- </td>
- <td>
- <?php print_string("mailadmins") ?>
- </td>
+ <td><input type="checkbox" value=1 name="enrol_mailadmins" <?php if (!empty($frm->enrol_mailadmins)) echo "checked=\"true\"" ?> /></td>
+ <td><?php print_string("mailadmins") ?></td>
</tr>
</table>

0 comments on commit df12ac1

Please sign in to comment.