From 34a91dbb462d7f3ddb538b03ac8ef51843082f88 Mon Sep 17 00:00:00 2001 From: skeeter Date: Fri, 11 May 2001 02:34:43 +0000 Subject: [PATCH] New New manual - multi-language capabilities. --- addressbook/help/EN/addressbook.php | 56 +++++++++++++++++++++++ addressbook/inc/hook_manual.inc.php | 13 ++++-- admin/help/EN/account.php | 33 ++++++++++++++ admin/help/EN/admin.php | 49 ++++++++++++++++++++ admin/help/EN/other.php | 32 +++++++++++++ admin/help/EN/session.php | 35 +++++++++++++++ admin/inc/hook_manual.inc.php | 29 +++++++++--- preferences/help/EN/other.php | 38 ++++++++++++++++ preferences/help/EN/preferences.php | 70 +++++++++++++++++++++++++++++ preferences/help/EN/settings.php | 58 ++++++++++++++++++++++++ preferences/inc/hook_manual.inc.php | 26 ++++++++--- 11 files changed, 424 insertions(+), 15 deletions(-) create mode 100755 addressbook/help/EN/addressbook.php create mode 100755 admin/help/EN/account.php create mode 100755 admin/help/EN/admin.php create mode 100755 admin/help/EN/other.php create mode 100755 admin/help/EN/session.php create mode 100755 preferences/help/EN/other.php create mode 100755 preferences/help/EN/preferences.php create mode 100755 preferences/help/EN/settings.php diff --git a/addressbook/help/EN/addressbook.php b/addressbook/help/EN/addressbook.php new file mode 100755 index 0000000000..2ba12d3176 --- /dev/null +++ b/addressbook/help/EN/addressbook.php @@ -0,0 +1,56 @@ + 'manual' + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); + $font = $phpgw_info['theme']['font']; +?> + +

+A searchable address book for keeping contact information of business +associates or friends and family. +

+Access can be restricted to, private, group readable (that is the members of the +same groups as you are in, will be able to see the too, and globally readable, all +users to the system will be able to see the entry.

+Users can only edit their own entries, regardless of readability settings. +common->phpgw_footer(); ?> + diff --git a/addressbook/inc/hook_manual.inc.php b/addressbook/inc/hook_manual.inc.php index 2714ce86f3..15fab401cd 100755 --- a/addressbook/inc/hook_manual.inc.php +++ b/addressbook/inc/hook_manual.inc.php @@ -16,10 +16,17 @@ global $phpgw, $phpgw_info, $treemenu; } +// Only Modify the $file variable..... + $file = Array(); +//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..... + + $help_file = check_help_file($appname,$lang,$appname.'.php'); + if($help_file != '') + { + $treemenu[] = '...Overview|'.$phpgw->link($help_file); + } ?> diff --git a/admin/help/EN/account.php b/admin/help/EN/account.php new file mode 100755 index 0000000000..c259892d75 --- /dev/null +++ b/admin/help/EN/account.php @@ -0,0 +1,33 @@ + 'manual', + 'admin_header' => True, + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); + $appname = 'admin'; +?> + +

+This function is usually only available to the systems administrator of the system. +Administration of all applications, user and group accounts, session logging and control. +

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

+This function is usually only available to the systems administrator of the system. +Administration of all applications, user and group accounts, session logging and control. +

    +
  • Account management:
    +User accounts:
    +Create, edit and delete users accounts. Set membership of groups, and access to applications.
    User groups:
    +Create, edit and delete groups.

    +

  • Session management:
    +View sessions:
    +Current sessions, IP, Login Time, Idle Time, and gives option to kill session.
    +View Access Log:
    +LoginId, IP, Login Time, Logout Time, Total time spent.
  • +

  • Headline sites:
    +Administer headline sites as seen by users in the headlines application.
    +Edit: Options for the headline sites:
    +Display,BaseURL, NewsFile,Minutes between reloads,Listing Displayed,News Type.
    +Delete:Remove an existing headling site, clicking on delete will give +you a checking page to be sure you do want to delete.
    +View:Displays set options as in edit.
    +Add:Form for adding new headline site, options as in edit.
  • +

  • Network news:
    +Manual update for news groups.
  • +

  • Server information:
    +At present phpinfo of the server that is running.
  • +

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

