Chapter 24. Infrastructure

Table of Contents
Overview
Directory tree
Translations

Overview

phpGroupWare attempts to provide developers with a sound directory structure to work from. The directory layout may seem complex at first, but after some use, you will see that it is designed to accommodate a large number of applications and functions.

Directory tree

.-- addressbook
|   `-- images
|   |   `-- navbar.gif
|   `-- inc
|   |   |-- functions.inc.php
|   |   |-- header.inc.php
|   |   `-- footer.inc.php
|   `-- templates
|       `-- default
|-- admin
|   `-- images
|   |   `-- navbar.gif
|   `-- inc
|   |   |-- functions.inc.php
|   |   |-- header.inc.php
|   |   |-- footer.inc.php
|   |   `-- admin.inc.php
|   `-- templates
|       `-- default
|-- calendar
|   `-- images
|   |   `-- navbar.gif
|   `-- inc
|   |   |-- functions.inc.php
|   |   |-- header.inc.php
|   |   `-- footer.inc.php
|   `-- templates
|       `-- default
|-- cron
|-- doc
|-- email
|   `-- images
|   |   `-- navbar.gif
|   `-- inc
|   |   |-- functions.inc.php
|   |   |-- header.inc.php
|   |   |-- footer.inc.php
|   |   |-- preferences.inc.php
|   |   `-- admin.inc.php
|   `-- templates
|       `-- default
|-- filemanager
|-- files
|   |-- groups
|   `-- users
|-- inc
|   |-- phpgwapi
|   |   |-- phpgw.inc.php
|   |   |-- phpgw_info.inc.php
|   |   |-- phpgw_common.inc.php
|   |   `-- etc...
|   `-- templates
|       |-- default
|       |   |-- addressbook
|       |   |-- admin
|       |   |-- calendar
|       |   |-- common
|       |   |-- email
|       |   |-- filemanager
|       |   |-- headlines
|       |   |-- preferences
|       |   |-- todo
|       |   `-- tts
|       `-- icons
|           |-- email
|           |-- calendar
|           `-- tts
|-- preferences
|   `-- images
|   |   `-- navbar.gif
|   `-- inc
|   |   |-- functions.inc.php
|   |   |-- header.inc.php
|   |   |-- footer.inc.php
|   |   `-- preferences.inc.php
|   `-- templates
|       `-- default
|-- themes
`-- todo
    `-- images
    |   `-- navbar.gif
    `-- inc
    |   |-- functions.inc.php
    |   |-- header.inc.php
    |   `-- footer.inc.php
    `-- templates
        `-- default
			

Translations

The translations are now being done thru the database, and will be configurable to use other mechanisms.We are completing a program called Transy, which will provide developers/translators a nice GUI for building and updating translations. In the mean time you will need to create a SQL script yourself and name it lang.sql. You can copy the one in doc/lang.sql and use it as a template.