phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] sync/inc/class.ui_sync.inc.php, 1.32


From: nomail
Subject: [Phpgroupware-cvs] sync/inc/class.ui_sync.inc.php, 1.32
Date: Mon, 12 Jul 2004 23:13:12 +0200

Update of /sync/inc
Modified Files:
        Branch: 
          class.ui_sync.inc.php

date: 2004/07/12 21:13:12;  author: mkaemmerer;  state: Exp;  lines: +17 -1

Log Message:
- added outlook import
=====================================================================
Index: sync/inc/class.ui_sync.inc.php
diff -u sync/inc/class.ui_sync.inc.php:1.31 sync/inc/class.ui_sync.inc.php:1.32
--- sync/inc/class.ui_sync.inc.php:1.31 Mon Jul 12 19:35:27 2004
+++ sync/inc/class.ui_sync.inc.php      Mon Jul 12 21:13:12 2004
@@ -49,6 +49,7 @@
                var $public_functions = array
                (
                        'testcase'        => True,
+                       'outlook_import' => True,
       'cleartables'   => True,
       'listdevices' => True,
       'listconflicts' => True,
@@ -147,6 +148,7 @@
 
     if ($this->debug) {
        $this->insert_testcase();
+       $this->insert_outlook_import();
        $this->insert_cleartables();
     }
     
@@ -296,6 +298,20 @@
     $this->template->set_var('link_testcase', lang('link_testcase'));
 
   }
+
+  /**
+   * insert a link to the outlook import function
+   *
+   * @access  private
+   */
+  function insert_outlook_import()
+  {
+    $RunOutlookLink = 
$GLOBALS['phpgw']->link('/index.php','menuaction=sync.outlook_import.sync');
+
+    $this->template->set_var('RunOutlookLink',$RunOutlookLink);
+    $this->template->set_var('link_outlook_import', lang('link_outlook'));
+
+  }
        
  /**
    * insert a link to clear all tables




reply via email to

[Prev in Thread] Current Thread [Next in Thread]