From: Andreas Gohr Date: Mon, 11 Sep 2006 11:29:27 +0000 (+0200) Subject: docs and comment updates X-Git-Tag: 0.7.1~77 X-Git-Url: https://git.sur5r.net/?p=contagged;a=commitdiff_plain;h=61df6ac99c1deff1fdc4078ae6f1a7c985bf8e06 docs and comment updates darcs-hash:20060911112927-6e07b-ecf6fbe6e1da716977dfd4a210c1d6f2f84cd69e.gz --- diff --git a/README b/README index 3688fd1..4d3cee7 100644 --- a/README +++ b/README @@ -49,8 +49,8 @@ entry. Make sure you include these lines before other access control lists that match these parts of the ldap tree. If you are unsure have a look at the included slapd.example file - access to dn="(.*,)?ou=contacts,cn=([^,]+),ou=people,(.*)$" - by dn="cn=$2,ou=people,$3" write + access to dn.regex="(.*,)?ou=contacts,cn=([^,]+),ou=people,(.*)$" + by dn.regex="cn=$2,ou=people,$3" write by * none access to dn.subtree="ou=contacts,o=cosmocode,c=de" @@ -63,7 +63,7 @@ The last thing is to add the contacts leafs to your LDAP tree. You'll need to add a global contacts leaf at top. eg: 'ou=contacts,o=cosmocode,c=de' - + And a contacts leaf for every user. eg: 'ou=contacts,cn=Joe Schmoe,ou=people,o=cosmocode,c=de' @@ -108,5 +108,5 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - + See COPYING for details diff --git a/index.php b/index.php index 72a84b0..93954d4 100644 --- a/index.php +++ b/index.php @@ -62,7 +62,7 @@ exit(); } else { header("Content-Type: text/csv"); - header('Content-Disposition: Attachement; filename="ldapabexport.csv"'); + header('Content-Disposition: Attachement; filename="contagged_export.csv"'); $smarty->display('export_list_csv.tpl'); } }else{ diff --git a/lang/de.php b/lang/de.php index 1f97dd8..8f63b40 100644 --- a/lang/de.php +++ b/lang/de.php @@ -1,4 +1,9 @@ - + */ $lang['ldapab'] = 'Das LDAP Adressbuch'; @@ -43,7 +48,7 @@ $lang['delete'] = 'Löschen'; $lang['copy'] = 'Kopieren'; $lang['csvexport'] = 'CSV'; $lang['vcfexport'] = 'VCard'; -$lang['vcfimport'] = 'Import'; +$lang['vcfimport'] = 'Import'; $lang['search'] = 'Suchen'; $lang['submit'] = 'Absenden'; $lang['help'] = 'Hilfe'; @@ -70,4 +75,5 @@ $lang['msg_tagsep'] = 'Durch Komma getrennt'; $lang['err_noentries'] = 'Keine Einträge'; $lang['err_ldap'] = 'Der LDAP Server lieferte folgende Fehlermeldungen'; -?> + + diff --git a/lang/en.php b/lang/en.php index 6e28ec6..6f2166b 100644 --- a/lang/en.php +++ b/lang/en.php @@ -1,4 +1,9 @@ - + */ $lang['ldapab'] = 'The LDAP address book'; diff --git a/lang/it.php b/lang/it.php index d2e4d45..0e24f50 100644 --- a/lang/it.php +++ b/lang/it.php @@ -1,4 +1,9 @@ - + */ $lang['ldapab'] = 'The LDAP address book'; @@ -81,4 +86,4 @@ $lang['certificate'] = 'Certificato x.509'; $lang['timezone'] = 'Fuso orario'; $lang['position'] = 'Posizione'; $lang['ipphone'] = 'Telefono IP'; -?> +