summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 597d5eb)
raw | patch | inline | side by side (parent: 597d5eb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 8 Mar 2008 11:08:19 +0000 (11:08 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 8 Mar 2008 11:08:19 +0000 (11:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9457 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/class_posixAccount.inc | patch | blob | history | |
gosa-core/plugins/personal/posix/main.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index ef07f0db1ce235c5665980e3e0e75f7516260680..3086b4de4dda3e00921db8d169d9b5d77dcecac4 100644 (file)
for($y= $date['year']-10; $y<$date['year']+10; $y++){
$years[]= $y;
}
- $months= array(_("January"), _("February"), _("March"), _("April"),
- _("May"), _("June"), _("July"), _("August"), _("September"),
- _("October"), _("November"), _("December"));
+ $months= msgPool::months();
$smarty->assign("day", $date["mday"]);
$smarty->assign("days", $days);
$smarty->assign("months", $months);
/* Oups - timed out */
if ($wait-- == 0){
- msg_dialog::display(_("Warning"), _("Timeout while waiting for lock! Ignoring lock."), WARNING_DIALOG);
+ msg_dialog::display(_("Warning"), _("Timeout while waiting for lock. Ignoring lock!"), WARNING_DIALOG);
break;
}
}
index abe69ad36fa44379a067bfa2287dd68e3b3859e5..243644bc78b772a1c61ebb3f603246e3372b2ef8 100644 (file)
/* Are we in edit mode? */
if (session::is_set('edit')){
- $display.= "<input type=submit name=\"edit_finish\" style=\"width:80px\" value=\""._("Ok")."\">\n";
+ $display.= "<input type=submit name=\"edit_finish\" style=\"width:80px\" value=\"".msgPool::okButton()."\">\n";
$display.= " ";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "<input type=submit name=\"edit_cancel\" value=\"".msgPool::cancelButton()."\">\n";
$info= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png').
"\"> ".$ui->dn." ";
} else {
/* Only display edit button if there is at least one attribute editable */
if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/posixAccount"))){
$info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lamp.png')."\"> ".
- _("Click the 'Edit' button below to change informations in this dialog");
+ msgPool::clickEditToChange();
- $display.= "<input type=submit name=\"edit\" value=\""._("Edit")."\">\n";
+ $display.= "<input type=submit name=\"edit\" value=\"".msgPool::editButton()."\">\n";
}
$display.= "<input type=\"hidden\" name=\"ignore\">\n";
}