Commit Graph

9496 Commits

Author SHA1 Message Date
Cornelius Weiß
5ce8a7b6c9 bugfix cat-admin 2005-05-07 13:08:28 +00:00
Cornelius Weiß
36fbfd7904 bugfix 2005-05-07 12:28:45 +00:00
Oscar Manuel Gómez Senovilla
1cc693567b *** empty log message *** 2005-05-04 22:52:06 +00:00
Ralf Becker
658e1a78c9 form: empty action uses now PHP_SELF?QUERY_STRING 2005-05-03 14:55:24 +00:00
Ralf Becker
434a91f041 allow to use etemplate apps as sitemgr modules:
- extend etemplate's sitemgr_module class and set the $etemplate_method class-var to a method/menuaction of the app
- the app need to return etemplate::exec() (otherwise the content is empty)!!!
- the app need to avoid redirects or links, as this would leave sitemgr!!!
2005-05-02 15:07:37 +00:00
Ralf Becker
ab20fb0a91 fixed translation 2005-05-02 11:38:38 +00:00
Ralf Becker
bdb7f0df1d Tool to change eGW sources automatic to comply with some of the eGW coding rules:
// saves an unnecessary copy
'= CreateObject'           => '=& CreateObject',
'= new'                    => '=& new',
// php5 cloning of the DB object
'= $GLOBALS[\'egw\']->db;' => '= clone($GLOBALS[\'egw\']->db);',
'= $this->db;'             => '= clone($this->db);',
// remove windows lineends (CR)
"\r"                       => '',
// $HTTP_{GET|POST|SERVER}_VARS => $_{GET|POST|SERVER}
$modernize['$HTTP_'.$name.'_VARS'] = '$_'.$name;
$modernize['$GLOBALS[\'HTTP_'.$name.'_VARS\']'] = '$_'.$name;
$modernize['$GLOBALS["HTTP_'.$name.'_VARS"]'] = '$_'.$name;
// phpGW --> eGW
'PHPGW_'	               => 'EGW_',
'$GLOBALS[\'phpgw_info\']' => '$GLOBALS[\'egw_info\']',
'$GLOBALS["phpgw_info"]'   => '$GLOBALS[\'egw_info\']',
'$GLOBALS[\'phpgw\']'      => '$GLOBALS[\'egw\']',
'$GLOBALS["phpgw"]'        => '$GLOBALS[\'egw\']',
'common->phpgw_header'     => 'common->egw_header',
'common->phpgw_footer'     => 'common->egw_footer',
'common->phpgw_exit'       => 'common->egw_exit',
'common->phpgw_final'      => 'common->egw_final',

It also substitutes spaces at the beginning of a line (indetion) with tabs, you need to specify (--remove-space-indention N) the number of spaces to substitute, if it's other then 2.
2005-05-02 10:21:38 +00:00
Miles Lott
2cc1972c51 Converting to new egw arrays 2005-05-01 14:34:59 +00:00
Ralf Becker
72aa737bc4 search: allow aliases in the retrived columns 2005-05-01 11:38:59 +00:00
Miles Lott
622bb81b07 Update to new arrays 2005-04-30 03:27:36 +00:00
Ralf Becker
1dd41c183b applied security relevant patch from nikolaus.jeremic-at-pro-inform.de: checking old password before changeing for a regular user 2005-04-28 13:10:31 +00:00
Ralf Becker
3de0d563ca - fixed horizontal alignment of all box-types
- allow to re-enable (by default) disabled cells, via setting the value for their name in $readonlys to false
- class attribute can be a reference into the content (@) and/or contain vars like $row or $col
2005-04-27 20:53:17 +00:00
Ralf Becker
0476bb0032 fixed not working (first) selection of a filter 2005-04-27 20:48:53 +00:00
Ralf Becker
fa95917fba - get_rows functions now allows to pass a join to the select-function
- fixed the counting of not-left joins (we cant ignore them, nor can we use count(*), we make an unlimited query now and retrive the number of rows with num_rows())
2005-04-27 20:47:34 +00:00
Ralf Becker
483ad2cec4 patch from <tibolist-at-free.fr>:
code logic was wrong and it was using an API method that is
also buggy => in file /egw/phpwgapi/inc/class.common.inc.php the method
cmp_version_long().


