]> git.mjollnir.org Git - moodle.git/commitdiff
1 - adminhelpcapture & adminhelpreview strings removed from enrol_authorize.php
authorethem <ethem>
Tue, 2 May 2006 07:13:15 +0000 (07:13 +0000)
committerethem <ethem>
Tue, 2 May 2006 07:13:15 +0000 (07:13 +0000)
2 - captureday.html & review.html files added to help/enrol/authorize

enrol/authorize/config.html
lang/en_utf8/enrol_authorize.php
lang/en_utf8/help/enrol/authorize/captureday.html [new file with mode: 0644]
lang/en_utf8/help/enrol/authorize/review.html [new file with mode: 0644]

index 55e190f0892b47733878be21ad34ed41d4c49b1e..0e2f2c0777ca64e1f21c56efedca5f3a0dfa5d3d 100755 (executable)
@@ -112,16 +112,14 @@ if (!isset($frm->an_cutoff_min)) $frm->an_cutoff_min = '5';
 <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\"" ?> />
-        <?php helpbutton('', get_string('adminhelpreviewtitle', 'enrol_authorize'), 'enrol_authorize',
-              false, false, get_string('adminhelpreview', 'enrol_authorize')); ?></td>
+        <?php helpbutton('review', get_string('adminhelpreviewtitle', 'enrol_authorize'), 'enrol/authorize'); ?></td>
     <td><?php print_string("adminreview", "enrol_authorize") ?></td>
 </tr>
 
 <tr valign="top">
     <td align="right">an_capture_day:</td>
     <td><input type="text" name="an_capture_day" size="2" maxlength="2" value="<?php p($frm->an_capture_day) ?>" />
-        <?php helpbutton('', get_string('adminhelpcapturetitle', 'enrol_authorize'), 'enrol_authorize',
-              false, false, get_string('adminhelpcapture', 'enrol_authorize')); ?></td>
+        <?php helpbutton('captureday', get_string('adminhelpcapturetitle', 'enrol_authorize'), 'enrol/authorize'); ?></td>
     <td><?php print_string("reviewday", "enrol_authorize", $frm->an_capture_day) ?></td>
 </tr>
 
index ea886fdb03f7696a1e0a00ea8e81d30c037252b3..537d4d0492e18152059def83fbb399359f98c047 100644 (file)
@@ -10,18 +10,7 @@ $string['adminavs'] = 'Check this if you have activated Address Verification Sys
 $string['admincronsetup'] = 'The cron.php maintenance script has not been run for at least 24 hours. <br />Cron must be enabled if you want to use scheduled-capture feature.<br />Setup cron properly or uncheck an_review again.<br />If you disable scheduled-capture, transactions will be cancelled unless you review them within 30 days.<br />Check an_review and enter \'0\' to an_capture_day field<br />if you want to manually accept/deny payments within 30 days.';
 $string['adminemailexpired'] = 'Send warning email to admins <b>$a</b> days ago how many status of \'authorized/pending capture\' transaction is there, before transactions have expired. (0=disable sending email, default=2, max=5)<br />This is useful if you enabled capturing manually (an_review=checked, an_capture_day=0).';
 $string['adminhelpcapturetitle'] = 'Scheduled-Capture Day';
-$string['adminhelpcapture'] = 'Not only I want to manually accept/deny payments. But also, use scheduled-capture to prevent cancelling payment. What will I do?
-
- - Setup cron.
- - Check an_review.
- - Enter a number between 1 and 29 to an_capture_day field. Card will be captured and user will be enrolled to course unless you capture it within an_capture_day.';
 $string['adminhelpreviewtitle'] = 'Order Review';
-$string['adminhelpreview'] = 'How will I manually accept/deny payments?
-- Check an_review.
-- Enter \'0\' to an_capture_day field.
-
-How students will be enrolled to courses immediately when they entered their card number?
-- Uncheck an_review.';
 $string['adminneworder'] = ' Dear Admin,
                 
   You have received a new pending order:
diff --git a/lang/en_utf8/help/enrol/authorize/captureday.html b/lang/en_utf8/help/enrol/authorize/captureday.html
new file mode 100644 (file)
index 0000000..01c7c1b
--- /dev/null
@@ -0,0 +1,8 @@
+<p align="center"><b>Not only do I want to manually accept/deny payments, but also use autocapture to prevent cancelling payment. What should I do?</b>
+<ul>
+ <li>Setup cron.</li>
+ <li>Check an_review.</li>
+ <li>Enter a number between 1 and 29 to an_capture_day field.
+     Card will be captured and user will be enrolled to course unless you capture it within an_capture_day.</li>
+</ul>
+</p>
diff --git a/lang/en_utf8/help/enrol/authorize/review.html b/lang/en_utf8/help/enrol/authorize/review.html
new file mode 100644 (file)
index 0000000..aad41b7
--- /dev/null
@@ -0,0 +1,12 @@
+<p align="center"><b>How will I manually accept/deny payments?</b>
+<ul>
+ <li>Check an_review.</li>
+ <li>Enter '0' to an_capture_day field.</li>
+</ul>
+</p>
+
+<p align="center"><b>How will students be enrolled to courses immediately when they entered their card number?</b>
+<ul>
+ <li>Uncheck an_review.</li>
+</ul>
+</p>