Commit Graph

9557 Commits

Author SHA1 Message Date
Cornelius Weiß
6ae229d703 corrected typho $now_us --> $now_su 2005-05-10 13:38:58 +00:00
Ralf Becker
f5da559e25 fixed typo in last commit 2005-05-08 17:54:05 +00:00
Ralf Becker
5fe6577033 widget-popup: changed version lead to empty template 2005-05-08 07:25:58 +00:00
Ralf Becker
42d7504d30 file contained the "wrong" editor.list_result template 2005-05-08 07:24:58 +00:00
Ralf Becker
be91927a2b file contained the "wrong" editor.list_result template 2005-05-08 07:12:46 +00:00
Carsten Wolff
545742c4ee honor ldap protocol version setting 2005-05-07 20:56:45 +00:00
Ralf Becker
27c12ddf2c 1) many bug-fixes
2) old editor removed
2005-05-07 14:05:10 +00:00
Ralf Becker
31aec3834b 1) width of browser-window is not permanently tracked in etemplate::innerWidth (on each submision of a form and stored in the session, default of 1018 is uses on first time)
2) images can have an imagemap (3. option)
2005-05-07 14:00:06 +00:00
Ralf Becker
f7573b9235 using db::select for read and search, search uses now *,? as wildcard 2005-05-07 13:55:19 +00:00
Cornelius Weiß
414d697a3d don't know how to add popups here... 2005-05-07 13:15:12 +00:00
Cornelius Weiß
b6268740b9 i'm so stupid!!! 2005-05-07 13:09:48 +00:00
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