1) the code logic:
it get versions for the current app and for the api from file
(app/setup/setup.inc.php) and from DB.
it loops over this 2 apps (app, and api), and set a $_current to true or
false. this variable value is defined by the last app check in the loop
(the API) => then if your API version is up to date, your application
version is also. which was wrong for me. Well in the attached file i
change the code logic.
2005-04-27 07:56:44 +00:00
Ralf Becker
b97d8b5eeb big documentation update 2005-04-25 10:09:10 +00:00
Oscar Manuel Gómez Senovilla
296c82f996 *** empty log message *** 2005-04-24 21:30:37 +00:00
Ralf Becker
1b53dc172b if no left or right header is specified, disable the cell to not create an empty (1 row, 1colum) table 2005-04-24 17:14:41 +00:00
Ralf Becker
756062a477 disable_cells: new param $disable=true to also (re-)enable a cell 2005-04-24 17:13:44 +00:00
Ralf Becker
40526f9b2b - read use now only the unique keys, if no primary key specified
- search: allow to specify the number of rows to return (only the offset was possible before)
- improved hadling of table.*
2005-04-24 17:11:34 +00:00
Ralf Becker
a713f8afac 1) autorepeated colums: only check if the max. column-number, reached so far, is exeeded, otherwise the rows have a differen number of cells and it saved a lot check
2) no <label> tags of readonly widgets or label-widgets
2005-04-22 13:51:59 +00:00
Ralf Becker
9d43446af2 fixed 2 join-related bugs 2005-04-22 13:49:36 +00:00
Miles Lott
c651776aca Fix for bug #1187688 2005-04-22 12:45:23 +00:00
Ralf Becker
5f05d9cae9 search:
- returns reference now
- $order_by param can contain a GROUP BY clause too
- $extra_cols param can contain comma-sep. string now
- fixed reg-expr. to detect column-aliases (was not requiring a space after AS before)
2005-04-20 17:27:48 +00:00
Ralf Becker
7231175d90 added missing overflow attribut for grids 2005-04-20 17:25:06 +00:00
Ralf Becker
658fe2f4c9 allow to pass (already quoted) query-parts as filter 2005-04-19 13:54:55 +00:00
Ralf Becker
5a1de96f03 allow update from 1.0.0.007 2005-04-15 16:34:07 +00:00
Ralf Becker
33d296114f Finnish langfiles from Jussi Siponen - jusiponen-at-users.sf.net 2005-04-15 15:21:52 +00:00
Ralf Becker
b4c9197e20 Russian langfiles from ReklamaLab.RU 2005-04-15 15:03:28 +00:00
Ralf Becker
d6ba225257 fix for not working pam-auth if magic_quotes_gpc is on, as suggested by Robert Theisen <trobert@redhat.com> on the developer list 2005-04-15 14:46:29 +00:00
Ralf Becker
327c0765ea fixed not working charset conversation in setup 2005-04-15 14:01:15 +00:00
Miles Lott
47afabd5b1 missing string identifier 2005-04-15 12:39:26 +00:00
Miles Lott
2c4732fe28 update 2005-04-15 10:27:14 +00:00
Miles Lott
40edc4491f update 2005-04-15 10:26:10 +00:00
Ralf Becker
81628eaf81 Croation translations from Mladen Novosel <mnovosel-AT-info-sol.net> 2005-04-15 10:22:31 +00:00
Ralf Becker
94202f6581 Croation translations from Mladen Novosel <mnovosel-AT-info-sol.net> 2005-04-15 10:18:20 +00:00
Ralf Becker
2bcd5a9f7e NL holidays from Theo Beers <t_beers-AT-ilse.nl> 2005-04-15 06:15:48 +00:00
Ralf Becker
a2e21a1a50 hack to get the planner working again for groups, still not perfect, I need to finish the rewrite ;-) 2005-04-14 22:40:49 +00:00
Ralf Becker
2b1c2a359c small documentation update 2005-04-14 22:36:05 +00:00
Ralf Becker
851439d0d9 using now class set in cells of a VBOX or HBOX 2005-04-14 22:35:24 +00:00
Ralf Becker
3f0a208c6a fixed select-percent: if an extra-label was given (eg. None) it used 0% even if the value was empty or unset, now the extra-label is used 2005-04-14 22:34:13 +00:00
Ralf Becker
046291100a - possebility to disable file-attachments
- allow to overwrite some of the label
2005-04-14 22:14:01 +00:00
Ralf Becker
e2df899c59 - if no content-rows, hiding the last line not the 2.
- removed $loop=false, as it is already intialised and evtl. unsets loops set by other widgets
2005-04-14 22:13:42 +00:00
Ralf Becker
7f74e935bb small fix count(*) in get_rows uses no LIMIT 2005-04-14 22:09:40 +00:00
Ralf Becker
3a479fd54c importing the app.css file of the edited template 2005-04-14 22:08:25 +00:00
Ralf Becker
e047da872f killed a debug-message 2005-04-14 22:06:26 +00:00
Miles Lott
3cfb82e06d Check for array or object on decrypt/unserialize. Return this even if empty. 2005-04-13 13:03:04 +00:00
Ralf Becker
93c063bd6c - applied patch from cornelius Weiss: fixes some probs with xmlrpc too
- small documentation update
2005-04-13 08:53:42 +00:00
Ralf Becker
cedb9b553f - added add function: link to add an already linked new entry (supported only by InfoLog atm.)
- caching the app-register in the session (performance)
- new param for app_list to specify a capability which the returned app have to support, eg. add
2005-04-12 16:39:59 +00:00
Ralf Becker
fff09dbfd3 added function to update the remark 2005-04-12 16:37:04 +00:00