summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-11 15:04:45 +0000
committeralecpl <alec@alec.pl>2011-11-11 15:04:45 +0000
commitecfaed571b2c38f4bcc2b6a0fa39fba15a5126ce (patch)
tree2a19876b7daee9b036fbab5cc7317402b2dd0f57 /plugins
parentc82bf6689f47073342f4c42502f75bcaf17e6130 (diff)
- Apply fixes fom trunk up to r5414
Diffstat (limited to 'plugins')
-rw-r--r--plugins/acl/acl.js2
-rw-r--r--plugins/acl/acl.php9
-rw-r--r--plugins/newmail_notifier/localization/lv_LV.inc13
3 files changed, 20 insertions, 4 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js
index 488e72722..c4011a81c 100644
--- a/plugins/acl/acl.js
+++ b/plugins/acl/acl.js
@@ -1,7 +1,7 @@
/**
* ACL plugin script
*
- * @version 0.6.2
+ * @version 0.6.3
* @author Aleksander Machniak <alec@alec.pl>
*/
diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php
index fe7d0d5eb..1448fb088 100644
--- a/plugins/acl/acl.php
+++ b/plugins/acl/acl.php
@@ -3,7 +3,7 @@
/**
* Folders Access Control Lists Management (RFC4314, RFC2086)
*
- * @version 0.6.2
+ * @version 0.6.3
* @author Aleksander Machniak <alec@alec.pl>
*
*
@@ -91,8 +91,11 @@ class acl extends rcube_plugin
$users = array();
if ($this->init_ldap()) {
- $this->ldap->set_pagesize((int)$this->rc->config->get('autocomplete_max', 15));
- $result = $this->ldap->search('*', $search);
+ $max = (int) $this->rc->config->get('autocomplete_max', 15);
+ $mode = (int) $this->rc->config->get('addressbook_search_mode');
+
+ $this->ldap->set_pagesize($max);
+ $result = $this->ldap->search('*', $search, $mode);
foreach ($result->records as $record) {
$user = $record['uid'];
diff --git a/plugins/newmail_notifier/localization/lv_LV.inc b/plugins/newmail_notifier/localization/lv_LV.inc
new file mode 100644
index 000000000..bab30f5ef
--- /dev/null
+++ b/plugins/newmail_notifier/localization/lv_LV.inc
@@ -0,0 +1,13 @@
+<?php
+
+$labels['basic'] = 'Attēlot paziņojumu pie jaunas vēstules saņemšanas';
+$labels['desktop'] = 'Attēlot darbvirsmas paziņojumu pie jaunas vēstules saņemšanas';
+$labels['sound'] = 'Atskaņot skaņas signālu pie jaunas vēstules saņemšanas';
+$labels['test'] = 'Test';
+$labels['title'] = 'Jauns E-pasts!';
+$labels['body'] = 'Jūs esat saņēmis jaunu e-pastu.';
+$labels['testbody'] = 'Šis ir testa paziņojums.';
+$labels['desktopdisabled'] = 'Darbvirsmas paziņojumi ir atslēgti Jūsu pārlūkprogrammā.';
+$labels['desktopunsupported'] = 'Jūsu pārlūkprogramma neatbalsta darbvirsmas paziņojumus.';
+
+?>