Skip to content

Commit 67a5c5d

Browse files
committed
Changes to edoc help to integrate PDF and PDF section
1 parent badee3d commit 67a5c5d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

os2web_edoc_esdh.module

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,22 @@ function os2web_edoc_esdh_form_os2web_settings_settings_form_alter(&$form, &$for
6464
function os2web_edoc_esdh_os2web_help($sections) {
6565

6666
// Content types.
67-
$sections['configuration'] = t('<p><a href="@url" target="_blank">See the advanced documentation for edoc</a></p>', array('@url' => url('admin/help/os2web_edoc_esdh')));
67+
$sections['contenttype'] .= t('<p><b>Meeting node:</b> Add <a href="@url" target="_blank">meetings</a> directly.<br /><i><a href="@edoc" target="_blank">See the advanced documentation for the OS2web eDoc module</a>(.pdf)</i></p>', array('@url' => url('node/add/os2web_meetings_meeting'), '@edoc' => file_create_url(drupal_get_path('module', 'os2web_edoc_esdh') . '/os2web_edoc_modul_setup.pdf')));
68+
$sections['import'] .= t('<p><b>Import agenades:</b> <a href="@edoc" target="_blank">See the advanced documentation for the OS2web eDoc module import</a>(.pdf)</i></p>', array('@url' => url('node/add/os2web_meetings_meeting'), '@edoc' => file_create_url(drupal_get_path('module', 'os2web_edoc_esdh') . '/os2web_edoc_modul_setup.pdf')));
69+
$sections['documentation'] .= t('<p><b>PDF documentation for edoc:</b> <a href="@edoc" target="_blank">Documentation for the OS2web eDoc module</a>(.pdf)</i></p>', array('@url' => url('node/add/os2web_meetings_meeting'), '@edoc' => file_create_url(drupal_get_path('module', 'os2web_edoc_esdh') . '/os2web_edoc_modul_setup.pdf')));
6870
return $sections;
71+
6972
}
7073

74+
75+
7176
/**
7277
* Implements hook_help().
7378
*/
7479
function os2web_edoc_esdh_help($path, $arg) {
7580
switch ($path) {
7681
case 'admin/help#os2web_edoc_esdh':
7782
// TODO.
78-
return t('Se the OS2web documentation under "help" for details.');
83+
return t('Se the OS2web documentation under "help" for details. If you don not have that please activate the OS2web Help module');
7984
}
8085
}

0 commit comments

Comments
 (0)