+This function is usually only available to the systems administrator of the system. +Administration of all applications, user and group accounts, session logging and control. +

  • Network news:
    +Manual update for news groups.
  • +

  • Server information:
    +At present phpinfo of the server that is running.
  • +

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

+This function is usually only available to the systems administrator of the system. +Administration of all applications, user and group accounts, session logging and control. +

    +
  • Session management: +

    View sessions: +
    Current sessions, IP, Login Time, Idle Time, and gives option to kill session. +

    View Access Log: +
    LoginId, IP, Login Time, Logout Time, Total time spent. +

+common->phpgw_footer(); ?> diff --git a/admin/inc/hook_manual.inc.php b/admin/inc/hook_manual.inc.php index 7208da11cd..e210796f2e 100755 --- a/admin/inc/hook_manual.inc.php +++ b/admin/inc/hook_manual.inc.php @@ -11,18 +11,33 @@ \**************************************************************************/ /* $Id$ */ - if (floor(phpversion()) == 4) { global $phpgw, $phpgw_info, $treemenu; } +// Only Modify the $file variable..... + $file = Array( + 'Account Management' => 'account.php', + 'Session Management' => 'session.php', + 'Other' => 'other.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[] = '...Account Management|'.$phpgw->link('/'.$appname.'/help/account.php'); - $treemenu[] = '...Session Management|'.$phpgw->link('/'.$appname.'/help/session.php'); - $treemenu[] = '...Other|'.$phpgw->link('/'.$appname.'/help/other.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); + } + } ?> diff --git a/preferences/help/EN/other.php b/preferences/help/EN/other.php new file mode 100755 index 0000000000..b1230078d0 --- /dev/null +++ b/preferences/help/EN/other.php @@ -0,0 +1,38 @@ + 'manual', + 'enable_utilities_class' => True + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); +?> + +

+The place to make changes to your personal piece of groupware.

