/**
  * Show E-Push preferences link in preferences
  *
  * @param string|array $args
  */
 public static function menus($args)
 {
     $appname = 'activesync';
     $location = is_array($args) ? $args['location'] : $args;
     if ($location == 'preferences') {
         $file = array('Preferences' => egw::link('/index.php', 'menuaction=preferences.uisettings.index&appname=' . $appname));
         if ($location == 'preferences') {
             display_section($appname, $file);
         } else {
             display_sidebox($appname, lang('Preferences'), $file);
         }
     }
 }