forked from extern/egroupware
remove outdated files
This commit is contained in:
parent
b8bdcf5186
commit
6030957df9
@ -1,5 +0,0 @@
|
|||||||
12/29/2001
|
|
||||||
added en_US directory and installed SGML versions of the documentation.
|
|
||||||
adjusted directories to conform to the new documentation standard.
|
|
||||||
|
|
||||||
-Brandon-
|
|
@ -1 +0,0 @@
|
|||||||
See the CREDITS in phpgwapi/doc
|
|
@ -1 +0,0 @@
|
|||||||
PLEASE SEE THE index.html OR index.txt files.
|
|
@ -1,6 +0,0 @@
|
|||||||
The documentation is writtend in DocBook SGML and converted to other formats use Jade.
|
|
||||||
|
|
||||||
The makefile in this directory is used to generate the various other forms on the docs server, it may or may not work on your particular installation.
|
|
||||||
|
|
||||||
--Brandon Neill
|
|
||||||
|
|
@ -1,375 +0,0 @@
|
|||||||
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
||||||
<meta name="Author" content="Jean-Francois">
|
|
||||||
<meta name="GENERATOR" content="Mozilla/4.7 [en] (WinNT; I) [Netscape]">
|
|
||||||
<title>Hello World - phpGroupware</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<h1>
|
|
||||||
Developping a Hello World application for phpGroupware</h1>
|
|
||||||
Author : Jean-Francois Declercq (<A HREF="mailto:jef@jfdeclercq.com">jef@jfdeclercq.com</A>)
|
|
||||||
<br>Where to find this information : <a href="http://www.jfdeclercq.com/search.php?query=phpgroupware">http://www.jfdeclercq.com/search?query=phpgroupware</a>
|
|
||||||
<p>1. <a href="#1">Creating the basic directory structure</a>
|
|
||||||
<br>2. <a href="#2">Wrinting the application</a>
|
|
||||||
<br>2.1 <a href="#2.1">Writing the basic functionality</a>
|
|
||||||
<br>2.2 <a href="#2.2">Writing the templates</a>
|
|
||||||
<br>2.3 <a href="#2.3">Writing the main page</a>
|
|
||||||
<br>3. <a href="#3">Installing the hello application</a>
|
|
||||||
<br>4. <a href="#4">Conclusions</a>
|
|
||||||
<br>5. <a href="#5.">What's next ?</a>
|
|
||||||
<h1>
|
|
||||||
<a NAME="1"></a>1. Creating the basic directory structure</h1>
|
|
||||||
In the phpgroupware home directory, you have to respect a directory
|
|
||||||
structure. We will create the following.
|
|
||||||
<br>
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td>|--hello
|
|
||||||
<br> |--inc
|
|
||||||
<br> | |--functions.inc.php
|
|
||||||
<br> |--templates
|
|
||||||
<br> | |--default
|
|
||||||
<br> | | |--hello_form.tpl
|
|
||||||
<br> | | |--hello_result.tpl
|
|
||||||
<br> |--index.php</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p>Create the hello, inc, templates and default directory. We will write
|
|
||||||
the files in the next section.
|
|
||||||
<h1>
|
|
||||||
<a NAME="2"></a>2. Writing the application</h1>
|
|
||||||
|
|
||||||
<h2>
|
|
||||||
<a NAME="2.1"></a>2.1 Writing the basic functionality</h2>
|
|
||||||
First, we will create function.inc.php that contains some functions that
|
|
||||||
will be used by the page. We will create a function hello() that
|
|
||||||
formats a string. <font size=-1>(Note that in the philosophy of phpGroupware
|
|
||||||
we would write a Hello class that would contain that functionality...)</font>
|
|
||||||
<br>
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td><font face="Courier New,Courier"><font size=-1><?php</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> /**************************************************************************\</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * functions.inc.php
|
|
||||||
for phpGroupWare - Hello World example</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * http://www.phpgroupware.org</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * This file has
|
|
||||||
been written by J-F Declercq <jef@jfdeclercq.com></font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * http://www.jfdeclercq.com </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * -------------------------------------------- </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * This
|
|
||||||
program is free software; you can redistribute it and/or modify it</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * under
|
|
||||||
the terms of the GNU General Public License as published by the </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * Free
|
|
||||||
Software Foundation; either version 2 of the License, or (at your </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * option)
|
|
||||||
any later version. </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> \**************************************************************************/</font></font>
|
|
||||||
<p><font face="Courier New,Courier"><font size=-1> /***************************************************************************\</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * Function hello </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * in - String
|
|
||||||
: the text to hello() </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * returns - the
|
|
||||||
string with 'Hello' before and ' !' after </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * note - Used
|
|
||||||
by the hello phpgw app</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> \***************************************************************************/</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> function hello($string)</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> {</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> return
|
|
||||||
"Hello ".$string." !";</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> }</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1>?></font></font></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h2>
|
|
||||||
<a NAME="2.2"></a>2.2 Writing the templates</h2>
|
|
||||||
Write the templates for the page. The page will not contain HTML code.
|
|
||||||
The templates allow to separate the presentation from the logic of the
|
|
||||||
page. We will insert two templates on the page : the 'hello_result' template
|
|
||||||
and the 'hello_form' template.
|
|
||||||
<br>
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td><font face="Courier New,Courier"><font size=-1><!-- hello_form.tpl
|
|
||||||
template --></font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1><p>Type Here your
|
|
||||||
text to hello()</p> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1><form type="post"
|
|
||||||
action="{hello_action}"> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> <input
|
|
||||||
type="text" name="input" value= "{hello_value}" ></font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> <input
|
|
||||||
type="submit" value="OK"> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1></form></font></font></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p>This template looks like this :
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td><!-- hello_result template -->
|
|
||||||
<p>Type Here your text to hello()
|
|
||||||
<br><form type="post" action="{hello_action}"><input type="text" name="input" value= "{hello_value}" ><input type="submit" value="OK"></form></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p>The hello_result.tpl template allows you to display the parameter
|
|
||||||
and the result of the hello() function.
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td><font face="Courier New,Courier"><font size=-1><!-- hello_result.tpl
|
|
||||||
--></font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1>hello({hello_input})={hello_result}</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1><hr></font></font></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
This template looks like this :
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td>hello({hello_input})={hello_result}
|
|
||||||
<hr></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p>You have to put these .tpl files in the /templates/default/ directory.
|
|
||||||
<h2>
|
|
||||||
<a NAME="2.3"></a>2.3 Write the main page</h2>
|
|
||||||
Now we have to write hello/index.php : this is the main page of the hello
|
|
||||||
world application. I hope the code is clear enough so you can understand
|
|
||||||
without I have to explain. (read the comments...)
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td><font face="Courier New,Courier"><font size=-1><?php</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> /**************************************************************************\</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * index.php
|
|
||||||
for phpGroupWare - Hello World example
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * http://www.phpgroupware.org
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * This file written
|
|
||||||
by J-F Declercq <jef@jfdeclercq.com>
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * http://www.jfdeclercq.com
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * --------------------------------------------
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * This
|
|
||||||
program is free software; you can redistribute it and/or modify it *</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * under
|
|
||||||
the terms of the GNU General Public License as published by the
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * Free
|
|
||||||
Software Foundation; either version 2 of the License, or (at your
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * option)
|
|
||||||
any later version.
|
|
||||||
*</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> \**************************************************************************/</font></font><font face="Courier New,Courier"><font size=-1></font></font>
|
|
||||||
<p><font face="Courier New,Courier"><font size=-1> /***************************************************************************\</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * This page allows
|
|
||||||
you to call the hello() function.</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * The default
|
|
||||||
text passed to hello() is 'World' and </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * hello('World')='Hello
|
|
||||||
World !'.</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * The page uses
|
|
||||||
a form to allow you to hello() other texts.</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * The form and
|
|
||||||
the result of the function have been put in two different </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> * templates (hello_result.tpl
|
|
||||||
and hello_form.tpl).</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> \***************************************************************************/</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //set the
|
|
||||||
phpgw flags</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $phpgw_info['flags']
|
|
||||||
= array('currentapp' => 'hello',</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1>
|
|
||||||
'enable_nextmatchs_class' => True,</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1>
|
|
||||||
'enable_categories_class' => True);</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //include
|
|
||||||
the header</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> include('../header.inc.php');</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> /** the
|
|
||||||
default text to hello() is 'World'*/</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $default="World";</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> if ($input
|
|
||||||
== "") { $input=$default; } </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //Compute
|
|
||||||
hello()</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $result
|
|
||||||
= hello($input);</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //Use templates</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //we will
|
|
||||||
use two templates</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t->set_file(array( </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> 'result'
|
|
||||||
=> 'hello_result.tpl',</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> 'form'
|
|
||||||
=> 'hello_form.tpl')</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> );</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //filling
|
|
||||||
the first template</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t->set_var('hello_input',htmlspecialchars($input));</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t->set_var('hello_result',htmlspecialchars($result)); </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //filling
|
|
||||||
the second template</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t->set_var('hello_action','/hello/index.php');</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t->set_var('hello_value',htmlspecialchars($input));</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //parse
|
|
||||||
and write out the templates</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //changing
|
|
||||||
the order of the two lines will change the layout of the page !!</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //this
|
|
||||||
is the power of the templates</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t->pparse('out','result');</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $t->pparse('out','form');</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> </font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> //Insert
|
|
||||||
the footer</font></font>
|
|
||||||
<br><font face="Courier New,Courier"><font size=-1> $ph</font></font>pgw->common->phpgw_footer();
|
|
||||||
<br>?></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h1>
|
|
||||||
<a NAME="3"></a>3. Installing the hello application</h1>
|
|
||||||
After having the correct files and folders (by creating or unzipping) in
|
|
||||||
you phpGroupware base directory, you have to register the hello application
|
|
||||||
within phpGroupware using this command
|
|
||||||
<table BORDER COLS=1 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td>insert into phpgw_applications (app_name, app_title, app_enabled) values
|
|
||||||
('hello', 'Hello World for phpGroupware', 1);</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
After that, using the admin user, you must grant access to the application
|
|
||||||
to some user and log in as this user.
|
|
||||||
<h1>
|
|
||||||
<a NAME="4"></a>4. Conclusions</h1>
|
|
||||||
Trough building this stupid hello world application we have been trough
|
|
||||||
some but not all of the requirements of phpGroupware.
|
|
||||||
<p>"These guidelines must be followed for any application that wants considered
|
|
||||||
for inclusion into phpGroupWare deluxe"
|
|
||||||
<table BORDER COLS=2 WIDTH="100%" >
|
|
||||||
<tr>
|
|
||||||
<td>It must run on PHP3 and PHP4.</td>
|
|
||||||
|
|
||||||
<td>OK - I think it's ok (?) I'm not a king of php and I use PHP4.</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>SQL statements must be compatible with both MySQL and PostgreSQL. </td>
|
|
||||||
|
|
||||||
<td>OK - No SQL statement so far</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>It must use our default header.inc.php include. </td>
|
|
||||||
|
|
||||||
<td>OK - cfr index.php</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>It must use our $phpgw_link($url) for all links (this is for session
|
|
||||||
support). </td>
|
|
||||||
|
|
||||||
<td>OK - cfr hello_form.tpl</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>It must use ``post'' for forms. </td>
|
|
||||||
|
|
||||||
<td>OK - cfr hello_form.tpl</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>It must respect phpGW group rights and phpGW user permissions. </td>
|
|
||||||
|
|
||||||
<td>KO - We didn't check that particular aspect. --> TODO</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>It must use our directory structure, template support and lang (multi-language)
|
|
||||||
support. </td>
|
|
||||||
|
|
||||||
<td>KO - we didn't use the language aspects --> TODO</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td>Where possible it should run on both Unix and NT platforms. </td>
|
|
||||||
|
|
||||||
<td>OK ? - Only tested on NT</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<p>hello isn't a phpGroupware deluxe application... The next evolution
|
|
||||||
of hello will be to add a group right and a multi-language feature. See
|
|
||||||
what's next.
|
|
||||||
<p>phpGroupWare offers very interesting features for people wanting to
|
|
||||||
write 100% web-based applications :
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
separation of logic and presentation by the use of templates</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
internationalization</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
security (at least at the highest level in this case - allow or deny the
|
|
||||||
use of an application to a user)</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
session management</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h1>
|
|
||||||
<a NAME="5."></a>5. What's next</h1>
|
|
||||||
So, other things I should cover in the next Hello World application :
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
check the complete set of standard files (header.inc.php, hook_preferences.inc.php,
|
|
||||||
hook_admin.inc.php, footer.inc.php) and what they are for.</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
code the functionality in OO - using a hello class (like in the evolution
|
|
||||||
of hello world :-))</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
develop a setup that would create, update, delete a hello world table in
|
|
||||||
order to check how it works.</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
integrate hello into the phpgroupware administration</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
allow the user to have hello preferences</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
allow the user to have hello in his language</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
integrate hello with dedicated ACL and phpGroupware security</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
Discover the way handlers work for blocks</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
...</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,463 +0,0 @@
|
|||||||
%!PS-Adobe-2.0
|
|
||||||
%%Creator: dvips(k) 5.86e Copyright 2001 Radical Eye Software
|
|
||||||
%%Title: /tmp/@6778.dvi
|
|
||||||
%%Pages: 3
|
|
||||||
%%PageOrder: Ascend
|
|
||||||
%%BoundingBox: 0 0 596 842
|
|
||||||
%%DocumentFonts: Helvetica-Bold Times-Roman Times-Italic Courier-Bold
|
|
||||||
%%EndComments
|
|
||||||
%DVIPSWebPage: (www.radicaleye.com)
|
|
||||||
%DVIPSCommandLine: dvips -o ./FAQ.ps /tmp/@6778.dvi
|
|
||||||
%DVIPSParameters: dpi=600, compressed
|
|
||||||
%DVIPSSource: TeX output 2002.01.01:1106
|
|
||||||
%%BeginProcSet: texc.pro
|
|
||||||
%!
|
|
||||||
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
|
|
||||||
N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72
|
|
||||||
mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0
|
|
||||||
0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{
|
|
||||||
landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize
|
|
||||||
mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[
|
|
||||||
matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round
|
|
||||||
exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{
|
|
||||||
statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0]
|
|
||||||
N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin
|
|
||||||
/FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array
|
|
||||||
/BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2
|
|
||||||
array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N
|
|
||||||
df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A
|
|
||||||
definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get
|
|
||||||
}B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub}
|
|
||||||
B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr
|
|
||||||
1 add N}if}B/id 0 N/rw 0 N/rc 0 N/gp 0 N/cp 0 N/G 0 N/CharBuilder{save 3
|
|
||||||
1 roll S A/base get 2 index get S/BitMaps get S get/Cd X pop/ctr 0 N Cdx
|
|
||||||
0 Cx Cy Ch sub Cx Cw add Cy setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx
|
|
||||||
sub Cy .1 sub]/id Ci N/rw Cw 7 add 8 idiv string N/rc 0 N/gp 0 N/cp 0 N{
|
|
||||||
rc 0 ne{rc 1 sub/rc X rw}{G}ifelse}imagemask restore}B/G{{id gp get/gp
|
|
||||||
gp 1 add N A 18 mod S 18 idiv pl S get exec}loop}B/adv{cp add/cp X}B
|
|
||||||
/chg{rw cp id gp 4 index getinterval putinterval A gp add/gp X adv}B/nd{
|
|
||||||
/cp 0 N rw exit}B/lsh{rw cp 2 copy get A 0 eq{pop 1}{A 255 eq{pop 254}{
|
|
||||||
A A add 255 and S 1 and or}ifelse}ifelse put 1 adv}B/rsh{rw cp 2 copy
|
|
||||||
get A 0 eq{pop 128}{A 255 eq{pop 127}{A 2 idiv S 128 and or}ifelse}
|
|
||||||
ifelse put 1 adv}B/clr{rw cp 2 index string putinterval adv}B/set{rw cp
|
|
||||||
fillstr 0 4 index getinterval putinterval adv}B/fillstr 18 string 0 1 17
|
|
||||||
{2 copy 255 put pop}for N/pl[{adv 1 chg}{adv 1 chg nd}{1 add chg}{1 add
|
|
||||||
chg nd}{adv lsh}{adv lsh nd}{adv rsh}{adv rsh nd}{1 add adv}{/rc X nd}{
|
|
||||||
1 add set}{1 add clr}{adv 2 chg}{adv 2 chg nd}{pop nd}]A{bind pop}
|
|
||||||
forall N/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn
|
|
||||||
/BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put
|
|
||||||
}if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{
|
|
||||||
bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A
|
|
||||||
mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{
|
|
||||||
SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{
|
|
||||||
userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X
|
|
||||||
1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4
|
|
||||||
index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N
|
|
||||||
/p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{
|
|
||||||
/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT)
|
|
||||||
(LaserWriter 16/600)]{A length product length le{A length product exch 0
|
|
||||||
exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse
|
|
||||||
end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask
|
|
||||||
grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot}
|
|
||||||
imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round
|
|
||||||
exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto
|
|
||||||
fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p
|
|
||||||
delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M}
|
|
||||||
B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{
|
|
||||||
p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S
|
|
||||||
rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end
|
|
||||||
|
|
||||||
%%EndProcSet
|
|
||||||
%%BeginProcSet: 8r.enc
|
|
||||||
% @@psencodingfile@{
|
|
||||||
% author = "S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry",
|
|
||||||
% version = "0.6",
|
|
||||||
% date = "1 July 1998",
|
|
||||||
% filename = "8r.enc",
|
|
||||||
% email = "tex-fonts@@tug.org",
|
|
||||||
% docstring = "Encoding for TrueType or Type 1 fonts
|
|
||||||
% to be used with TeX."
|
|
||||||
% @}
|
|
||||||
%
|
|
||||||
% Idea is to have all the characters normally included in Type 1 fonts
|
|
||||||
% available for typesetting. This is effectively the characters in Adobe
|
|
||||||
% Standard Encoding + ISO Latin 1 + extra characters from Lucida.
|
|
||||||
%
|
|
||||||
% Character code assignments were made as follows:
|
|
||||||
%
|
|
||||||
% (1) the Windows ANSI characters are almost all in their Windows ANSI
|
|
||||||
% positions, because some Windows users cannot easily reencode the
|
|
||||||
% fonts, and it makes no difference on other systems. The only Windows
|
|
||||||
% ANSI characters not available are those that make no sense for
|
|
||||||
% typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen
|
|
||||||
% (173). quotesingle and grave are moved just because it's such an
|
|
||||||
% irritation not having them in TeX positions.
|
|
||||||
%
|
|
||||||
% (2) Remaining characters are assigned arbitrarily to the lower part
|
|
||||||
% of the range, avoiding 0, 10 and 13 in case we meet dumb software.
|
|
||||||
%
|
|
||||||
% (3) Y&Y Lucida Bright includes some extra text characters; in the
|
|
||||||
% hopes that other PostScript fonts, perhaps created for public
|
|
||||||
% consumption, will include them, they are included starting at 0x12.
|
|
||||||
%
|
|
||||||
% (4) Remaining positions left undefined are for use in (hopefully)
|
|
||||||
% upward-compatible revisions, if someday more characters are generally
|
|
||||||
% available.
|
|
||||||
%
|
|
||||||
% (5) hyphen appears twice for compatibility with both
|
|
||||||
% ASCII and Windows.
|
|
||||||
%
|
|
||||||
/TeXBase1Encoding [
|
|
||||||
% 0x00 (encoded characters from Adobe Standard not in Windows 3.1)
|
|
||||||
/.notdef /dotaccent /fi /fl
|
|
||||||
/fraction /hungarumlaut /Lslash /lslash
|
|
||||||
/ogonek /ring /.notdef
|
|
||||||
/breve /minus /.notdef
|
|
||||||
% These are the only two remaining unencoded characters, so may as
|
|
||||||
% well include them.
|
|
||||||
/Zcaron /zcaron
|
|
||||||
% 0x10
|
|
||||||
/caron /dotlessi
|
|
||||||
% (unusual TeX characters available in, e.g., Lucida Bright)
|
|
||||||
/dotlessj /ff /ffi /ffl
|
|
||||||
/.notdef /.notdef /.notdef /.notdef
|
|
||||||
/.notdef /.notdef /.notdef /.notdef
|
|
||||||
% very contentious; it's so painful not having quoteleft and quoteright
|
|
||||||
% at 96 and 145 that we move the things normally found there to here.
|
|
||||||
/grave /quotesingle
|
|
||||||
% 0x20 (ASCII begins)
|
|
||||||
/space /exclam /quotedbl /numbersign
|
|
||||||
/dollar /percent /ampersand /quoteright
|
|
||||||
/parenleft /parenright /asterisk /plus /comma /hyphen /period /slash
|
|
||||||
% 0x30
|
|
||||||
/zero /one /two /three /four /five /six /seven
|
|
||||||
/eight /nine /colon /semicolon /less /equal /greater /question
|
|
||||||
% 0x40
|
|
||||||
/at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O
|
|
||||||
% 0x50
|
|
||||||
/P /Q /R /S /T /U /V /W
|
|
||||||
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
|
|
||||||
% 0x60
|
|
||||||
/quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o
|
|
||||||
% 0x70
|
|
||||||
/p /q /r /s /t /u /v /w
|
|
||||||
/x /y /z /braceleft /bar /braceright /asciitilde
|
|
||||||
/.notdef % rubout; ASCII ends
|
|
||||||
% 0x80
|
|
||||||
/.notdef /.notdef /quotesinglbase /florin
|
|
||||||
/quotedblbase /ellipsis /dagger /daggerdbl
|
|
||||||
/circumflex /perthousand /Scaron /guilsinglleft
|
|
||||||
/OE /.notdef /.notdef /.notdef
|
|
||||||
% 0x90
|
|
||||||
/.notdef /.notdef /.notdef /quotedblleft
|
|
||||||
/quotedblright /bullet /endash /emdash
|
|
||||||
/tilde /trademark /scaron /guilsinglright
|
|
||||||
/oe /.notdef /.notdef /Ydieresis
|
|
||||||
% 0xA0
|
|
||||||
/.notdef % nobreakspace
|
|
||||||
/exclamdown /cent /sterling
|
|
||||||
/currency /yen /brokenbar /section
|
|
||||||
/dieresis /copyright /ordfeminine /guillemotleft
|
|
||||||
/logicalnot
|
|
||||||
/hyphen % Y&Y (also at 45); Windows' softhyphen
|
|
||||||
/registered
|
|
||||||
/macron
|
|
||||||
% 0xD0
|
|
||||||
/degree /plusminus /twosuperior /threesuperior
|
|
||||||
/acute /mu /paragraph /periodcentered
|
|
||||||
/cedilla /onesuperior /ordmasculine /guillemotright
|
|
||||||
/onequarter /onehalf /threequarters /questiondown
|
|
||||||
% 0xC0
|
|
||||||
/Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
|
|
||||||
/Egrave /Eacute /Ecircumflex /Edieresis
|
|
||||||
/Igrave /Iacute /Icircumflex /Idieresis
|
|
||||||
% 0xD0
|
|
||||||
/Eth /Ntilde /Ograve /Oacute
|
|
||||||
/Ocircumflex /Otilde /Odieresis /multiply
|
|
||||||
/Oslash /Ugrave /Uacute /Ucircumflex
|
|
||||||
/Udieresis /Yacute /Thorn /germandbls
|
|
||||||
% 0xE0
|
|
||||||
/agrave /aacute /acircumflex /atilde
|
|
||||||
/adieresis /aring /ae /ccedilla
|
|
||||||
/egrave /eacute /ecircumflex /edieresis
|
|
||||||
/igrave /iacute /icircumflex /idieresis
|
|
||||||
% 0xF0
|
|
||||||
/eth /ntilde /ograve /oacute
|
|
||||||
/ocircumflex /otilde /odieresis /divide
|
|
||||||
/oslash /ugrave /uacute /ucircumflex
|
|
||||||
/udieresis /yacute /thorn /ydieresis
|
|
||||||
] def
|
|
||||||
|
|
||||||
%%EndProcSet
|
|
||||||
%%BeginProcSet: texps.pro
|
|
||||||
%!
|
|
||||||
TeXDict begin/rf{findfont dup length 1 add dict begin{1 index/FID ne 2
|
|
||||||
index/UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll
|
|
||||||
exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]/Metrics
|
|
||||||
exch def dict begin Encoding{exch dup type/integertype ne{pop pop 1 sub
|
|
||||||
dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get div def}
|
|
||||||
ifelse}forall Metrics/Metrics currentdict end def[2 index currentdict
|
|
||||||
end definefont 3 -1 roll makefont/setfont cvx]cvx def}def/ObliqueSlant{
|
|
||||||
dup sin S cos div neg}B/SlantFont{4 index mul add}def/ExtendFont{3 -1
|
|
||||||
roll mul exch}def/ReEncodeFont{CharStrings rcheck{/Encoding false def
|
|
||||||
dup[exch{dup CharStrings exch known not{pop/.notdef/Encoding true def}
|
|
||||||
if}forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}
|
|
||||||
def end
|
|
||||||
|
|
||||||
%%EndProcSet
|
|
||||||
%%BeginProcSet: special.pro
|
|
||||||
%!
|
|
||||||
TeXDict begin/SDict 200 dict N SDict begin/@SpecialDefaults{/hs 612 N
|
|
||||||
/vs 792 N/ho 0 N/vo 0 N/hsc 1 N/vsc 1 N/ang 0 N/CLIP 0 N/rwiSeen false N
|
|
||||||
/rhiSeen false N/letter{}N/note{}N/a4{}N/legal{}N}B/@scaleunit 100 N
|
|
||||||
/@hscale{@scaleunit div/hsc X}B/@vscale{@scaleunit div/vsc X}B/@hsize{
|
|
||||||
/hs X/CLIP 1 N}B/@vsize{/vs X/CLIP 1 N}B/@clip{/CLIP 2 N}B/@hoffset{/ho
|
|
||||||
X}B/@voffset{/vo X}B/@angle{/ang X}B/@rwi{10 div/rwi X/rwiSeen true N}B
|
|
||||||
/@rhi{10 div/rhi X/rhiSeen true N}B/@llx{/llx X}B/@lly{/lly X}B/@urx{
|
|
||||||
/urx X}B/@ury{/ury X}B/magscale true def end/@MacSetUp{userdict/md known
|
|
||||||
{userdict/md get type/dicttype eq{userdict begin md length 10 add md
|
|
||||||
maxlength ge{/md md dup length 20 add dict copy def}if end md begin
|
|
||||||
/letter{}N/note{}N/legal{}N/od{txpose 1 0 mtx defaultmatrix dtransform S
|
|
||||||
atan/pa X newpath clippath mark{transform{itransform moveto}}{transform{
|
|
||||||
itransform lineto}}{6 -2 roll transform 6 -2 roll transform 6 -2 roll
|
|
||||||
transform{itransform 6 2 roll itransform 6 2 roll itransform 6 2 roll
|
|
||||||
curveto}}{{closepath}}pathforall newpath counttomark array astore/gc xdf
|
|
||||||
pop ct 39 0 put 10 fz 0 fs 2 F/|______Courier fnt invertflag{PaintBlack}
|
|
||||||
if}N/txpose{pxs pys scale ppr aload pop por{noflips{pop S neg S TR pop 1
|
|
||||||
-1 scale}if xflip yflip and{pop S neg S TR 180 rotate 1 -1 scale ppr 3
|
|
||||||
get ppr 1 get neg sub neg ppr 2 get ppr 0 get neg sub neg TR}if xflip
|
|
||||||
yflip not and{pop S neg S TR pop 180 rotate ppr 3 get ppr 1 get neg sub
|
|
||||||
neg 0 TR}if yflip xflip not and{ppr 1 get neg ppr 0 get neg TR}if}{
|
|
||||||
noflips{TR pop pop 270 rotate 1 -1 scale}if xflip yflip and{TR pop pop
|
|
||||||
90 rotate 1 -1 scale ppr 3 get ppr 1 get neg sub neg ppr 2 get ppr 0 get
|
|
||||||
neg sub neg TR}if xflip yflip not and{TR pop pop 90 rotate ppr 3 get ppr
|
|
||||||
1 get neg sub neg 0 TR}if yflip xflip not and{TR pop pop 270 rotate ppr
|
|
||||||
2 get ppr 0 get neg sub neg 0 S TR}if}ifelse scaleby96{ppr aload pop 4
|
|
||||||
-1 roll add 2 div 3 1 roll add 2 div 2 copy TR .96 dup scale neg S neg S
|
|
||||||
TR}if}N/cp{pop pop showpage pm restore}N end}if}if}N/normalscale{
|
|
||||||
Resolution 72 div VResolution 72 div neg scale magscale{DVImag dup scale
|
|
||||||
}if 0 setgray}N/psfts{S 65781.76 div N}N/startTexFig{/psf$SavedState
|
|
||||||
save N userdict maxlength dict begin/magscale true def normalscale
|
|
||||||
currentpoint TR/psf$ury psfts/psf$urx psfts/psf$lly psfts/psf$llx psfts
|
|
||||||
/psf$y psfts/psf$x psfts currentpoint/psf$cy X/psf$cx X/psf$sx psf$x
|
|
||||||
psf$urx psf$llx sub div N/psf$sy psf$y psf$ury psf$lly sub div N psf$sx
|
|
||||||
psf$sy scale psf$cx psf$sx div psf$llx sub psf$cy psf$sy div psf$ury sub
|
|
||||||
TR/showpage{}N/erasepage{}N/copypage{}N/p 3 def @MacSetUp}N/doclip{
|
|
||||||
psf$llx psf$lly psf$urx psf$ury currentpoint 6 2 roll newpath 4 copy 4 2
|
|
||||||
roll moveto 6 -1 roll S lineto S lineto S lineto closepath clip newpath
|
|
||||||
moveto}N/endTexFig{end psf$SavedState restore}N/@beginspecial{SDict
|
|
||||||
begin/SpecialSave save N gsave normalscale currentpoint TR
|
|
||||||
@SpecialDefaults count/ocount X/dcount countdictstack N}N/@setspecial{
|
|
||||||
CLIP 1 eq{newpath 0 0 moveto hs 0 rlineto 0 vs rlineto hs neg 0 rlineto
|
|
||||||
closepath clip}if ho vo TR hsc vsc scale ang rotate rwiSeen{rwi urx llx
|
|
||||||
sub div rhiSeen{rhi ury lly sub div}{dup}ifelse scale llx neg lly neg TR
|
|
||||||
}{rhiSeen{rhi ury lly sub div dup scale llx neg lly neg TR}if}ifelse
|
|
||||||
CLIP 2 eq{newpath llx lly moveto urx lly lineto urx ury lineto llx ury
|
|
||||||
lineto closepath clip}if/showpage{}N/erasepage{}N/copypage{}N newpath}N
|
|
||||||
/@endspecial{count ocount sub{pop}repeat countdictstack dcount sub{end}
|
|
||||||
repeat grestore SpecialSave restore end}N/@defspecial{SDict begin}N
|
|
||||||
/@fedspecial{end}B/li{lineto}B/rl{rlineto}B/rc{rcurveto}B/np{/SaveX
|
|
||||||
currentpoint/SaveY X N 1 setlinecap newpath}N/st{stroke SaveX SaveY
|
|
||||||
moveto}N/fil{fill SaveX SaveY moveto}N/ellipse{/endangle X/startangle X
|
|
||||||
/yrad X/xrad X/savematrix matrix currentmatrix N TR xrad yrad scale 0 0
|
|
||||||
1 startangle endangle arc savematrix setmatrix}N end
|
|
||||||
|
|
||||||
%%EndProcSet
|
|
||||||
%%BeginProcSet: color.pro
|
|
||||||
%!
|
|
||||||
TeXDict begin/setcmykcolor where{pop}{/setcmykcolor{dup 10 eq{pop
|
|
||||||
setrgbcolor}{1 sub 4 1 roll 3{3 index add neg dup 0 lt{pop 0}if 3 1 roll
|
|
||||||
}repeat setrgbcolor pop}ifelse}B}ifelse/TeXcolorcmyk{setcmykcolor}def
|
|
||||||
/TeXcolorrgb{setrgbcolor}def/TeXcolorgrey{setgray}def/TeXcolorgray{
|
|
||||||
setgray}def/TeXcolorhsb{sethsbcolor}def/currentcmykcolor where{pop}{
|
|
||||||
/currentcmykcolor{currentrgbcolor 10}B}ifelse/DC{exch dup userdict exch
|
|
||||||
known{pop pop}{X}ifelse}B/GreenYellow{0.15 0 0.69 0 setcmykcolor}DC
|
|
||||||
/Yellow{0 0 1 0 setcmykcolor}DC/Goldenrod{0 0.10 0.84 0 setcmykcolor}DC
|
|
||||||
/Dandelion{0 0.29 0.84 0 setcmykcolor}DC/Apricot{0 0.32 0.52 0
|
|
||||||
setcmykcolor}DC/Peach{0 0.50 0.70 0 setcmykcolor}DC/Melon{0 0.46 0.50 0
|
|
||||||
setcmykcolor}DC/YellowOrange{0 0.42 1 0 setcmykcolor}DC/Orange{0 0.61
|
|
||||||
0.87 0 setcmykcolor}DC/BurntOrange{0 0.51 1 0 setcmykcolor}DC
|
|
||||||
/Bittersweet{0 0.75 1 0.24 setcmykcolor}DC/RedOrange{0 0.77 0.87 0
|
|
||||||
setcmykcolor}DC/Mahogany{0 0.85 0.87 0.35 setcmykcolor}DC/Maroon{0 0.87
|
|
||||||
0.68 0.32 setcmykcolor}DC/BrickRed{0 0.89 0.94 0.28 setcmykcolor}DC/Red{
|
|
||||||
0 1 1 0 setcmykcolor}DC/OrangeRed{0 1 0.50 0 setcmykcolor}DC/RubineRed{
|
|
||||||
0 1 0.13 0 setcmykcolor}DC/WildStrawberry{0 0.96 0.39 0 setcmykcolor}DC
|
|
||||||
/Salmon{0 0.53 0.38 0 setcmykcolor}DC/CarnationPink{0 0.63 0 0
|
|
||||||
setcmykcolor}DC/Magenta{0 1 0 0 setcmykcolor}DC/VioletRed{0 0.81 0 0
|
|
||||||
setcmykcolor}DC/Rhodamine{0 0.82 0 0 setcmykcolor}DC/Mulberry{0.34 0.90
|
|
||||||
0 0.02 setcmykcolor}DC/RedViolet{0.07 0.90 0 0.34 setcmykcolor}DC
|
|
||||||
/Fuchsia{0.47 0.91 0 0.08 setcmykcolor}DC/Lavender{0 0.48 0 0
|
|
||||||
setcmykcolor}DC/Thistle{0.12 0.59 0 0 setcmykcolor}DC/Orchid{0.32 0.64 0
|
|
||||||
0 setcmykcolor}DC/DarkOrchid{0.40 0.80 0.20 0 setcmykcolor}DC/Purple{
|
|
||||||
0.45 0.86 0 0 setcmykcolor}DC/Plum{0.50 1 0 0 setcmykcolor}DC/Violet{
|
|
||||||
0.79 0.88 0 0 setcmykcolor}DC/RoyalPurple{0.75 0.90 0 0 setcmykcolor}DC
|
|
||||||
/BlueViolet{0.86 0.91 0 0.04 setcmykcolor}DC/Periwinkle{0.57 0.55 0 0
|
|
||||||
setcmykcolor}DC/CadetBlue{0.62 0.57 0.23 0 setcmykcolor}DC
|
|
||||||
/CornflowerBlue{0.65 0.13 0 0 setcmykcolor}DC/MidnightBlue{0.98 0.13 0
|
|
||||||
0.43 setcmykcolor}DC/NavyBlue{0.94 0.54 0 0 setcmykcolor}DC/RoyalBlue{1
|
|
||||||
0.50 0 0 setcmykcolor}DC/Blue{1 1 0 0 setcmykcolor}DC/Cerulean{0.94 0.11
|
|
||||||
0 0 setcmykcolor}DC/Cyan{1 0 0 0 setcmykcolor}DC/ProcessBlue{0.96 0 0 0
|
|
||||||
setcmykcolor}DC/SkyBlue{0.62 0 0.12 0 setcmykcolor}DC/Turquoise{0.85 0
|
|
||||||
0.20 0 setcmykcolor}DC/TealBlue{0.86 0 0.34 0.02 setcmykcolor}DC
|
|
||||||
/Aquamarine{0.82 0 0.30 0 setcmykcolor}DC/BlueGreen{0.85 0 0.33 0
|
|
||||||
setcmykcolor}DC/Emerald{1 0 0.50 0 setcmykcolor}DC/JungleGreen{0.99 0
|
|
||||||
0.52 0 setcmykcolor}DC/SeaGreen{0.69 0 0.50 0 setcmykcolor}DC/Green{1 0
|
|
||||||
1 0 setcmykcolor}DC/ForestGreen{0.91 0 0.88 0.12 setcmykcolor}DC
|
|
||||||
/PineGreen{0.92 0 0.59 0.25 setcmykcolor}DC/LimeGreen{0.50 0 1 0
|
|
||||||
setcmykcolor}DC/YellowGreen{0.44 0 0.74 0 setcmykcolor}DC/SpringGreen{
|
|
||||||
0.26 0 0.76 0 setcmykcolor}DC/OliveGreen{0.64 0 0.95 0.40 setcmykcolor}
|
|
||||||
DC/RawSienna{0 0.72 1 0.45 setcmykcolor}DC/Sepia{0 0.83 1 0.70
|
|
||||||
setcmykcolor}DC/Brown{0 0.81 1 0.60 setcmykcolor}DC/Tan{0.14 0.42 0.56 0
|
|
||||||
setcmykcolor}DC/Gray{0 0 0 0.50 setcmykcolor}DC/Black{0 0 0 1
|
|
||||||
setcmykcolor}DC/White{0 0 0 0 setcmykcolor}DC end
|
|
||||||
|
|
||||||
%%EndProcSet
|
|
||||||
TeXDict begin 39158280 55380996 1000 600 600 (/tmp/@6778.dvi)
|
|
||||||
@start /Fa 134[45 1[45 1[45 1[45 45 1[45 45 45 45 45
|
|
||||||
45 1[45 45 45 45 45 45 45 45 15[45 26[45 6[45 45 45 45
|
|
||||||
9[45 35[{TeXBase1Encoding ReEncodeFont}26 74.7198 /Courier-Bold
|
|
||||||
rf /Fb 134[37 37 54 37 37 21 29 25 1[37 37 37 58 21 37
|
|
||||||
21 21 37 37 25 33 37 33 37 33 4[21 7[46 42 2[42 2[66
|
|
||||||
46 2[25 3[46 1[50 1[54 6[21 2[37 4[37 1[37 21 19 25 19
|
|
||||||
2[25 25 5[30 31[42 2[{TeXBase1Encoding ReEncodeFont}46
|
|
||||||
74.7198 /Times-Roman rf /Fc 138[42 2[32 1[42 42 6[42
|
|
||||||
2[37 3[42 9[69 5[60 9[60 51 4[51 13[42 42 42 49[{
|
|
||||||
TeXBase1Encoding ReEncodeFont}15 83.022 /Times-Italic
|
|
||||||
rf /Fd 134[66 66 93 66 73 40 66 47 1[73 73 73 106 33
|
|
||||||
66 1[33 73 73 40 66 73 66 73 66 9[113 2[73 3[80 2[100
|
|
||||||
3[33 1[93 73 80 86 86 1[86 1[73 9[66 66 66 66 66 1[33
|
|
||||||
33 1[33 4[33 4[57 31[73 2[{TeXBase1Encoding ReEncodeFont}46
|
|
||||||
119.552 /Helvetica-Bold rf /Fe 133[37 42 42 60 42 42
|
|
||||||
23 32 28 42 42 42 42 65 23 42 23 23 42 42 28 37 42 37
|
|
||||||
42 37 1[42 5[60 1[78 1[60 51 46 1[60 46 60 60 74 51 1[32
|
|
||||||
28 1[60 46 51 60 2[60 76 1[47 3[23 42 42 42 1[42 42 42
|
|
||||||
42 42 42 23 21 28 21 2[28 28 5[34 31[46 2[{
|
|
||||||
TeXBase1Encoding ReEncodeFont}65 83.022 /Times-Roman
|
|
||||||
rf /Ff 138[88 48 80 56 1[88 88 88 128 40 2[40 1[88 1[80
|
|
||||||
88 80 1[80 18[104 120 3[40 2[88 96 2[104 104 11[80 80
|
|
||||||
80 80 80 2[40 46[{TeXBase1Encoding ReEncodeFont}28 143.462
|
|
||||||
/Helvetica-Bold rf /Fg 138[126 2[80 1[126 126 6[126 2[115
|
|
||||||
3[115 9[195 5[161 9[161 126 4[149 65[{TeXBase1Encoding ReEncodeFont}12
|
|
||||||
206.584 /Helvetica-Bold rf end
|
|
||||||
%%EndProlog
|
|
||||||
%%BeginSetup
|
|
||||||
%%Feature: *Resolution 600dpi
|
|
||||||
TeXDict begin
|
|
||||||
%%PaperSize: A4
|
|
||||||
|
|
||||||
%%EndSetup
|
|
||||||
%%Page: 1 1
|
|
||||||
1 0 bop Black 0 TeXcolorgray Black Black 1160 140 a Fg(phpGr)l(oupW)-8
|
|
||||||
b(are)58 b(F)-17 b(A)-8 b(Q)1673 416 y Ff(Brandon)38
|
|
||||||
b(Neill)695 649 y Fe(Frequently)19 b(Ask)o(ed)h(questions)f(related)h
|
|
||||||
(to)g(phpGroupW)-7 b(are)-2 1366 y Ff(1.)39 b(Installation)396
|
|
||||||
1546 y Fe(Installation)20 b(Questions)-2 1874 y Fd(1.1.)34
|
|
||||||
b(Will)g(phpGr)n(oupW)-5 b(are)33 b(w)n(ork)g(with)h(Windo)n(ws?)396
|
|
||||||
2042 y Fe(Y)-8 b(es,)21 b(there)e(are)h(se)n(v)o(eral)g(people)f(who)h
|
|
||||||
(are)g(using)g(it.)-2 2543 y Ff(2.)39 b(Administration)-2
|
|
||||||
2872 y Fd(2.1.)34 b(Deselecting)j(an)c(application)j(f)n(or)c(a)i(user)
|
|
||||||
f(doesn't)i(seem)g(to)e(restrict)-2 3027 y(thier)g(access)j(to)d(that)h
|
|
||||||
(application)396 3195 y Fe(A)21 b(user)f(gains)g(access)g(to)h(an)f
|
|
||||||
(application)f(one)g(of)h(tw)o(o)h(w)o(ays,)f(being)f(gi)n(v)o(en)g
|
|
||||||
(access)i(directly)-5 b(,)19 b(or)g(by)h(belonging)e(to)i(a)396
|
|
||||||
3303 y(group)f(that)h(has)g(access.)h(In)f(order)f(to)h(den)o(y)f(a)i
|
|
||||||
(user)f(access)h(to)f(an)g(application,)e(it)j(must)g(be)f(remo)o(v)o
|
|
||||||
(ed)d(from)j(both)f(the)396 3410 y(users)i(account,)d(and)i(all)h(the)f
|
|
||||||
(users)g(groups.)-2 3912 y Ff(3.)39 b(Email)g(application)-2
|
|
||||||
4240 y Fd(3.1.)34 b(The)g(mail)h(pref)o(erences)f(are)g(not)f(updated)h
|
|
||||||
(fr)n(om)f(the)g(interface)i("mail)-2 4396 y(pref)o(erences")396
|
|
||||||
4563 y Fe(If)20 b(you)g(are)g(referring)e(to)i(setting)g(the)h(passw)o
|
|
||||||
(ord)e(when)h(using)f(custom)h(email)g(preferences,)e(this)j(is)g
|
|
||||||
(actually)f(a)396 4671 y(security)g(feature.)f(W)-7 b(e)21
|
|
||||||
b(do)f(not)g(send)g(the)g(passw)o(ord)f(back)h(to)g(the)h(user)f(as)g
|
|
||||||
(it)h(w)o(ould)f(still)h(be)f(sent)h(back)e(in)i(plain)f(te)o(xt.)396
|
|
||||||
4779 y(Ev)o(en)f(though)g(it)i(is)g(displayed)e(with)h(asterisks,)h(it)
|
|
||||||
g(w)o(ould)e(be)h(in)g(plain)g(te)o(xt)g(if)h(you)e(vie)n(w)h(the)g
|
|
||||||
(source)g(html)g(for)f(the)396 4887 y(page.)h(What)g(we)h(do)e(is)j
|
|
||||||
(check)d(to)h(see)h(if)g(the)f(user)g(entered)f(a)i(v)n(alue)e(in)h
|
|
||||||
(that)h(\002eld.)f(If)g(so,)g(we)h(tak)o(e)f(the)g(ne)n(w)g(passw)o
|
|
||||||
(ord)396 4995 y(the)g(user)h(enters)f(and)f(encrypt)g(it)i(and)e(sa)n
|
|
||||||
(v)o(e)i(it)g(into)f(the)g(database.)f(This)i(pro)o(vides)d(for)i
|
|
||||||
(maximum)e(security)i(of)g(user)396 5103 y(passw)o(ords.)p
|
|
||||||
Black 3842 5569 a Fc(1)p Black eop
|
|
||||||
%%Page: 2 2
|
|
||||||
2 1 bop Black 0 TeXcolorgray Black 3207 -132 a Fc(phpGr)l(oupW)-8
|
|
||||||
b(ar)m(e)19 b(F)-10 b(A)m(Q)p Black -2 77 a Fd(3.2.)34
|
|
||||||
b(I'm)g(composing)h(mail,)g(what)f(do)f(I)g(put)g(in)h(the)g("T)-10
|
|
||||||
b(o")33 b(and/or)g("CC")g(bo)l(x)o(es)396 244 y Fe(The)20
|
|
||||||
b(easiest)h(w)o(as)g(is)g(to)g(follo)n(w)e(these)i(e)o(xamples,)d(pay)i
|
|
||||||
(close)g(attention)g(to)g(the)g(spaces,)g(do)g(not)g(add)g(spaces)g
|
|
||||||
(you)f(do)396 352 y(not)h(see)h(here:)f(johndoe@e)o(xample.com)15
|
|
||||||
b(johndoe@e)o(xample.com,jane@e)o(x)o(amp)o(le.co)o(m,tar)o(zan@e)o(x)o
|
|
||||||
(amp)o(le.co)o(m)396 460 y("John)20 b(Doe")p 1 0 0
|
|
||||||
TeXcolorrgb 20 w(e)o(xample.com>)d("John)i(Doe")p 1 0 0
|
|
||||||
TeXcolorrgb 20 w(e)o(xample.com>,"Jane")p 1 0 0 TeXcolorrgb
|
|
||||||
17 w(e)o(xample.com>)396 568 y(johndoe@e)o(xample.com,"Jane")p
|
|
||||||
1 0 0 TeXcolorrgb 15 w(e)o(xample.com>,tarzan@e)o(xamp)o(le.com)p
|
|
||||||
1 0 0 TeXcolorrgb 1 0 0 TeXcolorrgb 1 0 0 TeXcolorrgb
|
|
||||||
Black -2 938 a Fd(3.3.)34 b(My)g(IMAP)f(ser)q(ver)h(logs)g(sho)n(w)g
|
|
||||||
(man)n(y)g(login)g(attempts)h(with)e(garba)o(g)q(e)-2
|
|
||||||
1093 y(usernames,)i(wh)n(y?)396 1261 y Fe(At)21 b(this)f(time)g(we)h
|
|
||||||
(kno)n(w)e(this)h(happens)f(when)g(you)g(enter)g("localhost")g(for)h
|
|
||||||
(your)e(POP/IMAP)j(mail)f(serv)o(er)f(hostname)396 1369
|
|
||||||
y(or)h(IP)h(address.)e(F)o(or)h(no)n(w)g(the)g(solution)f(w)o(ould)h
|
|
||||||
(be)g(to)g(try)g(the)g(actual)g(IP)h(or)f(the)g(machine)f(name)h
|
|
||||||
(\(resolv)n(able)e(via)396 1477 y(DNS,)j(hosts,)f(or)g(other)f(means\))
|
|
||||||
h(for)f(your)g(IMAP)i(email)f(serv)o(er)-5 b(.)-2 1846
|
|
||||||
y Fd(3.4.)34 b(Err)n(or)e(messa)o(g)q(e)j(when)f(ad)o(ding)g(lar)n(g)q
|
|
||||||
(e)h(signature)f(\002les)396 2014 y Fe(The)20 b(max)g(number)e(of)i
|
|
||||||
(characters)f(for)h(a)h(sig)f(\002le)h(is)g(8140.)e(Extremely)f(lar)o
|
|
||||||
(ge)i(sig)g(\002les)h(are)f(not)g(recommnded)396 2122
|
|
||||||
y(an)o(yw)o(ay)-5 b(,)19 b(Usenet)h(recommends)e(sig)i(\002les)i(of)e
|
|
||||||
(1-5)f(lines)i(in)f(length,)f(3)h(being)f(preferred.)-2
|
|
||||||
2492 y Fd(3.5.)34 b(I)g(can)g(not)f(attac)o(h)h(\002les)h(to)e(an)h
|
|
||||||
(email,)h(I)e(g)q(et)h(err)n(or)n(s)f(about)g("unlink")396
|
|
||||||
2659 y Fe(There)20 b(are)g(tw)o(o)g(possible)g(causes)h(for)e(this)i
|
|
||||||
(problem,)d(the)i(\002rst)h(and)f(least)h(lik)o(ely)f(is)h(the)f(web)g
|
|
||||||
(serv)o(er)g(temp)f(directory)-5 b(,)396 2767 y(check)20
|
|
||||||
b(your)f(webserv)o(er)f(con\002guration)g(for)h(this.)i(The)f(second)f
|
|
||||||
(is)i(the)f(temp)g(directory)f(which)g(phpGroupW)-7 b(are)396
|
|
||||||
2875 y(uses.)21 b(T)-7 b(o)20 b(check)f(this,)i(follo)n(w)e(these)i
|
|
||||||
(steps:)479 3097 y Fb(-)e(go)g(to)g(http://your)l(.serv)o(er/phpgroupw)
|
|
||||||
o(are/setup)41 b(\(the)19 b(phpgroupw)o(are)i(initial)e(setup)g(page\))
|
|
||||||
479 3194 y(-)g(login)g(to)g("Setup/Con\002g)h(Admin)f(Log")479
|
|
||||||
3291 y(-)g(in)g("Step)g(2)g(-)f(Con\002guration")j(click)e("Edit)f
|
|
||||||
(Current)h(Con\002guration")479 3388 y(-)g(under)h("P)o(ath)f
|
|
||||||
(Information")h(see)f(the)g(box)g(labeled)h("Enter)f(full)f(path)i(for)
|
|
||||||
f(temporary)g(\002les:)f(Examples:)i(/tmp,)e(C:\\TEMP")479
|
|
||||||
3485 y(-)c(Mak)o(e)i(sure)f(that)f(directory)h(listed)f(has)h
|
|
||||||
(permissions)g(thar)f(are)h(at)f(least)g(0700)i(and)f(the)f(o)n(wner)h
|
|
||||||
(is)f(nobody)-5 b(.nobody)19 b(\(note:)14 b(this)g(as-)479
|
|
||||||
3583 y(sumes)20 b(your)f(webserv)o(er)h(runs)f(as)g(user)g(nobody)-5
|
|
||||||
b(,)21 b(adjust)e(for)g(your)h(installation\))479 3680
|
|
||||||
y(-)14 b(The)h(other)f(directory)h(to)g(check)g(is)f(the)h(temporary)g
|
|
||||||
(directory)g(that)f(your)h(web)g(serv)o(er)g(typically)f(uses,)h(b)o
|
|
||||||
(ut)f(the)h(information)g(listed)f(abo)o(v)o(e)h(is)f(by)h(f)o(ar)f
|
|
||||||
(the)h(most)g(com-)479 3777 y(mon)20 b(con\002g)f(issue)g(with)g(email)
|
|
||||||
g(attachments.)-2 4428 y Ff(4.)39 b(File)g(Mana)o(g)q(er)-2
|
|
||||||
4756 y Fd(4.1.)34 b(File)h(Mana)o(g)q(er)e(not)h(w)n(orking)396
|
|
||||||
4924 y Fe(T)-7 b(o)21 b(use)f(the)g(\002lemanager)f(app:)479
|
|
||||||
5145 y Fb(\(from)g(phpgroupw)o(are)j(home\))p Black 3842
|
|
||||||
5569 a Fc(2)p Black eop
|
|
||||||
%%Page: 3 3
|
|
||||||
3 2 bop Black 0 TeXcolorgray Black 3207 -132 a Fc(phpGr)l(oupW)-8
|
|
||||||
b(ar)m(e)19 b(F)-10 b(A)m(Q)p Black 479 72 a Fa(#)45
|
|
||||||
b(mkdir)f(files)479 170 y(#)h(mkdir)f(files/groups)479
|
|
||||||
267 y(#)h(mkdir)f(files/users)479 364 y(#)h(chown)f(-R)g(nobody.nobody)
|
|
||||||
f(files)13 b Fb(\(note:)i(this)f(assumes)h(your)h(webserv)o(er)f(runs)f
|
|
||||||
(as)h(user)g(nobody)-5 b(,)16 b(adjust)e(for)h(your)g(installation\))
|
|
||||||
479 461 y Fa(#)45 b(chmod)f(-R)g(770)h(files)396 801
|
|
||||||
y Fe(Mak)o(e)20 b(sure)g(you)g(ha)n(v)o(e)f(the)h(correct)g(FULL)g
|
|
||||||
(path)g(in)g(setup)g(\(ie.)g(/home/httpd/phpgroupw)o(ar)o(e/\002les\))
|
|
||||||
-2 1303 y Ff(5.)39 b(Forum)-2 1631 y Fd(5.1.)34 b(inde)n(x.php)h(not)f
|
|
||||||
(loaded)g(automaticall)n(y)j(b)n(y)c(apac)o(he)396 1799
|
|
||||||
y Fe(Sometimes)20 b(/forum/inde)o(x.php)15 b(is)22 b(not)d(loaded)g
|
|
||||||
(automatically)g(by)h(apache,)f(this)i(appears)e(to)h(be)g(a)h(b)n(ug)f
|
|
||||||
(in)g(apache)396 1907 y(1.3.13mdk.)d(If)j(you)f(ha)n(v)o(e)h(the)g
|
|
||||||
(same)g(problem)f(just)i(add)e(/inde)o(x.php)f(in)i(lines)h(49,)e(57)h
|
|
||||||
(and)f(82)h(of)396 2015 y(preference_cate)o(gory)-5 b(.ph)o(p.)p
|
|
||||||
Black 3842 5569 a Fc(3)p Black eop
|
|
||||||
%%Trailer
|
|
||||||
end
|
|
||||||
userdict /end-hook known{end-hook}if
|
|
||||||
%%EOF
|
|
@ -1,182 +0,0 @@
|
|||||||
<!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
|
|
||||||
<Article id="FAQ" class="faq">
|
|
||||||
<Title>phpGroupWare FAQ</title>
|
|
||||||
<articleinfo>
|
|
||||||
<authorgroup>
|
|
||||||
<author>
|
|
||||||
<firstname>Dan</firstname><surname>Kuykendall</surname>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<firstname>Brandon</firstname><surname>Neill</surname>
|
|
||||||
</author>
|
|
||||||
</authorgroup>
|
|
||||||
<pubdate>$Revision$, $Date: 2002/01/05</pubdate>
|
|
||||||
|
|
||||||
<abstract>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Frequently Asked questions related to phpGroupWare
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</abstract>
|
|
||||||
</articleinfo>
|
|
||||||
|
|
||||||
<qandaset>
|
|
||||||
<qandadiv> <title>General</title>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>Is it phpGroupWare, PHPGroupWare, PHP Groupware, etc?</para></question>
|
|
||||||
<answer><para>
|
|
||||||
Its phpGroupWare, not any of the others. Only the G and the W should be in caps, its also 1 word, not 2. Sometimes for short we call it phpGW, again, the G and the W are in caps.
|
|
||||||
</para></answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>I didn't find my question here, where can I ask?</para></question>
|
|
||||||
<answer><para>
|
|
||||||
Many of the developers are on the openprojects irc network (irc.openprojects.net) in the #phpgroupware channel. You can also check the mailing lists and archives at <ulink url="http://savannah.gnu.org/mail/?group_id=509"><citetitle>phpGroupware - Mailing Lists</citetitle></ulink>
|
|
||||||
</para></answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>How do I add new questions to this list?</para></question>
|
|
||||||
<answer><para>
|
|
||||||
Email me at <email>brandonne@colorado.dyndns.org</email> or submit them in Tracker on the phpGroupWare site and assign them to brandonne.
|
|
||||||
</para></answer>
|
|
||||||
</qandaentry>
|
|
||||||
</qandadiv>
|
|
||||||
|
|
||||||
<qandadiv> <title>Installation</title>
|
|
||||||
<para>
|
|
||||||
Installation Questions
|
|
||||||
</para>
|
|
||||||
<qandaentry><question><para>Will phpGroupWare work with Windows?</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
Yes, there are several people who are using it. Thanks Vincent Larchet <email>vinz@users.sourceforge.net</email> for patching anything we do that breaks phpGroupWare on NT.
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>Will phpGroupWare work with PHP4/PHP3?</para></question>
|
|
||||||
<answer><para>
|
|
||||||
Yes, it runs on both PHP3 and PHP4
|
|
||||||
</para></answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>Will phpGroupWare work with SSL</para></question>
|
|
||||||
<answer><para>
|
|
||||||
Yes, since there are no references to http:// or https:// (unless you put them in the header) there shoudn't be any problems with it.
|
|
||||||
</para></answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>I am having problems installing on PostgreSQL 6.x.</para></question>
|
|
||||||
<answer><para>
|
|
||||||
phpGroupware is being developed with version 7.x. I tried installing it on 6.x and ran into several problems. Unless you plan on toying around with it, you're better of with 7.x.
|
|
||||||
</para></answer>
|
|
||||||
</qandaentry>
|
|
||||||
</qandadiv>
|
|
||||||
|
|
||||||
<qandadiv> <title>Administration</title>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>Deselecting an application for a user doesn't seem to restrict their access to that application</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
A user gains access to an application one of two ways, being given access directly, or by belonging to a group that has access. In order to deny a user access to an application, it must be removed from both the users account, and all the users groups.
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
</qandadiv>
|
|
||||||
<qandadiv> <title>Applications</title>
|
|
||||||
<qandadiv> <title>Email</title>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>The mail preferences are not updated from the interface "mail preferences"</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
If you are referring to setting the password when using custom email preferences, this is actually a security feature. We do not send the password back to the user as it would still be sent back in plain text. Even though it is displayed with asterisks, it would be in plain text if you view the source html for the page. What we do is check to see if the user entered a value in that field. If so, we take the new password the user enters and encrypt it and save it into the database. This provides for maximum security of user passwords.
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>I'm composing mail, what do I put in the "To" and/or "CC" boxes</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
The easiest was is to follow these examples, pay close attention to the spaces, do not add spaces you do not see here: johndoe@example.com johndoe@example.com,jane@example.com,tarzan@example.com "John Doe" <johndoe@example.com> "John Doe" <johndoe@example.com>,"Jane" <jane@example.com> johndoe@example.com,"Jane" <jane@example.com>,tarzan@example.com
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>My IMAP server logs show many login attempts with garbage usernames, why?</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
At this time we know this happens when you enter "localhost" for your POP/IMAP mail server hostname or IP address. For now the solution would be to try the actual IP or the machine name (resolvable via DNS, hosts, or other means) for your IMAP email server.
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>Error message when adding large signature files</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
The max number of characters for a sig file is 8140. Extremely large sig files are not recommnded anyway, Usenet recommends sig files of 1-5 lines in length, 3 being preferred.
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>I can not attach files to an email, I get errors about "unlink"</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
There are two possible causes for this problem, the first and least likely is the web server temp directory, check your webserver configuration for this. The second is the temp directory which phpGroupWare uses. To check this, follow these steps:
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
- go to http://your.server/phpgroupware/setup (the phpgroupware initial setup page)
|
|
||||||
- login to "Setup/Config Admin Log"
|
|
||||||
- in "Step 2 - Configuration" click "Edit Current Configuration"
|
|
||||||
- under "Path Information" see the box labeled "Enter full path for temporary files: Examples: /tmp, C:\TEMP"
|
|
||||||
- Make sure that directory listed has permissions thar are at least 0700 and the owner is nobody.nobody (note: this assumes your webserver runs as user nobody, adjust for your installation)
|
|
||||||
- The other directory to check is the temporary directory that your web server typically uses, but the information listed above is by far the most common config issue with email attachments.
|
|
||||||
</literallayout></blockquote>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
</qandadiv>
|
|
||||||
<qandadiv> <title>File Manager</title>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>File Manager not working</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
To use the filemanager app:
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
(from phpgroupware home)
|
|
||||||
<userinput># mkdir files</userinput>
|
|
||||||
<userinput># mkdir files/groups</userinput>
|
|
||||||
<userinput># mkdir files/users</userinput>
|
|
||||||
<userinput># chown -R nobody.nobody files</userinput> (note: this assumes your webserver runs as user nobody, adjust for your installation)
|
|
||||||
<userinput># chmod -R 770 files</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
Make sure you have the correct FULL path in setup (ie. /home/httpd/phpgroupware/files)
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
</qandadiv>
|
|
||||||
|
|
||||||
<qandadiv> <title>Forum</title>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>index.php not loaded automatically by apache</para></question>
|
|
||||||
<answer>
|
|
||||||
<para>
|
|
||||||
Sometimes /forum/index.php is not loaded automatically by apache, this appears to be a bug in apache 1.3.13mdk. If you have the same problem just add /index.php in lines 49, 57 and 82 of preference_category.php.
|
|
||||||
</para>
|
|
||||||
</answer>
|
|
||||||
</qandaentry>
|
|
||||||
</qandadiv>
|
|
||||||
</qandadiv>
|
|
||||||
<qandadiv> <title>Development</title>
|
|
||||||
<qandaentry>
|
|
||||||
<question><para>Why don't you just use the session class from phplib? Why not use cookies to hold the sessionid?</para></question>
|
|
||||||
<answer><para>
|
|
||||||
I personally don't like using cookies for something like this. However, the session management is currently being abstracted for the applications. This means that switching to cookies will be possible for those that are interested.
|
|
||||||
</para></answer>
|
|
||||||
</qandaentry>
|
|
||||||
</qandadiv>
|
|
||||||
</qandaset>
|
|
||||||
</article>
|
|
@ -1,64 +0,0 @@
|
|||||||
# Makefile for phpGroupware FAQ
|
|
||||||
# Written by Brandon Neill
|
|
||||||
# Copyright 2002
|
|
||||||
|
|
||||||
INSTDIR ?= ../..
|
|
||||||
|
|
||||||
all: html ps txt
|
|
||||||
|
|
||||||
ps: FAQ.sgml
|
|
||||||
sgmltools -b ps FAQ.sgml
|
|
||||||
@touch ps
|
|
||||||
|
|
||||||
txt: FAQ.sgml
|
|
||||||
sgmltools -b txt FAQ.sgml
|
|
||||||
@touch txt
|
|
||||||
|
|
||||||
html: FAQ.sgml
|
|
||||||
sgmltools -b onehtml FAQ.sgml
|
|
||||||
@touch html
|
|
||||||
|
|
||||||
install:
|
|
||||||
@if [ -e FAQ.txt ]; \
|
|
||||||
then \
|
|
||||||
echo "Moving FAQ.txt to $(INSTDIR)"; \
|
|
||||||
mv FAQ.txt $(INSTDIR)/; \
|
|
||||||
fi
|
|
||||||
-@if [ -e FAQ.html ]; \
|
|
||||||
then \
|
|
||||||
if [ ! -d $(INSTDIR)/html/FAQ ]; \
|
|
||||||
then \
|
|
||||||
mkdir -p $(INSTDIR)/html/FAQ; \
|
|
||||||
fi; \
|
|
||||||
echo "Tidying HTML files and moving them to $(INSTDIR)/html"; \
|
|
||||||
echo "You may get an ignored error here, it's OK";\
|
|
||||||
tidy -i -clean <FAQ.html >$(INSTDIR)/html/FAQ/FAQ.html 2> /dev/null; \
|
|
||||||
rm FAQ.html; \
|
|
||||||
fi
|
|
||||||
@if [ -e FAQ.ps ]; \
|
|
||||||
then \
|
|
||||||
echo "Moving FAQ.ps to $(INSTDIR)/ps"; \
|
|
||||||
if [ ! -d $(INSTDIR)/ps ]; \
|
|
||||||
then \
|
|
||||||
mkdir $(INSTDIR)/ps; \
|
|
||||||
fi; \
|
|
||||||
mv FAQ.ps $(INSTDIR)/ps; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@if [ -e FAQ.txt ];\
|
|
||||||
then \
|
|
||||||
rm FAQ.txt ;\
|
|
||||||
fi
|
|
||||||
-rm txt
|
|
||||||
@if [ -e FAQ.html ]; \
|
|
||||||
then \
|
|
||||||
rm FAQ.html; \
|
|
||||||
fi
|
|
||||||
-rm html
|
|
||||||
@if [ -e FAQ.ps ]; \
|
|
||||||
then \
|
|
||||||
rm FAQ.ps; \
|
|
||||||
fi
|
|
||||||
-rm ps
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
|||||||
# Makefile for phpGroupWare documentation
|
|
||||||
# Written by Brandon Neill
|
|
||||||
# Copyright 2002
|
|
||||||
|
|
||||||
.PHONY: admin user FAQ
|
|
||||||
|
|
||||||
all: admin user FAQ
|
|
||||||
|
|
||||||
admin:
|
|
||||||
$(MAKE) -C admin
|
|
||||||
|
|
||||||
user:
|
|
||||||
$(MAKE) -C user
|
|
||||||
|
|
||||||
FAQ:
|
|
||||||
$(MAKE) -C FAQ
|
|
||||||
|
|
||||||
ps:
|
|
||||||
$(MAKE) -C admin ps
|
|
||||||
$(MAKE) -C user ps
|
|
||||||
$(MAKE) -C FAQ ps
|
|
||||||
|
|
||||||
html:
|
|
||||||
$(MAKE) -C admin html
|
|
||||||
$(MAKE) -C user html
|
|
||||||
$(MAKE) -C FAQ html
|
|
||||||
|
|
||||||
txt:
|
|
||||||
$(MAKE) -C admin txt
|
|
||||||
$(MAKE) -C user txt
|
|
||||||
$(MAKE) -C FAQ txt
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(MAKE) -C admin clean
|
|
||||||
$(MAKE) -C user clean
|
|
||||||
$(MAKE) -C FAQ clean
|
|
||||||
|
|
||||||
install:
|
|
||||||
$(MAKE) -C admin install
|
|
||||||
$(MAKE) -C user install
|
|
||||||
$(MAKE) -C FAQ install
|
|
||||||
|
|
@ -1,69 +0,0 @@
|
|||||||
# Makefile for phpGroupware phpGroupWare-Admin-Manual
|
|
||||||
# Written by Brandon Neill
|
|
||||||
# Copyright 2002
|
|
||||||
|
|
||||||
INSTDIR ?= ../..
|
|
||||||
|
|
||||||
all: html ps txt
|
|
||||||
|
|
||||||
ps: phpGroupWare-Admin-Manual.sgml
|
|
||||||
sgmltools -b ps phpGroupWare-Admin-Manual.sgml
|
|
||||||
@touch ps
|
|
||||||
|
|
||||||
txt: phpGroupWare-Admin-Manual.sgml
|
|
||||||
sgmltools -b txt phpGroupWare-Admin-Manual.sgml
|
|
||||||
@touch txt
|
|
||||||
|
|
||||||
html: phpGroupWare-Admin-Manual.sgml
|
|
||||||
sgmltools -b html phpGroupWare-Admin-Manual.sgml
|
|
||||||
@touch html
|
|
||||||
|
|
||||||
install:
|
|
||||||
@if [ -e phpGroupWare-Admin-Manual.txt ]; \
|
|
||||||
then \
|
|
||||||
echo "Moving phpGroupWare-Admin-Manual.txt to $(INSTDIR)"; \
|
|
||||||
mv phpGroupWare-Admin-Manual.txt $(INSTDIR)/; \
|
|
||||||
fi
|
|
||||||
-@if [ -e phpGroupWare-Admin-Manual ]; \
|
|
||||||
then \
|
|
||||||
if [ ! -d $(INSTDIR)/html/admin ]; \
|
|
||||||
then \
|
|
||||||
mkdir -p $(INSTDIR)/html/admin; \
|
|
||||||
else \
|
|
||||||
rm $(INSTDIR)/html/user/*.html; \
|
|
||||||
fi; \
|
|
||||||
echo "Tidying HTML files and moving them to $(INSTDIR)/html/admin"; \
|
|
||||||
echo "You may get an ignored error here, it's OK";\
|
|
||||||
for file in `ls -1 phpGroupWare-Admin-Manual`; \
|
|
||||||
do \
|
|
||||||
tidy -i -clean < phpGroupWare-Admin-Manual/$$file >$(INSTDIR)/html/admin/$$file 2> /dev/null; \
|
|
||||||
done; \
|
|
||||||
rm -r phpGroupWare-Admin-Manual; \
|
|
||||||
fi
|
|
||||||
@if [ -e phpGroupWare-Admin-Manual.ps ]; \
|
|
||||||
then \
|
|
||||||
echo "Moving phpGroupWare-Admin-Manual.ps to $(INSTDIR)/ps"; \
|
|
||||||
if [ ! -d $(INSTDIR)/ps ]; \
|
|
||||||
then \
|
|
||||||
mkdir $(INSTDIR)/ps; \
|
|
||||||
fi; \
|
|
||||||
mv phpGroupWare-Admin-Manual.ps $(INSTDIR)/ps; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@if [ -e phpGroupWare-Admin-Manual.txt ];\
|
|
||||||
then \
|
|
||||||
rm phpGroupWare-Admin-Manual.txt ;\
|
|
||||||
fi
|
|
||||||
-rm txt
|
|
||||||
@if [ -e phpGroupWare-Admin-Manual ]; \
|
|
||||||
then \
|
|
||||||
rm -r phpGroupWare-Admin-Manual; \
|
|
||||||
fi
|
|
||||||
-rm html
|
|
||||||
@if [ -e phpGroupWare-Admin-Manual.ps ]; \
|
|
||||||
then \
|
|
||||||
rm phpGroupWare-Admin-Manual.ps; \
|
|
||||||
fi
|
|
||||||
-rm ps
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "addressbook.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Addressbook">
|
|
||||||
<title>Addressbook</Title>
|
|
||||||
</chapter>
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "calendar.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Calendar">
|
|
||||||
<title>Calendar</Title>
|
|
||||||
</chapter>
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "email.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Email">
|
|
||||||
<title>Email</Title>
|
|
||||||
</chapter>
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "filemanager.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="FileManager">
|
|
||||||
<title>File Manager</Title>
|
|
||||||
</chapter>
|
|
@ -1,21 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "general.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="General">
|
|
||||||
<title>General</Title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Here will go an overview of categories and other overall topics.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Categories</Title>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Themes</Title>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Access Control Lists</Title>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Translations</title>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
@ -1,530 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "installation.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
|
|
||||||
<chapter id="Installation">
|
|
||||||
<title>Installation</Title>
|
|
||||||
<para>
|
|
||||||
Installation and Configuration of phpGroupWare has never
|
|
||||||
been easier. Just point and click, yeah it's very easy.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Since this is still a beta version we do expect some bugs.
|
|
||||||
By carefully reading this document you can easly install
|
|
||||||
phpGroupWare.
|
|
||||||
</para>
|
|
||||||
<sect1>
|
|
||||||
<title>Requirements</Title>
|
|
||||||
<para>
|
|
||||||
You will need PHP compiled and installed on your system.
|
|
||||||
You will also need MySQL or PostgreSQL setup. If you are
|
|
||||||
planning on using the email system, you will need to have
|
|
||||||
an IMAP server installed and IMAP support compiled into
|
|
||||||
PHP. You can have it installed as an Apache module or command
|
|
||||||
line version, the Apache module is preferred. We will assume
|
|
||||||
that you are running on a Linux or other Unix system for
|
|
||||||
these steps. Windows is supported, but there is no documentation
|
|
||||||
for it currently.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
In order to check if you have php installed create the file
|
|
||||||
with your favorite text editor named test.php in your webserver
|
|
||||||
root directory:
|
|
||||||
</para>
|
|
||||||
<programlisting>
|
|
||||||
<? phpinfo(); ?>
|
|
||||||
</programlisting>
|
|
||||||
<para>
|
|
||||||
Then point your browser to http://yourserverroot/test.php.
|
|
||||||
You should get a very detailed page describing various options
|
|
||||||
in php.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
If you need to to compile php and apache the following links
|
|
||||||
are good starting points:
|
|
||||||
</para>
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
|
||||||
<term>http://www.apachetoolbox.com</term>
|
|
||||||
<listitem>
|
|
||||||
<para>A set of scripts to compile and install various modules with
|
|
||||||
apache.</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
|
||||||
<term>http://www.linuxhelp.net/guides/</term>
|
|
||||||
<listitem>
|
|
||||||
<para>The Linux Apache MySQL PHP (LAMP) Guide v2 (latest as of
|
|
||||||
this writing)</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
|
||||||
<term>http://www.devshed.com/Server_Side/PHP/SoothinglySeamless</term>
|
|
||||||
<listitem>
|
|
||||||
<para>The Soothing Seemless Setup of Apache, SSL, MySQL, and PHP</Para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Tested Systems</Title>
|
|
||||||
<para>
|
|
||||||
On Linux 2.2.x, 2.4.x
|
|
||||||
</para>
|
|
||||||
<itemizedlist>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
PHP 3.0.15+ / PHP 4.0.x
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Apache 1.3.x
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
MySQL 3.22.25 or PostgreSQL 7.0.x
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Courier-IMAP 0.33+ and/or qmail 1.03 for POP3 access
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</itemizedlist>
|
|
||||||
<para>
|
|
||||||
We have reports of it working on Windows NT and OS/2, and using Oracle as the database.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Obtaining and Installing phpgroupware</Title>
|
|
||||||
<sect2>
|
|
||||||
<title>Installing from TarBall</Title>
|
|
||||||
<para>
|
|
||||||
Installing from a TarBall is very easy. The files should
|
|
||||||
be installed in the webserver directory. Example steps (please
|
|
||||||
adjust to your server's config):
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># cp phpgroupware-version.tar.gz /home/httpd/html</userinput>
|
|
||||||
<userinput># cd /home/httpd/html</userinput>
|
|
||||||
<userinput># tar zxf phpgroupware-version.tar.gz</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
You may have to get required permissions to do this. Contact
|
|
||||||
your system administrator if you dont have the permission
|
|
||||||
to write to your webserver directory.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
You can get current releases of phpGroupWare at the phpGroupware
|
|
||||||
website.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
<sect2>
|
|
||||||
<title>Installing from CVS</Title>
|
|
||||||
<para>
|
|
||||||
Installing from a CVS is fairly easy. The files should be checked out in the webserver directory.
|
|
||||||
You may have to get required permissions to install from CVS. Contact your system administrator if you dont have the permission to write to your webserver directory.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
To see a list of applications currently available via CVS, go to [http://savannah.gnu.org/cgi-bin/viewcvs/phpgroupware/]
|
|
||||||
</para>
|
|
||||||
<sect3>
|
|
||||||
<title>Development Branch in CVS</Title>
|
|
||||||
Follow these steps (please adjust to your server's config):
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># cd /home/httpd/html</userinput>
|
|
||||||
<userinput># cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/phpgroupware co phpgroupware</userinput>
|
|
||||||
<userinput># cd phpgroupware</userinput>
|
|
||||||
<userinput># cvs co admin addressbook calendar email phpgwapi preferences setup todo notes infolog</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
or if you prefer using CVSROOT:
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># export CVSROOT=':pserver:anoncvs@subversions.gnu.org:/cvsroot/phpgroupware'</userinput>
|
|
||||||
<userinput># cvs co phpgroupware</userinput>
|
|
||||||
<userinput># cd phpgroupware</userinput>
|
|
||||||
<userinput># cvs co admin addressbook calendar email phpgwapi preferences setup todo notes infolog</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
</sect3>
|
|
||||||
<sect3>
|
|
||||||
<title>Stable Branch in CVS</Title>
|
|
||||||
<para>
|
|
||||||
Follow these steps (please adjust to your server's config and the up-to-date stable Version - 0.9.14 at the moment):
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># cd /home/httpd/html</userinput>
|
|
||||||
<userinput># cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/phpgroupware co -r Version-0_9_14-branch phpgroupware</userinput>
|
|
||||||
<userinput># cd phpgroupware</userinput>
|
|
||||||
<userinput># cvs co -r Version-0_9_14-branch admin addressbook calendar email phpgwapi preferences setup todo notes infolog</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
or if you prefer using CVSROOT:
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># export CVSROOT=':pserver:anoncvs@subversions.gnu.org:/cvsroot/phpgroupware'</userinput>
|
|
||||||
<userinput># cvs co -r Version-0_9_14-branch phpgroupware</userinput>
|
|
||||||
<userinput># cd phpgroupware</userinput>
|
|
||||||
<userinput># cvs co -r Version-0_9_14-branch admin addressbook calendar email phpgwapi preferences setup todo notes infolog</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
</sect3>
|
|
||||||
</sect2>
|
|
||||||
<sect2>
|
|
||||||
<title>Setting File Permissions</Title>
|
|
||||||
<para>
|
|
||||||
There are a few directories which will need special file permissions set for phpGroupWare to work properly.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Temp Directory (Required) - This can be /tmp for simplicity, but it is required for several apps to function properly. Simply make sure that the webserver can add/delete files in it.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Files Directory (Required) - This can be the files dir under the phpgroupware dir. You will need to give the webserver account owndership of this directory.
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
(from phpgroupware root)
|
|
||||||
<userinput># mkdir files</userinput>
|
|
||||||
<userinput># mkdir files/groups</userinput>
|
|
||||||
<userinput># mkdir files/users</userinput>
|
|
||||||
<userinput># chown nobody:nobody files</userinput> (note: this assumes your webserver runs as user nobody, adjust for your installation)
|
|
||||||
<userinput># chmod 700 files</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Root Directory (Not recommended) - If you give the webserver account write access to the phpgroupware directory, then the setup program can create the header.inc.php for you. Otherwise you will need to use the setup program to create it, and then you can manually save it to file.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
If you want to do it:
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># chown :nobody phpgroupware</userinput>
|
|
||||||
<userinput># chmod 770 phpgroupware</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
<sect2>
|
|
||||||
<title>Setup the database</Title>
|
|
||||||
<para>
|
|
||||||
You need to create empty databases for the setup app to create the tables in.
|
|
||||||
</para>
|
|
||||||
<sect3>
|
|
||||||
<title>MySQL</Title>
|
|
||||||
<para>
|
|
||||||
Ensure that you have a working MySQL installation and that MySQL is running.
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
Mandrake or Redhat:
|
|
||||||
<userinput>/etc/rc.d/init.d/mysqld start</userinput>
|
|
||||||
other:
|
|
||||||
<userinput>/usr/local/mysql/bin/safe_mysqld &</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>Create the phpgroupware Database and give permissions to the phpgroupware user</Para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># mysqladmin -u someuser -p create phpgroupware</userinput> (enter password when prompted)
|
|
||||||
<userinput># mysql -u someuser -p</userinput>
|
|
||||||
<userinput>mysql> grant all on phpgroupware.* to phpgroupware@localhost identified by "somepassword";</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<note>Make sure you change the password from "somepassword" to your MySQL password in the GRANT statement</note>
|
|
||||||
For more detailed user documentation on MySQL see their website: [http://www.mysql.com]
|
|
||||||
</para>
|
|
||||||
</sect3>
|
|
||||||
|
|
||||||
<sect3>
|
|
||||||
<title>PostgreSQL</Title>
|
|
||||||
<para>
|
|
||||||
Ensure that you have a working PostgreSQL installation and that PostgreSQL is running.
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
Mandrake or Redhat :
|
|
||||||
<userinput>/etc/rc.d/init.d/postgresql start</userinput>
|
|
||||||
Others:
|
|
||||||
<userinput> /usr/bin/postmaster -D /var/lib/pgsql/data -i or /usr/bin/pg_ctl -D /var/lib/pgsq/data start</userinput> (adjust for your install dirs)
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
Create the phpgroupware database and user
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput> # /usr/bin/createdb phpgroupware</userinput>
|
|
||||||
<userinput> # /usr/bin/createuser phpgroupware --pwprompt</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
For more detailed user documentation on Postgresql see their website: [http://www.postgresql.org]
|
|
||||||
</para>
|
|
||||||
</sect3>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>Setup/Configure phpGroupWare</Title>
|
|
||||||
<sect3>
|
|
||||||
<title>configure header file</title>
|
|
||||||
<para>
|
|
||||||
Point your browser to http://yourserverroot/phpgroupware/setup/ which will create (or upgrade) the header.inc.php and database tables. Setup will attempt to determine what version of the phpGroupWare databases and header.inc.php you have installed, and upgrade to the most recent version.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Most values for the header setup can be left as the default, be sure to enter a password for header admin, and change the password for your DB, and for configuration.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
*addme* What is mcrypt for?
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
*addme* Explain what the Domain select box is for
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Once you have finished your configuration, you can have phpGroupWare write it directly if you changed permissions on the directory, or you can download or view it with your browser, and save it in the directory yourself.
|
|
||||||
</para>
|
|
||||||
</sect3>
|
|
||||||
<sect3>
|
|
||||||
<title>Site Configuration</title>
|
|
||||||
<para>
|
|
||||||
After header configuration, you will be prompted to enter your Setup/Config Login, or your Header login if you want to go back and change something.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
<caution>
|
|
||||||
You are advised to backup your existing database before running the setup script to avoid problems!
|
|
||||||
</caution>
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
<note>
|
|
||||||
You have to press the button, not hit enter on the setup/index.php script
|
|
||||||
</note>
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Your first step is to install all application databases, simply click on the <guibutton>Install</guibutton> to have phpGroupWare add all the necessary tables.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Next, click on <guibutton>Edit Current Configuration</guibutton>. You will be prompted with a list of configuration options.
|
|
||||||
<table>
|
|
||||||
<title>Edit Current Configuration</title>
|
|
||||||
<tgroup cols="2">
|
|
||||||
<thead>
|
|
||||||
<row>
|
|
||||||
<entry>Prompt</entry>
|
|
||||||
<entry>Notes</entry>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<row>
|
|
||||||
<entry>full path for temporary files</entry>
|
|
||||||
<entry>usually /tmp</entry>
|
|
||||||
<row>
|
|
||||||
<entry>full path for user and group files</entry>
|
|
||||||
<entry>directory must exist and have user and group directories underneath it.</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>location of phpGroupWare URL</entry>
|
|
||||||
<entry>
|
|
||||||
full domain name or just relative link, no trailing slash
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>hostname of machine</entry>
|
|
||||||
<entry> Fully qualified hostname </entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>default ftp server</entry>
|
|
||||||
<entry> *addme* what is this for?</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>use correct mimetype for FTP</entry>
|
|
||||||
<entry> *addme* what might this affect?</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>HTTP proxy server</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>HTTP proxy port</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Which type of Authentication</entry>
|
|
||||||
<entry>
|
|
||||||
<literallayout>
|
|
||||||
SQL use SQL table (default)
|
|
||||||
SQL/SSL use encrypted SQL access
|
|
||||||
LDAP use LDAP server
|
|
||||||
mail use mail server (IMAP/POP3)
|
|
||||||
HTTP use HTTP authentication (.htaccess)
|
|
||||||
PAM use PAM authentication (not currently working)
|
|
||||||
</literallayout>
|
|
||||||
</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Where to store user accounts</entry>
|
|
||||||
<entry>
|
|
||||||
<literallayout>
|
|
||||||
SQL store in SQL table
|
|
||||||
LDAP store in LDAP server
|
|
||||||
Contacts *addme* what is this?
|
|
||||||
</literallayout>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Minimum account ID</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Maximum account ID</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>manage homedirectory and loginshell attributes</entry>
|
|
||||||
<entry> *addme* what is this?</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>LDAP home directory prefix</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>LDAP default shell</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Auto create account records?</entry>
|
|
||||||
<entry>*addme* what is this?</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>if no ACL records...</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>LDAP host</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>LDAP accounts context</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>LDAP root dn</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>LDAP root password</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>LDAP encryption type</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>app_session encryption</entry>
|
|
||||||
<entry>*addme* what is this?</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>title for your site</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Show powered by logo on</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Country Selection</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>use pure HTML</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>Use cookies</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>check for new version?</entry>
|
|
||||||
<entry>*addme* what does this check, stable version or CVS?</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
|
||||||
<entry>cache the phpgw_info array</entry>
|
|
||||||
<entry>*addme* what effect does this have on speed, what tradeoffs?</entry>
|
|
||||||
</row>
|
|
||||||
</tbody>
|
|
||||||
</tgroup>
|
|
||||||
</table>
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Next, select <guibutton>click here</guibutton> to add admin account and optionally, three demo accounts. Fill in the fields on the next screen and uncheck the box at the bottom if you don't want the demo accounts created. Click on Submit when finished.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Click <guibutton>Install Languages</guibutton> to add at least one language to the system. On the next screen, select all the languages you want by single clicking them, then click on <guibutton>Install<guibutton>.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
There shouldn't be anything to do under <guibutton>Manage Applications</guibutton> at this time, this is where you will return after an upgrade to update and table differences.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
after you're done, click on logout to complete the install and end the session.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
<sect2>
|
|
||||||
<title>Testing the install</Title>
|
|
||||||
<para>
|
|
||||||
If your config is setup properly you can now login. Point your browser to the installed location and login with the new admin username and password you created.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect2>
|
|
||||||
<sect2>
|
|
||||||
<title>Installing additional applications</Title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Once you have the core phpGroupWare install up and running, you may want to download and install additional applications.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
You should consult any README or INSTALL files that come with the new application first, as most require you to create additional tables in the database, and add additional translation data to the lang table (typically a file called lang.sql)
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
You install the new application within the phpGroupWare install tree by copying the application directory into the phpGroupWare install location, and enabling the application through the Administration page.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<para>
|
|
||||||
For example, this is the process to install the Headlines application: (see [http://apps.phpgroupware.org] for more applications)
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Download the .tar.gz file for the application, or check out the source with cvs with
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># export CVSROOT=':pserver:anonymous@subversions.gnu.org:/cvsroot/phpgroupware'</userinput>
|
|
||||||
<userinput># cvs login</userinput> (just hit enter if prompted for a password)
|
|
||||||
<userinput># cvs co headlines</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
Move the headlines directory into your phpGroupWare install directory.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Log into phpGroupWare as an administrative user, and go to the Administration page.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
In the first section, choose the Applications link.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Click on add and fill in the form.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Application name should be identical to the name of the directory you moved into the phpGroupWare install. In this case, use headlines.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Application title is shown in the navigation bar and other places to refer to the new application. Enter Headlines for this example.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Enabled can be used to disable an application for all users temporarily. You should normally check the box to enable the application.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Back in the Administration page, you need to enable the application for specific users or user groups by editing them, and checking the new Headlines box that appears in the middle of the account editing page.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Once you have added the Headlines app to your account, you should see a Headlines entry in the Administration and Preferences pages, and there should be an icon for the Headlines application in the navigation bar.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Once you enable a few of the Headlines sites through the Administration page link, you should see headlines grabbed from the sites you selected when you click on the Headlines icon in the navigation bar.
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Troubleshooting</Title>
|
|
||||||
<para>
|
|
||||||
deb package of 4.0.6 has a problem with cookies, the setup program uses cookies
|
|
||||||
See the FAQ
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
@ -1,25 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "introduction.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
|
|
||||||
<chapter id="Introduction">
|
|
||||||
<title>Introduction</Title>
|
|
||||||
<sect1>
|
|
||||||
<title>What is phpGroupWare</Title>
|
|
||||||
<para>
|
|
||||||
phpGroupWare is a multi-user web-based suite written in PHP. It contains many applications, including a Calendar, email package, contact database and project manager. It also includes an extensive API for writing new applications.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Acknowledgements</Title>
|
|
||||||
<para>
|
|
||||||
I would like to thank the many authors of phpGroupWare and it's applications for creating such a useful and extensible product. I would also like to thank the authors of previous version of the documentation, including Dan Kuykendall, Joseph Engo and Darryl VanDorp and the authors of the LDP Author guide for teaching me how to use DocBook.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Notes</title>
|
|
||||||
<para>
|
|
||||||
This document is based upon the current CVS release, where possible I included notes relating to the current stable release (0.9.12). This is a work in progress, please email any corrections to <email>phpgroupware-docteam@gnu.org</email>.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "notes.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Notes">
|
|
||||||
<title>Notes</Title>
|
|
||||||
</chapter>
|
|
@ -1,28 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "performance.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter>
|
|
||||||
<title>Performance Tuning</Title>
|
|
||||||
<sect1>
|
|
||||||
<title>Linux</Title>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Apache</Title>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>PHP</Title>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Database</title>
|
|
||||||
<sect2>
|
|
||||||
<title>When phpgroupware is used by 5+ users, the number of connections to the backend grows very fast toward it's limits.</title>
|
|
||||||
<para>
|
|
||||||
A patch is available for 0.9.12 to allow for non-persistent connections. This patch adds to the header managing page to allow for non-persistent connections. It's only made for mysql, postgresql and oracle, but should be portable.
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
The patch is available at [http://karlsbakk.net/dev/phpgw/persistent-connections- choice.patch]
|
|
||||||
</para>
|
|
||||||
</sect2>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>phpGroupWare</Title>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
@ -1,54 +0,0 @@
|
|||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
|
||||||
<!ENTITY introduction SYSTEM "introduction.sgml">
|
|
||||||
<!ENTITY installation SYSTEM "installation.sgml">
|
|
||||||
<!ENTITY upgrading SYSTEM "upgrading.sgml">
|
|
||||||
<!ENTITY general SYSTEM "general.sgml">
|
|
||||||
<!ENTITY calendar SYSTEM "calendar.sgml">
|
|
||||||
<!ENTITY email SYSTEM "email.sgml">
|
|
||||||
<!ENTITY addressbook SYSTEM "addressbook.sgml">
|
|
||||||
<!ENTITY notes SYSTEM "notes.sgml">
|
|
||||||
<!ENTITY todo SYSTEM "todo.sgml">
|
|
||||||
<!ENTITY project SYSTEM "project.sgml">
|
|
||||||
<!ENTITY filemanager SYSTEM "filemanager.sgml">
|
|
||||||
<!ENTITY security SYSTEM "security.sgml">
|
|
||||||
<!ENTITY performance SYSTEM "performance.sgml">
|
|
||||||
]>
|
|
||||||
<book id="index">
|
|
||||||
|
|
||||||
<bookinfo>
|
|
||||||
|
|
||||||
<title>phpGroupWare Administration Manual</title>
|
|
||||||
<authorgroup>
|
|
||||||
<author>
|
|
||||||
<firstname>Brandon</firstname><surname>Neill</surname>
|
|
||||||
<authorblurb>
|
|
||||||
<para>
|
|
||||||
Brandon Neill just wanted to figure out how to use the program and decided to write a manual as an excuse to bug the developers.
|
|
||||||
</para>
|
|
||||||
</authorblurb>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<firstname>
|
|
||||||
</authorgroup>
|
|
||||||
<pubdate>$Revision$, $Date$</pubdate>
|
|
||||||
<abstract>
|
|
||||||
<para>
|
|
||||||
This Manual is for administrators of phpGroupware.
|
|
||||||
</para>
|
|
||||||
</abstract>
|
|
||||||
</bookinfo>
|
|
||||||
&introduction
|
|
||||||
&installation
|
|
||||||
&upgrading
|
|
||||||
&general
|
|
||||||
&calendar
|
|
||||||
&email
|
|
||||||
&addressbook
|
|
||||||
¬es
|
|
||||||
&todo
|
|
||||||
&project
|
|
||||||
&filemanager
|
|
||||||
&security
|
|
||||||
&performance
|
|
||||||
</book>
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "project.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Project">
|
|
||||||
<title>Project</Title>
|
|
||||||
</chapter>
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "security.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter>
|
|
||||||
<title>Security</Title>
|
|
||||||
</chapter>
|
|
@ -1,4 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "todo.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Todo">
|
|
||||||
<title>Todo</Title>
|
|
||||||
</chapter>
|
|
@ -1,17 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "upgrading.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="upgrading">
|
|
||||||
<title>Upgrading</title>
|
|
||||||
<sect1>
|
|
||||||
<title>Upgrading from CVS</title>
|
|
||||||
<para>
|
|
||||||
Follow these steps to upgrade a CVS install (please adjust to your server's config):
|
|
||||||
</para>
|
|
||||||
<blockquote><literallayout>
|
|
||||||
<userinput># cd /home/httpd/html/phpgroupware</userinput>
|
|
||||||
<userinput># cvs update -dP</userinput>
|
|
||||||
</literallayout></blockquote>
|
|
||||||
<para>
|
|
||||||
After updating from CVS, be sure to return to the configuration page [/setup] and update any necessary tables.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
@ -1,68 +0,0 @@
|
|||||||
# Makefile for phpGroupware phpGroupWare-User-Manual
|
|
||||||
# Written by Brandon Neill
|
|
||||||
# Copyright 2002
|
|
||||||
INSTDIR ?= ../..
|
|
||||||
|
|
||||||
all: html ps txt
|
|
||||||
|
|
||||||
ps: phpGroupWare-User-Manual.sgml
|
|
||||||
sgmltools -b ps phpGroupWare-User-Manual.sgml
|
|
||||||
@touch ps
|
|
||||||
|
|
||||||
txt: phpGroupWare-User-Manual.sgml
|
|
||||||
sgmltools -b txt phpGroupWare-User-Manual.sgml
|
|
||||||
@touch txt
|
|
||||||
|
|
||||||
html: phpGroupWare-User-Manual.sgml
|
|
||||||
sgmltools -b html phpGroupWare-User-Manual.sgml
|
|
||||||
@touch html
|
|
||||||
|
|
||||||
install:
|
|
||||||
@if [ -e phpGroupWare-User-Manual.txt ]; \
|
|
||||||
then \
|
|
||||||
echo "Moving phpGroupWare-User-Manual.txt to $(INSTDIR)"; \
|
|
||||||
mv phpGroupWare-User-Manual.txt $(INSTDIR)/; \
|
|
||||||
fi
|
|
||||||
-@if [ -e phpGroupWare-User-Manual ]; \
|
|
||||||
then \
|
|
||||||
if [ ! -d $(INSTDIR)/html/user ]; \
|
|
||||||
then \
|
|
||||||
mkdir -p $(INSTDIR)/html/user; \
|
|
||||||
else \
|
|
||||||
rm $(INSTDIR)/html/user/*.html; \
|
|
||||||
fi; \
|
|
||||||
echo "Tidying HTML files and moving them to $(INSTDIR)/html/user"; \
|
|
||||||
echo "You may get an ignored error here, it's OK";\
|
|
||||||
for file in `ls -1 phpGroupWare-User-Manual`; \
|
|
||||||
do \
|
|
||||||
tidy -i -clean < phpGroupWare-User-Manual/$$file >$(INSTDIR)/html/user/$$file 2> /dev/null; \
|
|
||||||
done; \
|
|
||||||
rm -r phpGroupWare-User-Manual; \
|
|
||||||
fi
|
|
||||||
@if [ -e phpGroupWare-User-Manual.ps ]; \
|
|
||||||
then \
|
|
||||||
echo "Moving phpGroupWare-User-Manual.ps to $(INSTDIR)/ps"; \
|
|
||||||
if [ ! -d $(INSTDIR)/ps ]; \
|
|
||||||
then \
|
|
||||||
mkdir $(INSTDIR)/ps; \
|
|
||||||
fi; \
|
|
||||||
mv phpGroupWare-User-Manual.ps $(INSTDIR)/ps; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@if [ -e phpGroupWare-User-Manual.txt ];\
|
|
||||||
then \
|
|
||||||
rm phpGroupWare-User-Manual.txt ;\
|
|
||||||
fi
|
|
||||||
-rm txt
|
|
||||||
@if [ -e phpGroupWare-User-Manual ]; \
|
|
||||||
then \
|
|
||||||
rm -r phpGroupWare-User-Manual; \
|
|
||||||
fi
|
|
||||||
-rm html
|
|
||||||
@if [ -e phpGroupWare-User-Manual.ps ]; \
|
|
||||||
then \
|
|
||||||
rm phpGroupWare-User-Manual.ps; \
|
|
||||||
fi
|
|
||||||
-rm ps
|
|
||||||
|
|
@ -1,80 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "calendar.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Calendar">
|
|
||||||
<title>Calendar</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
A searchable daily,weekly, monthly calendar/scheduling applicaiton with alerts for high priority events.
|
|
||||||
</para>
|
|
||||||
<sect1>
|
|
||||||
<title>Viewing</title>
|
|
||||||
<para>
|
|
||||||
To view your calendar, click on the calendar icon in the menu. This will bring you to the default view selected in your preferences. You can click one of the six icons to change your calendar view.
|
|
||||||
</para>
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
|
||||||
<term><guiicon><inlinegraphic fileref="images/today.gif"></inlinegraphic></guiicon>Day</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Current day is displayed, broken down into time increments. Increment and working hours can be set in preferences.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
|
||||||
<term><guiicon><inlinegraphic fileref="images/week.gif"></inlinegraphic></guiicon>Week</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Current week is displayed. Start day of week can be set in preferences.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
|
||||||
<term><guiicon><inlinegraphic fileref="images/month.gif"></inlinegraphic></guiicon>Month</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Current month is displayed.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
|
||||||
<term><guiicon><inlinegraphic fileref="images/year.gif"></inlinegraphic></guiicon>Year</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Current year is displayed.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
|
||||||
<term><guiicon><inlinegraphic fileref="images/planner.gif"></inlinegraphic></guiicon>Planner</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
I don't know yet
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
<varlistentry>
|
|
||||||
<term><guiicon><inlinegraphic fileref="images/view.gif"></inlinegraphic></guiicon> Daily Matrix View</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Displays a selection of users and their available times for a given date range
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Adding an entry</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Editing an entry</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Preferences</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "email.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Email">
|
|
||||||
<title>Email</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</chapter>
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "filemanager.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="FileManager">
|
|
||||||
<title>File Manager</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</chapter>
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "general.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="General">
|
|
||||||
<title>General</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Here will go an overview of categories and other overall topics.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Categories</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Templates and Themes</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Access Control Lists</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Translations</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "introduction.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Introduction">
|
|
||||||
<title>Introduction</title>
|
|
||||||
<sect1>
|
|
||||||
<title>What is phpGroupWare</title>
|
|
||||||
<para>
|
|
||||||
phpGroupWare is a multi-user web-based suite written in PHP. It contains many applications, including a Calendar, email package, contact database and project manager. It also includes an extensive API for writing new applications.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>About the author</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Brandon Neill just wanted to figure out how to use the program and decided to write a manual as an excuse to bug the developers.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Acknowledgements</title>
|
|
||||||
<para>
|
|
||||||
I would like to thank the many authors of phpGroupWare and it's applications for creating such a useful and extensible product. I would also like to thank the authors of previous version of the documentation and the authors of the LDP Author guide for teaching me how to use DocBook.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
<sect1>
|
|
||||||
<title>Notes</title>
|
|
||||||
<para>
|
|
||||||
This document is based upon the current CVS release, where possible I included notes relating to the current stable release (0.9.12). This is a work in progress, please email any corrections to <email>bneill@yahoo.com</email>.
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "notes.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Notes">
|
|
||||||
<title>Notes</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</chapter>
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
|||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
|
||||||
<!ENTITY introduction SYSTEM "introduction.sgml">
|
|
||||||
<!ENTITY general SYSTEM "general.sgml">
|
|
||||||
<!ENTITY calendar SYSTEM "calendar.sgml">
|
|
||||||
<!ENTITY email SYSTEM "email.sgml">
|
|
||||||
<!ENTITY addressbook SYSTEM "addressbook.sgml">
|
|
||||||
<!ENTITY notes SYSTEM "notes.sgml">
|
|
||||||
<!ENTITY todo SYSTEM "todo.sgml">
|
|
||||||
<!ENTITY project SYSTEM "project.sgml">
|
|
||||||
<!ENTITY filemanager SYSTEM "filemanager.sgml">
|
|
||||||
]>
|
|
||||||
<book id="index">
|
|
||||||
|
|
||||||
<bookinfo>
|
|
||||||
|
|
||||||
<title>phpGroupWare User's Manual</title>
|
|
||||||
<author>
|
|
||||||
<firstname>Brandon</firstname><surname>Neill</surname>
|
|
||||||
</author>
|
|
||||||
<pubdate>$Revision$, $Date$</pubdate>
|
|
||||||
|
|
||||||
<Abstract>
|
|
||||||
<para>
|
|
||||||
This Manual is for users of phpGroupware.
|
|
||||||
</para>
|
|
||||||
</abstract>
|
|
||||||
|
|
||||||
</bookinfo>
|
|
||||||
&introduction
|
|
||||||
&general
|
|
||||||
&calendar
|
|
||||||
&email
|
|
||||||
&addressbook
|
|
||||||
¬es
|
|
||||||
&todo
|
|
||||||
&project
|
|
||||||
&filemanager
|
|
||||||
|
|
||||||
</book>
|
|
@ -1,6 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "project.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Project">
|
|
||||||
<title>Project</title>
|
|
||||||
<para>
|
|
||||||
</para>
|
|
||||||
</chapter>
|
|
@ -1,267 +0,0 @@
|
|||||||
<!DOCTYPE chapter SYSTEM "todo.sgml" PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
|
||||||
<chapter id="Todo">
|
|
||||||
<title>Todo</title>
|
|
||||||
<para>
|
|
||||||
A ToDo list application featuring the ability to add project categories and sub-categories, add ToDo projects and sub-projects, and a gannt chart type matrix view for pending projects.
|
|
||||||
</para>
|
|
||||||
<sect1>
|
|
||||||
<title>Viewing</title>
|
|
||||||
<para>
|
|
||||||
To view your ToDo List, click on the To Do list icon in the menu. This will bring you to the To Do list main page. From this page you can do the following:
|
|
||||||
</para>
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
|
||||||
<term>Category</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Choose a category to view.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Show</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Choose to view all jobs, your jobs, or your private jobs.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Search</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Search jobs in the ToDo list.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Status</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the first column in the table of results. By clicking the "Status" link you can sort the ToDo list results by their completion status (ascending order). Clicking this link again will reverse the sort (descending order).
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Urgency</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the second column in the table of results. By clicking the "Urgency" link you can sort the ToDo list results by their Urgency (ascending order). Clicking this link again will reverse the sort (descending order).
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Title</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the third column in the table of results. By clicking the "Title" link you can sort the ToDo list results by their title (ascending order). Clicking this link again will reverse the sort (descending order).
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Start Date</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the fourth column in the table of results. By clicking the "Start date" link you can sort the ToDo list results by their start date (ascending order). Clicking this link again will reverse the sort (descending order).
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>End Date</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the fifth column in the table of results. By clicking the "End date" link you can sort the ToDo list results by their ending date (ascending order). Clicking this link again will reverse the sort (descending order). Dates for overdue tasks will be displayed in red.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Created By</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the sixth column in the table of results. By clicking the "Created By" link you can sort the ToDo list results by task author (ascending order). Clicking this link again will reverse the sort (descending order).
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Add sub</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the seventh column in the table of results. By clicking the "Add sub" link on a task or sub-task in the table of results, you can add a sub-task to that particular item.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>View</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the eighth column in the table of results. By clicking the "View" link on a task or sub-task in the table of results, you can view the details of the task.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Edit</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the ninth column in the table of results. By clicking the "Edit" link on a task or sub-task in the table of results, you can edit the details of the task.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Delete</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
This is the tenth column in the table of results. By clicking the "Delete" link on a task or sub-task in the table of results, you can delete the task.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Add</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Clicking the "Add" button will allow you to add a task to the ToDo list.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term> View matrix of actual month</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Clicking the "View matrix of actual month" link will display a gannt chart type matrix view of the current month's ToDo list entries.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Adding</title>
|
|
||||||
<para>
|
|
||||||
After clicking the "Add" button on the task results page, you will be presented with the following options on the "Add Main Project" page:
|
|
||||||
</para>
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
|
||||||
<term>Title</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Enter a title for the task to be added.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Description</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Enter a description for the task to be added.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Parent Project</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Choose a parent project for the task to be added.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Start Date</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Choose a starting date for the task to be added. If the starting date will be today, simply check the "select for today" checkbox.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>End Date</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Choose a Ending Date for the task to be added. Another option is to input the number of days from the task start date in the "days from startdate" input box.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Completed</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Use the drop-down completed box to mark the approximate completion status for the task to be added.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Urgency</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Use the drop-down Urgency box to choose between low, normal, and high urgency settings for the task to be added.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Private</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Check the "Private" checkbox to make this task viewable only by you.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Category</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Choose a category for the task to be added.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Submit</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Click the "Submit" button to add this task to the ToDo list.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>Clear Form</term>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Click the "Clear Form" button to reset the form to its default (empty) state.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
</variablelist>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
<sect1>
|
|
||||||
<title>Add sub</title>
|
|
||||||
<para>
|
|
||||||
After clicking the "Add sub" link on the task results page, you will be presented with the following options on the "Add sub project" page:
|
|
||||||
</para>
|
|
||||||
</sect1>
|
|
||||||
|
|
||||||
</chapter>
|
|
||||||
|
|
@ -1,87 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**************************************************************************\
|
|
||||||
* phpGroupWare - Experimental tools *
|
|
||||||
* http://www.phpgroupware.org *
|
|
||||||
* Written by Joseph Engo <jengo@phpgroupware.org> *
|
|
||||||
* -------------------------------------------- *
|
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
|
||||||
* under the terms of the GNU General Public License as published by the *
|
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
||||||
* option) any later version. *
|
|
||||||
\**************************************************************************/
|
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* !!! WARNING !!!
|
|
||||||
** This is highley experimental! Do NOT run it unless you know what you are doing!
|
|
||||||
** You can serious screaw things up!
|
|
||||||
**
|
|
||||||
** Requirements:
|
|
||||||
** - Must be run as root
|
|
||||||
** - You need to have RAM disk support complied into the kernel
|
|
||||||
** - You have to have the CGI binary for PHP
|
|
||||||
** - This ONLY works with Linux
|
|
||||||
** - The 2.2 kernel is limited to 20 RAM disks, so you will have to cut down on what you copy over
|
|
||||||
** - I wouldn't run this on a server with less then 196 MB of RAM. If it has less, preformance
|
|
||||||
** will only decrease. Since proccess will need to swap out to disk.
|
|
||||||
**
|
|
||||||
** The phpGroupWare development team does not support this program in anyway. If it breaks
|
|
||||||
** or messes up your system, don't email us. Don't submit bug reports. If you do find ways to make
|
|
||||||
** it better, please submit patches directly to me. jengo@phpgroupware.org
|
|
||||||
*/
|
|
||||||
|
|
||||||
$debug = True;
|
|
||||||
|
|
||||||
// Locations of your perminate copy, you will need it to be setup already
|
|
||||||
define('HARD_COPY','/home/jengo/public_html');
|
|
||||||
// Where you want your install to be
|
|
||||||
define('RAM_COPY','/var/www/html');
|
|
||||||
|
|
||||||
function command($command)
|
|
||||||
{
|
|
||||||
global $debug;
|
|
||||||
|
|
||||||
if ($debug)
|
|
||||||
{
|
|
||||||
echo $command . "\n";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
system($command);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
command('mke2fs /dev/ram0 200');
|
|
||||||
command('mkdir ' . RAM_COPY . '/phpgroupware');
|
|
||||||
command('mount -t ext2 /dev/ram0 ' . RAM_COPY . '/phpgroupware');
|
|
||||||
command('cp ' . HARD_COPY . '/phpgroupware/* ' . RAM_COPY . '/phpgroupware');
|
|
||||||
|
|
||||||
$ram_drive_num = 1;
|
|
||||||
$dh = opendir(HARD_COPY . '/phpgroupware/');
|
|
||||||
while ($file = readdir($dh))
|
|
||||||
{
|
|
||||||
// The 2.2 kernel can only have 20 ram disks
|
|
||||||
if ($ram_drive_num == 21)
|
|
||||||
{
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($file != '.' && $file != '..' && $file != 'CVS' && $file != 'phpgroupware' && is_dir($file))
|
|
||||||
{
|
|
||||||
$_du_string = 'du -s ' . HARD_COPY . '/phpgroupware/' . $file;
|
|
||||||
$_du = `$_du_string`;;
|
|
||||||
preg_match('/(\w+)\s/',$_du,$du);
|
|
||||||
$du_size = ereg_replace(' ','',$du[0]);
|
|
||||||
|
|
||||||
// Make it slighty larger, so the files copy correctly
|
|
||||||
$du_size = $du_size + 400;
|
|
||||||
|
|
||||||
command('mke2fs /dev/ram' . $ram_drive_num . ' ' . $du_size);
|
|
||||||
command('mkdir ' . RAM_COPY . '/phpgroupware/' . $file);
|
|
||||||
command('mount -t ext2 /dev/ram' . $ram_drive_num . ' ' . RAM_COPY . '/phpgroupware/' . $file);
|
|
||||||
command('cp -R ' . HARD_COPY . '/phpgroupware/' . $file . ' ' . RAM_COPY . '/phpgroupware/' . $file);
|
|
||||||
|
|
||||||
$ram_drive_num++;
|
|
||||||
echo "\n";
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,70 +0,0 @@
|
|||||||
This is a preliminary etiquette doc for eGroupWare. Please check it from time to
|
|
||||||
time for updates:
|
|
||||||
|
|
||||||
phpGroupWare is a large project, with possibly over 50 developers at the time
|
|
||||||
of this writing. In its current location, it is impossible to restrict access
|
|
||||||
for each developer to a particular module or application. As such, it is
|
|
||||||
important that some basic rules be followed when developing in CVS:
|
|
||||||
|
|
||||||
1. Many of the developers frequent the IRC channel #egroupware on
|
|
||||||
irc.freenode.net. Please take the time to drop by and introduce yourself.
|
|
||||||
|
|
||||||
2. Please see the coding_standard.txt document in this folder for some basic
|
|
||||||
guidelines for code formatting. PHP can be interpreted in many forms,
|
|
||||||
and this document outlines our preference to ensure readability and
|
|
||||||
compatibility.
|
|
||||||
|
|
||||||
3. If you want to begin some work on an existing app please consult the
|
|
||||||
primary developer for the application first. Most of the files will
|
|
||||||
contain some type of identification and/or contact information in the
|
|
||||||
head of each file.
|
|
||||||
|
|
||||||
4. If you are unable to contact the author, please contact at least one of the
|
|
||||||
project leads [ ralf, lars, reinerj ] or a core developer.
|
|
||||||
|
|
||||||
5. If you have just joined the project, or have always kept to your own
|
|
||||||
application, etc., then please exercise caution when committing changes
|
|
||||||
in the phpgwapi [the API], admin, and preferences modules. These can
|
|
||||||
affect the operation of all applications. In particular, work done in
|
|
||||||
the API is typically allowed only with prior consent from one of the
|
|
||||||
project leads. In other words, work done here without some notification
|
|
||||||
and authorization is very risky to your continued involvement with this
|
|
||||||
project ;)
|
|
||||||
|
|
||||||
6. If you are working in the API, or on some other application which could
|
|
||||||
affect the usability for users and developers, please be sure to fully
|
|
||||||
test your changes. It is recommended that you visit a large sampling of
|
|
||||||
applications to ensure that they still work as expected after your
|
|
||||||
changes. This could include the functioning of one application or the
|
|
||||||
API against mysql AND pgsql, at least. It could also affect the function
|
|
||||||
of an application that uses LDAP instead of SQL for storage and
|
|
||||||
retrieval.
|
|
||||||
|
|
||||||
7. Do not write table update scripts that alter content or structure of the
|
|
||||||
API or of another application's tables.
|
|
||||||
|
|
||||||
8. Before importing a new application, or adding many files | directories to
|
|
||||||
existing modules, please contact one of the project leads [ ralf, lars,
|
|
||||||
reinerj ].
|
|
||||||
|
|
||||||
9. Please do not import a new application that does not have some basic
|
|
||||||
functionality in place or at least a description and basic documentation.
|
|
||||||
|
|
||||||
10. If you do not have an original icon for your app, please do not import a
|
|
||||||
copy from another application icon. The API should insert a default
|
|
||||||
until a new one is created. The size of icons should be 31x31 for all but
|
|
||||||
the idsociety template. Do not put a 31x31 color icon in the idsociety
|
|
||||||
template.
|
|
||||||
|
|
||||||
11. Basically, all template files are located in the app_name/templates/default/
|
|
||||||
directory. Please do only commit template files to other app_name/templates/
|
|
||||||
_layout_/directories if they _differ_ from the default version. The same is
|
|
||||||
valid for images. All application images are located in the app_name/templates/
|
|
||||||
default/images directory. Please do only commit images to other than the default
|
|
||||||
directory if they _differ_ from the default version. Most of the applications
|
|
||||||
do not need other templates directories than default and idsociety. The idsociety
|
|
||||||
templates directory should only contain the images dir with the navbar and
|
|
||||||
navbar_over icon for the idsociety layout.
|
|
||||||
Please avoid to have files twice in your application directory.
|
|
||||||
|
|
||||||
Thanks
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,859 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
eGroupWare Application Development
|
|
||||||
|
|
||||||
Dan Kuykendall <dan@kuykendall.org>
|
|
||||||
|
|
||||||
v0.9 29 September 2000
|
|
||||||
|
|
||||||
This document explains eGroupWare's infrastructure and API,
|
|
||||||
along with what is required to integrate applications into
|
|
||||||
it.
|
|
||||||
|
|
||||||
Table of Contents
|
|
||||||
|
|
||||||
1 Introduction
|
|
||||||
1.1 Overview of application writing
|
|
||||||
1.2 What does the eGroupWare API provide?
|
|
||||||
2 Guidelines
|
|
||||||
2.1 Requirements
|
|
||||||
2.2 Writing/porting your application
|
|
||||||
3 Installing your application
|
|
||||||
3.1 Overview
|
|
||||||
3.2 Automatic features
|
|
||||||
3.3 Adding files, directories and icons.
|
|
||||||
3.4 Making eGroupWare aware of your application
|
|
||||||
3.5 Hooking into Administration page
|
|
||||||
3.6 Hooking into Preferences page
|
|
||||||
4 Infrastructure
|
|
||||||
4.1 Overview
|
|
||||||
4.2 Directory tree
|
|
||||||
4.3 Translations
|
|
||||||
5 The API
|
|
||||||
5.1 Introduction
|
|
||||||
5.2 Basic functions
|
|
||||||
5.3 Application Functions
|
|
||||||
5.4 File functions
|
|
||||||
5.5 Email/NNTP Functions
|
|
||||||
6 Configuration Variables
|
|
||||||
6.1 Introduction
|
|
||||||
6.2 User information
|
|
||||||
6.3 Group information
|
|
||||||
6.4 Server information
|
|
||||||
6.5 Database information
|
|
||||||
6.6 Mail information
|
|
||||||
6.7 NNTP information
|
|
||||||
6.8 Application information
|
|
||||||
7 Using Language Support
|
|
||||||
7.1 Overview
|
|
||||||
7.2 How to use lang support
|
|
||||||
7.3 Common return codes
|
|
||||||
8 Using Templates
|
|
||||||
8.1 Overview
|
|
||||||
8.2 How to use templates
|
|
||||||
9 About this document
|
|
||||||
9.1 New versions
|
|
||||||
9.2 Comments
|
|
||||||
9.3 History
|
|
||||||
9.4 Copyrights and Trademarks
|
|
||||||
9.5 Acknowledgments and Thanks
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1 Introduction
|
|
||||||
|
|
||||||
eGroupWare is a web based groupware application framework
|
|
||||||
(API), for writing applications. Integrated applications
|
|
||||||
such as email, calendar, todo list, address book, and file
|
|
||||||
manager are included. eGroupWare is a fork of phpGroupWare,
|
|
||||||
for which the original version of this document was written.
|
|
||||||
|
|
||||||
1.1 Overview of application writing
|
|
||||||
|
|
||||||
We have attempted to make writing applications for eGroupWare
|
|
||||||
as painless as possible. We hope any pain and suffering
|
|
||||||
is caused by making your application work, but not dealing
|
|
||||||
with eGroupWare itself.
|
|
||||||
|
|
||||||
1.2 What does the eGroupWare API provide?
|
|
||||||
|
|
||||||
The eGroupWare API handles session management, user/group
|
|
||||||
management, has support for multiple databases, using either
|
|
||||||
PHPLIB or ADODB database abstraction methods, we support
|
|
||||||
templates using the PHPLIB Templates class, a file system
|
|
||||||
interface, and even a network i/o interface.
|
|
||||||
|
|
||||||
On top of these standard functions, eGroupWare provides several
|
|
||||||
functions to give you the information you need about the
|
|
||||||
users environment, and to properly plug into eGroupWare.
|
|
||||||
|
|
||||||
2 Guidelines
|
|
||||||
|
|
||||||
2.1 Requirements
|
|
||||||
|
|
||||||
These guidelines must be followed for any application that
|
|
||||||
wants considered for inclusion into eGroupWare:
|
|
||||||
|
|
||||||
* It must run on PHP4 and PHP5.
|
|
||||||
|
|
||||||
* SQL statements must be compatible with both MySQL and PostgreSQL.
|
|
||||||
When in doubt it is best to stick with SQL92.
|
|
||||||
|
|
||||||
* It must use our default header.inc.php include.
|
|
||||||
|
|
||||||
* It must use our $GLOBALS['phpgw']->link($url) for all links
|
|
||||||
(this is for session support).
|
|
||||||
|
|
||||||
* It must use "post" for
|
|
||||||
forms.
|
|
||||||
|
|
||||||
* It must respect phpGW group rights and phpGW user permissions.
|
|
||||||
|
|
||||||
* It must use our directory structure, template support and
|
|
||||||
lang (multi-language) support.
|
|
||||||
|
|
||||||
* Where possible it should run on both Unix and NT platforms.
|
|
||||||
|
|
||||||
* For applications that do not meet these requirements, they
|
|
||||||
can be made available to users however you decide. If
|
|
||||||
you need help converting your application to templates
|
|
||||||
and our lang support, we will try to connect you with
|
|
||||||
someone to help.
|
|
||||||
|
|
||||||
2.2 Writing/porting your application
|
|
||||||
|
|
||||||
Include files
|
|
||||||
|
|
||||||
Each PHP page you write will need to include the header.inc.php
|
|
||||||
along with a few variables.
|
|
||||||
This is done by putting this at the top of each PHP page.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Of course change application name to fit.
|
|
||||||
This include will provide the following things:
|
|
||||||
|
|
||||||
* The phpgwAPI - The eGroupWare API will be loaded.
|
|
||||||
|
|
||||||
* The phpGW navbar will be loaded (by default, but can be
|
|
||||||
disabled until a later point.
|
|
||||||
|
|
||||||
* appname/inc/functions.inc.php - This file is loaded just
|
|
||||||
after the phpgwAPI and before any HTML code is generated.
|
|
||||||
This file should include all your application specific
|
|
||||||
functions.. You are welcome to include any additional
|
|
||||||
files you need from within this file.
|
|
||||||
|
|
||||||
* appname/inc/header.inc.php - This file is loaded just after
|
|
||||||
the system header/navbar, and allows developers to use
|
|
||||||
it for whatever they need to load.
|
|
||||||
|
|
||||||
* appname/inc/footer.inc.php - This file is loaded just before
|
|
||||||
the system footer, allowing developers to close connections
|
|
||||||
and whatever else they need.
|
|
||||||
|
|
||||||
* The phpGW footer will be loaded, which closes several connections.
|
|
||||||
|
|
||||||
3 Installing your application
|
|
||||||
|
|
||||||
3.1 Overview
|
|
||||||
|
|
||||||
It is fairly simple to add and delete applications to/from
|
|
||||||
eGroupWare.
|
|
||||||
|
|
||||||
3.2 Automatic features
|
|
||||||
|
|
||||||
To make things easy for developers we go ahead and load the
|
|
||||||
following files.
|
|
||||||
|
|
||||||
* appname/inc/functions.inc.php - This file should include
|
|
||||||
all your application specific functions.
|
|
||||||
|
|
||||||
* appname/inc/header.inc.php - This file is loaded by $GLOBALS['phpgw']->common->header
|
|
||||||
just after the system header/navbar, and allows developers
|
|
||||||
to use it for whatever they need to load.
|
|
||||||
|
|
||||||
* appname/inc/footer.inc.php - This file is loaded by $GLOBALS['phpgw']->common->footer
|
|
||||||
just before the system footer, allowing developers to
|
|
||||||
close connections and whatever else they need.
|
|
||||||
|
|
||||||
3.3 Adding files, directories and icons.
|
|
||||||
|
|
||||||
You will need to create the following directories for your
|
|
||||||
code
|
|
||||||
(replace 'appname' with your application name)
|
|
||||||
|
|
||||||
|
|
||||||
`--appname
|
|
||||||
|
|
||||||
|--inc
|
|
||||||
|
|
||||||
| |--functions.inc.php
|
|
||||||
|
|
||||||
| |--header.inc.php
|
|
||||||
|
|
||||||
| |--hook_preferences.inc.php
|
|
||||||
|
|
||||||
| |--hook_admin.inc.php
|
|
||||||
|
|
||||||
| `--footer.inc.php
|
|
||||||
|
|
||||||
`--templates
|
|
||||||
|
|
||||||
| `--default
|
|
||||||
|
|
||||||
3.4 Making eGroupWare aware of your application
|
|
||||||
|
|
||||||
Please see the documentation in the setup/doc directory for
|
|
||||||
information on integrating into eGroupWare. This is very
|
|
||||||
important since the steps for database table setup and modification
|
|
||||||
discussed there must be followed.
|
|
||||||
|
|
||||||
3.5 Hooking into Administration page
|
|
||||||
|
|
||||||
When a user goes to the Administration page, it starts appname/inc/hook_admin.inc.php
|
|
||||||
for each application that is enabled, in alphabetical order
|
|
||||||
of application title. If the file exists, it is include()d
|
|
||||||
in the hopes it will display a selection of links to configure
|
|
||||||
that application.
|
|
||||||
|
|
||||||
Simple Example:
|
|
||||||
|
|
||||||
Look at headlines/inc/hook_admin.inc.php and admin/inc/hook_admin.inc.php
|
|
||||||
for more examples.
|
|
||||||
|
|
||||||
Things to note:
|
|
||||||
|
|
||||||
* Links are relative to the admin/index.php file, not your
|
|
||||||
application's base directory. (so use $appname in your
|
|
||||||
link() calls)
|
|
||||||
|
|
||||||
* The file is brought in with include() so be careful to
|
|
||||||
not pollute the name-space too much
|
|
||||||
|
|
||||||
The standard $GLOBALS['phpgw'] and $GLOBALS['phpgw_info']
|
|
||||||
variables are in-scope, as is $appname which corresponds
|
|
||||||
to the application name in the path.
|
|
||||||
|
|
||||||
There are 2 functions to coordinate the display of each application's
|
|
||||||
links, section_start() and section_end()
|
|
||||||
|
|
||||||
section_start
|
|
||||||
|
|
||||||
section_start($title,$icon_url) starts the section for your
|
|
||||||
application. $title is passed through lang() for you. $icon_url
|
|
||||||
should be page-relative to admin/index.php or an absolute
|
|
||||||
URL.
|
|
||||||
|
|
||||||
section_end
|
|
||||||
|
|
||||||
section_end() closes the section that was started with section_start().
|
|
||||||
|
|
||||||
3.6 Hooking into Preferences page
|
|
||||||
|
|
||||||
The mechanism to hook into the preferences page is identical
|
|
||||||
to the one used to hook into the administration page, however
|
|
||||||
it looks for appname/inc/hook_preferences.inc.php instead
|
|
||||||
of appname/inc/hook_admin.inc.php. The same functions and
|
|
||||||
variables are defined.
|
|
||||||
|
|
||||||
4 Infrastructure
|
|
||||||
|
|
||||||
4.1 Overview
|
|
||||||
|
|
||||||
eGroupWare 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.
|
|
||||||
|
|
||||||
4.2 Directory tree
|
|
||||||
|
|
||||||
.--appname
|
|
||||||
|
|
||||||
| |--inc
|
|
||||||
|
|
||||||
| | |--functions.inc.php
|
|
||||||
|
|
||||||
| | |--header.inc.php
|
|
||||||
|
|
||||||
| | |--hook_preferences.ini.php
|
|
||||||
|
|
||||||
| | |--hook_home.inc.php
|
|
||||||
|
|
||||||
| | `--footer.inc.php
|
|
||||||
|
|
||||||
| |--manual
|
|
||||||
|
|
||||||
| |--setup
|
|
||||||
|
|
||||||
| | |--tables_baseline.inc.php
|
|
||||||
|
|
||||||
| | |--tables_current.inc.php
|
|
||||||
|
|
||||||
| | |--tables_update.inc.php
|
|
||||||
|
|
||||||
| | |--setup.inc.php
|
|
||||||
|
|
||||||
| `--templates
|
|
||||||
|
|
||||||
| | `--default
|
|
||||||
|
|
||||||
| | `--images
|
|
||||||
|
|
||||||
| |
|
|
||||||
`--navbar.png
|
|
||||||
|
|
||||||
| |--preferences.php
|
|
||||||
|
|
||||||
|--docs (installation docs)
|
|
||||||
|
|
||||||
|--files
|
|
||||||
|
|
||||||
| |--groups
|
|
||||||
|
|
||||||
| `--users
|
|
||||||
|
|
||||||
`--phpgwapi
|
|
||||||
|
|
||||||
|--cron (egroupware's optional daemons)
|
|
||||||
|
|
||||||
|--doc (developer docs)
|
|
||||||
|
|
||||||
|--inc
|
|
||||||
|
|
||||||
| |--class.phpgw.inc.php
|
|
||||||
|
|
||||||
| |--class.common.inc.php
|
|
||||||
|
|
||||||
| `--etc..
|
|
||||||
|
|
||||||
|--manual
|
|
||||||
|
|
||||||
|--setup
|
|
||||||
|
|
||||||
| |--tables_baseline.inc.php
|
|
||||||
|
|
||||||
| |--tables_current.inc.php
|
|
||||||
|
|
||||||
| |--tables_update.inc.php
|
|
||||||
|
|
||||||
| |--setup.inc.php
|
|
||||||
|
|
||||||
|--templates
|
|
||||||
|
|
||||||
| |--default
|
|
||||||
|
|
||||||
| | `--images
|
|
||||||
|
|
||||||
| | |--home.gif
|
|
||||||
|
|
||||||
| | `--preferences.gif
|
|
||||||
|
|
||||||
| `--verilak
|
|
||||||
|
|
||||||
| `--images
|
|
||||||
|
|
||||||
|--home.gif
|
|
||||||
|
|
||||||
`--preferences.gif
|
|
||||||
|
|
||||||
`--themes
|
|
||||||
|
|
||||||
`--default.theme
|
|
||||||
|
|
||||||
4.3 Translations
|
|
||||||
|
|
||||||
The translations are now being done thru the database, and
|
|
||||||
will be configurable to use other mechanisms.
|
|
||||||
|
|
||||||
The application, developer_tools, provides developers/translators
|
|
||||||
a nice GUI for building and updating translations.
|
|
||||||
|
|
||||||
5 The API
|
|
||||||
|
|
||||||
5.1 Introduction
|
|
||||||
|
|
||||||
eGroupWare attempts to provide developers with a useful API
|
|
||||||
to handle common tasks.
|
|
||||||
|
|
||||||
To do this we have created a multi-dimensional class $GLOBALS['phpgw'].
|
|
||||||
|
|
||||||
This allows for terrific code organization, and help developers
|
|
||||||
easily identify the file that the function is in. All the
|
|
||||||
files that are part of this class are in the inc/core directory
|
|
||||||
and are named to match the sub-class.
|
|
||||||
|
|
||||||
Example: $GLOBALS['phpgw']->send->msg() is in the inc/phpgwapi/phpgw_send.inc.php
|
|
||||||
file.
|
|
||||||
|
|
||||||
5.2 Basic functions
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->link
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->link($url)
|
|
||||||
Add support for session management. ALL links must use this,
|
|
||||||
that includes href's form actions and header location's.
|
|
||||||
|
|
||||||
If you are just doing a form action back to the same page,
|
|
||||||
you can use it without any parameters.
|
|
||||||
|
|
||||||
This function is right at the core of the class because it
|
|
||||||
is used so often, we wanted to save developers a few keystrokes.
|
|
||||||
Example:
|
|
||||||
|
|
||||||
5.3 Application Functions
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->common->phpgw_header();
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->phpgw_header()
|
|
||||||
Print out the start of the HTML page, including the navigation
|
|
||||||
bar and includes appname/inc/header.php
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->common->phpgw_footer();
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->phpgw_footer()
|
|
||||||
Prints the system footer, and includes appname/inc/footer.php
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->common->appsession();
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->common->appsession($data)
|
|
||||||
Store important information session information that your
|
|
||||||
application needs.
|
|
||||||
$GLOBALS['phpgw']->appsession will return the value of your
|
|
||||||
session data is you leave the parameter empty [i.e. $GLOBALS['phpgw']->appsession("")],
|
|
||||||
otherwise it will store whatever data you send to it.
|
|
||||||
You can also store a comma delimited string and use explode()
|
|
||||||
to turn it back into an array when you receive the value
|
|
||||||
back.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
5.4 File functions
|
|
||||||
|
|
||||||
Please also see the phpgwapi/doc/vfs directory for additional
|
|
||||||
VFS class documentation
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->read_file
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->read_file($file)
|
|
||||||
Returns the data from $file.
|
|
||||||
You must send the complete path to the file.
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->write_file
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->write_file($file, $contents)
|
|
||||||
Write data to $file.
|
|
||||||
You must send the complete path to the file.
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->read_userfile
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->read_userfile($file)
|
|
||||||
Returns the data from $file, which resides in the users
|
|
||||||
private dir.
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->write_userfile
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->write_userfile($file, $contents)
|
|
||||||
Writes data to $file, which resides in the users private
|
|
||||||
dir.
|
|
||||||
Example:
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->list_userfiles
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->vfs->list_userfiles()
|
|
||||||
Returns an array which has the list of files in the users
|
|
||||||
private dir.
|
|
||||||
Example:
|
|
||||||
|
|
||||||
5.5 Email/NNTP Functions
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->send->msg
|
|
||||||
|
|
||||||
$GLOBALS['phpgw']->send->msg($service, $to, $subject, $body,
|
|
||||||
$msgtype, $cc, $bcc)
|
|
||||||
Send a message via email or NNTP and returns any error codes.
|
|
||||||
Example:
|
|
||||||
|
|
||||||
6 Configuration Variables
|
|
||||||
|
|
||||||
6.1 Introduction
|
|
||||||
|
|
||||||
eGroupWare attempts to provide developers with as much information
|
|
||||||
about the user, group, server, and application configuration
|
|
||||||
as possible.
|
|
||||||
|
|
||||||
To do this we provide a multi-dimensional array called '$GLOBALS['phpgw_info'][]',
|
|
||||||
which includes all the information about your environment.
|
|
||||||
|
|
||||||
Due to the multi-dimensional array approach. getting these
|
|
||||||
values is easy.
|
|
||||||
|
|
||||||
Here are some examples:
|
|
||||||
|
|
||||||
6.2 User information
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["userid"]
|
|
||||||
= The user ID.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["sessionid"]
|
|
||||||
= The session ID
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["theme"]
|
|
||||||
= Selected theme
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["private_dir"]
|
|
||||||
= Users private dir. Use eGroupWare core functions for access
|
|
||||||
to the files.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["firstname"]
|
|
||||||
= Users first name
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["lastname"]
|
|
||||||
= Users last name
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["fullname"]
|
|
||||||
= Users Full Name
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["groups"]
|
|
||||||
= Groups the user is a member of
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["app_perms"]
|
|
||||||
= If the user has access to the current application
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["lastlogin"]
|
|
||||||
= Last time the user logged in.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["lastloginfrom"]
|
|
||||||
= Where they logged in from the last time.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["lastpasswd_change"]
|
|
||||||
= Last time they changed their password.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["passwd"]
|
|
||||||
= Hashed password.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["status"]
|
|
||||||
= If the user is enabled.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["logintime"]
|
|
||||||
= Time they logged into their current session.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["session_dla"]
|
|
||||||
= Last time they did anything in their current session
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["user"]["session_ip"]
|
|
||||||
= Current IP address
|
|
||||||
|
|
||||||
6.3 Group information
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["group"]["group_names"]
|
|
||||||
= List of groups.
|
|
||||||
|
|
||||||
6.4 Server information
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["server_root"]
|
|
||||||
= Main installation directory
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["include_root"]
|
|
||||||
= Location of the 'inc' directory.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["temp_dir"]
|
|
||||||
= Directory that can be used for temporarily storing files
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["files_dir"]
|
|
||||||
= Directory er and group files are stored
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["common_include_dir"]
|
|
||||||
= Location of the core/shared include files.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["template_dir"]
|
|
||||||
= Active template files directory. This is defaulted by
|
|
||||||
the server, and changeable by the user.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["dir_separator"]
|
|
||||||
= Allows compatibility with WindowsNT directory format,
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["encrpytkey"]
|
|
||||||
= Key used for encryption functions
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["site_title"]
|
|
||||||
= Site Title will show in the title bar of each webpage.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["webserver_url"]
|
|
||||||
= URL to eGroupWare installation.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["hostname"]
|
|
||||||
= Name of the server eGroupWare is installed upon.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["charset"]
|
|
||||||
= default charset, default:iso-8859-1
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["version"]
|
|
||||||
= eGroupWare version.
|
|
||||||
|
|
||||||
6.5 Database information
|
|
||||||
|
|
||||||
It is unlikely you will need these, because $GLOBALS['phpgw_info']_db
|
|
||||||
will already be loaded as a database for you to use.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["db_host"]
|
|
||||||
= Address of the database server. Usually this is set to
|
|
||||||
localhost.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["db_name"]
|
|
||||||
= Database name.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["db_user"]
|
|
||||||
= User name.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["db_pass"]
|
|
||||||
= Password
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["db_type"]
|
|
||||||
= Type of database. Currently MySQL and PostgreSQL are supported.
|
|
||||||
|
|
||||||
6.6 Mail information
|
|
||||||
|
|
||||||
It is unlikely you will need these, because most email needs
|
|
||||||
are services thru core eGroupWare functions.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["mail_server"]
|
|
||||||
= Address of the IMAP server. Usually this is set to localhost.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["mail_server_type"]
|
|
||||||
= IMAP or POP3
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["imap_server_type"]
|
|
||||||
= Cyrus or Uwash
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["imap_port"]
|
|
||||||
= This is usually 143, and should only be changed if there
|
|
||||||
is a good reason.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["mail_suffix]
|
|
||||||
= This is the domain name, used to add to email address
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["mail_login_type"]
|
|
||||||
= This adds support for VMailMgr. Generally this should
|
|
||||||
be set to 'standard'.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["smtp_server"]
|
|
||||||
= Address of the SMTP server. Usually this is set to localhost.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["smtp_port"]
|
|
||||||
= This is usually 25, and should only be changed if there
|
|
||||||
is a good reason
|
|
||||||
|
|
||||||
6.7 NNTP information
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["nntp_server"]
|
|
||||||
= Address of the NNTP server.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["nntp_port"]
|
|
||||||
= This is usually XX, and should only be changed if there
|
|
||||||
is a good reason.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["nntp_sender"]
|
|
||||||
= Unknown
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["nntp_organization"]
|
|
||||||
= Unknown
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["nntp_admin"]
|
|
||||||
= Unknown
|
|
||||||
|
|
||||||
6.8 Application information
|
|
||||||
|
|
||||||
Each application has the following information available.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["apps"]["appname"]["title"]
|
|
||||||
= The title of the application.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["apps"]["appname"]["enabled"]
|
|
||||||
= If the application is enabled. True or False.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["app_include_dir"]
|
|
||||||
= Location of the current application include files.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["app_template_dir"]
|
|
||||||
= Location of the current application tpl files.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["app_lang_dir"]
|
|
||||||
= Location of the current lang directory.
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["app_auth"]
|
|
||||||
= If the server and current user have access to current
|
|
||||||
application
|
|
||||||
|
|
||||||
$GLOBALS['phpgw_info']["server"]["app_current"]
|
|
||||||
= name of the current application.
|
|
||||||
|
|
||||||
7 Using Language Support
|
|
||||||
|
|
||||||
7.1 Overview
|
|
||||||
|
|
||||||
eGroupWare is built using a multi-language support scheme.
|
|
||||||
This means the pages can be translated to other languages
|
|
||||||
very easily. Translations of text strings are stored in
|
|
||||||
the phpGroupWare database, and can be modified by the eGroupWare
|
|
||||||
administrator.
|
|
||||||
|
|
||||||
Please see the setup/doc directory for a document which contains
|
|
||||||
more complete documentation of the language system.
|
|
||||||
|
|
||||||
7.2 How to use lang support
|
|
||||||
|
|
||||||
The lang() function is your application's interface to eGroupWare's
|
|
||||||
internationalization support.
|
|
||||||
|
|
||||||
While developing your application, just wrap all your text
|
|
||||||
output with calls to lang(), as in the following code: This
|
|
||||||
will attempt to translate "The
|
|
||||||
counter is %1", and return a translated version
|
|
||||||
based on the current application and language in use. Note
|
|
||||||
how the position that $x will end up is controlled by the
|
|
||||||
format string, not by building up the string in your code.
|
|
||||||
This allows your application to be translated to languages
|
|
||||||
where the actual number is not placed at the end of the
|
|
||||||
string.
|
|
||||||
|
|
||||||
When a translation is not found, the original text will be
|
|
||||||
returned with a * after the string. This makes it easy to
|
|
||||||
develop your application, then go back and add missing translations
|
|
||||||
(identified by the *) later.
|
|
||||||
|
|
||||||
Without a specific translation in the lang table, the above
|
|
||||||
code will print: If the current user speaks Italian, they
|
|
||||||
string returned may instead be:
|
|
||||||
|
|
||||||
The lang function
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$key
|
|
||||||
|
|
||||||
is the string to translate and may contain replacement
|
|
||||||
directives of the form %n.
|
|
||||||
|
|
||||||
|
|
||||||
$m1
|
|
||||||
|
|
||||||
is the first replacement value or may be an array of replacement
|
|
||||||
values (in which case $m2 and above are ignored).
|
|
||||||
|
|
||||||
$m2 - $m10
|
|
||||||
|
|
||||||
the 2nd through 10th replacement values if $m1 is not an
|
|
||||||
array.
|
|
||||||
|
|
||||||
The database is searched for rows with a lang.message_id
|
|
||||||
that matches $key. If a translation is not found, the original
|
|
||||||
$key is used. The translation engine then replaces all tokens
|
|
||||||
of the form %N with the Nth parameter (either $m1[N] or
|
|
||||||
$mN).
|
|
||||||
|
|
||||||
Adding translation data
|
|
||||||
|
|
||||||
An application called Transy is being developed to make this
|
|
||||||
easier, until then you can create the translation data manually.
|
|
||||||
|
|
||||||
The lang table
|
|
||||||
|
|
||||||
The translation class uses the lang table for all translations.
|
|
||||||
We are concerned with 4 of the columns to create a translation:
|
|
||||||
|
|
||||||
message_id
|
|
||||||
|
|
||||||
The key to identify the message (the $key passed to the
|
|
||||||
lang() function). This is written in English.
|
|
||||||
|
|
||||||
app_name
|
|
||||||
|
|
||||||
The application the translation applies to, or common if
|
|
||||||
it is common across multiple applications.
|
|
||||||
|
|
||||||
lang
|
|
||||||
|
|
||||||
The code for the language the translation is in.
|
|
||||||
|
|
||||||
content
|
|
||||||
|
|
||||||
The translated string.
|
|
||||||
|
|
||||||
7.3 Common return codes
|
|
||||||
|
|
||||||
If you browse through the eGroupWare sources, you may notice
|
|
||||||
a pattern to the return codes used in the higher-level functions.
|
|
||||||
The codes used are partially documented in the doc/developers/CODES
|
|
||||||
file.
|
|
||||||
|
|
||||||
Codes are used as a simple way to communicate common error
|
|
||||||
and progress conditions back to the user. They are mapped
|
|
||||||
to a text string through the check_code() function, which
|
|
||||||
passes the strings through lang() before returning.
|
|
||||||
|
|
||||||
For example, calling Would print translated into the current
|
|
||||||
language.
|
|
||||||
|
|
||||||
8 Using Templates
|
|
||||||
|
|
||||||
8.1 Overview
|
|
||||||
|
|
||||||
eGroupWare is built using a templates-based design. This
|
|
||||||
means the display pages, stored in tpl files, can be translated
|
|
||||||
to other languages, made to look completely different.
|
|
||||||
|
|
||||||
8.2 How to use templates
|
|
||||||
|
|
||||||
Some instructions on using templates:
|
|
||||||
|
|
||||||
For Further info read the PHPLIBs documentation for their
|
|
||||||
template class. [http://phplib.netuse.de]
|
|
||||||
|
|
||||||
9 About this document
|
|
||||||
|
|
||||||
9.1 New versions
|
|
||||||
|
|
||||||
The newest version of this document can be found on our website
|
|
||||||
as lyx source, HTML, and text.
|
|
||||||
|
|
||||||
9.2 Comments
|
|
||||||
|
|
||||||
Comments on this HOWTO should be directed to the eGroupWare
|
|
||||||
developers mailing list egroupware-developers@lists.sourceforge.net
|
|
||||||
|
|
||||||
To subscribe, go to {http://lists.sourceforge.net/lists/listinfo/egroupware-developers}
|
|
||||||
|
|
||||||
9.3 History
|
|
||||||
|
|
||||||
This document was written by Dan Kuykendall.
|
|
||||||
|
|
||||||
2000-09-25 documentation on lang(), codes, administration
|
|
||||||
and preferences extension added by Steve Brown.
|
|
||||||
|
|
||||||
2001-01-08 fixed directory structure, minor layout changes,
|
|
||||||
imported to lyx source - Darryl VanDorp
|
|
||||||
|
|
||||||
2003-12-29 adapted for eGroupWare and updated for setup and
|
|
||||||
use of GLOBALS - Miles Lott
|
|
||||||
|
|
||||||
9.4 Copyrights and Trademarks
|
|
||||||
|
|
||||||
Copyright (c) Dan Kuykendall. Permission is granted to copy,
|
|
||||||
distribute and/or modify this document under the terms of
|
|
||||||
the GNU Free Documentation License, Version 1.1 or any later
|
|
||||||
version published by the Free Software Foundation.
|
|
||||||
|
|
||||||
A copy of the license is available at [http://www.gnu.org/copyleft/gpl.html]
|
|
||||||
|
|
||||||
9.5 Acknowledgments and Thanks
|
|
||||||
|
|
||||||
Thanks to Joesph Engo for starting phpGroupWare (at the time
|
|
||||||
called webdistro). Thanks to all the developers and users
|
|
||||||
who contribute to making eGroupWare and phpGroupWare such
|
|
||||||
a success.
|
|
@ -1,75 +0,0 @@
|
|||||||
%define packagename phpGroupWare
|
|
||||||
%define phpgwdirname phpgroupware
|
|
||||||
%define version 0.9.9
|
|
||||||
|
|
||||||
# This is for Mandrake RPMS
|
|
||||||
# (move these below the RedHat ones for Mandrake RPMs)
|
|
||||||
%define httpdroot /var/www/html
|
|
||||||
%define packaging 1mdk
|
|
||||||
|
|
||||||
# This is for RedHat RPMS
|
|
||||||
# (move these below the Mandrake ones for RedHat RPMs)
|
|
||||||
%define httpdroot /home/httpd/html
|
|
||||||
%define packaging 1
|
|
||||||
|
|
||||||
Summary: phpGroupWare is a web-based groupware suite written in php.
|
|
||||||
Name: %{packagename}
|
|
||||||
Version: %{version}
|
|
||||||
Release: %{packaging}
|
|
||||||
Copyright: GPL
|
|
||||||
Group: Web/Database
|
|
||||||
URL: http://www.phpgroupware.org/
|
|
||||||
Source0: ftp://ftp.sourceforge.net/pub/sourceforge/phpgroupware/%{packagename}-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{packagename}-buildroot
|
|
||||||
Prefix: %{httpdroot}
|
|
||||||
Buildarch: noarch
|
|
||||||
AutoReq: 0
|
|
||||||
|
|
||||||
%description
|
|
||||||
phpGroupWare is a web-based groupware suite written in PHP. It provides
|
|
||||||
calendar, todo-list, addressbook, email and a notepad. It also
|
|
||||||
provides an API for developing additional applications. See the phpgroupware
|
|
||||||
apps project for add-on apps.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n %{phpgwdirname}
|
|
||||||
|
|
||||||
%build
|
|
||||||
# no build required
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{prefix}/%{phpgwdirname}
|
|
||||||
cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{phpgwdirname}
|
|
||||||
chown -R root:root $RPM_BUILD_ROOT%{prefix}/%{phpgwdirname}
|
|
||||||
chown -R nobody:nobody $RPM_BUILD_ROOT%{prefix}/%{phpgwdirname}/files/groups
|
|
||||||
chown -R nobody:nobody $RPM_BUILD_ROOT%{prefix}/%{phpgwdirname}/files/users
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
|
||||||
|
|
||||||
%postun
|
|
||||||
|
|
||||||
%files
|
|
||||||
%{prefix}/%{phpgwdirname}
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Sat Jan 6 2001 Dan Kuykendall <seek3r@phpgroupware.org> 0.9.9
|
|
||||||
- Upgraded to new 0.9.8 version.
|
|
||||||
- Removed lots of unneeded code that was needed for the pre-beta versions.
|
|
||||||
- Added support for RedHat and Mandrake distro's.
|
|
||||||
- General clean up so that this can be reused by the project
|
|
||||||
|
|
||||||
* Sat Sep 16 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 09072000-2mdk
|
|
||||||
- Add url.
|
|
||||||
- turn off autorequires.
|
|
||||||
- use /var/www.
|
|
||||||
|
|
||||||
* Wed Sep 13 2000 <snailtalk@mandrakesoft.com> 09072000-1mdk
|
|
||||||
- first rpm-zed distribution.
|
|
||||||
- cutom configuration files from Dan Kuykendall.
|
|
||||||
- suggestions on packaging from Dan.
|
|
||||||
|
|
||||||
# end of file
|
|
Loading…
Reference in New Issue
Block a user