summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ccd0d57)
raw | patch | inline | side by side (parent: ccd0d57)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 Mar 2008 10:43:01 +0000 (10:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 Mar 2008 10:43:01 +0000 (10:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9487 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc
index deb06944b44abce34030c30d699f4b046a9043ac..b6ccc948efff0083a34865c1e23a60d3e1c5d8e5 100644 (file)
if(isset($_POST['LogonSave'])){
if(!$this->acl_is_writeable("gotoLogonScript")){
- msg_dialog::display(_("Permission error"), _("You have no permission to modify logon scripts!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permModify(_("Logon scripts")), ERROR_DIALOG);
unset($this->dialog);
$this->dialog=FALSE;
$this->is_dialog=false;
}
if(!$this->is_group){
if((!((in_array("posixAccount",$this->attrs['objectClass']))||($this->parent->by_object['posixAccount']->is_account==true)))&&(!$this->is_group)){
- $message[]=(_("You need to enable POSIX features in order to enable evironment features!"));
+ $message[]= msgPool::featuresDisabled(_("environemnt"),_("POSIX"));
}
}
return ($message);
diff --git a/gosa-plugins/goto/personal/environment/hotplugDialog.tpl b/gosa-plugins/goto/personal/environment/hotplugDialog.tpl
index 868e72b00209950367b6decae10ff5a8be56640b..fd16778f06a65262ecd7d0b52496709ced5269ef 100644 (file)
<p class="seperator"> </p>
<p align="right">
- <input type="submit" name="HotPlugSave" value="{t}Add{/t}">
- <input type="submit" name="HotPlugCancel" value="{t}Cancel{/t}">
+ <input type="submit" name="HotPlugSave" value="{msgPool type=okButton}">
+ <input type="submit" name="HotPlugCancel" value="{msgPool type=cancelButton}">
</p>
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
diff --git a/gosa-plugins/goto/personal/environment/logonManagement.tpl b/gosa-plugins/goto/personal/environment/logonManagement.tpl
index 746be6fe17269d6efdeafae3920fdc44bc5fc309..f4b05569677ea6e87ecc09bbc6cbf58d60cd7c60 100644 (file)
<p class="seperator"> </p>
<p align="right">
- <input type="submit" name="LogonSave" value="{t}Apply{/t}">
- <input type="submit" name="LogonCancel" value="{t}Cancel{/t}">
+ <input type="submit" name="LogonSave" value="{msgPool type=applyButton}">
+ <input type="submit" name="LogonCancel" value="{msgPool type=cancelButton}">
</p>
<script language="JavaScript" type="text/javascript">
diff --git a/gosa-plugins/goto/personal/environment/selectPrinterDialog.tpl b/gosa-plugins/goto/personal/environment/selectPrinterDialog.tpl
index f07674d39baf1fce20ca0f7367bca2e40300a2b7..ed9dc189b99fff67ed48e210268bc0ce00c889bf 100644 (file)
<p class="seperator"> </p>
<p align="right">
- <input type="submit" name="PrinterSave" value="{t}Add{/t}">
- <input type="submit" name="PrinterCancel" value="{t}Cancel{/t}">
+ <input type="submit" name="PrinterSave" value="{msgPool type=okButton}">
+ <input type="submit" name="PrinterCancel" value="{msgPool type=cancelButton}">
</p>
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page