+

    +
  • Change your Password:
    +Used for changing your login password to the system. +You will be presented with two text boxes, enter your new password, +then click on the change button.
  • +

  • Select different Theme:
    +To change the look of the pages you see, within the system. Displayed is +your current theme (for new users set to default). Simply click on the +theme of your choice. Your pages will change immediately.

    +

  • Change your profile:
    +Here you can set a few details about yourself, for public viewing by the +rest of the users of the system. Title,Phone number, Comments, Picture upload.
  • +

  • Monitor Newsgroups:
    +Easily choose which news groups you want to set for reading.
  • +common->phpgw_footer(); ?> diff --git a/preferences/help/EN/preferences.php b/preferences/help/EN/preferences.php new file mode 100755 index 0000000000..f45cd8f9d7 --- /dev/null +++ b/preferences/help/EN/preferences.php @@ -0,0 +1,70 @@ + 'manual' + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); +?> + +

    +The place to make changes to your personal piece of groupware.

    +

      +
    • Change your Password: +
      Used for changing your login password to the system. +You will be presented with two text boxes, enter your new password, +then click on the change button.
    • +

    • Select different Theme:
      +To change the look of the pages you see, within the system. Displayed is +your current theme (for new users set to default). Simply click on the +theme of your choice. Your pages will change immediately.
    • +

    • Change your Settings:
      +Max matches per page:
      +Choose how many instances of items will be displayed on your screen at one time, default is 15.

      +Show text on navigation icons:
      +Add text under the navigation icons at the top of the screen.

      +Time zone offset:
      +Set your time zone, default setting is Central Europian Standard CEST.

      +Date format:
      +Choose the order of day/month/year, default is m/d/y.

      +Time format:
      +Choose from am/pm=12hours or 24hours settings.

      +Language:
      +Set your language, options German,Spanish,Norwegen,Italian,French, default is English.

      +Show birthday reminders on main screen:
      +Selecting this option, enables birthday reminders to be shown on the day as +an alert. When you log on to the system on the day a birthday is entered, an alert +will be displayed on the home screen. Birthday settings are made in the address book.

      +Show high priority events on main screen:
      +Selecting this option, enables reminders for priority tasks assigned to you in either +todo list or ticketing system.

      +Weekday starts on:
      +Choose the day your week starts.

      +Workday starts on:
      +Choose the start time of your work day. This will effect the beginning time slot +in the calendar when displaying the days schedule.

      +Workday ends on:
      +Choose the end time of your work day. This will effect the ending time slot +in the calendar when displaying the days schedule.

      +Select Headline News sites:
      +Click on as many news headline news sites as you wish, these will be displayed for you +when using the headlines function. The systems admin set these as default, so be sure to +let them know if you want some that are not there ;)

    • +

    • Change your profile:
      +Here you can set a few details about yourself, for public viewing by the rest of the users +of the system. Title,Phone number, Comments, Picture upload.
    • +

    • Monitor Newsgroups:
      +Easily choose which news groups you want to set for reading.
    +
    +common->phpgw_footer(); ?> diff --git a/preferences/help/EN/settings.php b/preferences/help/EN/settings.php new file mode 100755 index 0000000000..5f55a3c3cd --- /dev/null +++ b/preferences/help/EN/settings.php @@ -0,0 +1,58 @@ + 'manual', + 'enable_utilities_class' => True + ); + $phpgw_info['flags'] = $phpgw_flags; + include('../../../header.inc.php'); +?> + +

    +The place to make changes to your personal piece of groupware.

    +

      +
    • Change your Settings:
      +Max matches per page:
      +Choose how many instances of items will be displayed on your screen at one time, default is 15.

      +Show text on navigation icons:
      +Add text under the navigation icons at the top of the screen.

      +Time zone offset:
      +Set your time zone, default setting is Central Europian Standard CEST.

      +Date format:
      +Choose the order of day/month/year, default is m/d/y.

      +Time format:
      +Choose from am/pm=12hours or 24hours settings.

      +Language:
      +Set your language, options German,Spanish,Norwegen,Italian,French, default is English.

      +Show birthday reminders on main screen:
      +Selecting this option, enables birthday reminders to be shown on the day as +an alert. When you log on to the system on the day a birthday is entered, an alert +will be displayed on the home screen. Birthday settings are made in the address book.

      +Show high priority events on main screen:
      +Selecting this option, enables reminders for priority tasks assigned to you in +either todo list or ticketing system.

      +Weekday starts on:
      +Choose the day your week starts.

      +Workday starts on:
      +Choose the start time of your work day. This will effect the beginning time slot +in the calendar when displaying the days schedule.

      +Workday ends on:
      +Choose the end time of your work day. This will effect the ending time slot +in the calendar when displaying the days schedule.

      +Select Headline News sites:
      +Click on as many news headline news sites as you wish, these will be displayed for you +when using the headlines function.The systems admin set these as default, so be sure to +let them know if you want some that are not there ;) +

    +common->phpgw_footer(); ?> diff --git a/preferences/inc/hook_manual.inc.php b/preferences/inc/hook_manual.inc.php index ae1c2b768a..570d11566d 100755 --- a/preferences/inc/hook_manual.inc.php +++ b/preferences/inc/hook_manual.inc.php @@ -16,12 +16,28 @@ global $phpgw, $phpgw_info, $treemenu; } +// Only Modify the $file variable..... + $file = Array( + 'Settings' => 'settings.php', + 'Other' => 'other.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[] = '...Settings|'.$phpgw->link('/'.$appname.'/help/settings.php'); - $treemenu[] = '...Other|'.$phpgw->link('/'.$appname.'/help/other.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); + } + } ?>