1
|
<?php
|
2
|
|
3
|
/**
|
4
|
* @file
|
5
|
* The ldap_help issues provides a filtered watchdog view for ldap issues.
|
6
|
*
|
7
|
*/
|
8
|
|
9
|
function ldap_help_issues() {
|
10
|
|
11
|
$text = '<h3>' . t('LDAP Help Module') . '</h3><p>' .
|
12
|
t('How to report bugs in LDAP Project.') . '</p>';
|
13
|
ldap_servers_module_load_include('inc', 'ldap_help', 'ldap_help.status');
|
14
|
$ldap_config = ldap_help_status('html');
|
15
|
|
16
|
$path = drupal_get_path("module", "ldap_servers");
|
17
|
|
18
|
$text .= <<<EOT
|
19
|
|
20
|
<ol>
|
21
|
<li>Search for existing issues. Include all statuses and versions
|
22
|
in you search; a closed issue may be relevant.
|
23
|
<a href="http://drupal.org/project/issues/search/ldap">http://drupal.org/project/issues/search/ldap</a>
|
24
|
</li>
|
25
|
|
26
|
</ul>
|
27
|
</li>
|
28
|
|
29
|
|
30
|
<li>Look for common problems/solutions at: <a href="http://drupal.org/node/997082">http://drupal.org/node/997082</a>.
|
31
|
This is editable, so actively participate in updateing this documentation.
|
32
|
|
33
|
</li>
|
34
|
<li>
|
35
|
Additional directions are at the beginning of the add issue form at
|
36
|
<a href="http://drupal.org/node/add/project-issue/ldap">http://drupal.org/node/add/project-issue/ldap.</a>
|
37
|
|
38
|
</li>
|
39
|
|
40
|
</ul>
|
41
|
|
42
|
</li>
|
43
|
|
44
|
|
45
|
</ol>
|
46
|
|
47
|
<div style="border: 1px solid #000000; padding: 10px; margin: 10px; text-align: center;">
|
48
|
<p>Cut and past the html below into a file called<code>ldap_config.html</code> and attach it when reporting errors.
|
49
|
<br/>The table below is the same. Check that no sensitive data is in it.</p>
|
50
|
<form>
|
51
|
<textarea rows=10 cols=120 border=1 style="border: 1px solid #000000">$ldap_config</textarea>
|
52
|
</form>
|
53
|
</div>
|
54
|
$ldap_config
|
55
|
EOT;
|
56
|
|
57
|
|
58
|
return $text;
|
59
|
}
|