LSaddon::phpldapadmin : Added icon and give an use case example in documentation
authorBenjamin Renard <brenard@easter-eggs.com>
Fri, 28 Jun 2013 14:53:56 +0000 (16:53 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Fri, 28 Jun 2013 14:53:56 +0000 (16:53 +0200)
doc/conf/LSaddon/LSaddon_phpldapadmin.docbook
public_html/images/default/phpldapadmin.png [new file with mode: 0644]

index 3f853f1..efe41c9 100644 (file)
@@ -22,4 +22,23 @@ define('LS_PHPLDAPADMIN_VIEW_OBJECT_URL_FORMAT','//'.$_SERVER['SERVER_NAME'].'/p
 </funcprototype>
 </funcsynopsis>
 </para>
+<programlisting linenumbering="unnumbered">
+<citetitle>Exemple d'utilisation</citetitle><![CDATA[$GLOBALS['LSobjects']['LSpeople'] = array (
+        [...]
+        'customActions' => array (
+                'redirectPhpLdapAdmin' => array (
+                        'function' => 'redirectToPhpLdapAdmin',
+                        'label' => 'See in PhpLdapAdmin',
+                        'hideLabel' => True,
+                        'noConfirmation' => true,
+                        'disableOnSuccessMsg' => true,
+                        'icon' => 'phpldapadmin',
+                        'rights' => array (
+                                'admin'
+                        )
+                ),
+        ),
+        [...]
+);]]>
+</programlisting>
 </sect2>
diff --git a/public_html/images/default/phpldapadmin.png b/public_html/images/default/phpldapadmin.png
new file mode 100644 (file)
index 0000000..aa87d1e
Binary files /dev/null and b/public_html/images/default/phpldapadmin.png differ