replaced submit/abort with ok/cancel

This commit is contained in:
Roland Gruber 2006-03-04 10:49:55 +00:00
parent 1ce2b98103
commit baec36cece
18 changed files with 34 additions and 34 deletions

View File

@ -710,8 +710,8 @@ class inetOrgPerson extends baseModule {
$return[] = array(
0 => array('kind' => 'table', 'value' => array(
0 => array(
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Submit'), 'name' => 'form_subpage_inetOrgPerson_attributes_submit'),
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Back'), 'name' => 'form_subpage_inetOrgPerson_attributes_back'),
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Ok'), 'name' => 'form_subpage_inetOrgPerson_attributes_submit'),
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Cancel'), 'name' => 'form_subpage_inetOrgPerson_attributes_back'),
2 => array('kind' => 'text')))));
return $return;
}

View File

@ -1009,8 +1009,8 @@ class posixAccount extends baseModule {
$return[] = array(
0 => array('kind' => 'table', 'value' => array(
0 => array(
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Submit'), 'name' => 'form_subpage_posixAccount_attributes_submit'),
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Back'), 'name' => 'form_subpage_posixAccount_attributes_back'),
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Ok'), 'name' => 'form_subpage_posixAccount_attributes_submit'),
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Cancel'), 'name' => 'form_subpage_posixAccount_attributes_back'),
2 => array('kind' => 'text')))));
return $return;
}

View File

@ -280,7 +280,7 @@ class posixGroup extends baseModule {
$return[] = array(
0 => array('kind' => 'table', 'value' => array(
0 => array(
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Submit'), 'name' => 'form_subpage_posixGroup_attributes_submit'),
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Ok'), 'name' => 'form_subpage_posixGroup_attributes_submit'),
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Back'), 'name' => 'form_subpage_posixGroup_attributes_back'),
2 => array('kind' => 'text')))));
return $return;

View File

@ -803,7 +803,7 @@ class sambaAccount extends baseModule {
if ($_SESSION[$this->base]->type=='host') {
$return[] = array ( 0 => array ( 'kind' => 'input', 'name' => 'acctFlagsW', 'type' => 'hidden', 'value' => 'true' ));
$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Reset password') ),
1 => array ( 'kind' => 'input', 'type' => 'submit', 'name' => 'ResetSambaPassword', 'value' => _('Submit')),
1 => array ( 'kind' => 'input', 'type' => 'submit', 'name' => 'ResetSambaPassword', 'value' => _('Reset')),
2 => array ( 'kind' => 'help', 'value' => 'resetPassword' ));
}
return $return;

View File

@ -914,7 +914,7 @@ class sambaSamAccount extends baseModule {
if ($_SESSION[$this->base]->type=='host') {
$return[] = array ( 0 => array ( 'kind' => 'input', 'name' => 'sambaAcctFlagsW', 'type' => 'hidden', 'value' => 'true' ));
$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Reset password') ),
1 => array ( 'kind' => 'input', 'type' => 'submit', 'name' => 'ResetSambaPassword', 'value' => _('Submit')),
1 => array ( 'kind' => 'input', 'type' => 'submit', 'name' => 'ResetSambaPassword', 'value' => _('Reset')),
2 => array ( 'kind' => 'help', 'value' => 'resetPassword' ));
}
return $return;
@ -1000,8 +1000,8 @@ class sambaSamAccount extends baseModule {
}
$return[] = array(0 => array('kind' => 'text', 'text' => ' ', 'td' => array('colspan' => 8)));
$return[] = array(
0 => array('kind' => 'input', 'name' => 'form_subpage_sambaSamAccount_attributes_submit', 'type' => 'submit', 'value' => _('Submit'), 'td' => array('align' => 'right')),
1 => array('kind' => 'input', 'name' => 'form_subpage_sambaSamAccount_attributes_abort', 'type' => 'submit', 'value' => _('Abort'), 'td' => array('align' => 'left'))
0 => array('kind' => 'input', 'name' => 'form_subpage_sambaSamAccount_attributes_submit', 'type' => 'submit', 'value' => _('Ok'), 'td' => array('align' => 'right')),
1 => array('kind' => 'input', 'name' => 'form_subpage_sambaSamAccount_attributes_abort', 'type' => 'submit', 'value' => _('Cancel'), 'td' => array('align' => 'left'))
);
return $return;
}

