diff --git a/calendar/help/EN/add.php b/calendar/help/EN/add.php new file mode 100755 index 0000000000..da379770f4 --- /dev/null +++ b/calendar/help/EN/add.php @@ -0,0 +1,46 @@ + 'manual' + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); + $font = $phpgw_info['theme']['font']; +?> + +

+A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events.
+


+Note: Access can be set as with other applications in this suite, Private,Group Readable,Globally +Readable.

+common->phpgw_footer(); ?> diff --git a/calendar/help/EN/calendar.php b/calendar/help/EN/calendar.php new file mode 100755 index 0000000000..7c59595553 --- /dev/null +++ b/calendar/help/EN/calendar.php @@ -0,0 +1,64 @@ + 'manual' + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); + $font = $phpgw_info['theme']['font']; +?> + +

+A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events.
+For viewing in either hourly/day,current week or monthly option, click on the relevant +icons at the top left hand corner.
+

+common->phpgw_footer(); ?> diff --git a/calendar/help/EN/edit_delete.php b/calendar/help/EN/edit_delete.php new file mode 100755 index 0000000000..95bba0be81 --- /dev/null +++ b/calendar/help/EN/edit_delete.php @@ -0,0 +1,28 @@ + 'manual' + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); +?> + +

+A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events.
+

+common->phpgw_footer(); ?> diff --git a/calendar/help/EN/view.php b/calendar/help/EN/view.php new file mode 100755 index 0000000000..ec324d126b --- /dev/null +++ b/calendar/help/EN/view.php @@ -0,0 +1,40 @@ + 'manual', + 'enable_utilities_class' => True + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../header.inc.php'); +?> + + +

+A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events. +
For viewing in either hourly/day,current week or monthly option, click on the relevant +icons at the top left hand corner. +
+

+common->phpgw_footer(); ?> diff --git a/calendar/inc/hook_manual.inc.php b/calendar/inc/hook_manual.inc.php index 37622abb8e..dc150e3f80 100755 --- a/calendar/inc/hook_manual.inc.php +++ b/calendar/inc/hook_manual.inc.php @@ -16,13 +16,29 @@ global $phpgw, $phpgw_info, $treemenu; } +// Only Modify the $file variable..... + $file = Array( + 'Viewing' => 'view.php', + 'Adding' => 'add.php', + 'Edit/Deleting' => 'edit_delete.php' + ); +//Do not modify below this line $font = $phpgw_info['theme']['font']; $navbar = $phpgw_info['user']['preferences']['common']['navbar_format']; - + $lang = strtoupper($phpgw_info['user']['preferences']['common']['lang']); $treemenu[] = '..'.($navbar != 'text'?''.ucwords($appname).'':'').($navbar != 'icons'?''.ucwords($appname).'':'').'|'.$phpgw->link('/'.$appname.'/help/index.php'); - $treemenu[] = '...Overview|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php'); -// Modify the $treemenu variables from here down..... - $treemenu[] = '...Viewing|'.$phpgw->link('/'.$appname.'/help/view.php'); - $treemenu[] = '...Adding|'.$phpgw->link('/'.$appname.'/help/add.php'); - $treemenu[] = '...Edit/Deleting|'.$phpgw->link('/'.$appname.'/help/edit_delete.php'); + + $help_file = check_help_file($appname,$lang,$appname.'.php'); + if($help_file != '') + { + $treemenu[] = '...Overview|'.$phpgw->link($help_file); + } + while(list($title,$filename) = each($file)) + { + $help_file = check_help_file($appname,$lang,$filename); + if($help_file != '') + { + $treemenu[] = '...'.$title.'|'.$phpgw->link($help_file); + } + } ?>