[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/mydms/setup/ -> default_records.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare - mydms                                                       *
   4      * http://www.egroupware.org                                                *
   5      * This application is ported from Mydms                                    *
   6      *        by Lian Liming <dawnlinux@realss.com>                             *
   7      * --------------------------------------------                             *
   8      *  This program is free software; you can redistribute it and/or modify it *
   9      *  under the terms of the GNU General Public License as published by the   *
  10      *  Free Software Foundation; version 2 of the License                      *
  11      \**************************************************************************/
  12  
  13      /*Write the Root Folder name into the database*/
  14      #$oProc->query("INSERT INTO phpgw_mydms_Folders VALUES (1, 'Root-Folder', 0, 'no comment', 1, false, 2, 0)");
  15      #$oProc->query("INSERT INTO phpgw_mydms_Folders VALUES (1, 'Root-Folder', 0, 'no comment', 1, 0, 2, 0)");
  16  
  17      $rootFolder = array(
  18          'id'        => 1,
  19          'name'        => 'Root-Folder',
  20          'parent'    => 0,
  21          'comment'    => 'no comment',
  22          'owner'        => 1,
  23          'inheritAccess'    => 0,
  24          'defaultAccess'    => 2,
  25          'sequence'    => 0,
  26      );
  27  
  28      $oProc->insert('phpgw_mydms_Folders', $rootFolder, '', __LINE__, __FILE__, 'mydms');
  29  ?>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7