View File

@ -381,11 +381,11 @@ echo ("<table border=0>\n");
echo "<tr>";
echo "<td align=\"left\"><pre>";
echo "<input tabindex=\"$tabindex\" type=\"submit\" name=\"submitconf\" value=\"" . _("Submit") . "\">";
echo "<input tabindex=\"$tabindex\" type=\"submit\" name=\"submitconf\" value=\"" . _("Ok") . "\">";
$tabindex++;
echo "<input tabindex=\"$tabindex\" type=\"reset\" name=\"resetconf\" value=\"" . _("Reset") . "\">";
$tabindex++;
echo "<input tabindex=\"$tabindex\" type=\"submit\" name=\"back\" value=\"" . _("Abort") . "\"\n";
echo "<input tabindex=\"$tabindex\" type=\"submit\" name=\"back\" value=\"" . _("Cancel") . "\"\n";
$tabindex++;
echo ("></pre></td></tr>\n");

View File

@ -106,13 +106,13 @@ for ($i = 0; $i < sizeof($account_list); $i++) {
echo "<p>\n";
// disable button if there are conflicts/depends
if ($allDependenciesOk) {
echo "<input type=\"submit\" value=\"" . _("Submit") . "\" name=\"submit\">\n";
echo "<input type=\"submit\" value=\"" . _("Ok") . "\" name=\"submit\">\n";
}
else {
echo "<input type=\"submit\" value=\"" . _("Submit") . "\" name=\"submit\" disabled>\n";
echo "<input type=\"submit\" value=\"" . _("Ok") . "\" name=\"submit\" disabled>\n";
}
echo "&nbsp;";
echo "<input type=\"submit\" value=\"" . _("Abort") . "\" name=\"abort\">\n";
echo "<input type=\"submit\" value=\"" . _("Cancel") . "\" name=\"abort\">\n";
echo "</p>\n";
echo "<p><br><br>\n";

View File

@ -232,8 +232,8 @@ if (sizeof($activeTypes) > 0) {
// submit and abort button
echo "<p>";
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n";
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n";
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">\n";
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n";
echo "<input type=\"hidden\" name=\"postAvailable\" value=\"yes\">\n";
echo "</p>";

View File

@ -400,7 +400,7 @@ if (!isset($cfg->default) && !isset($cfg->password)) {
&nbsp
<input type="password" name="passwd">
&nbsp
<input type="submit" name="submit" value=" <?php echo _("Submit"); ?> ">
<input type="submit" name="submit" value=" <?php echo _("Ok"); ?> ">
&nbsp
<?PHP
// help link

View File

@ -103,7 +103,7 @@ else {
}
echo "</table>\n";
echo "<br><br>\n";
echo "<input type=\"submit\" name=\"submit\" value=\"". _("Submit") . "\">\n";
echo "&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"submit\" name=\"submit\" value=\"". _("Ok") . "\">\n";
echo "</form>\n";
echo "</body>\n";

View File

@ -102,8 +102,8 @@ if ($_POST['submit']) {
"<input type=\"hidden\" name=\"type\" value=\"del_" . $types[$i] . "\">\n" .
"<input type=\"hidden\" name=\"submit\" value=\"submit\">\n" .
"<input type=\"hidden\" name=\"deletename_" . $types[$i] . "\" value=\"" . $_POST['deletename_' . $types[$i]] . "\">\n" .
"<input type=\"submit\" name=\"sure\" value=\"" . _("Submit") . "\">\n" .
"<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n" .
"<input type=\"submit\" name=\"sure\" value=\"" . _("Delete") . "\">\n" .
"<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n" .
"</form>";
}
else {
@ -189,7 +189,7 @@ function display_main() {
echo ("<br>\n");
}
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">");
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">");
echo ("</form>\n");
echo ("</body></html>\n");
}

View File

@ -78,7 +78,7 @@ echo "<br>\n";
echo "<br></p>\n";
echo "<table align=\"center\">\n";
echo "<tr><td>\n";
echo "<b>" . _('Account type') . ': </b>' . $_GET['type'];
echo "<b>" . _('Account type') . ': </b>' . getTypeAlias($_GET['type']);
echo "</td></tr>\n";
echo "<tr><td>\n";
echo "<b>" . _('Name') . ': </b>' . $_GET['delete'] . "<br>\n";
@ -87,8 +87,8 @@ echo "</table>\n";
echo "<br>\n";
echo ("<form action=\"pdfdelete.php\" method=\"post\">\n");
echo ("<p align=\"center\">\n");
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n");
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n");
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Delete") . "\">\n");
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n");
echo ("<input type=\"hidden\" name=\"type\" value=\"" . $_GET['type'] . "\">");
echo ("<input type=\"hidden\" name=\"delete\" value=\"" . $_GET['delete'] . "\">");
echo ("</p></form></body></html>\n");

View File

@ -148,8 +148,8 @@ echo $_SESSION['header'];
<p>
<input type="hidden" name="forward" value="yes">
<input type="submit" name="submit" value="<?php echo _("Submit"); ?>">
<input type="submit" name="abort" value="<?php echo _("Abort"); ?>">
<input type="submit" name="submit" value="<?php echo _("Ok"); ?>">
<input type="submit" name="abort" value="<?php echo _("Cancel"); ?>">
</p>
</form>

View File

@ -732,7 +732,7 @@ foreach($_SESSION['availablePDFFields'] as $module => $fields) {
<td colspan="3">
<fieldset>
<legend>
<b><?php echo _("Submit"); ?></b>
<b><?php echo _("Save"); ?></b>
</legend>
<table border="0" align="left">
<?php
@ -769,7 +769,7 @@ foreach($_SESSION['availablePDFFields'] as $module => $fields) {
<input type="submit" name="submit" value="<?php echo _("Save");?>">
</td>
<td>
<input type="submit" name="abort" value="<?php echo _("Abort");?>">
<input type="submit" name="abort" value="<?php echo _("Cancel");?>">
</td>
<td>
&nbsp

View File

@ -78,8 +78,8 @@ echo ("<p align=\"center\"><big>" . _("Do you really want to delete this profile
echo ($_GET['del'] . "</b></big><br></p>\n");
echo ("<form action=\"profiledelete.php\" method=\"post\">\n");
echo ("<p align=\"center\">\n");
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n");
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n");
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">\n");
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n");
echo ("<input type=\"hidden\" name=\"type\" value=\"$type\">");
echo ("<input type=\"hidden\" name=\"del\" value=\"" . $_GET['del'] . "\">");
echo ("</p></form></body></html>\n");

View File

@ -161,8 +161,8 @@ for ($i = 0; $i < sizeof($profileClasses); $i++) {
echo "<p>\n";
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n";
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n";
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">\n";
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n";
echo "</p>\n";
echo "</form>\n";

View File

@ -249,7 +249,7 @@ echo ("<input tabindex=\"$tabindex\" type=\"submit\" name=\"save\" value=\"" . _
$tabindex++;
echo ("<input tabindex=\"$tabindex\" type=\"reset\" name=\"reset\" value=\"" . _("Reset") . "\">\n");
$tabindex++;
echo ("<input tabindex=\"$tabindex\" type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n");
echo ("<input tabindex=\"$tabindex\" type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n");
echo "<input type=\"hidden\" name=\"accounttype\" value=\"$type\">\n";
echo ("</form></body></html>\n");

View File

@ -161,7 +161,7 @@ echo "</head>\n";
<tr>
<td colspan="2">
<center>
<input type="submit" name="target" value="<?php echo _('Submit'); ?>" />
<input type="submit" name="target" value="<?php echo _('Ok'); ?>" />
</center>
</td>
</tr>