[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /** 3 * registry.php -- Horde application registry. 4 * 5 * $Horde: horde/config/registry.php.dist,v 1.243 2004/10/05 20:08:13 chuck Exp $ 6 * 7 * This configuration file is used by Horde to determine which Horde 8 * applications are installed and where, as well as how they interact. 9 * 10 * Application registry 11 * -------------------- 12 * The following settings register installed Horde applications. 13 * By default, Horde assumes that the application directories live 14 * inside the horde directory. 15 * 16 * Attribute Type Description 17 * --------- ---- ----------- 18 * fileroot string The base filesystem path for the module's files 19 * webroot string The base URI for the module 20 * graphics string The base URI for the module images 21 * icon string The URI for an icon to show in menus for the module 22 * name string The name used in menus and descriptions for a module 23 * status string 'inactive', 'hidden', 'notoolbar', 'heading', 24 * 'block', 'admin', or 'active'. 25 * provides string Service types the module provides. 26 * initial_page string The initial (default) page (filename) for the module 27 * templates string The filesystem path to the templates directory 28 * menu_parent string The name of the 'heading' group that this app should 29 * show up under. 30 * target string The (optional) target frame for the link. 31 */ 32 33 // We try to automatically determine the proper webroot for Horde 34 // here. This still assumes that applications live under horde/. If 35 // this results in incorrect results for you, simply change the two 36 // uses of the $webroot variable in the 'horde' stanza below. 37 // 38 // Note for Windows users: the below assumes that your PHP_SELF 39 // variable uses forward slashes. If it does not, you'll have to tweak 40 // this. 41 if (isset($_SERVER['PHP_SELF'])) { 42 $parts = preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY); 43 $webroot = strstr(dirname(__FILE__), '/' . array_shift($parts)); 44 if ($webroot !== false) { 45 $webroot = preg_replace(';/config$;', '', $webroot); 46 } else { 47 $webroot = '/horde'; 48 } 49 } else { 50 $webroot = '/horde'; 51 } 52 53 $this->applications['horde'] = array( 54 'fileroot' => dirname(__FILE__) . '/..', 55 'webroot' => $webroot, 56 'initial_page' => 'login.php', 57 'icon' => $webroot . '/graphics/horde.png', 58 'name' => _("Horde"), 59 'status' => 'active', 60 'templates' => dirname(__FILE__) . '/../templates', 61 'provides' => 'horde' 62 ); 63 64 #$this->applications['mnemo'] = array( 65 # 'fileroot' => dirname(__FILE__) . '/../mnemo', 66 # 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 67 # 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 68 # 'name' => _("Notes"), 69 # 'status' => 'active', 70 # 'provides' => 'notes', 71 # 'menu_parent' => 'organizing' 72 #); 73 74 $this->applications['egwnotessync'] = array( 75 'fileroot' => EGW_SERVER_ROOT.'/syncml/notes', 76 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 77 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 78 'name' => _("Notes"), 79 'status' => 'active', 80 'provides' => 'notes', 81 'menu_parent' => 'organizing' 82 ); 83 84 $this->applications['egwcontactssync'] = array( 85 'fileroot' => EGW_SERVER_ROOT.'/syncml/contacts', 86 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 87 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 88 'name' => _("Contacts"), 89 'status' => 'active', 90 'provides' => 'contacts', 91 'menu_parent' => 'organizing' 92 ); 93 94 $this->applications['egwsifcontactssync'] = array( 95 'fileroot' => EGW_SERVER_ROOT.'/syncml/sifcontacts', 96 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 97 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 98 'name' => _("SIF Contacts"), 99 'status' => 'active', 100 'provides' => 'sifcontacts', 101 'menu_parent' => 'organizing' 102 ); 103 104 $this->applications['egwcalendarsync'] = array( 105 'fileroot' => EGW_SERVER_ROOT.'/syncml/calendar', 106 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 107 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 108 'name' => _("Calendar"), 109 'status' => 'active', 110 'provides' => 'calendar', 111 'menu_parent' => 'organizing' 112 ); 113 114 $this->applications['egwsifcalendarsync'] = array( 115 'fileroot' => EGW_SERVER_ROOT.'/syncml/sifcalendar', 116 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 117 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 118 'name' => _("Calendar"), 119 'status' => 'active', 120 'provides' => 'sifcalendar', 121 'menu_parent' => 'organizing' 122 ); 123 124 $this->applications['egwtaskssync'] = array( 125 'fileroot' => EGW_SERVER_ROOT.'/syncml/tasks', 126 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 127 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 128 'name' => _("Tasks"), 129 'status' => 'active', 130 'provides' => 'tasks', 131 'menu_parent' => 'organizing' 132 ); 133 134 $this->applications['egwsiftaskssync'] = array( 135 'fileroot' => EGW_SERVER_ROOT.'/syncml/siftasks', 136 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 137 'icon' => $this->applications['horde']['webroot'] . '/mnemo/graphics/mnemo.gif', 138 'name' => _("SIFTasks"), 139 'status' => 'active', 140 'provides' => 'siftasks', 141 'menu_parent' => 'organizing' 142 ); 143
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |