function ldap_help_issues in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_help/ldap_help.issues.inc \ldap_help_issues()
- 7 ldap_help/ldap_help.issues.inc \ldap_help_issues()
1 string reference to 'ldap_help_issues'
- ldap_help_menu in ldap_help/
ldap_help.module - Implements hook_menu().
File
- ldap_help/
ldap_help.issues.inc, line 11 - The ldap_help issues provides a filtered watchdog view for ldap issues.
Code
function ldap_help_issues() {
$text = '<h3>' . t('LDAP Help Module') . '</h3><p>' . t('How to report bugs in LDAP Project.') . '</p>';
ldap_servers_module_load_include('inc', 'ldap_help', 'ldap_help.status');
$ldap_config = ldap_help_status('html');
$path = drupal_get_path("module", "ldap_servers");
$text .= <<<EOT
<ol>
<li>Search for existing issues. Include all statuses and versions
in you search; a closed issue may be relevant.
<a href="http://drupal.org/project/issues/search/ldap">http://drupal.org/project/issues/search/ldap</a>
</li>
</ul>
</li>
<li>Look for common problems/solutions at: <a href="http://drupal.org/node/997082">http://drupal.org/node/997082</a>.
This is editable, so actively participate in updateing this documentation.
</li>
<li>
Additional directions are at the beginning of the add issue form at
<a href="http://drupal.org/node/add/project-issue/ldap">http://drupal.org/node/add/project-issue/ldap.</a>
</li>
</ul>
</li>
</ol>
<div style="border: 1px solid #000000; padding: 10px; margin: 10px; text-align: center;">
<p>Cut and past the html below into a file called<code>ldap_config.html</code> and attach it when reporting errors.
<br/>The table below is the same. Check that no sensitive data is in it.</p>
<form>
<textarea rows=10 cols=120 border=1 style="border: 1px solid #000000">{<span class="php-variable">$ldap_config</span>}</textarea>
</form>
</div>
{<span class="php-variable">$ldap_config</span>}
EOT;
return $text;
}