| [ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 /** 3 * registry.php -- Horde application registry. 4 * 5 * $Horde: horde/config/registry.php.dist,v 1.255.2.17 2006/07/21 15:49:46 jan 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 * jsuri string The base URI for static javascript files. 21 * jsfs string The base filesystem path for static javascript files. 22 * themesuri string The base URI for the themes. This can be used to 23 * serve all icons and style sheets from a separate 24 * server. 25 * themesfs string The base file system directory for the themes. 26 * icon string The URI for an icon to show in menus for the module. 27 * Setting this will override the default theme-based 28 * logic in the code. 29 * name string The name used in menus and descriptions for a module 30 * status string 'inactive', 'hidden', 'notoolbar', 'heading', 31 * 'block', 'admin', or 'active'. 32 * provides string Service types the module provides. 33 * initial_page string The initial (default) page (filename) for the module. 34 * templates string The filesystem path to the templates directory. 35 * menu_parent string The name of the 'heading' group that this app should 36 * show up under. 37 * target string The (optional) target frame for the link. 38 * url string The (optional) URL of 'heading' entries. 39 */ 40 41 // We try to automatically determine the proper webroot for Horde 42 // here. This still assumes that applications live under horde/. If 43 // this results in incorrect results for you, simply change the two 44 // uses of the $webroot variable in the 'horde' stanza below. 45 // 46 // Note for Windows users: the below assumes that your PHP_SELF 47 // variable uses forward slashes. If it does not, you'll have to tweak 48 // this. 49 if (isset($_SERVER['PHP_SELF'])) { 50 $webroot = preg_split(';/;', $_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY); 51 $webroot = strstr(dirname(__FILE__), DIRECTORY_SEPARATOR . array_shift($webroot)); 52 if ($webroot !== false) { 53 $webroot = preg_replace(array('/\\\\/', ';/config$;'), array('/', ''), $webroot); 54 } elseif ($webroot === false) { 55 $webroot = ''; 56 } else { 57 $webroot = '/horde'; 58 } 59 } else { 60 $webroot = '/horde'; 61 } 62 63 $this->applications['horde'] = array( 64 'fileroot' => dirname(__FILE__) . '/..', 65 'webroot' => $webroot, 66 'initial_page' => 'login.php', 67 'name' => _("Horde"), 68 'status' => 'active', 69 'templates' => dirname(__FILE__) . '/../templates', 70 'provides' => 'horde' 71 ); 72 73 $this->applications['mimp'] = array( 74 'fileroot' => dirname(__FILE__) . '/../mimp', 75 'webroot' => $this->applications['horde']['webroot'] . '/mimp', 76 'name' => _("Mobile Mail"), 77 'status' => 'notoolbar' 78 ); 79 80 $this->applications['imp'] = array( 81 'fileroot' => dirname(__FILE__) . '/../imp', 82 'webroot' => $this->applications['horde']['webroot'] . '/imp', 83 'name' => _("Mail"), 84 'status' => 'active', 85 'provides' => 'mail', 86 ); 87 88 $this->applications['ingo'] = array( 89 'fileroot' => dirname(__FILE__) . '/../ingo', 90 'webroot' => $this->applications['horde']['webroot'] . '/ingo', 91 'name' => _("Filters"), 92 'status' => 'active', 93 'provides' => array('mail/blacklistFrom', 'mail/showBlacklist', 'mail/whitelistFrom', 'mail/showWhitelist', 'mail/applyFilters', 'mail/canApplyFilters', 'mail/showFilters'), 94 'menu_parent' => 'imp' 95 ); 96 97 $this->applications['sam'] = array( 98 'fileroot' => dirname(__FILE__) . '/../sam', 99 'webroot' => $this->applications['horde']['webroot'] . '/sam', 100 'name' => _("Spam"), 101 'status' => 'inactive', 102 // Uncomment this line if you want Sam to handle the blacklist filter 103 // instead of Ingo: 104 // 'provides' => array('mail/blacklistFrom', 'mail/showBlacklist', 'mail/whitelistFrom', 'mail/showWhitelist'), 105 'menu_parent' => 'imp' 106 ); 107 108 $this->applications['forwards'] = array( 109 'fileroot' => dirname(__FILE__) . '/../forwards', 110 'webroot' => $this->applications['horde']['webroot'] . '/forwards', 111 'name' => _("Forwards"), 112 'status' => 'active', 113 'provides' => 'forwards', 114 'menu_parent' => 'imp', 115 ); 116 117 $this->applications['vacation'] = array( 118 'fileroot' => dirname(__FILE__) . '/../vacation', 119 'webroot' => $this->applications['horde']['webroot'] . '/vacation', 120 'name' => _("Vacation"), 121 'status' => 'active', 122 'provides' => 'vacation', 123 'menu_parent' => 'imp' 124 ); 125 126 $this->applications['imp-folders'] = array( 127 'status' => 'block', 128 'app' => 'imp', 129 'blockname' => 'tree_folders', 130 'menu_parent' => 'imp', 131 ); 132 133 $this->applications['organizing'] = array( 134 'name' => _("Organizing"), 135 'status' => 'heading', 136 ); 137 138 $this->applications['turba'] = array( 139 'fileroot' => dirname(__FILE__) . '/../turba', 140 'webroot' => $this->applications['horde']['webroot'] . '/turba', 141 'name' => _("Address Book"), 142 'status' => 'active', 143 'provides' => array('contacts', 'clients'), 144 'menu_parent' => 'organizing' 145 ); 146 147 $this->applications['turba-menu'] = array( 148 'status' => 'block', 149 'app' => 'turba', 150 'blockname' => 'tree_menu', 151 'menu_parent' => 'turba', 152 ); 153 154 $this->applications['kronolith'] = array( 155 'fileroot' => dirname(__FILE__) . '/../kronolith', 156 'webroot' => $this->applications['horde']['webroot'] . '/kronolith', 157 'name' => _("Calendar"), 158 'status' => 'active', 159 'provides' => 'calendar', 160 'menu_parent' => 'organizing' 161 ); 162 163 $this->applications['kronolith-alarms'] = array( 164 'status' => 'block', 165 'app' => 'kronolith', 166 'blockname' => 'tree_alarms', 167 'menu_parent' => 'kronolith', 168 ); 169 170 $this->applications['kronolith-menu'] = array( 171 'status' => 'block', 172 'app' => 'kronolith', 173 'blockname' => 'tree_menu', 174 'menu_parent' => 'kronolith', 175 ); 176 177 $this->applications['mnemo'] = array( 178 'fileroot' => dirname(__FILE__) . '/../mnemo', 179 'webroot' => $this->applications['horde']['webroot'] . '/mnemo', 180 'name' => _("Notes"), 181 'status' => 'active', 182 'provides' => 'notes', 183 'menu_parent' => 'organizing' 184 ); 185 186 $this->applications['nag'] = array( 187 'fileroot' => dirname(__FILE__) . '/../nag', 188 'webroot' => $this->applications['horde']['webroot'] . '/nag', 189 'name' => _("Tasks"), 190 'status' => 'active', 191 'provides' => 'tasks', 192 'menu_parent' => 'organizing' 193 ); 194 195 $this->applications['genie'] = array( 196 'fileroot' => dirname(__FILE__) . '/../genie', 197 'webroot' => $this->applications['horde']['webroot'] . '/genie', 198 'name' => _("Wishlist"), 199 'status' => 'inactive', 200 'provides' => 'wishlist', 201 'menu_parent' => 'organizing' 202 ); 203 204 $this->applications['trean'] = array( 205 'fileroot' => dirname(__FILE__) . '/../trean', 206 'webroot' => $this->applications['horde']['webroot'] . '/trean', 207 'name' => _("Bookmarks"), 208 'status' => 'inactive', 209 'provides' => 'bookmarks', 210 'menu_parent' => 'organizing' 211 ); 212 213 $this->applications['trean-menu'] = array( 214 'status' => 'block', 215 'app' => 'trean', 216 'blockname' => 'tree_menu', 217 'menu_parent' => 'trean', 218 ); 219 220 $this->applications['devel'] = array( 221 'name' => _("Development"), 222 'status' => 'heading', 223 ); 224 225 $this->applications['chora'] = array( 226 'fileroot' => dirname(__FILE__) . '/../chora', 227 'webroot' => $this->applications['horde']['webroot'] . '/chora', 228 'name' => _("Version Control"), 229 'status' => 'active', 230 'menu_parent' => 'devel' 231 ); 232 233 $this->applications['whups'] = array( 234 'fileroot' => dirname(__FILE__) . '/../whups', 235 'webroot' => $this->applications['horde']['webroot'] . '/whups', 236 'name' => _("Tickets"), 237 'status' => 'inactive', 238 'provides' => 'tickets', 239 'menu_parent' => 'devel' 240 ); 241 242 $this->applications['luxor'] = array( 243 'fileroot' => dirname(__FILE__) . '/../luxor', 244 'webroot' => $this->applications['horde']['webroot'] . '/luxor', 245 'name' => _("X-Ref"), 246 'status' => 'inactive', 247 'menu_parent' => 'devel' 248 ); 249 250 $this->applications['nic'] = array( 251 'fileroot' => dirname(__FILE__) . '/../nic', 252 'webroot' => $this->applications['horde']['webroot'] . '/nic', 253 'name' => _("Network"), 254 'status' => 'inactive', 255 'menu_parent' => 'devel' 256 ); 257 258 $this->applications['info'] = array( 259 'name' => _("Information"), 260 'status' => 'heading', 261 ); 262 263 $this->applications['klutz'] = array( 264 'fileroot' => dirname(__FILE__) . '/../klutz', 265 'webroot' => $this->applications['horde']['webroot'] . '/klutz', 266 'name' => _("Comics"), 267 'status' => 'inactive', 268 'provides' => 'comics', 269 'menu_parent' => 'info' 270 ); 271 272 $this->applications['occam'] = array( 273 'fileroot' => dirname(__FILE__) . '/../occam', 274 'webroot' => $this->applications['horde']['webroot'] . '/occam', 275 'name' => _("Courses"), 276 'status' => 'inactive', 277 'menu_parent' => 'info' 278 ); 279 280 $this->applications['mottle'] = array( 281 'fileroot' => dirname(__FILE__) . '/../mottle', 282 'webroot' => $this->applications['horde']['webroot'] . '/mottle', 283 'name' => _("MOTD"), 284 'status' => 'inactive', 285 'menu_parent' => 'info' 286 ); 287 288 $this->applications['jonah'] = array( 289 'fileroot' => dirname(__FILE__) . '/../jonah', 290 'webroot' => $this->applications['horde']['webroot'] . '/jonah', 291 'name' => _("News"), 292 'status' => 'inactive', 293 'provides' => 'news', 294 'menu_parent' => 'info' 295 ); 296 297 $this->applications['jonah-menu'] = array( 298 'status' => 'block', 299 'app' => 'jonah', 300 'blockname' => 'tree_menu', 301 'menu_parent' => 'jonah', 302 ); 303 304 $this->applications['troll'] = array( 305 'fileroot' => dirname(__FILE__) . '/../troll', 306 'webroot' => $this->applications['horde']['webroot'] . '/troll', 307 'name' => _("Newsgroups"), 308 'status' => 'inactive', 309 'menu_parent' => 'info' 310 ); 311 312 $this->applications['troll-menu'] = array( 313 'status' => 'block', 314 'app' => 'troll', 315 'blockname' => 'tree_menu', 316 'menu_parent' => 'troll', 317 ); 318 319 $this->applications['goops'] = array( 320 'fileroot' => dirname(__FILE__) . '/../goops', 321 'webroot' => $this->applications['horde']['webroot'] . '/goops', 322 'name' => _("Search Engines"), 323 'status' => 'inactive', 324 'menu_parent' => 'info' 325 ); 326 327 $this->applications['office'] = array( 328 'name' => _("Office"), 329 'status' => 'heading', 330 ); 331 332 $this->applications['juno'] = array( 333 'fileroot' => dirname(__FILE__) . '/../juno', 334 'webroot' => $this->applications['horde']['webroot'] . '/juno', 335 'name' => _("Accounting"), 336 'status' => 'inactive', 337 'menu_parent' => 'office' 338 ); 339 340 $this->applications['midas'] = array( 341 'fileroot' => dirname(__FILE__) . '/../midas', 342 'webroot' => $this->applications['horde']['webroot'] . '/midas', 343 'name' => _("Ads"), 344 'status' => 'inactive', 345 'menu_parent' => 'office' 346 ); 347 348 $this->applications['hylax'] = array( 349 'fileroot' => dirname(__FILE__) . '/../hylax', 350 'webroot' => $this->applications['horde']['webroot'] . '/hylax', 351 'name' => _("Faxes"), 352 'status' => 'inactive', 353 'menu_parent' => 'office', 354 ); 355 356 $this->applications['sesha'] = array( 357 'fileroot' => dirname(__FILE__) . '/../sesha', 358 'webroot' => $this->applications['horde']['webroot'] . '/sesha', 359 'name' => _("Inventory"), 360 'status' => 'inactive', 361 362 // Uncomment this line if you want Sesha to provide queue and version 363 // names instead of Whups: 364 // 'provides' => array('tickets/listQueues', 'tickets/getQueueDetails', 'tickets/listVersions', 'tickets/getVersionDetails'), 365 'menu_parent' => 'office', 366 ); 367 368 $this->applications['thor'] = array( 369 'fileroot' => dirname(__FILE__) . '/../thor', 370 'webroot' => $this->applications['horde']['webroot'] . '/thor', 371 'name' => _("Projects"), 372 'status' => 'inactive', 373 'provides' => 'projects', 374 'menu_parent' => 'office' 375 ); 376 377 $this->applications['rakim'] = array( 378 'fileroot' => dirname(__FILE__) . '/../rakim', 379 'webroot' => $this->applications['horde']['webroot'] . '/rakim', 380 'name' => _("Support"), 381 'status' => 'inactive', 382 'menu_parent' => 'office' 383 ); 384 385 $this->applications['hermes'] = array( 386 'fileroot' => dirname(__FILE__) . '/../hermes', 387 'webroot' => $this->applications['horde']['webroot'] . '/hermes', 388 'name' => _("Time Tracking"), 389 'status' => 'inactive', 390 'menu_parent' => 'office', 391 'provides' => 'time' 392 ); 393 394 $this->applications['hermes-watch'] = array( 395 'status' => 'block', 396 'app' => 'hermes', 397 'blockname' => 'stopwatch', 398 'menu_parent' => 'hermes', 399 ); 400 401 $this->applications['myaccount'] = array( 402 'name' => _("My Account"), 403 'status' => 'heading', 404 ); 405 406 $this->applications['gollem'] = array( 407 'fileroot' => dirname(__FILE__) . '/../gollem', 408 'webroot' => $this->applications['horde']['webroot'] . '/gollem', 409 'name' => _("File Manager"), 410 'status' => 'active', 411 'menu_parent' => 'myaccount', 412 'provides' => 'files', 413 ); 414 415 $this->applications['gollem-menu'] = array( 416 'status' => 'block', 417 'app' => 'gollem', 418 'blockname' => 'tree_menu', 419 'menu_parent' => 'gollem', 420 ); 421 422 $this->applications['passwd'] = array( 423 'fileroot' => dirname(__FILE__) . '/../passwd', 424 'webroot' => $this->applications['horde']['webroot'] . '/passwd', 425 'name' => _("Password"), 426 'status' => 'active', 427 'menu_parent' => 'myaccount' 428 ); 429 430 $this->applications['jeta'] = array( 431 'fileroot' => dirname(__FILE__) . '/../jeta', 432 'webroot' => $this->applications['horde']['webroot'] . '/jeta', 433 'name' => _("SSH"), 434 'status' => 'inactive', 435 'menu_parent' => 'myaccount' 436 ); 437 438 $this->applications['website'] = array( 439 'name' => _("Web Site"), 440 'status' => 'heading', 441 ); 442 443 $this->applications['giapeto'] = array( 444 'fileroot' => dirname(__FILE__) . '/../giapeto', 445 'webroot' => $this->applications['horde']['webroot'] . '/giapeto', 446 'name' => _("CMS"), 447 'status' => 'inactive', 448 'provides' => 'cms', 449 'menu_parent' => 'website' 450 ); 451 452 $this->applications['agora'] = array( 453 'fileroot' => dirname(__FILE__) . '/../agora', 454 'webroot' => $this->applications['horde']['webroot'] . '/agora', 455 'name' => _("Forums"), 456 'status' => 'inactive', 457 'provides' => 'forums', 458 'menu_parent' => 'website' 459 ); 460 461 $this->applications['ulaform'] = array( 462 'fileroot' => dirname(__FILE__) . '/../ulaform', 463 'webroot' => $this->applications['horde']['webroot'] . '/ulaform', 464 'name' => _("Forms"), 465 'status' => 'inactive', 466 'menu_parent' => 'website' 467 ); 468 469 $this->applications['volos'] = array( 470 'fileroot' => dirname(__FILE__) . '/../volos', 471 'webroot' => $this->applications['horde']['webroot'] . '/volos', 472 'name' => _("Guestbook"), 473 'status' => 'inactive', 474 'menu_parent' => 'website' 475 ); 476 477 $this->applications['ansel'] = array( 478 'fileroot' => dirname(__FILE__) . '/../ansel', 479 'webroot' => $this->applications['horde']['webroot'] . '/ansel', 480 'name' => _("Photos"), 481 'status' => 'inactive', 482 'provides' => 'images', 483 'menu_parent' => 'website' 484 ); 485 486 $this->applications['scry'] = array( 487 'fileroot' => dirname(__FILE__) . '/../scry', 488 'webroot' => $this->applications['horde']['webroot'] . '/scry', 489 'name' => _("Polls"), 490 'status' => 'inactive', 491 'provides' => 'polls', 492 'menu_parent' => 'website' 493 ); 494 495 $this->applications['merk'] = array( 496 'fileroot' => dirname(__FILE__) . '/../merk', 497 'webroot' => $this->applications['horde']['webroot'] . '/merk', 498 'name' => _("Shopping"), 499 'status' => 'inactive', 500 'menu_parent' => 'website' 501 ); 502 503 $this->applications['swoosh'] = array( 504 'fileroot' => dirname(__FILE__) . '/../swoosh', 505 'webroot' => $this->applications['horde']['webroot'] . '/swoosh', 506 'name' => _("SMS Messaging"), 507 'status' => 'inactive', 508 'provides' => 'sms', 509 'menu_parent' => 'website' 510 ); 511 512 $this->applications['wicked'] = array( 513 'fileroot' => dirname(__FILE__) . '/../wicked', 514 'webroot' => $this->applications['horde']['webroot'] . '/wicked', 515 'name' => _("Wiki"), 516 'status' => 'inactive', 517 'provides' => 'wiki', 518 'menu_parent' => 'website' 519 ); 520 521 $this->applications['vilma'] = array( 522 'fileroot' => dirname(__FILE__) . '/../vilma', 523 'webroot' => $this->applications['horde']['webroot'] . '/vilma', 524 'name' => _("Mail Admin"), 525 'status' => 'inactive', 526 'menu_parent' => 'administration' 527 );
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |