replaced submit/abort with ok/cancel
This commit is contained in:
parent
1ce2b98103
commit
baec36cece
|
@ -710,8 +710,8 @@ class inetOrgPerson extends baseModule {
|
||||||
$return[] = array(
|
$return[] = array(
|
||||||
0 => array('kind' => 'table', 'value' => array(
|
0 => array('kind' => 'table', 'value' => array(
|
||||||
0 => array(
|
0 => array(
|
||||||
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Submit'), 'name' => 'form_subpage_inetOrgPerson_attributes_submit'),
|
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Ok'), 'name' => 'form_subpage_inetOrgPerson_attributes_submit'),
|
||||||
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Back'), 'name' => 'form_subpage_inetOrgPerson_attributes_back'),
|
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Cancel'), 'name' => 'form_subpage_inetOrgPerson_attributes_back'),
|
||||||
2 => array('kind' => 'text')))));
|
2 => array('kind' => 'text')))));
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1009,8 +1009,8 @@ class posixAccount extends baseModule {
|
||||||
$return[] = array(
|
$return[] = array(
|
||||||
0 => array('kind' => 'table', 'value' => array(
|
0 => array('kind' => 'table', 'value' => array(
|
||||||
0 => array(
|
0 => array(
|
||||||
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Submit'), 'name' => 'form_subpage_posixAccount_attributes_submit'),
|
0 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Ok'), 'name' => 'form_subpage_posixAccount_attributes_submit'),
|
||||||
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Back'), 'name' => 'form_subpage_posixAccount_attributes_back'),
|
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Cancel'), 'name' => 'form_subpage_posixAccount_attributes_back'),
|
||||||
2 => array('kind' => 'text')))));
|
2 => array('kind' => 'text')))));
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,7 +280,7 @@ class posixGroup extends baseModule {
|
||||||
$return[] = array(
|
$return[] = array(
|
||||||
0 => array('kind' => 'table', 'value' => array(
|
0 => array('kind' => 'table', 'value' => array(
|
||||||
0 => 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'),
|
1 => array('kind' => 'input', 'type' => 'submit', 'value' => _('Back'), 'name' => 'form_subpage_posixGroup_attributes_back'),
|
||||||
2 => array('kind' => 'text')))));
|
2 => array('kind' => 'text')))));
|
||||||
return $return;
|
return $return;
|
||||||
|
|
|
@ -803,7 +803,7 @@ class sambaAccount extends baseModule {
|
||||||
if ($_SESSION[$this->base]->type=='host') {
|
if ($_SESSION[$this->base]->type=='host') {
|
||||||
$return[] = array ( 0 => array ( 'kind' => 'input', 'name' => 'acctFlagsW', 'type' => 'hidden', 'value' => 'true' ));
|
$return[] = array ( 0 => array ( 'kind' => 'input', 'name' => 'acctFlagsW', 'type' => 'hidden', 'value' => 'true' ));
|
||||||
$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Reset password') ),
|
$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' ));
|
2 => array ( 'kind' => 'help', 'value' => 'resetPassword' ));
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
|
|
|
@ -914,7 +914,7 @@ class sambaSamAccount extends baseModule {
|
||||||
if ($_SESSION[$this->base]->type=='host') {
|
if ($_SESSION[$this->base]->type=='host') {
|
||||||
$return[] = array ( 0 => array ( 'kind' => 'input', 'name' => 'sambaAcctFlagsW', 'type' => 'hidden', 'value' => 'true' ));
|
$return[] = array ( 0 => array ( 'kind' => 'input', 'name' => 'sambaAcctFlagsW', 'type' => 'hidden', 'value' => 'true' ));
|
||||||
$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => _('Reset password') ),
|
$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' ));
|
2 => array ( 'kind' => 'help', 'value' => 'resetPassword' ));
|
||||||
}
|
}
|
||||||
return $return;
|
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' => 'text', 'text' => ' ', 'td' => array('colspan' => 8)));
|
||||||
$return[] = array(
|
$return[] = array(
|
||||||
0 => array('kind' => 'input', 'name' => 'form_subpage_sambaSamAccount_attributes_submit', 'type' => 'submit', 'value' => _('Submit'), 'td' => array('align' => 'right')),
|
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' => _('Abort'), 'td' => array('align' => 'left'))
|
1 => array('kind' => 'input', 'name' => 'form_subpage_sambaSamAccount_attributes_abort', 'type' => 'submit', 'value' => _('Cancel'), 'td' => array('align' => 'left'))
|
||||||
);
|
);
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -381,11 +381,11 @@ echo ("<table border=0>\n");
|
||||||
|
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td align=\"left\"><pre>";
|
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++;
|
$tabindex++;
|
||||||
echo "<input tabindex=\"$tabindex\" type=\"reset\" name=\"resetconf\" value=\"" . _("Reset") . "\">";
|
echo "<input tabindex=\"$tabindex\" type=\"reset\" name=\"resetconf\" value=\"" . _("Reset") . "\">";
|
||||||
$tabindex++;
|
$tabindex++;
|
||||||
echo "<input tabindex=\"$tabindex\" type=\"submit\" name=\"back\" value=\"" . _("Abort") . "\"\n";
|
echo "<input tabindex=\"$tabindex\" type=\"submit\" name=\"back\" value=\"" . _("Cancel") . "\"\n";
|
||||||
$tabindex++;
|
$tabindex++;
|
||||||
|
|
||||||
echo ("></pre></td></tr>\n");
|
echo ("></pre></td></tr>\n");
|
||||||
|
|
|
@ -106,13 +106,13 @@ for ($i = 0; $i < sizeof($account_list); $i++) {
|
||||||
echo "<p>\n";
|
echo "<p>\n";
|
||||||
// disable button if there are conflicts/depends
|
// disable button if there are conflicts/depends
|
||||||
if ($allDependenciesOk) {
|
if ($allDependenciesOk) {
|
||||||
echo "<input type=\"submit\" value=\"" . _("Submit") . "\" name=\"submit\">\n";
|
echo "<input type=\"submit\" value=\"" . _("Ok") . "\" name=\"submit\">\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo "<input type=\"submit\" value=\"" . _("Submit") . "\" name=\"submit\" disabled>\n";
|
echo "<input type=\"submit\" value=\"" . _("Ok") . "\" name=\"submit\" disabled>\n";
|
||||||
}
|
}
|
||||||
echo " ";
|
echo " ";
|
||||||
echo "<input type=\"submit\" value=\"" . _("Abort") . "\" name=\"abort\">\n";
|
echo "<input type=\"submit\" value=\"" . _("Cancel") . "\" name=\"abort\">\n";
|
||||||
echo "</p>\n";
|
echo "</p>\n";
|
||||||
|
|
||||||
echo "<p><br><br>\n";
|
echo "<p><br><br>\n";
|
||||||
|
|
|
@ -232,8 +232,8 @@ if (sizeof($activeTypes) > 0) {
|
||||||
|
|
||||||
// submit and abort button
|
// submit and abort button
|
||||||
echo "<p>";
|
echo "<p>";
|
||||||
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n";
|
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">\n";
|
||||||
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n";
|
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n";
|
||||||
echo "<input type=\"hidden\" name=\"postAvailable\" value=\"yes\">\n";
|
echo "<input type=\"hidden\" name=\"postAvailable\" value=\"yes\">\n";
|
||||||
echo "</p>";
|
echo "</p>";
|
||||||
|
|
||||||
|
|
|
@ -400,7 +400,7 @@ if (!isset($cfg->default) && !isset($cfg->password)) {
|
||||||
 
|
 
|
||||||
<input type="password" name="passwd">
|
<input type="password" name="passwd">
|
||||||
 
|
 
|
||||||
<input type="submit" name="submit" value=" <?php echo _("Submit"); ?> ">
|
<input type="submit" name="submit" value=" <?php echo _("Ok"); ?> ">
|
||||||
 
|
 
|
||||||
<?PHP
|
<?PHP
|
||||||
// help link
|
// help link
|
||||||
|
|
|
@ -103,7 +103,7 @@ else {
|
||||||
}
|
}
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "<br><br>\n";
|
echo "<br><br>\n";
|
||||||
echo "<input type=\"submit\" name=\"submit\" value=\"". _("Submit") . "\">\n";
|
echo " <input type=\"submit\" name=\"submit\" value=\"". _("Ok") . "\">\n";
|
||||||
echo "</form>\n";
|
echo "</form>\n";
|
||||||
|
|
||||||
echo "</body>\n";
|
echo "</body>\n";
|
||||||
|
|
|
@ -102,8 +102,8 @@ if ($_POST['submit']) {
|
||||||
"<input type=\"hidden\" name=\"type\" value=\"del_" . $types[$i] . "\">\n" .
|
"<input type=\"hidden\" name=\"type\" value=\"del_" . $types[$i] . "\">\n" .
|
||||||
"<input type=\"hidden\" name=\"submit\" value=\"submit\">\n" .
|
"<input type=\"hidden\" name=\"submit\" value=\"submit\">\n" .
|
||||||
"<input type=\"hidden\" name=\"deletename_" . $types[$i] . "\" value=\"" . $_POST['deletename_' . $types[$i]] . "\">\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=\"sure\" value=\"" . _("Delete") . "\">\n" .
|
||||||
"<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n" .
|
"<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n" .
|
||||||
"</form>";
|
"</form>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -189,7 +189,7 @@ function display_main() {
|
||||||
echo ("<br>\n");
|
echo ("<br>\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">");
|
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">");
|
||||||
echo ("</form>\n");
|
echo ("</form>\n");
|
||||||
echo ("</body></html>\n");
|
echo ("</body></html>\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,7 @@ echo "<br>\n";
|
||||||
echo "<br></p>\n";
|
echo "<br></p>\n";
|
||||||
echo "<table align=\"center\">\n";
|
echo "<table align=\"center\">\n";
|
||||||
echo "<tr><td>\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 "</td></tr>\n";
|
||||||
echo "<tr><td>\n";
|
echo "<tr><td>\n";
|
||||||
echo "<b>" . _('Name') . ': </b>' . $_GET['delete'] . "<br>\n";
|
echo "<b>" . _('Name') . ': </b>' . $_GET['delete'] . "<br>\n";
|
||||||
|
@ -87,8 +87,8 @@ echo "</table>\n";
|
||||||
echo "<br>\n";
|
echo "<br>\n";
|
||||||
echo ("<form action=\"pdfdelete.php\" method=\"post\">\n");
|
echo ("<form action=\"pdfdelete.php\" method=\"post\">\n");
|
||||||
echo ("<p align=\"center\">\n");
|
echo ("<p align=\"center\">\n");
|
||||||
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n");
|
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Delete") . "\">\n");
|
||||||
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n");
|
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n");
|
||||||
echo ("<input type=\"hidden\" name=\"type\" value=\"" . $_GET['type'] . "\">");
|
echo ("<input type=\"hidden\" name=\"type\" value=\"" . $_GET['type'] . "\">");
|
||||||
echo ("<input type=\"hidden\" name=\"delete\" value=\"" . $_GET['delete'] . "\">");
|
echo ("<input type=\"hidden\" name=\"delete\" value=\"" . $_GET['delete'] . "\">");
|
||||||
echo ("</p></form></body></html>\n");
|
echo ("</p></form></body></html>\n");
|
||||||
|
|
|
@ -148,8 +148,8 @@ echo $_SESSION['header'];
|
||||||
<p>
|
<p>
|
||||||
<input type="hidden" name="forward" value="yes">
|
<input type="hidden" name="forward" value="yes">
|
||||||
|
|
||||||
<input type="submit" name="submit" value="<?php echo _("Submit"); ?>">
|
<input type="submit" name="submit" value="<?php echo _("Ok"); ?>">
|
||||||
<input type="submit" name="abort" value="<?php echo _("Abort"); ?>">
|
<input type="submit" name="abort" value="<?php echo _("Cancel"); ?>">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -732,7 +732,7 @@ foreach($_SESSION['availablePDFFields'] as $module => $fields) {
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
<b><?php echo _("Submit"); ?></b>
|
<b><?php echo _("Save"); ?></b>
|
||||||
</legend>
|
</legend>
|
||||||
<table border="0" align="left">
|
<table border="0" align="left">
|
||||||
<?php
|
<?php
|
||||||
|
@ -769,7 +769,7 @@ foreach($_SESSION['availablePDFFields'] as $module => $fields) {
|
||||||
<input type="submit" name="submit" value="<?php echo _("Save");?>">
|
<input type="submit" name="submit" value="<?php echo _("Save");?>">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="submit" name="abort" value="<?php echo _("Abort");?>">
|
<input type="submit" name="abort" value="<?php echo _("Cancel");?>">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
 
|
 
|
||||||
|
|
|
@ -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 ($_GET['del'] . "</b></big><br></p>\n");
|
||||||
echo ("<form action=\"profiledelete.php\" method=\"post\">\n");
|
echo ("<form action=\"profiledelete.php\" method=\"post\">\n");
|
||||||
echo ("<p align=\"center\">\n");
|
echo ("<p align=\"center\">\n");
|
||||||
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n");
|
echo ("<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">\n");
|
||||||
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n");
|
echo ("<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n");
|
||||||
echo ("<input type=\"hidden\" name=\"type\" value=\"$type\">");
|
echo ("<input type=\"hidden\" name=\"type\" value=\"$type\">");
|
||||||
echo ("<input type=\"hidden\" name=\"del\" value=\"" . $_GET['del'] . "\">");
|
echo ("<input type=\"hidden\" name=\"del\" value=\"" . $_GET['del'] . "\">");
|
||||||
echo ("</p></form></body></html>\n");
|
echo ("</p></form></body></html>\n");
|
||||||
|
|
|
@ -161,8 +161,8 @@ for ($i = 0; $i < sizeof($profileClasses); $i++) {
|
||||||
|
|
||||||
|
|
||||||
echo "<p>\n";
|
echo "<p>\n";
|
||||||
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Submit") . "\">\n";
|
echo "<input type=\"submit\" name=\"submit\" value=\"" . _("Ok") . "\">\n";
|
||||||
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Abort") . "\">\n";
|
echo "<input type=\"submit\" name=\"abort\" value=\"" . _("Cancel") . "\">\n";
|
||||||
echo "</p>\n";
|
echo "</p>\n";
|
||||||
|
|
||||||
echo "</form>\n";
|
echo "</form>\n";
|
||||||
|
|
|
@ -249,7 +249,7 @@ echo ("<input tabindex=\"$tabindex\" type=\"submit\" name=\"save\" value=\"" . _
|
||||||
$tabindex++;
|
$tabindex++;
|
||||||
echo ("<input tabindex=\"$tabindex\" type=\"reset\" name=\"reset\" value=\"" . _("Reset") . "\">\n");
|
echo ("<input tabindex=\"$tabindex\" type=\"reset\" name=\"reset\" value=\"" . _("Reset") . "\">\n");
|
||||||
$tabindex++;
|
$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 "<input type=\"hidden\" name=\"accounttype\" value=\"$type\">\n";
|
||||||
|
|
||||||
echo ("</form></body></html>\n");
|
echo ("</form></body></html>\n");
|
||||||
|
|
|
@ -161,7 +161,7 @@ echo "</head>\n";
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<center>
|
<center>
|
||||||
<input type="submit" name="target" value="<?php echo _('Submit'); ?>" />
|
<input type="submit" name="target" value="<?php echo _('Ok'); ?>" />
|
||||||
</center>
|
</center>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue