tutos-commits Mailing List for TUTOS
Projects / CRM / PLM / Calendar / Tasks / SCRUM / Test / Inventory
Brought to you by:
gokohnert
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(13) |
Aug
(214) |
Sep
(144) |
Oct
(22) |
Nov
(22) |
Dec
(93) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(25) |
Feb
(31) |
Mar
(92) |
Apr
(70) |
May
(103) |
Jun
(130) |
Jul
(265) |
Aug
(325) |
Sep
(233) |
Oct
(244) |
Nov
(261) |
Dec
(157) |
2003 |
Jan
(101) |
Feb
(135) |
Mar
(148) |
Apr
(164) |
May
(53) |
Jun
(116) |
Jul
(149) |
Aug
(126) |
Sep
(45) |
Oct
(109) |
Nov
(36) |
Dec
(61) |
2004 |
Jan
(131) |
Feb
(236) |
Mar
(278) |
Apr
(259) |
May
(92) |
Jun
(110) |
Jul
(150) |
Aug
(64) |
Sep
(141) |
Oct
(141) |
Nov
(146) |
Dec
(65) |
2005 |
Jan
(70) |
Feb
(77) |
Mar
(129) |
Apr
(153) |
May
(161) |
Jun
(63) |
Jul
(42) |
Aug
(16) |
Sep
(30) |
Oct
(3) |
Nov
(8) |
Dec
(40) |
2006 |
Jan
(114) |
Feb
(16) |
Mar
(12) |
Apr
(15) |
May
(4) |
Jun
(9) |
Jul
(69) |
Aug
(27) |
Sep
(12) |
Oct
(80) |
Nov
(62) |
Dec
(41) |
2007 |
Jan
(34) |
Feb
(2) |
Mar
(38) |
Apr
(82) |
May
(61) |
Jun
(37) |
Jul
(16) |
Aug
(64) |
Sep
(7) |
Oct
(52) |
Nov
(18) |
Dec
(28) |
2008 |
Jan
(168) |
Feb
(26) |
Mar
(27) |
Apr
(19) |
May
(10) |
Jun
(58) |
Jul
(58) |
Aug
(91) |
Sep
(14) |
Oct
(23) |
Nov
(56) |
Dec
(38) |
2009 |
Jan
(58) |
Feb
(90) |
Mar
(204) |
Apr
(90) |
May
(27) |
Jun
(177) |
Jul
(116) |
Aug
(53) |
Sep
(42) |
Oct
(120) |
Nov
(51) |
Dec
(58) |
2010 |
Jan
(117) |
Feb
(231) |
Mar
(163) |
Apr
(90) |
May
(40) |
Jun
(139) |
Jul
(49) |
Aug
(118) |
Sep
(25) |
Oct
(80) |
Nov
(102) |
Dec
(99) |
2011 |
Jan
(176) |
Feb
(42) |
Mar
(60) |
Apr
(52) |
May
(30) |
Jun
(29) |
Jul
(27) |
Aug
(16) |
Sep
(51) |
Oct
(70) |
Nov
(63) |
Dec
(58) |
2012 |
Jan
(28) |
Feb
(26) |
Mar
(7) |
Apr
(12) |
May
(41) |
Jun
(61) |
Jul
(59) |
Aug
(38) |
Sep
(30) |
Oct
(28) |
Nov
(14) |
Dec
(31) |
2013 |
Jan
(24) |
Feb
(54) |
Mar
(45) |
Apr
(22) |
May
(35) |
Jun
(8) |
Jul
(18) |
Aug
(38) |
Sep
(11) |
Oct
(8) |
Nov
(19) |
Dec
(20) |
2014 |
Jan
(20) |
Feb
(22) |
Mar
(4) |
Apr
(6) |
May
(13) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(6) |
2015 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
(4) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(8) |
Aug
(13) |
Sep
(12) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2021 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
(1) |
3
|
4
|
5
(1) |
6
(1) |
7
|
8
|
9
|
10
|
11
|
12
(5) |
13
(4) |
14
(1) |
15
(1) |
16
(3) |
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
(3) |
25
|
26
(3) |
27
|
28
(29) |
29
|
30
|
31
|
|
|
|
From: Gero K. <gok...@us...> - 2007-10-28 18:54:15
|
Update of /cvsroot/tutos/tutos/php/admin In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7136/admin Modified Files: customize_ins.php Log Message: bugfix Index: customize_ins.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/admin/customize_ins.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- customize_ins.php 13 Jun 2007 11:07:14 -0000 1.3 +++ customize_ins.php 28 Oct 2007 18:54:10 -0000 1.4 @@ -32,7 +32,7 @@ $gotourl= addUrlParameter($gotourl,"lg1=". $_POST['lg1'],true); $gotourl= addUrlParameter($gotourl,"mod=". $_POST['mod'],true); - if ( ! $this->user->isAdmin() ) { + if ( ! $current_user->isAdmin() ) { $msg .= "Only admins are allowed to use this"; } @@ -74,9 +74,9 @@ $i2 = substr($i1,$p1+2); $i1 = substr($i1,0,$p1); if (! is_numeric($i2)) $i2 = "'".$i2."'"; - fwrite($f2,'$lang[\''. $i1 ."'][".$i2."] \t = \"". $f."\";\r\n"); + fwrite($f2,'$lang[\''. $i1 ."'][".$i2."] \t = \"". stripslashes($f) ."\";\r\n"); } else { - fwrite($f2,'$lang[\''. $i1 ."'] \t = \"". $f."\";\r\n"); + fwrite($f2,'$lang[\''. $i1 ."'] \t = \"". stripslashes($f) ."\";\r\n"); } $use2 = true; } @@ -97,11 +97,19 @@ fwrite($f2,"#\r\n"); fwrite($f2,"#\r\n"); + fwrite($f2,"### Local Variables: ***\r\n"); + fwrite($f2,"### mode:iso-accents ***\r\n"); + fwrite($f2,"### coding:utf-8 ***\r\n"); + fwrite($f2,"### End: ***\r\n"); fwrite($f2,"?>\r\n"); fclose($f2); fwrite($f3,"#\r\n"); fwrite($f3,"#\r\n"); + fwrite($f3,"### Local Variables: ***\r\n"); + fwrite($f3,"### mode:iso-accents ***\r\n"); + fwrite($f3,"### coding:utf-8 ***\r\n"); + fwrite($f3,"### End: ***\r\n"); fwrite($f3,"?>\r\n"); fclose($f3); |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:14
|
Update of /cvsroot/tutos/tutos/php/report-engine In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/report-engine Modified Files: report_overview.php Log Message: new css_class for different types of pages Index: report_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/report-engine/report_overview.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- report_overview.php 30 Aug 2007 09:35:19 -0000 1.6 +++ report_overview.php 28 Oct 2007 18:34:07 -0000 1.7 @@ -1,6 +1,6 @@ <?php /** - * Copyright 2004 - 2005 by Gero Kohnert + * Copyright 2004 - 2007 by Gero Kohnert * * 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 @@ -75,8 +75,10 @@ Function prepare() { global $lang,$tutos; - $this->obj = new report($this->dbconn); $this->name = $lang['ReportOverview']; + $this->css_class = 'overviewbox'; + + $this->obj = new report($this->dbconn); if (isset($_GET['id'])) { $this->obj->rep_obj_id = $_GET['id']; $this->obj->rep_obj = getObject( $this->dbconn,$this->obj->rep_obj_id ); @@ -98,4 +100,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:12
|
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php Modified Files: message_overview.php module_overview.php Log Message: new css_class for different types of pages Index: message_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/message_overview.php,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- message_overview.php 12 Jun 2005 09:19:25 -0000 1.19 +++ message_overview.php 28 Oct 2007 18:34:06 -0000 1.20 @@ -1,6 +1,7 @@ <?php /** * Copyright 2001 Boris Wesslowski + * Copyright 2001 - 2007 Gero Kohnert * * 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 @@ -28,7 +29,7 @@ global $lang,$tutos; $query = "SELECT * FROM ". $this->dbconn->prefix ."messages ORDER by ts"; -# $query = "select x.* from (". $query . ") as x limit ". $tutos[maxshow] .",0"; +# $query = "select x.* from (". $query . ") as x limit ". $tutos[maxshow] .",0"; $result = $this->dbconn->Exec($query); $n = $result->numrows(); @@ -55,7 +56,7 @@ echo "</thead>\n"; echo "<tbody>\n"; - $line = 0; + $line = 0; while ( ($a < $n) && ($a < $end) ) { echo $this->OverviewRowStart($line); echo " <td>". $result->get($a, 'ts') ."</td>\n"; @@ -71,8 +72,8 @@ $result->free(); } /** - * naviagte - */ + * naviagte + */ Function navigate() { global $lang; @@ -83,12 +84,14 @@ echo "</td></tr>"; } /** - * prepare - */ + * prepare + */ Function prepare() { global $lang,$msg; $this->name = "Messages"; + $this->css_class = 'overviewbox'; + $this->link1 = "message_overview.php"; if ( ! $this->user->isadmin()) { @@ -105,4 +108,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file Index: module_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/module_overview.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- module_overview.php 3 Apr 2005 18:31:53 -0000 1.6 +++ module_overview.php 28 Oct 2007 18:34:06 -0000 1.7 @@ -1,6 +1,6 @@ <?php /** - * Copyright 2004 - 2005 by Gero Kohnert + * Copyright 2004 - 2007 by Gero Kohnert * * 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 @@ -153,6 +153,8 @@ global $msg,$lang,$tutos; $this->name = $lang['AdminModOverview']; + $this->css_class = 'overviewbox'; + $this->url = "http://www.tutos.org/modules.php"; $this->mods = array(); $this->infos = array(); |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:10
|
Update of /cvsroot/tutos/tutos/php/stuff In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/stuff Modified Files: stuff_overview.php Log Message: new css_class for different types of pages Index: stuff_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/stuff/stuff_overview.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- stuff_overview.php 23 Nov 2006 08:57:34 -0000 1.5 +++ stuff_overview.php 28 Oct 2007 18:34:07 -0000 1.6 @@ -1,6 +1,6 @@ <?php /* - * Copyright 2004 - 2006 by Gero Kohnert + * Copyright 2004 - 2007 by Gero Kohnert * * 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 @@ -106,6 +106,7 @@ global $msg,$lang,$tutos; $this->name = $lang['StuffOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(usestuff,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); @@ -148,4 +149,4 @@ $l = new stuff_overview($current_user); $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:10
|
Update of /cvsroot/tutos/tutos/php/drawboard In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/drawboard Modified Files: drawboard_overview.php Log Message: new css_class for different types of pages Index: drawboard_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/drawboard/drawboard_overview.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- drawboard_overview.php 27 Jan 2005 16:42:46 -0000 1.2 +++ drawboard_overview.php 28 Oct 2007 18:34:06 -0000 1.3 @@ -1,6 +1,6 @@ <?php /* - * Copyright 2004 by Gero Kohnert + * Copyright 2004 - 2007 by Gero Kohnert * * @modulegroup drawboard * @module drawboard_overview @@ -68,6 +68,8 @@ global $msg,$lang,$tutos; $this->name = $lang['DrawboardOverview']; + $this->css_class = 'overviewbox'; + $this->dlist = array(); for($i=0; $i < $tutos['drawboard']['count'] ; $i++) { $obj = new drawboard($this->dbconn); @@ -101,4 +103,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:10
|
Update of /cvsroot/tutos/tutos/php/ldap In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/ldap Modified Files: ldap_overview.php Log Message: new css_class for different types of pages Index: ldap_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/ldap/ldap_overview.php,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- ldap_overview.php 17 Apr 2005 18:17:02 -0000 1.13 +++ ldap_overview.php 28 Oct 2007 18:34:07 -0000 1.14 @@ -1,6 +1,6 @@ <?php /** - * Copyright 2001 - 2005 by Gero Kohnert + * Copyright 2001 - 2007 by Gero Kohnert * * 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 @@ -286,6 +286,8 @@ global $msg,$tutos,$lang; $this->name = $lang['LDAPOverview']; + $this->css_class = 'overviewbox'; + $this->obj = new ldap($this->dbconn); if ( isset($_GET['sv']) ) { # remember this @@ -365,4 +367,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:10
|
Update of /cvsroot/tutos/tutos/php/ticker In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/ticker Modified Files: ticker_overview.php Log Message: new css_class for different types of pages Index: ticker_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/ticker/ticker_overview.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- ticker_overview.php 30 Apr 2005 09:36:31 -0000 1.9 +++ ticker_overview.php 28 Oct 2007 18:34:07 -0000 1.10 @@ -1,7 +1,7 @@ <?php /** * (C) Boris Wesslowski 2002-03-03 - * exteded and adapted by Gero Kohnert 2002 - 2005 + * exteded and adapted by Gero Kohnert 2002 - 2007 * * 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 @@ -76,6 +76,8 @@ global $msg,$lang; $this->name = $lang['NewsTicker']; + $this->css_class = 'overviewbox'; + if ( ! $this->user->feature_ok(useticker,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],$lang['NewsTicker']); $this->stop = true; |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:10
|
Update of /cvsroot/tutos/tutos/php/url In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/url Modified Files: url_overview.php Log Message: new css_class for different types of pages Index: url_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/url/url_overview.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- url_overview.php 24 Jul 2006 15:34:08 -0000 1.9 +++ url_overview.php 28 Oct 2007 18:34:07 -0000 1.10 @@ -1,6 +1,10 @@ <?php /** - * Copyright 2003 - 2004 by Gero Kohnert + * Copyright 2003 - 2007 by Gero Kohnert + * + * 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; version 2 of the License. * * display a overview o some urls * @@ -149,6 +153,7 @@ global $msg,$lang; $this->name = $lang['URLOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(useurl,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:10
|
Update of /cvsroot/tutos/tutos/php/checklist In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/checklist Modified Files: checkfield_overview.php checklist_overview.php Log Message: new css_class for different types of pages Index: checklist_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/checklist/checklist_overview.php,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- checklist_overview.php 24 Jul 2006 15:34:07 -0000 1.18 +++ checklist_overview.php 28 Oct 2007 18:34:06 -0000 1.19 @@ -1,7 +1,7 @@ <?php /** * Checklist: Copyright 2002 by Markus Leist under GNU GPL - * TUTOS: Copyright 1999 - 2002 by Gero Kohnert + * TUTOS: Copyright 1999 - 2007 by Gero Kohnert * * 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 @@ -163,6 +163,7 @@ global $msg,$lang; $this->name = $lang['Checklist']; + $this->css_class = 'overviewbox'; $this->link1 = "checklist/checklist_overview.php"; $this->q = "SELECT * FROM ". $this->dbconn->prefix ."checklists"; @@ -189,4 +190,4 @@ $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file Index: checkfield_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/checklist/checkfield_overview.php,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- checkfield_overview.php 2 Jan 2007 19:59:57 -0000 1.27 +++ checkfield_overview.php 28 Oct 2007 18:34:06 -0000 1.28 @@ -236,6 +236,7 @@ } else { $this->name = $lang['ChecklistDetail']; } + $this->css_class = 'overviewbox'; $this->checklistID = -1; $this->link1 = "checklist/checkfield_overview.php"; |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:10
|
Update of /cvsroot/tutos/tutos/html In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/html Modified Files: default.css Log Message: new css_class for different types of pages Index: default.css =================================================================== RCS file: /cvsroot/tutos/tutos/html/default.css,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- default.css 26 Oct 2007 18:18:18 -0000 1.8 +++ default.css 28 Oct 2007 18:34:06 -0000 1.9 @@ -72,6 +72,26 @@ background-color: #d8d8d8; } +.selectbox { + padding-left: 60px; + padding-top: 30px; + vertical-align: top; +} + +.showbox { + padding-left: 1px; + padding-top: 1px; + vertical-align: top; +} + +.overviewbox { + padding-left: 5px; + padding-top: 5px; + padding-right: 5px; + vertical-align: top; +} + + ul.sortable li { position: relative; } |
From: Gero K. <gok...@us...> - 2007-10-28 18:34:09
|
Update of /cvsroot/tutos/tutos/php/reminder In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30696/php/reminder Modified Files: reminder_overview.php Log Message: new css_class for different types of pages Index: reminder_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/reminder/reminder_overview.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- reminder_overview.php 24 Jul 2006 15:34:08 -0000 1.16 +++ reminder_overview.php 28 Oct 2007 18:34:07 -0000 1.17 @@ -1,6 +1,6 @@ <?php /** - * Copyright 2004 - 2005 by Gero Kohnert + * Copyright 2004 - 2007 by Gero Kohnert * * 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 @@ -75,9 +75,9 @@ echo "<td valign=\"top\">". ($c->to >0 ? $c->to->getLink(): $lang['HistoryDeleted']) ."</td>\n"; echo "<td valign=\"top\">". myentities($c->desc) ." </td>\n"; echo "<td valign=\"top\">". $lang[$c->ref->getType()] ." ". $c->ref->getLink(); - if ($c->type != REMINDER_SIMPLE) { - echo "<br />\n". $c->getEventName(); - } + if ($c->type != REMINDER_SIMPLE) { + echo "<br />\n". $c->getEventName(); + } echo " </td>\n"; echo "<td valign=\"top\">"; @@ -160,6 +160,7 @@ global $msg,$lang,$tutos; $this->name = $lang['ReminderOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(usereminder,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); @@ -216,4 +217,4 @@ $l = new reminder_overview($current_user); $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:07
|
Update of /cvsroot/tutos/tutos/php/watchlist In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/watchlist Modified Files: watchlist_overview.php Log Message: new css_class for different types of pages Index: watchlist_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/watchlist/watchlist_overview.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- watchlist_overview.php 28 Dec 2006 20:23:44 -0000 1.28 +++ watchlist_overview.php 28 Oct 2007 16:16:37 -0000 1.29 @@ -1,6 +1,6 @@ <?php /** - * Copyright 2001 - 2006 by Gero Kohnert + * Copyright 2001 - 2007 by Gero Kohnert * * 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 @@ -203,6 +203,8 @@ global $msg,$lang; $this->name = $lang['WatchOverview']; + $this->css_class = 'overviewbox'; + $this->link1 = "watchlist/watchlist_overview.php"; $this->filter = array(); $this->adr = -1; |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:07
|
Update of /cvsroot/tutos/tutos/php/mapquest In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/mapquest Modified Files: map_select.php Log Message: new css_class for different types of pages Index: map_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/mapquest/map_select.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- map_select.php 2 Jan 2007 19:59:58 -0000 1.6 +++ map_select.php 28 Oct 2007 16:16:36 -0000 1.7 @@ -30,8 +30,6 @@ Function info() { global $lang; - echo "<br /><br />\n"; - echo "<form id=\"mapselect\" name=\"mapselect\" target=\"map\" action=\"http://www.mapquest.com/maps/map.adp\" method=\"get\">\n"; $this->addHidden("link","btwn/twn-map_results"); $this->addHidden("random","1168"); @@ -86,6 +84,7 @@ $this->name = $lang['MapSearch']; $this->center = true; + $this->css_class = 'selectbox'; $this->obj = new location($this->dbconn); if ( isset($_GET['id']) ) { |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/reminder In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/reminder Modified Files: reminder_select.php Log Message: new css_class for different types of pages Index: reminder_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/reminder/reminder_select.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- reminder_select.php 2 Jan 2007 19:59:59 -0000 1.4 +++ reminder_select.php 28 Oct 2007 16:16:36 -0000 1.5 @@ -31,8 +31,6 @@ Function info() { global $lang; - echo "<br /><br />\n"; - echo "<form id=\"remindersearch\" name=\"remindersearch\" method=\"get\" action=\"reminder_overview.php\">\n"; echo DoubleTableStart(); echo "<tr>\n"; @@ -63,6 +61,7 @@ $this->name = $lang['ReminderSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(usereminder,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
Update of /cvsroot/tutos/tutos/php In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221 Modified Files: acl_overview.php address_overview.php address_select.php app_overview.php app_select.php company_overview.php database_overview.php product_overview.php product_select.php res_cal_select.php task.pinc task_overview.php task_select.php task_show.php team_overview.php team_select.php timetrack.pinc timetrack_overview.php timetrack_select.php user_overview.php webelements.p3 Log Message: new css_class for different types of pages Index: acl_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/acl_overview.php,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- acl_overview.php 13 Oct 2007 19:55:28 -0000 1.53 +++ acl_overview.php 28 Oct 2007 16:16:34 -0000 1.54 @@ -50,12 +50,12 @@ $query->setTable($this->xtype); $query->addFld("DISTINCT id"); $query->addOrder("id","ASC"); - } else { + } else { $query->setTable($this->dbconn->prefix ."acl"); $query->addFld("DISTINCT obj_id","id"); $query->addWC("obj_id",0,"INT",">"); $query->addOrder("obj_id","ASC"); - } + } $query->addRange($this->start,$tutos[maxshow]); $result = $query->runSelect(); @@ -97,22 +97,22 @@ $a++; if ( $this->type == "" ) { $obj = new tutos_base($this->dbconn); - if ($g != "") { + if ($g != "") { $obj->id = $g; // delete the acl set acl_delete_obj($obj); - } - if ($tutos[debug] == 1) { + } + if ($tutos[debug] == 1) { $line++; echo $this->OverviewRowStart($line); echo '<td colspan="'.(6 + $tutos[massupdate]) .'">removed invalid entry:'. $g ."</td>\n"; echo $this->OverviewRowEnd($line); - } + } } - unset($obj); + unset($obj); continue; } - $n2 = count($obj->acl); + $n2 = count($obj->acl); $line++; echo $this->OverviewRowStart($line); echo "<td align=\"right\" rowspan=\"". max($n2,1) ."\">". ($a +1) ."</td>\n"; @@ -170,7 +170,7 @@ echo "? (".$p.")"; } echo "</td>\n"; -# echo "X |". $this->user->p[$obj->gettypeid()]."| ".$obj->gettypeid(); +# echo "X |". $this->user->p[$obj->gettypeid()]."| ".$obj->gettypeid(); if ( $b == 0 ) { if ( $tutos[massupdate] == 1 ) { echo " <td rowspan=\"". $n2 ."\" align=\"center\">"; @@ -187,7 +187,7 @@ } } echo $this->OverviewRowEnd($line); - unset($o); + unset($o); $b++; } } @@ -250,10 +250,10 @@ $this->dbconn->Begin("WORK"); foreach ($_GET['mark'] as $key => $val) { $b = getObject($this->dbconn,$val); - if ( ! is_subclass_of($b,'tutos_base') ) { + if ( ! is_subclass_of($b,'tutos_base') ) { $msg .= "Unknown object: ". $val; continue; - } + } if ( $b->id != $val ) { continue; } @@ -277,6 +277,8 @@ global $msg,$tutos,$lang; $this->name = $lang['ACLOverview']; + $this->css_class = 'overviewbox'; + $this->link1 = "acl_overview.php"; $this->type = ""; $this->xtype = ""; @@ -298,12 +300,12 @@ } if ( isset($_GET['start']) && ($_GET['start'] != "") ) { $this->addHidden("start",$_GET['start']); - } + } if ( isset($_GET['maxshow']) && ($_GET['maxshow'] != "") ) { $tutos[maxshow] = $_GET['maxshow']; $this->addHidden("maxshow",$_GET['maxshow']); $this->link1 = addUrlParameter($this->link1,"maxshow=".$_GET['maxshow']); - } + } if ( $this->user->admin == 0) { $msg .= sprintf($lang['Err0022'],$lang['ACLOverview']); $this->stop = true; @@ -319,4 +321,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file Index: task.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/task.pinc,v retrieving revision 1.187 retrieving revision 1.188 diff -u -d -r1.187 -r1.188 --- task.pinc 26 Oct 2007 18:18:19 -0000 1.187 +++ task.pinc 28 Oct 2007 16:16:35 -0000 1.188 @@ -1097,7 +1097,7 @@ $autoname = ""; } echo " <td class=\"task". $this->state . "\" valign=\"top\" colspan=\"2\" nowrap=\"nowrap\"> ". - ($project != -1 ? $project->getLink() : "DTC") ." → ". + (is_object($project) ? $project->getLink() : "DTC") ." → ". $this->getLink($this->getFullName() . $autoname) ." </td>\n"; } break; @@ -1383,6 +1383,21 @@ } } /** + * create a link to a select page + */ + function getSelectLink (&$user,$text = "") { + global $lang,$tutos; + if ( ! $user->feature_ok(usetaskmanagement,PERM_SEL) ) { + return; + } + return array( url => "task_select.php", + image => timetrack::getHtmlIcon(), + text => ($text == "" ? $lang['Search']: $text), + info => $lang['SearchForTask'], + category => array("search","task","obj") + ); + } + /** * create a link where a note to for the given object could be added */ function getaddlink (&$user,&$obj,$text = "") { @@ -1592,4 +1607,4 @@ return $r; } } -?> +?> \ No newline at end of file Index: app_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_overview.php,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- app_overview.php 16 Dec 2006 13:08:16 -0000 1.63 +++ app_overview.php 28 Oct 2007 16:16:34 -0000 1.64 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert * * 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 @@ -195,6 +195,8 @@ global $lang,$msg; $this->name = $lang['AppointOverview']; + $this->css_class = 'overviewbox'; + $this->link1 = "app_overview.php"; $this->filter = array(); $this->filter['name'] = ""; @@ -342,4 +344,4 @@ $l = new app_overview($current_user); $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file Index: database_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/database_overview.php,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- database_overview.php 24 Jul 2006 15:34:04 -0000 1.22 +++ database_overview.php 28 Oct 2007 16:16:35 -0000 1.23 @@ -1,6 +1,14 @@ <?php /** - * Copyright 1999 - 2001 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert + * + * 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; version 2 of the License. + * + * CVS Info: $Id$ + * $Author$ + * */ include("webelements.p3"); include("permission.p3"); @@ -64,7 +72,7 @@ echo "<td valign=\"top\">". $c->host ." </td>"; echo "<td valign=\"top\">". $c->tlist[$c->type] ."</td>"; echo $this->OverviewRowEnd($line++); - unset($c); + unset($c); } echo "</tbody>\n"; @@ -83,6 +91,8 @@ global $msg,$lang; $this->name = $lang['DBOverview']; + $this->css_class = 'overviewbox'; + $this->link1 = "database_overview.php"; $this->q = "SELECT * FROM ". $this->dbconn->prefix ."tutos_dbs"; $pre = " WHERE "; @@ -118,4 +128,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file Index: timetrack_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/timetrack_select.php,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- timetrack_select.php 2 Jan 2007 19:59:56 -0000 1.25 +++ timetrack_select.php 28 Oct 2007 16:16:35 -0000 1.26 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert * * 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 @@ -29,7 +29,6 @@ Function info() { global $lang , $tutos; - echo "<br /><br /><center>\n"; echo "<form id=\"ttsearch\" name=\"ttsearch\" action=\"timetrack_overview.php\" method=\"get\">\n"; echo DoubleTableStart(); @@ -84,7 +83,7 @@ echo DoubleTableEnd(); echo hiddenFormElements(); echo "</form>\n"; - echo "</center>\n"; + echo $this->setfocus("ttsearch.name"); } /** @@ -99,9 +98,13 @@ global $lang; $this->name = $lang['TimetrackSearch']; + $this->center = true; + $this->css_class = 'selectbox'; + if ( ! $this->user->feature_ok(usetimetrack,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); $this->stop = true; + return; } # Defaults for search Index: app_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/app_select.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- app_select.php 2 Jan 2007 19:59:56 -0000 1.28 +++ app_select.php 28 Oct 2007 16:16:34 -0000 1.29 @@ -29,8 +29,6 @@ Function info() { global $lang,$tutos; - echo "<br /><br />\n"; - echo "<form id=\"appsearch\" name=\"appsearch\" action=\"app_overview.php\" method=\"get\">\n"; echo DoubleTableStart(); @@ -101,6 +99,7 @@ $this->name = $lang['AppsSearch']; $this->center = true; + $this->css_class = 'selectbox'; # Defaults for search $this->asfd = new TUTOS_Date_Time(0); Index: team_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/team_overview.php,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- team_overview.php 15 Aug 2007 12:03:59 -0000 1.57 +++ team_overview.php 28 Oct 2007 16:16:35 -0000 1.58 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert * * 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 @@ -173,6 +173,7 @@ global $lang; $this->name = $lang['TeamOverview']; + $this->css_class = 'overviewbox'; $this->link1 = "team_overview.php"; $this->q = "SELECT * FROM ". $this->dbconn->prefix ."teams"; @@ -232,4 +233,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file Index: timetrack_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/timetrack_overview.php,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- timetrack_overview.php 28 Aug 2007 10:44:24 -0000 1.101 +++ timetrack_overview.php 28 Oct 2007 16:16:35 -0000 1.102 @@ -497,6 +497,7 @@ global $msg,$tutos,$lang; $this->name = $lang['TimetrackOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(usetimetrack,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); Index: team_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/team_select.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- team_select.php 2 Jan 2007 19:59:56 -0000 1.7 +++ team_select.php 28 Oct 2007 16:16:35 -0000 1.8 @@ -30,8 +30,6 @@ Function info() { global $lang,$tutos; - echo "<br /><br />\n"; - echo "<form id=\"teamsearch\" name=\"teamsearch\" method=\"get\" action=\"team_overview.php\">\n"; echo DoubleTableStart(); @@ -66,6 +64,8 @@ $this->name = $lang['TeamSearch']; $this->center = true; + $this->css_class = 'selectbox'; + if ( ! $this->user->feature_ok(useteams,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); $this->stop = true; @@ -89,4 +89,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file Index: webelements.p3 =================================================================== RCS file: /cvsroot/tutos/tutos/php/webelements.p3,v retrieving revision 1.314 retrieving revision 1.315 diff -u -d -r1.314 -r1.315 --- webelements.p3 24 Oct 2007 06:21:13 -0000 1.314 +++ webelements.p3 28 Oct 2007 16:16:35 -0000 1.315 @@ -600,9 +600,12 @@ /** * The start of a double table */ -Function DoubleTableStart($innersp = 0, $innerpad = 2) { +Function DoubleTableStart($innersp = 0, $innerpad = 2,$class = '') { $r = ''; - $r .= "<table class=\"outer\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\"><tr><td>\n"; + if ($class != '') { + $class = ' '.trim($class); + } + $r .= "<table class=\"outer". $class ."\" border=\"0\" cellpadding=\"1\" cellspacing=\"0\"><tr><td>\n"; $r .= "<table class=\"inner\" border=\"0\" cellpadding=\"". $innerpad ."\" cellspacing=\"". $innersp ."\">\n"; return $r; } Index: task_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_select.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- task_select.php 2 Jan 2007 19:59:56 -0000 1.5 +++ task_select.php 28 Oct 2007 16:16:35 -0000 1.6 @@ -29,7 +29,6 @@ Function info() { global $lang , $tutos; - echo "<br /><br />\n"; echo "<form id=\"tasksearch\" name=\"tasksearch\" action=\"task_overview.php\" method=\"get\">\n"; echo DoubleTableStart(); @@ -100,10 +99,12 @@ $this->name = $lang['TaskSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(usetaskmanagement,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); $this->stop = true; + return; } # Defaults for search @@ -136,4 +137,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file Index: product_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_select.php,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- product_select.php 22 Aug 2007 17:35:17 -0000 1.35 +++ product_select.php 28 Oct 2007 16:16:35 -0000 1.36 @@ -28,10 +28,7 @@ Function info() { global $lang; - echo "<br /><br />\n"; - echo " <form id=\"prodsearch1\" name=\"prodsearch1\" method=\"get\" action=\"product_overview.php\">\n"; - echo hiddenFormElements(); echo DoubleTableStart(); echo "<tr>\n"; @@ -80,6 +77,7 @@ echo "</tr>\n"; echo DoubleTableEnd(); + echo hiddenFormElements(); echo " </form>\n"; echo $this->setfocus("prodsearch1.name"); } @@ -97,6 +95,7 @@ $this->name = $lang['ProductsSearch']; $this->center = true; + $this->css_class = 'selectbox'; # Defaults for search $this->from = new TUTOS_Date_Time(0); Index: product_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/product_overview.php,v retrieving revision 1.119 retrieving revision 1.120 diff -u -d -r1.119 -r1.120 --- product_overview.php 13 Oct 2007 19:55:28 -0000 1.119 +++ product_overview.php 28 Oct 2007 16:16:35 -0000 1.120 @@ -748,6 +748,7 @@ global $msg,$lang,$tutos,$table; $this->name = $lang['ProductsOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(useprojects,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); Index: address_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_overview.php,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- address_overview.php 19 Nov 2006 17:44:42 -0000 1.51 +++ address_overview.php 28 Oct 2007 16:16:34 -0000 1.52 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert * * 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 @@ -116,6 +116,7 @@ global $msg,$tutos,$lang; $this->name = $lang['AddressOverview']; + $this->css_class = 'overviewbox'; adr_tool_init($this->atool,$this->ashow); if ( $this->user->layout->checkGuiIcons() && count($this->user->get_preficons(1)) ) { @@ -306,4 +307,4 @@ $l = new address_overview($current_user); $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file Index: address_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/address_select.php,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- address_select.php 2 Jan 2007 19:59:56 -0000 1.40 +++ address_select.php 28 Oct 2007 16:16:34 -0000 1.41 @@ -28,8 +28,6 @@ Function info() { global $lang, $tutos; - echo "<br /><br />\n"; - echo "<form id=\"adrsearch1\" name=\"adrsearch1\" method=\"GET\" action=\"address_overview.php\">\n"; echo DoubleTableStart(); echo "<tr>\n"; @@ -138,6 +136,7 @@ $this->name = $lang['AddressSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(useaddressbook,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); Index: task_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_overview.php,v retrieving revision 1.87 retrieving revision 1.88 diff -u -d -r1.87 -r1.88 --- task_overview.php 26 Oct 2007 18:18:19 -0000 1.87 +++ task_overview.php 28 Oct 2007 16:16:35 -0000 1.88 @@ -444,8 +444,10 @@ Function prepare() { global $msg,$lang,$tutos; - $this->fld = ""; $this->name = $lang['TaskOverview']; + $this->css_class = 'overviewbox'; + + $this->fld = ""; $this->start = new TUTOS_Date_Time(0); $this->end = new TUTOS_Date_Time(0); $this->search = ""; Index: user_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/user_overview.php,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- user_overview.php 19 Nov 2006 09:26:44 -0000 1.31 +++ user_overview.php 28 Oct 2007 16:16:35 -0000 1.32 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert * * 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 @@ -207,6 +207,7 @@ global $msg,$tutos,$lang; $this->name = $lang['UserOverview']; + $this->css_class = 'overviewbox'; if ( $this->user->admin == 0 ) { $msg .= "<span class=\"warn\">Only admins are allowed to see this</span><br />\n"; Index: company_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/company_overview.php,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- company_overview.php 4 Apr 2007 19:14:34 -0000 1.51 +++ company_overview.php 28 Oct 2007 16:16:34 -0000 1.52 @@ -90,7 +90,7 @@ foreach($c->list[usedepartment] as $i => $f) { if ( $x > 1 ) { echo $this->OverviewRowStart($a); - } + } echo "<td> ". $f->getLink($f->name) ."</td>\n"; if ( ($x == 1) && ($tutos[massupdate] == 1) ) { @@ -104,7 +104,7 @@ } echo $this->OverviewRowEnd($a); - $x++; + $x++; } if ( $x == 1 ) { echo "<td> </td>\n"; @@ -135,7 +135,7 @@ } echo $this->OverviewTableEnd(); - echo $this->actionformEnd("company_overview.php"); + echo $this->actionformEnd("company_overview.php"); $this->result->free(); } /** @@ -157,13 +157,13 @@ $c = $c->read($val,$c); if ( $c->id != $val ) { continue; - } + } if ( $c->del_ok() ) { $msg .= sprintf($lang['CompanyDelInfo'], $c->getFullName()) ."<br />"; $msg .= $c->delete(); - } else { + } else { $msg .= $c->getLink() .": ". sprintf($lang['Err0023'],$lang[$c->getType()]) ."<br />\n"; - } + } unset($c); } $this->dbconn->Commit("WORK"); @@ -178,6 +178,7 @@ global $msg,$lang; $this->name = $lang['CompanyOverview']; + $this->css_class = 'overviewbox'; $this->link1 = "company_overview.php"; $this->link2 = "company_overview.php"; @@ -209,7 +210,7 @@ $c->read_result($this->result,0); $this->redirect = "company_show.php?id=".$c->id; $this->result->free(); - } + } } # menu $x = tutos_address::getSelectLink($this->user,$lang['AddressSearch']); @@ -221,11 +222,11 @@ category => array("company","new","obj") ); $this->addMenu($x); - } + } } } $l = new company_overview($current_user); $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file Index: timetrack.pinc =================================================================== RCS file: /cvsroot/tutos/tutos/php/timetrack.pinc,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- timetrack.pinc 2 Oct 2007 06:16:54 -0000 1.85 +++ timetrack.pinc 28 Oct 2007 16:16:35 -0000 1.86 @@ -652,7 +652,7 @@ return $x; } /** - * create a link to a overview page + * create a link to a select page */ function getSelectLink (&$user,$text = "") { global $lang,$tutos; Index: task_show.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/task_show.php,v retrieving revision 1.84 retrieving revision 1.85 diff -u -d -r1.84 -r1.85 --- task_show.php 16 Aug 2007 07:52:47 -0000 1.84 +++ task_show.php 28 Oct 2007 16:16:35 -0000 1.85 @@ -300,6 +300,9 @@ } # menu + $x = task::getSelectLink($this->user,$lang['Search']); + $this->addMenu($x); + $x = task::getaddlink($this->user,$this->obj->parent,$lang['NewEntry']); $this->addMenu($x); @@ -326,6 +329,8 @@ $x = timetrack::getaddlink($this->user,$this->obj); $this->addMenu($x); + + add_module_addlinks($this,$this->obj); # add this page to the browsehistory of the users session Index: res_cal_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/res_cal_select.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- res_cal_select.php 2 Jan 2007 19:59:56 -0000 1.4 +++ res_cal_select.php 28 Oct 2007 16:16:35 -0000 1.5 @@ -25,10 +25,7 @@ Function info() { global $lang; - echo "<br /><br />\n"; - echo "<form id=\"res_cal_sel\" name=\"res_cal_sel\" method=\"get\" action=\"res_cal.php\">\n"; - echo hiddenFormElements(); echo DoubleTableStart(); echo "<tr>\n"; echo " <th colspan=\"3\">". "RESCAL".$this->base->getLink() ."</th>\n"; @@ -83,6 +80,7 @@ echo "</tr>\n"; echo DoubleTableEnd(); + echo hiddenFormElements(); echo $this->getHidden(); echo "</form>\n"; @@ -102,6 +100,8 @@ $this->name = $lang['ResCal']; $this->center = true; + $this->css_class = 'selectbox'; + if ( isset($_GET['id']) ) { $this->addHidden("id",$_GET['id']); if ($_GET['id'] == 0 ) { |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/url In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/url Modified Files: url_select.php Log Message: new css_class for different types of pages Index: url_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/url/url_select.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- url_select.php 2 Jan 2007 19:59:59 -0000 1.4 +++ url_select.php 28 Oct 2007 16:16:37 -0000 1.5 @@ -33,8 +33,6 @@ Function info() { global $lang,$tutos; - echo "<br /><br />\n"; - echo "<form id=\"urlsearch\" name=\"urlsearch\" method=\"get\" action=\"url_overview.php\">\n"; echo DoubleTableStart(); @@ -69,6 +67,7 @@ $this->name = $lang['URLSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(useurl,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/expense In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/expense Modified Files: expense_overview.php expense_select.php Log Message: new css_class for different types of pages Index: expense_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/expense/expense_overview.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- expense_overview.php 16 Aug 2007 12:07:14 -0000 1.10 +++ expense_overview.php 28 Oct 2007 16:16:35 -0000 1.11 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert and ECOsoft.net + * Copyright 1999 - 2007 by Gero Kohnert and ECOsoft.net * * 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 @@ -238,6 +238,7 @@ global $msg,$lang; $this->name = $lang['ExpensesOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(useexpenses,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); Index: expense_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/expense/expense_select.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- expense_select.php 2 Jan 2007 19:59:57 -0000 1.6 +++ expense_select.php 28 Oct 2007 16:16:35 -0000 1.7 @@ -31,8 +31,6 @@ Function info() { global $tutos,$lang; - echo "<br /><br />\n"; - echo "<form id=\"expensesearch\" name=\"expensesearch\" method=\"get\" action=\"expense_overview.php\">\n"; if ( $this->ext == false ) { $this->addHidden("reftype",0); @@ -128,6 +126,7 @@ $this->name = $lang['ExpenseSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(useexpenses,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/note In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/note Modified Files: note_overview.php note_select.php Log Message: new css_class for different types of pages Index: note_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/note/note_overview.php,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- note_overview.php 2 Jan 2007 19:59:58 -0000 1.45 +++ note_overview.php 28 Oct 2007 16:16:36 -0000 1.46 @@ -1,6 +1,6 @@ <?php /* - * Copyright 1999 - 2006 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert * submitted by "Nonn" <nonn at resce.com> * * This program is free software; you can redistribute it and/or modify it @@ -180,6 +180,7 @@ global $msg,$lang; $this->name = $lang['NotesOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(usenotes,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); Index: note_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/note/note_select.php,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- note_select.php 2 Jan 2007 19:59:58 -0000 1.17 +++ note_select.php 28 Oct 2007 16:16:36 -0000 1.18 @@ -32,8 +32,6 @@ Function info() { global $tutos,$lang; - echo "<br /><br />\n"; - echo "<form id=\"notesearch\" name=\"notesearch\" method=\"get\" action=\"note_overview.php\">\n"; if ( $this->ext == false ) { $this->addHidden("reftype",0); @@ -129,6 +127,7 @@ $this->name = $lang['NoteSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(usenotes,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/group In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/group Modified Files: group_overview.php group_select.php Log Message: new css_class for different types of pages Index: group_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/group/group_overview.php,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- group_overview.php 18 Jan 2007 11:51:31 -0000 1.26 +++ group_overview.php 28 Oct 2007 16:16:35 -0000 1.27 @@ -147,6 +147,7 @@ global $msg,$lang,$tutos; $this->name = $lang['GroupOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(usegroups,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); @@ -194,4 +195,4 @@ $l = new group_overview($current_user); $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file Index: group_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/group/group_select.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- group_select.php 2 Jan 2007 19:59:58 -0000 1.6 +++ group_select.php 28 Oct 2007 16:16:35 -0000 1.7 @@ -31,8 +31,6 @@ Function info() { global $lang,$tutos; - echo "<br /><br/>\n"; - echo "<form id=\"groupsearch\" name=\"groupsearch\" method=\"get\" action=\"group_overview.php\">\n"; echo hiddenFormElements(); echo DoubleTableStart(); @@ -67,6 +65,7 @@ $this->name = $lang['GroupSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(usegroups,PERM_SEL) ) { $this->stop = true; |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/bugtracking In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/bugtracking Modified Files: bug_overview.php bug_select.php Log Message: new css_class for different types of pages Index: bug_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bugtracking/bug_overview.php,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- bug_overview.php 2 Jan 2007 19:59:57 -0000 1.28 +++ bug_overview.php 28 Oct 2007 16:16:35 -0000 1.29 @@ -614,6 +614,7 @@ } else { $this->name = $lang['BugsOverview']; } + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(usebugtracking,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); @@ -954,4 +955,4 @@ $l = new bug_overview($current_user); $l->display(); $dbconn->Close(); -?> +?> \ No newline at end of file Index: bug_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/bugtracking/bug_select.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- bug_select.php 2 Jan 2007 19:59:57 -0000 1.9 +++ bug_select.php 28 Oct 2007 16:16:35 -0000 1.10 @@ -32,8 +32,6 @@ Function info() { global $lang,$tutos; - echo "<br /><br />\n"; - echo "<form id=\"bugsearch\" name=\"bugsearch\" method=\"get\" action=\"bug_overview.php\">\n"; echo DoubleTableStart(); @@ -107,6 +105,7 @@ $this->name = $lang['BugsSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(usebugtracking,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/stuff In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/stuff Modified Files: stuff_select.php Log Message: new css_class for different types of pages Index: stuff_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/stuff/stuff_select.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- stuff_select.php 2 Jan 2007 19:59:59 -0000 1.3 +++ stuff_select.php 28 Oct 2007 16:16:37 -0000 1.4 @@ -31,8 +31,6 @@ Function info() { global $tutos,$lang; - echo "<br /><br />\n"; - echo "<form id=\"stuffsearch\" name=\"stuffsearch\" method=\"get\" action=\"stuff_overview.php\">\n"; echo DoubleTableStart(); @@ -67,6 +65,7 @@ $this->name = $lang['StuffSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(usestuff,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/map24 In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/map24 Modified Files: map_select.php Log Message: new css_class for different types of pages Index: map_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/map24/map_select.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- map_select.php 2 Jan 2007 19:59:58 -0000 1.7 +++ map_select.php 28 Oct 2007 16:16:36 -0000 1.8 @@ -32,8 +32,6 @@ Function info() { global $lang; - echo "<br /><br />\n"; - echo "<form name=\"mapselect\" target=\"map\" action=\"http://". MAP24_SERVER2 ."\" method=\"get\">\n"; # $this->addHidden("link","btwn/twn-map_results"); # $this->addHidden("maptype","JAVA"); @@ -95,6 +93,8 @@ $this->name = $lang['MapSearch']; $this->center = true; + $this->css_class = 'selectbox'; + $this->obj = new location($this->dbconn); if ( isset($_GET['id']) ) { $this->obj = $this->obj->read($_GET['id'],$this->obj); |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/rate In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/rate Modified Files: rate_overview.php rate_select.php Log Message: new css_class for different types of pages Index: rate_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/rate/rate_overview.php,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- rate_overview.php 16 Dec 2006 13:08:28 -0000 1.15 +++ rate_overview.php 28 Oct 2007 16:16:36 -0000 1.16 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert and ecosoft + * Copyright 1999 - 2007 by Gero Kohnert and ecosoft * * 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 @@ -213,6 +213,7 @@ global $msg,$lang; $this->name = $lang['RatesOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(userates,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); Index: rate_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/rate/rate_select.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- rate_select.php 2 Jan 2007 19:59:59 -0000 1.6 +++ rate_select.php 28 Oct 2007 16:16:36 -0000 1.7 @@ -31,8 +31,6 @@ Function info() { global $tutos,$lang; - echo "<br /><br />\n"; - echo "<form id=\"ratesearch\" name=\"ratesearch\" method=\"get\" action=\"rate_overview.php\">\n"; if ( $this->ext == false ) { $this->addHidden("reftype",0); @@ -119,6 +117,7 @@ $this->name = $lang['RateSearch']; $this->center = true; + $this->css_class = 'selectbox'; if ( ! $this->user->feature_ok(userates,PERM_SEL) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/resource In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/resource Modified Files: resource_overview.php resource_select.php Log Message: new css_class for different types of pages Index: resource_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource/resource_overview.php,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- resource_overview.php 13 Jun 2007 10:44:01 -0000 1.23 +++ resource_overview.php 28 Oct 2007 16:16:37 -0000 1.24 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert + * Copyright 1999 - 2007 by Gero Kohnert * * 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 @@ -152,7 +152,7 @@ global $msg,$lang; $this->name = $lang['ResOverview']; - +0 if ( ! $this->user->feature_ok(useresource,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); $this->stop = true; @@ -199,4 +199,4 @@ <!-- CVS Info: $Id$ $Author$ ---> +--> \ No newline at end of file Index: resource_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/resource/resource_select.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- resource_select.php 2 Jan 2007 19:59:59 -0000 1.8 +++ resource_select.php 28 Oct 2007 16:16:37 -0000 1.9 @@ -31,10 +31,7 @@ Function info() { global $lang,$tutos; - echo "<br /><br/>\n"; - echo "<form id=\"ressearch\" name=\"ressearch\" method=\"get\" action=\"resource_overview.php\">\n"; - echo hiddenFormElements(); echo DoubleTableStart(); echo "<tr>\n"; @@ -71,6 +68,7 @@ } echo "</tr>\n"; echo DoubleTableEnd(); + echo hiddenFormElements(); echo "</form>\n"; echo $this->setfocus("ressearch.name"); @@ -88,6 +86,7 @@ $this->name = $lang['ResSearch']; $this->center = true; + $this->css_class = 'selectbox'; $this->ext = 0; if ( ! $this->user->feature_ok(useresource,PERM_SEL) ) { |
From: Gero K. <gok...@us...> - 2007-10-28 16:17:06
|
Update of /cvsroot/tutos/tutos/php/file In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7221/file Modified Files: file_overview.php file_select.php Log Message: new css_class for different types of pages Index: file_select.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/file/file_select.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- file_select.php 2 Jan 2007 19:59:57 -0000 1.9 +++ file_select.php 28 Oct 2007 16:16:35 -0000 1.10 @@ -31,8 +31,6 @@ Function info() { global $lang,$tutos; - echo "<br /><br/>\n"; - echo "<form id=\"filesearch\" name=\"filesearch\" method=\"get\" action=\"file_overview.php\">\n"; echo hiddenFormElements(); echo DoubleTableStart(); @@ -88,6 +86,7 @@ $this->name = $lang['FileSearch']; $this->center = true; + $this->css_class = 'selectbox'; $this->ext = 0; # Defaults for search Index: file_overview.php =================================================================== RCS file: /cvsroot/tutos/tutos/php/file/file_overview.php,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- file_overview.php 2 Jan 2007 19:59:57 -0000 1.24 +++ file_overview.php 28 Oct 2007 16:16:35 -0000 1.25 @@ -1,6 +1,6 @@ <?php /** - * Copyright 1999 - 2006 by Gero Kohnert & MEGA.COM.PL + * Copyright 1999 - 2007 by Gero Kohnert & MEGA.COM.PL * * 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 @@ -183,6 +183,7 @@ global $msg,$lang,$tutos; $this->name = $lang['FileOverview']; + $this->css_class = 'overviewbox'; if ( ! $this->user->feature_ok(usedocmanagement,PERM_SEE) ) { $msg .= sprintf($lang['Err0022'],"'". $this->name ."'"); |