You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(20) |
Aug
(21) |
Sep
(12) |
Oct
(2) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
(46) |
Mar
(65) |
Apr
(49) |
May
(33) |
Jun
(5) |
Jul
(79) |
Aug
(228) |
Sep
(347) |
Oct
(272) |
Nov
(270) |
Dec
(424) |
2005 |
Jan
(549) |
Feb
(232) |
Mar
(134) |
Apr
(103) |
May
(57) |
Jun
(74) |
Jul
(67) |
Aug
(45) |
Sep
(99) |
Oct
(187) |
Nov
(238) |
Dec
(127) |
2006 |
Jan
(81) |
Feb
(137) |
Mar
(46) |
Apr
(55) |
May
(62) |
Jun
(152) |
Jul
(137) |
Aug
(154) |
Sep
(176) |
Oct
(104) |
Nov
(65) |
Dec
(64) |
2007 |
Jan
(56) |
Feb
(303) |
Mar
(88) |
Apr
(80) |
May
(72) |
Jun
(20) |
Jul
(47) |
Aug
(28) |
Sep
(113) |
Oct
(49) |
Nov
(89) |
Dec
(24) |
2008 |
Jan
(24) |
Feb
(61) |
Mar
(43) |
Apr
(51) |
May
(12) |
Jun
(10) |
Jul
(49) |
Aug
(26) |
Sep
(7) |
Oct
(50) |
Nov
(19) |
Dec
(15) |
2009 |
Jan
(87) |
Feb
(144) |
Mar
(54) |
Apr
(72) |
May
(32) |
Jun
(23) |
Jul
(27) |
Aug
(90) |
Sep
(349) |
Oct
(174) |
Nov
(320) |
Dec
(110) |
2010 |
Jan
(162) |
Feb
(39) |
Mar
(80) |
Apr
(126) |
May
(45) |
Jun
(44) |
Jul
(75) |
Aug
(32) |
Sep
(100) |
Oct
(57) |
Nov
(49) |
Dec
(125) |
2011 |
Jan
(72) |
Feb
(41) |
Mar
(63) |
Apr
(18) |
May
(123) |
Jun
(100) |
Jul
(96) |
Aug
(84) |
Sep
(83) |
Oct
(39) |
Nov
(166) |
Dec
(103) |
2012 |
Jan
(158) |
Feb
(148) |
Mar
(77) |
Apr
(43) |
May
(126) |
Jun
(82) |
Jul
(67) |
Aug
(28) |
Sep
(109) |
Oct
(30) |
Nov
(23) |
Dec
(34) |
2013 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
(79) |
May
(76) |
Jun
(13) |
Jul
(76) |
Aug
(36) |
Sep
(22) |
Oct
(35) |
Nov
(167) |
Dec
(93) |
2014 |
Jan
(64) |
Feb
(14) |
Mar
(57) |
Apr
(63) |
May
(60) |
Jun
(15) |
Jul
(24) |
Aug
(19) |
Sep
(56) |
Oct
(70) |
Nov
(45) |
Dec
(52) |
2015 |
Jan
(56) |
Feb
(73) |
Mar
(34) |
Apr
(11) |
May
(24) |
Jun
(19) |
Jul
(11) |
Aug
(8) |
Sep
(25) |
Oct
(22) |
Nov
(38) |
Dec
(7) |
2016 |
Jan
(7) |
Feb
(34) |
Mar
(17) |
Apr
(10) |
May
(17) |
Jun
(7) |
Jul
(17) |
Aug
(31) |
Sep
(3) |
Oct
(34) |
Nov
(5) |
Dec
(2) |
2017 |
Jan
|
Feb
(4) |
Mar
(18) |
Apr
(6) |
May
(10) |
Jun
(13) |
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
(1) |
2018 |
Jan
(2) |
Feb
|
Mar
(3) |
Apr
(10) |
May
(5) |
Jun
|
Jul
(7) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(2) |
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
(3) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2022 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(30) |
Nov
|
Dec
(2) |
From: Jesse P. <je...@st...> - 2004-09-05 04:19:18
|
>> That would be a great help re internationalization. One question on this... I saw that you asked that this be done: >> echo "<P>A long string full of $NumberOfCharacters characters"; >> would need to be re-written as: >> echo '<P>' . _('A long string full of') . ' ' . $NumberOfCharacters . ' >> ' . _('characters'); It makes perfect senses and is easy to follow. I also do not know gettext much at all. The root of what I am wondering is if php evaluates a variable in a "num = $TheNum" style string before gettext translates it or not. If not, it would probably make things a lot easier on potential translators to work with: _("A long string full of $NumberOfCharacters characters"); instead of: _('A long string full of') . ' ' . $NumberOfCharacters . ' ' . _('characters'); Luckily our code keeper is committed to readable code, so the variable name should generally describe what it is. That would give a translator 2 things - more full context to what they are translating and one less translation to do. I also know languages just enough to know that piecing together english translations in the manner underway does not necessarily produce coherent output. The more a message can be presented with context, the better the translation will be. Just a thought - not sure how feasible it is... jesse |
From: Jesse P. <je...@st...> - 2004-09-05 03:49:03
|
Good to know other scripts should be working. I did send a message to say I found that my setup did not work till I added the 'enctype' FORM var - that's with a pretty standard php/apache/linux install and both IE & Mozilla clients. I can't imagine including it would break anything else that may be working now. jesse Phil Daintree wrote: >I have it working in all scripts to my knowelege albeit I have not >tested the file input stuff. > >Phil > >On Sun, 2004-09-05 at 10:13, Jesse Peterson wrote: > > >>Phil, >>I've made it back around to fixing things... I just pulled the current >>cvs (and realized exactly how long it'd been since I did that). First >>things I noticed is that the file upload in GoodsReceivedControlled.php >>is not working. In the last list message I saw about this stuff you >>mentioned that InputSerialItems.php was causing problems in some scripts... >>I'm going to start poking around and see what's up - if I missed >>something (like you've globally disabled file stuff somehow) , let me >>know where it stands so I can start mucking around. While I'm at it I'll >>see if I can remember to make the changes for internationalization that >>you guys have been discussing. >> >> >>jesse >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by BEA Weblogic Workshop >>FREE Java Enterprise J2EE developer tools! >>Get your free copy of BEA WebLogic Workshop 8.1 today. >>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>_______________________________________________ >>Web-erp-developers mailing list >>Web...@li... >>https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >_______________________________________________ >Web-erp-developers mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Phil D. <we...@pa...> - 2004-09-05 02:55:35
|
I have it working in all scripts to my knowelege albeit I have not tested the file input stuff. Phil On Sun, 2004-09-05 at 10:13, Jesse Peterson wrote: > Phil, > I've made it back around to fixing things... I just pulled the current > cvs (and realized exactly how long it'd been since I did that). First > things I noticed is that the file upload in GoodsReceivedControlled.php > is not working. In the last list message I saw about this stuff you > mentioned that InputSerialItems.php was causing problems in some scripts... > I'm going to start poking around and see what's up - if I missed > something (like you've globally disabled file stuff somehow) , let me > know where it stands so I can start mucking around. While I'm at it I'll > see if I can remember to make the changes for internationalization that > you guys have been discussing. > > > jesse > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Daintrees <p.d...@pa...> - 2004-09-05 02:26:01
|
Good to hear from you Jesse. I am afraid I chopped a bunch of stuff in MiscFunctions preferring to have stuff all laid out in full - I like to know where a variable came from so GET and POST add context for me. I have not disabled the file upload stuff nor have I tested it this is your baby! That would be a great help re internationalisation. Thanks Phil ----- Original Message ----- From: "Jesse Peterson" <je...@st...> To: <web...@li...> Sent: Sunday, September 05, 2004 10:13 AM Subject: [Web-erp-developers] file imports for serial items > Phil, > I've made it back around to fixing things... I just pulled the current > cvs (and realized exactly how long it'd been since I did that). First > things I noticed is that the file upload in GoodsReceivedControlled.php > is not working. In the last list message I saw about this stuff you > mentioned that InputSerialItems.php was causing problems in some scripts... > I'm going to start poking around and see what's up - if I missed > something (like you've globally disabled file stuff somehow) , let me > know where it stands so I can start mucking around. While I'm at it I'll > see if I can remember to make the changes for internationalization that > you guys have been discussing. > > > jesse > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Jesse P. <je...@st...> - 2004-09-05 00:31:35
|
Well, I see why they didn't work, at least in my setup. The form did not have enctype="multipart/form-data" . I'll start doing testing to see if it breaks things anywhere, let me know if you have any recollections about it that will help. jesse Jesse Peterson wrote: > Phil, > I've made it back around to fixing things... I just pulled the current > cvs (and realized exactly how long it'd been since I did that). First > things I noticed is that the file upload in > GoodsReceivedControlled.php is not working. In the last list message I > saw about this stuff you mentioned that InputSerialItems.php was > causing problems in some scripts... > I'm going to start poking around and see what's up - if I missed > something (like you've globally disabled file stuff somehow) , let me > know where it stands so I can start mucking around. While I'm at it > I'll see if I can remember to make the changes for > internationalization that you guys have been discussing. > > > jesse > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Jesse P. <je...@st...> - 2004-09-04 22:44:18
|
Phil, one other thing... I thought I'd added some init functions for get & post and form vars in MiscFunctions.php ... I thought those were kept, but I don't see them in there. Did I never give them to you or do you chop them? they are below for reference... jesse //Clean init of a POST var function initPvar($name,$defval=""){ if (isset($_POST[$name])){ $val = $_POST[$name]; } else { $val = $defval; } return $val; } //Clean init of a GET var function initGvar($name, $defval=""){ if (isset($_GET[$name])){ $val = $_GET[$name]; } else { $val = $defval; } return $val; } //Clean Init of a Form Var. Precendence => check POST, then GET - you shouldn't do both anyways! function initFvar($name, $defval=""){ $val = initPvar($name, $defval); if ($val == ""){ $val = initGvar($name, $defval); } return $val; } |
From: Jesse P. <je...@st...> - 2004-09-04 22:14:20
|
Phil, I've made it back around to fixing things... I just pulled the current cvs (and realized exactly how long it'd been since I did that). First things I noticed is that the file upload in GoodsReceivedControlled.php is not working. In the last list message I saw about this stuff you mentioned that InputSerialItems.php was causing problems in some scripts... I'm going to start poking around and see what's up - if I missed something (like you've globally disabled file stuff somehow) , let me know where it stands so I can start mucking around. While I'm at it I'll see if I can remember to make the changes for internationalization that you guys have been discussing. jesse |
From: Phil D. <we...@pa...> - 2004-09-04 10:36:04
|
Input type=hidden is just a way of holding a value in a html form that gets posted with the other data in the form but is not displayed. Since it is not displayed there is no need to worry about wrapping the Yes in a _() function. Thanks very much for contributing. Phil On Sat, 2004-09-04 at 20:29, Victor wrote: > Hi Phil, > > Thanks! Actually, I am still not sure whether I need to change the code on > lines 201 and 310 for "INPUT TYPE=HIDDEN" and the "VALUE='Yes'" as I do not > fully understand the html language. > I will try the conversion for the two scripts you suggested and send them > back to you on Monday. > > Thanks! > > Victor > > ----- Original Message ----- > From: "Phil Daintree" <we...@pa...> > To: "Victor" <vi...@hi...>; > <web...@li...> > Sent: Saturday, September 04, 2004 1:30 PM > Subject: Re: Converted Customers.php for multi-language support > > > > Perfect! > > I notice you have even changed to single ' to improve performance! > > > > I have committed this to the CVS. > > > > Many thanks! > > > > Could I impose on you for a few more scripts? > > > > CustomerReceipt.php > > CustomerTransInquiry.php > > > > Thanks > > > > Phil > > > > On Sat, 2004-09-04 at 01:02, Victor wrote: > > > Hi Phil, > > > > > > It seems that Customers.php is not a difficult script to be converted > > > for multi-language support. > > > Therefore I have made the conversion. Please take a look and let me > > > know whether there is any mistake. > > > > > > Regards, > > > Victor > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Victor <vi...@hi...> - 2004-09-04 08:26:36
|
Hi Phil, Thanks! Actually, I am still not sure whether I need to change the code on lines 201 and 310 for "INPUT TYPE=HIDDEN" and the "VALUE='Yes'" as I do not fully understand the html language. I will try the conversion for the two scripts you suggested and send them back to you on Monday. Thanks! Victor ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: "Victor" <vi...@hi...>; <web...@li...> Sent: Saturday, September 04, 2004 1:30 PM Subject: Re: Converted Customers.php for multi-language support > Perfect! > I notice you have even changed to single ' to improve performance! > > I have committed this to the CVS. > > Many thanks! > > Could I impose on you for a few more scripts? > > CustomerReceipt.php > CustomerTransInquiry.php > > Thanks > > Phil > > On Sat, 2004-09-04 at 01:02, Victor wrote: > > Hi Phil, > > > > It seems that Customers.php is not a difficult script to be converted > > for multi-language support. > > Therefore I have made the conversion. Please take a look and let me > > know whether there is any mistake. > > > > Regards, > > Victor > |
From: Phil D. <we...@pa...> - 2004-09-04 05:30:06
|
Perfect! I notice you have even changed to single ' to improve performance! I have committed this to the CVS. Many thanks! Could I impose on you for a few more scripts? CustomerReceipt.php CustomerTransInquiry.php Thanks Phil On Sat, 2004-09-04 at 01:02, Victor wrote: > Hi Phil, > > It seems that Customers.php is not a difficult script to be converted > for multi-language support. > Therefore I have made the conversion. Please take a look and let me > know whether there is any mistake. > > Regards, > Victor |
From: Daintrees <p.d...@pa...> - 2004-09-03 21:46:29
|
thanks Steve ----- Original Message ----- From: "skaill" <sk...@ro...> To: <web...@li...> Sent: Saturday, September 04, 2004 1:38 AM Subject: Re: [Web-erp-developers] Re: Fw: Window Resize > Hi Phil, > > There is a problem with the latest cvs. It is in session.inc and is related > to the following new change: > > From > if (!function_exists('_')){ > function _ ($text){ > return $text; > } > } > > To > if (!function_exists('gettext')){ > function _($text){ > return gettext($text); > } > } > > If gettext does not exist then gettext cannot be returned. > > Steve > > ----- Original Message ----- > From: "Phil Daintree" <we...@pa...> > To: <web...@li...> > Sent: Friday, September 03, 2004 2:36 AM > Subject: Re: [Web-erp-developers] Re: Fw: Window Resize > > > > OK - have updated the upgrade script as suggested. > > > > Phil > > > > On Thu, 2004-09-02 at 23:02, skaill wrote: > > > Hi Phil, > > > > > > You may want to add a sql statement in the update to put defaults into > all > > > existing users for the new user fields. When I first came up I didn't > have > > > a css until I set one in User Settings. Theme should probably also have > a > > > default in the table of "professional". > > > > > > Steve > > > > > > ----- Original Message ----- > > > From: "Phil Daintree" <we...@pa...> > > > To: <web...@li...> > > > Sent: Sunday, August 29, 2004 12:50 PM > > > Subject: [Web-erp-developers] Re: Fw: Window Resize > > > > > > > > > > Steve, > > > > > > > > Many hearty thanks for your latest contributions - it feels absolutely > > > > great not to be on my own with this anymore! > > > > > > > > I included the lot of it with just a couple of mods. I put language in > > > > the user settings script and made it look up the available directories > > > > for theme and language rather than hard coding them. As discussed I > > > > didn't see the requirement for the enable javascript option - this may > > > > be my understanding - and I was not keen on the small / two storey > quick > > > > links. I used the user name as the link to user settings. > > > > > > > > The scripts that didnt display properly I resolved by including > > > > footer.inc and removing the </body></html> from these. > > > > > > > > I changed references to mysql specific functions to the DB abstraction > > > > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = > 1; > > > > where there was a new search - an error was returned where the > previous > > > > page offset was too big for a smaller recordset returned with a new > > > > search. Got into trouble with SelectProduct.php a bit you may want to > > > > have another look but I couldnt get it to select an item. I eventually > > > > got it working somewhat but its a bit of a hack with a check to make > > > > sure the pageoffset is beyond the max - this caused an error > > > > > > > > if ($_POST['PageOffset']>$ListPageMax){ > > > > $_POST['PageOffset'] = $ListPageMax; > > > > } > > > > > > > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > > > > Next and Previous. > > > > > > > > I also tried to encapsulate all the strings in _("string") for > > > > multi-language. > > > > > > > > I do like the diff file to work through what was actually changed it > > > > saves a massive amount of work really - so thanks for making it so > easy! > > > > > > > > > > > > If you'd like to, please do add some comment about your contributions > in > > > > a comment at the start of the script. > > > > > > > > Phil > > > > > > > > > A bit of java for the help may be very useful. It is a real pain > and > > > > > confusing for many users to have the help appear full screen in > > > > > browser. Here's some code for Help.php that would do it if you > > > > > want... > > > > > > > > > > <?php > > > > > /* $Revision: 1.5 $ */ > > > > > > > > > > if (isset($_GET['Title'])){ > > > > > $HelpPageTitle = $_GET['Title']; > > > > > }elseif(isset($_POST['HelpPageTitle'])){ > > > > > $HelpPageTitle = $_POST['HelpPageTitle']; > > > > > } > > > > > > > > > > $title = "Help On " . $HelpPageTitle; > > > > > > > > > > $PageSecurity = 1; > > > > > > > > > > include("includes/session.inc"); > > > > > include("includes/header.inc"); > > > > > include('includes/htmlMimeMail.php'); > > > > > ?> > > > > > > > > > > <script language="JavaScript" type="text/javascript"> > > > > > <!-- > > > > > // resize window > > > > > window.resizeTo(900,500); > > > > > window.moveTo(15,200); > > > > > //--> > > > > > </script> > > > > > > > > > > <?php > > > > > if (isset($_GET['Page'])){ > > > > > $Page = $_GET['Page']; > > > > > } elseif (isset($_POST['Page'])){ > > > > > $Page = $_POST['Page']; > > > > > } > > > > > ... > > > > > > > > > > Steve > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > > FREE Java Enterprise J2EE developer tools! > > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > > _______________________________________________ > > > > Web-erp-developers mailing list > > > > Web...@li... > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > _______________________________________________ > > > Web-erp-developers mailing list > > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: skaill <sk...@ro...> - 2004-09-03 13:37:49
|
Hi Phil, There is a problem with the latest cvs. It is in session.inc and is related to the following new change: From if (!function_exists('_')){ function _ ($text){ return $text; } } To if (!function_exists('gettext')){ function _($text){ return gettext($text); } } If gettext does not exist then gettext cannot be returned. Steve ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: <web...@li...> Sent: Friday, September 03, 2004 2:36 AM Subject: Re: [Web-erp-developers] Re: Fw: Window Resize > OK - have updated the upgrade script as suggested. > > Phil > > On Thu, 2004-09-02 at 23:02, skaill wrote: > > Hi Phil, > > > > You may want to add a sql statement in the update to put defaults into all > > existing users for the new user fields. When I first came up I didn't have > > a css until I set one in User Settings. Theme should probably also have a > > default in the table of "professional". > > > > Steve > > > > ----- Original Message ----- > > From: "Phil Daintree" <we...@pa...> > > To: <web...@li...> > > Sent: Sunday, August 29, 2004 12:50 PM > > Subject: [Web-erp-developers] Re: Fw: Window Resize > > > > > > > Steve, > > > > > > Many hearty thanks for your latest contributions - it feels absolutely > > > great not to be on my own with this anymore! > > > > > > I included the lot of it with just a couple of mods. I put language in > > > the user settings script and made it look up the available directories > > > for theme and language rather than hard coding them. As discussed I > > > didn't see the requirement for the enable javascript option - this may > > > be my understanding - and I was not keen on the small / two storey quick > > > links. I used the user name as the link to user settings. > > > > > > The scripts that didnt display properly I resolved by including > > > footer.inc and removing the </body></html> from these. > > > > > > I changed references to mysql specific functions to the DB abstraction > > > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = 1; > > > where there was a new search - an error was returned where the previous > > > page offset was too big for a smaller recordset returned with a new > > > search. Got into trouble with SelectProduct.php a bit you may want to > > > have another look but I couldnt get it to select an item. I eventually > > > got it working somewhat but its a bit of a hack with a check to make > > > sure the pageoffset is beyond the max - this caused an error > > > > > > if ($_POST['PageOffset']>$ListPageMax){ > > > $_POST['PageOffset'] = $ListPageMax; > > > } > > > > > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > > > Next and Previous. > > > > > > I also tried to encapsulate all the strings in _("string") for > > > multi-language. > > > > > > I do like the diff file to work through what was actually changed it > > > saves a massive amount of work really - so thanks for making it so easy! > > > > > > > > > If you'd like to, please do add some comment about your contributions in > > > a comment at the start of the script. > > > > > > Phil > > > > > > > A bit of java for the help may be very useful. It is a real pain and > > > > confusing for many users to have the help appear full screen in > > > > browser. Here's some code for Help.php that would do it if you > > > > want... > > > > > > > > <?php > > > > /* $Revision: 1.5 $ */ > > > > > > > > if (isset($_GET['Title'])){ > > > > $HelpPageTitle = $_GET['Title']; > > > > }elseif(isset($_POST['HelpPageTitle'])){ > > > > $HelpPageTitle = $_POST['HelpPageTitle']; > > > > } > > > > > > > > $title = "Help On " . $HelpPageTitle; > > > > > > > > $PageSecurity = 1; > > > > > > > > include("includes/session.inc"); > > > > include("includes/header.inc"); > > > > include('includes/htmlMimeMail.php'); > > > > ?> > > > > > > > > <script language="JavaScript" type="text/javascript"> > > > > <!-- > > > > // resize window > > > > window.resizeTo(900,500); > > > > window.moveTo(15,200); > > > > //--> > > > > </script> > > > > > > > > <?php > > > > if (isset($_GET['Page'])){ > > > > $Page = $_GET['Page']; > > > > } elseif (isset($_POST['Page'])){ > > > > $Page = $_POST['Page']; > > > > } > > > > ... > > > > > > > > Steve > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > _______________________________________________ > > > Web-erp-developers mailing list > > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: skaill <sk...@ro...> - 2004-09-03 12:06:22
|
By the way, if you use an editor that is intelligent to php and color codes then it will be very obvious if you have the syntax incorrect on the lines you change. Steve ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: <web...@li...> Sent: Friday, September 03, 2004 6:57 AM Subject: Re: [Web-erp-developers] Translation > This is quite a serious concern with this project. It would be most > upsetting to introduce more problems than we resolve - I am very keen to > keep the code stable. I am fairly confident (I think) that these changes > will cause parsing errors if there is a mistake in the code ie missed > out a . or closing ' or something so I am thinking that the page will be > ok or it wont actually run. If it runs then there is a good chance that > no logic errors will be introduced. The only area of concern is the use > of submit buttons where I have tested for a returned value. In most > cases these can be changed to isset. > > Phil > > On Thu, 2004-09-02 at 23:22, skaill wrote: > > Sure, I think I can do those pages but I can only superficially test them as > > I'm honestly not that familiar with those areas and may not know if I've > > introduced an error. Unfortunately you may need to do some extended testing > > if you want to have good confidence in all the translation code changes. > > > > After we do each section we should get someone who is using webERP and wants > > translation to use it for a week or two to make sure there are no errors > > with what we've done. After that, proceed to the next set. > > > > The types of changes we are making theoretically should not get us into much > > trouble though. > > > > Although the value gets changed in the Submit (and other inputs) the name > > should remain the same to keep the code all in one language (English). > > > > One tricky circumstance is if 'Y' and 'N' have been used for boolean. > > These values get stored as data. The data cannot be translated from Y or N > > as stored or the logic test of if TestFlag == "Y" wouldn't work when you > > changed languages. It would work if you changed the right half but only for > > one language! The best solution is to translate when displayed. > > > > It all has to do with display time as opposed to code logic. > > > > Steve > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: skaill <sk...@ro...> - 2004-09-03 12:01:03
|
I would agree. It is a fairly simple conversion and would introduxe an error as opposed to screwing up the logic. We are only putting in . and ' and _ ( ). The only added concern is the possible booleans which will be fine if everyone understands to translate them only when displayed. The booleans will be obvious because they will all have a 'Y' or 'N' hard coded in an if statement. That's what they're meant for. If you see a 'Y' or 'N' then if you are not sure then DON'T change them. Steve ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: <web...@li...> Sent: Friday, September 03, 2004 6:57 AM Subject: Re: [Web-erp-developers] Translation > This is quite a serious concern with this project. It would be most > upsetting to introduce more problems than we resolve - I am very keen to > keep the code stable. I am fairly confident (I think) that these changes > will cause parsing errors if there is a mistake in the code ie missed > out a . or closing ' or something so I am thinking that the page will be > ok or it wont actually run. If it runs then there is a good chance that > no logic errors will be introduced. The only area of concern is the use > of submit buttons where I have tested for a returned value. In most > cases these can be changed to isset. > > Phil > > On Thu, 2004-09-02 at 23:22, skaill wrote: > > Sure, I think I can do those pages but I can only superficially test them as > > I'm honestly not that familiar with those areas and may not know if I've > > introduced an error. Unfortunately you may need to do some extended testing > > if you want to have good confidence in all the translation code changes. > > > > After we do each section we should get someone who is using webERP and wants > > translation to use it for a week or two to make sure there are no errors > > with what we've done. After that, proceed to the next set. > > > > The types of changes we are making theoretically should not get us into much > > trouble though. > > > > Although the value gets changed in the Submit (and other inputs) the name > > should remain the same to keep the code all in one language (English). > > > > One tricky circumstance is if 'Y' and 'N' have been used for boolean. > > These values get stored as data. The data cannot be translated from Y or N > > as stored or the logic test of if TestFlag == "Y" wouldn't work when you > > changed languages. It would work if you changed the right half but only for > > one language! The best solution is to translate when displayed. > > > > It all has to do with display time as opposed to code logic. > > > > Steve > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Phil D. <we...@pa...> - 2004-09-03 10:56:39
|
This is quite a serious concern with this project. It would be most upsetting to introduce more problems than we resolve - I am very keen to keep the code stable. I am fairly confident (I think) that these changes will cause parsing errors if there is a mistake in the code ie missed out a . or closing ' or something so I am thinking that the page will be ok or it wont actually run. If it runs then there is a good chance that no logic errors will be introduced. The only area of concern is the use of submit buttons where I have tested for a returned value. In most cases these can be changed to isset. Phil On Thu, 2004-09-02 at 23:22, skaill wrote: > Sure, I think I can do those pages but I can only superficially test them as > I'm honestly not that familiar with those areas and may not know if I've > introduced an error. Unfortunately you may need to do some extended testing > if you want to have good confidence in all the translation code changes. > > After we do each section we should get someone who is using webERP and wants > translation to use it for a week or two to make sure there are no errors > with what we've done. After that, proceed to the next set. > > The types of changes we are making theoretically should not get us into much > trouble though. > > Although the value gets changed in the Submit (and other inputs) the name > should remain the same to keep the code all in one language (English). > > One tricky circumstance is if 'Y' and 'N' have been used for boolean. > These values get stored as data. The data cannot be translated from Y or N > as stored or the logic test of if TestFlag == "Y" wouldn't work when you > changed languages. It would work if you changed the right half but only for > one language! The best solution is to translate when displayed. > > It all has to do with display time as opposed to code logic. > > Steve |
From: Phil D. <we...@pa...> - 2004-09-03 06:38:50
|
OK - have updated the upgrade script as suggested. Phil On Thu, 2004-09-02 at 23:02, skaill wrote: > Hi Phil, > > You may want to add a sql statement in the update to put defaults into all > existing users for the new user fields. When I first came up I didn't have > a css until I set one in User Settings. Theme should probably also have a > default in the table of "professional". > > Steve > > ----- Original Message ----- > From: "Phil Daintree" <we...@pa...> > To: <web...@li...> > Sent: Sunday, August 29, 2004 12:50 PM > Subject: [Web-erp-developers] Re: Fw: Window Resize > > > > Steve, > > > > Many hearty thanks for your latest contributions - it feels absolutely > > great not to be on my own with this anymore! > > > > I included the lot of it with just a couple of mods. I put language in > > the user settings script and made it look up the available directories > > for theme and language rather than hard coding them. As discussed I > > didn't see the requirement for the enable javascript option - this may > > be my understanding - and I was not keen on the small / two storey quick > > links. I used the user name as the link to user settings. > > > > The scripts that didnt display properly I resolved by including > > footer.inc and removing the </body></html> from these. > > > > I changed references to mysql specific functions to the DB abstraction > > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = 1; > > where there was a new search - an error was returned where the previous > > page offset was too big for a smaller recordset returned with a new > > search. Got into trouble with SelectProduct.php a bit you may want to > > have another look but I couldnt get it to select an item. I eventually > > got it working somewhat but its a bit of a hack with a check to make > > sure the pageoffset is beyond the max - this caused an error > > > > if ($_POST['PageOffset']>$ListPageMax){ > > $_POST['PageOffset'] = $ListPageMax; > > } > > > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > > Next and Previous. > > > > I also tried to encapsulate all the strings in _("string") for > > multi-language. > > > > I do like the diff file to work through what was actually changed it > > saves a massive amount of work really - so thanks for making it so easy! > > > > > > If you'd like to, please do add some comment about your contributions in > > a comment at the start of the script. > > > > Phil > > > > > A bit of java for the help may be very useful. It is a real pain and > > > confusing for many users to have the help appear full screen in > > > browser. Here's some code for Help.php that would do it if you > > > want... > > > > > > <?php > > > /* $Revision: 1.5 $ */ > > > > > > if (isset($_GET['Title'])){ > > > $HelpPageTitle = $_GET['Title']; > > > }elseif(isset($_POST['HelpPageTitle'])){ > > > $HelpPageTitle = $_POST['HelpPageTitle']; > > > } > > > > > > $title = "Help On " . $HelpPageTitle; > > > > > > $PageSecurity = 1; > > > > > > include("includes/session.inc"); > > > include("includes/header.inc"); > > > include('includes/htmlMimeMail.php'); > > > ?> > > > > > > <script language="JavaScript" type="text/javascript"> > > > <!-- > > > // resize window > > > window.resizeTo(900,500); > > > window.moveTo(15,200); > > > //--> > > > </script> > > > > > > <?php > > > if (isset($_GET['Page'])){ > > > $Page = $_GET['Page']; > > > } elseif (isset($_POST['Page'])){ > > > $Page = $_POST['Page']; > > > } > > > ... > > > > > > Steve > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Daintrees <p.d...@pa...> - 2004-09-02 19:59:34
|
I fixed this last night. Sorry bout that.... Phil ----- Original Message ----- From: "skaill" <sk...@ro...> To: <web...@li...> Sent: Thursday, September 02, 2004 11:34 PM Subject: Re: [Web-erp-developers] Re: Fw: Window Resize > The record max is working but Go does not work to change to any but page 1 > and Next does not work for anything but page 1 or 2 even if there are 5 > pages. > > I think a bit of my code was missed, Phil. Possibly incrementing the page. > Let me know if you want me to look into it further. > > Steve > > ----- Original Message ----- > From: "Phil Daintree" <we...@pa...> > To: <web...@li...> > Sent: Thursday, September 02, 2004 3:37 AM > Subject: Re: [Web-erp-developers] Re: Fw: Window Resize > > > > Whoops! Glad you are checking the standards are slipping. > > All fixed now ?? I hope. > > > > Phil > > > > On Thu, 2004-09-02 at 13:11, skaill wrote: > > > Phil, the paging does not seem to be working on the latest cvs I > downloaded > > > unless I've done something wrong. Where I switch pages it sticks on 1. > > > Also, even though my user settings say I am set at DisplayRecordsMax=50 > I am > > > paging on 4 records. Next seems to work to move to page 2 but not 3. > What > > > I checked was Select Customer with "a". > > > > > > Steve > > > > > > ----- Original Message ----- > > > From: "Phil Daintree" <we...@pa...> > > > To: <web...@li...> > > > Sent: Sunday, August 29, 2004 12:50 PM > > > Subject: [Web-erp-developers] Re: Fw: Window Resize > > > > > > > > > > Steve, > > > > > > > > Many hearty thanks for your latest contributions - it feels absolutely > > > > great not to be on my own with this anymore! > > > > > > > > I included the lot of it with just a couple of mods. I put language in > > > > the user settings script and made it look up the available directories > > > > for theme and language rather than hard coding them. As discussed I > > > > didn't see the requirement for the enable javascript option - this may > > > > be my understanding - and I was not keen on the small / two storey > quick > > > > links. I used the user name as the link to user settings. > > > > > > > > The scripts that didnt display properly I resolved by including > > > > footer.inc and removing the </body></html> from these. > > > > > > > > I changed references to mysql specific functions to the DB abstraction > > > > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = > 1; > > > > where there was a new search - an error was returned where the > previous > > > > page offset was too big for a smaller recordset returned with a new > > > > search. Got into trouble with SelectProduct.php a bit you may want to > > > > have another look but I couldnt get it to select an item. I eventually > > > > got it working somewhat but its a bit of a hack with a check to make > > > > sure the pageoffset is beyond the max - this caused an error > > > > > > > > if ($_POST['PageOffset']>$ListPageMax){ > > > > $_POST['PageOffset'] = $ListPageMax; > > > > } > > > > > > > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > > > > Next and Previous. > > > > > > > > I also tried to encapsulate all the strings in _("string") for > > > > multi-language. > > > > > > > > I do like the diff file to work through what was actually changed it > > > > saves a massive amount of work really - so thanks for making it so > easy! > > > > > > > > > > > > If you'd like to, please do add some comment about your contributions > in > > > > a comment at the start of the script. > > > > > > > > Phil > > > > > > > > > A bit of java for the help may be very useful. It is a real pain > and > > > > > confusing for many users to have the help appear full screen in > > > > > browser. Here's some code for Help.php that would do it if you > > > > > want... > > > > > > > > > > <?php > > > > > /* $Revision: 1.5 $ */ > > > > > > > > > > if (isset($_GET['Title'])){ > > > > > $HelpPageTitle = $_GET['Title']; > > > > > }elseif(isset($_POST['HelpPageTitle'])){ > > > > > $HelpPageTitle = $_POST['HelpPageTitle']; > > > > > } > > > > > > > > > > $title = "Help On " . $HelpPageTitle; > > > > > > > > > > $PageSecurity = 1; > > > > > > > > > > include("includes/session.inc"); > > > > > include("includes/header.inc"); > > > > > include('includes/htmlMimeMail.php'); > > > > > ?> > > > > > > > > > > <script language="JavaScript" type="text/javascript"> > > > > > <!-- > > > > > // resize window > > > > > window.resizeTo(900,500); > > > > > window.moveTo(15,200); > > > > > //--> > > > > > </script> > > > > > > > > > > <?php > > > > > if (isset($_GET['Page'])){ > > > > > $Page = $_GET['Page']; > > > > > } elseif (isset($_POST['Page'])){ > > > > > $Page = $_POST['Page']; > > > > > } > > > > > ... > > > > > > > > > > Steve > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > > FREE Java Enterprise J2EE developer tools! > > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > > _______________________________________________ > > > > Web-erp-developers mailing list > > > > Web...@li... > > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > _______________________________________________ > > > Web-erp-developers mailing list > > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: skaill <sk...@ro...> - 2004-09-02 11:33:55
|
The record max is working but Go does not work to change to any but page 1 and Next does not work for anything but page 1 or 2 even if there are 5 pages. I think a bit of my code was missed, Phil. Possibly incrementing the page. Let me know if you want me to look into it further. Steve ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: <web...@li...> Sent: Thursday, September 02, 2004 3:37 AM Subject: Re: [Web-erp-developers] Re: Fw: Window Resize > Whoops! Glad you are checking the standards are slipping. > All fixed now ?? I hope. > > Phil > > On Thu, 2004-09-02 at 13:11, skaill wrote: > > Phil, the paging does not seem to be working on the latest cvs I downloaded > > unless I've done something wrong. Where I switch pages it sticks on 1. > > Also, even though my user settings say I am set at DisplayRecordsMax=50 I am > > paging on 4 records. Next seems to work to move to page 2 but not 3. What > > I checked was Select Customer with "a". > > > > Steve > > > > ----- Original Message ----- > > From: "Phil Daintree" <we...@pa...> > > To: <web...@li...> > > Sent: Sunday, August 29, 2004 12:50 PM > > Subject: [Web-erp-developers] Re: Fw: Window Resize > > > > > > > Steve, > > > > > > Many hearty thanks for your latest contributions - it feels absolutely > > > great not to be on my own with this anymore! > > > > > > I included the lot of it with just a couple of mods. I put language in > > > the user settings script and made it look up the available directories > > > for theme and language rather than hard coding them. As discussed I > > > didn't see the requirement for the enable javascript option - this may > > > be my understanding - and I was not keen on the small / two storey quick > > > links. I used the user name as the link to user settings. > > > > > > The scripts that didnt display properly I resolved by including > > > footer.inc and removing the </body></html> from these. > > > > > > I changed references to mysql specific functions to the DB abstraction > > > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = 1; > > > where there was a new search - an error was returned where the previous > > > page offset was too big for a smaller recordset returned with a new > > > search. Got into trouble with SelectProduct.php a bit you may want to > > > have another look but I couldnt get it to select an item. I eventually > > > got it working somewhat but its a bit of a hack with a check to make > > > sure the pageoffset is beyond the max - this caused an error > > > > > > if ($_POST['PageOffset']>$ListPageMax){ > > > $_POST['PageOffset'] = $ListPageMax; > > > } > > > > > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > > > Next and Previous. > > > > > > I also tried to encapsulate all the strings in _("string") for > > > multi-language. > > > > > > I do like the diff file to work through what was actually changed it > > > saves a massive amount of work really - so thanks for making it so easy! > > > > > > > > > If you'd like to, please do add some comment about your contributions in > > > a comment at the start of the script. > > > > > > Phil > > > > > > > A bit of java for the help may be very useful. It is a real pain and > > > > confusing for many users to have the help appear full screen in > > > > browser. Here's some code for Help.php that would do it if you > > > > want... > > > > > > > > <?php > > > > /* $Revision: 1.5 $ */ > > > > > > > > if (isset($_GET['Title'])){ > > > > $HelpPageTitle = $_GET['Title']; > > > > }elseif(isset($_POST['HelpPageTitle'])){ > > > > $HelpPageTitle = $_POST['HelpPageTitle']; > > > > } > > > > > > > > $title = "Help On " . $HelpPageTitle; > > > > > > > > $PageSecurity = 1; > > > > > > > > include("includes/session.inc"); > > > > include("includes/header.inc"); > > > > include('includes/htmlMimeMail.php'); > > > > ?> > > > > > > > > <script language="JavaScript" type="text/javascript"> > > > > <!-- > > > > // resize window > > > > window.resizeTo(900,500); > > > > window.moveTo(15,200); > > > > //--> > > > > </script> > > > > > > > > <?php > > > > if (isset($_GET['Page'])){ > > > > $Page = $_GET['Page']; > > > > } elseif (isset($_POST['Page'])){ > > > > $Page = $_POST['Page']; > > > > } > > > > ... > > > > > > > > Steve > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > _______________________________________________ > > > Web-erp-developers mailing list > > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: skaill <sk...@ro...> - 2004-09-02 11:21:49
|
Sure, I think I can do those pages but I can only superficially test them as I'm honestly not that familiar with those areas and may not know if I've introduced an error. Unfortunately you may need to do some extended testing if you want to have good confidence in all the translation code changes. After we do each section we should get someone who is using webERP and wants translation to use it for a week or two to make sure there are no errors with what we've done. After that, proceed to the next set. The types of changes we are making theoretically should not get us into much trouble though. Although the value gets changed in the Submit (and other inputs) the name should remain the same to keep the code all in one language (English). One tricky circumstance is if 'Y' and 'N' have been used for boolean. These values get stored as data. The data cannot be translated from Y or N as stored or the logic test of if TestFlag == "Y" wouldn't work when you changed languages. It would work if you changed the right half but only for one language! The best solution is to translate when displayed. It all has to do with display time as opposed to code logic. Steve ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: <web...@li...> Sent: Thursday, September 02, 2004 6:28 AM Subject: [Web-erp-developers] Translation > Gentlemen, > > I have been having a play with gettext and have it working - it needs to > be enabled on your server.... if its not the system will product only > english. The CVS has a couple of strings in the italian messages.po for > the purposes I certainly would not vouch for the accuracy of the > translations !! However, clearly shows that it is going to work > brilliantly.... IF WE have the determination and staying power to > convert every string assigment/print statement and echo statement in the > whole system. > > Frankly, I am seriously daunted by the propsect and will not be able to > do it on my own. > > A few points about the conversion ... > > Page $title = _('Page Title'); should also be encapsulated in the get > text function. > > Single quotes ' are faster than double quotes " - PHP has to parse the > contents of double quotes for variable substitutions but doesn't for > single quotes. Strings that have variables in the middle and spaces or > html tags need to be broken up ideally eg. > > echo "<P>A long string full of $NumberOfCharacters characters"; > > would need to be re-written as: > > echo '<P>' . _('A long string full of') . ' ' . $NumberOfCharacters . ' > ' . _('characters'); > > I think it would be better to avoid having html or trailing spaces in > the translation strings. > > Jessie Peterson made a modification to the DB_query function such that > the repetitive use of > > if (DB_error_no($db) !=0) { ..... > > is no longer necessary - all you need to do is send DB_query the error > message as the 3rd parameter, the 4th parameter is the Debug message and > the 5th is whether the query is inside a transaction that should > rollback. This might be a good opportunity to tidy up calls to DB_query > to use these extra parameters too? This would take quite a bit of code > out of the scripts. > > Some submit buttons have their value checked - clearly the value of a > submit button - what is displayed on the face of it - will need to be > inside a gettext function call - so too must the comparison string eg. > > say a submit button named 'Search' is tested to see if it is hit - the > value of the button will need to be changed to the local language - > assuming the button is to have a local language label.... > > if ($_POST['Search'] == _('Search Now')){ > > Steve's approach to "eating the elephant" seemed good - lets break it > down to bite sized chunks .... > > I'll kick off with: > > AccountGroups.php > AgedDebtors.php > AgedSuppliers.php > Areas.php > BOMInquiry.php > BOMListing.php > > Steve - would you have a go at: > > BOMs.php > BankAccounts.php > BankMatching.php > BankReconciliation.php > COGSGLPostings.php > CompanyPreferences.php > > Luca - would you have a go at: > > ConfirmDispatchControlled_Invoice.php > ConfirmDispatch_Invoice.php > CreditItemsControlled.php > CreditStatus.php > Credit_Invoice.php > Currencies.php > > Rom - would you have a go at: > > CustEDISetup.php > CustWhereAlloc.php > CustomerBranches.php > CustomerInquiry.php > CustomerReceipt.php > CustomerTransInquiry.php > > > The major worry here is introducing new bugs so please test the scripts > individually and thoroughly before emailing me with them. > > Any other offers to help would be fantastic. > > Let me know if there are any other ideas or areas of ambiguity. > > If you need to see how to convert a script look at index.php or > UserSettings.php > > Phil > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: skaill <sk...@ro...> - 2004-09-02 11:02:24
|
Hi Phil, You may want to add a sql statement in the update to put defaults into all existing users for the new user fields. When I first came up I didn't have a css until I set one in User Settings. Theme should probably also have a default in the table of "professional". Steve ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: <web...@li...> Sent: Sunday, August 29, 2004 12:50 PM Subject: [Web-erp-developers] Re: Fw: Window Resize > Steve, > > Many hearty thanks for your latest contributions - it feels absolutely > great not to be on my own with this anymore! > > I included the lot of it with just a couple of mods. I put language in > the user settings script and made it look up the available directories > for theme and language rather than hard coding them. As discussed I > didn't see the requirement for the enable javascript option - this may > be my understanding - and I was not keen on the small / two storey quick > links. I used the user name as the link to user settings. > > The scripts that didnt display properly I resolved by including > footer.inc and removing the </body></html> from these. > > I changed references to mysql specific functions to the DB abstraction > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = 1; > where there was a new search - an error was returned where the previous > page offset was too big for a smaller recordset returned with a new > search. Got into trouble with SelectProduct.php a bit you may want to > have another look but I couldnt get it to select an item. I eventually > got it working somewhat but its a bit of a hack with a check to make > sure the pageoffset is beyond the max - this caused an error > > if ($_POST['PageOffset']>$ListPageMax){ > $_POST['PageOffset'] = $ListPageMax; > } > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > Next and Previous. > > I also tried to encapsulate all the strings in _("string") for > multi-language. > > I do like the diff file to work through what was actually changed it > saves a massive amount of work really - so thanks for making it so easy! > > > If you'd like to, please do add some comment about your contributions in > a comment at the start of the script. > > Phil > > > A bit of java for the help may be very useful. It is a real pain and > > confusing for many users to have the help appear full screen in > > browser. Here's some code for Help.php that would do it if you > > want... > > > > <?php > > /* $Revision: 1.5 $ */ > > > > if (isset($_GET['Title'])){ > > $HelpPageTitle = $_GET['Title']; > > }elseif(isset($_POST['HelpPageTitle'])){ > > $HelpPageTitle = $_POST['HelpPageTitle']; > > } > > > > $title = "Help On " . $HelpPageTitle; > > > > $PageSecurity = 1; > > > > include("includes/session.inc"); > > include("includes/header.inc"); > > include('includes/htmlMimeMail.php'); > > ?> > > > > <script language="JavaScript" type="text/javascript"> > > <!-- > > // resize window > > window.resizeTo(900,500); > > window.moveTo(15,200); > > //--> > > </script> > > > > <?php > > if (isset($_GET['Page'])){ > > $Page = $_GET['Page']; > > } elseif (isset($_POST['Page'])){ > > $Page = $_POST['Page']; > > } > > ... > > > > Steve > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Phil D. <we...@pa...> - 2004-09-02 10:28:26
|
Gentlemen, I have been having a play with gettext and have it working - it needs to be enabled on your server.... if its not the system will product only english. The CVS has a couple of strings in the italian messages.po for the purposes I certainly would not vouch for the accuracy of the translations !! However, clearly shows that it is going to work brilliantly.... IF WE have the determination and staying power to convert every string assigment/print statement and echo statement in the whole system. Frankly, I am seriously daunted by the propsect and will not be able to do it on my own. A few points about the conversion ... Page $title = _('Page Title'); should also be encapsulated in the get text function. Single quotes ' are faster than double quotes " - PHP has to parse the contents of double quotes for variable substitutions but doesn't for single quotes. Strings that have variables in the middle and spaces or html tags need to be broken up ideally eg. echo "<P>A long string full of $NumberOfCharacters characters"; would need to be re-written as: echo '<P>' . _('A long string full of') . ' ' . $NumberOfCharacters . ' ' . _('characters'); I think it would be better to avoid having html or trailing spaces in the translation strings. Jessie Peterson made a modification to the DB_query function such that the repetitive use of if (DB_error_no($db) !=0) { ..... is no longer necessary - all you need to do is send DB_query the error message as the 3rd parameter, the 4th parameter is the Debug message and the 5th is whether the query is inside a transaction that should rollback. This might be a good opportunity to tidy up calls to DB_query to use these extra parameters too? This would take quite a bit of code out of the scripts. Some submit buttons have their value checked - clearly the value of a submit button - what is displayed on the face of it - will need to be inside a gettext function call - so too must the comparison string eg. say a submit button named 'Search' is tested to see if it is hit - the value of the button will need to be changed to the local language - assuming the button is to have a local language label.... if ($_POST['Search'] == _('Search Now')){ Steve's approach to "eating the elephant" seemed good - lets break it down to bite sized chunks .... I'll kick off with: AccountGroups.php AgedDebtors.php AgedSuppliers.php Areas.php BOMInquiry.php BOMListing.php Steve - would you have a go at: BOMs.php BankAccounts.php BankMatching.php BankReconciliation.php COGSGLPostings.php CompanyPreferences.php Luca - would you have a go at: ConfirmDispatchControlled_Invoice.php ConfirmDispatch_Invoice.php CreditItemsControlled.php CreditStatus.php Credit_Invoice.php Currencies.php Rom - would you have a go at: CustEDISetup.php CustWhereAlloc.php CustomerBranches.php CustomerInquiry.php CustomerReceipt.php CustomerTransInquiry.php The major worry here is introducing new bugs so please test the scripts individually and thoroughly before emailing me with them. Any other offers to help would be fantastic. Let me know if there are any other ideas or areas of ambiguity. If you need to see how to convert a script look at index.php or UserSettings.php Phil |
From: Phil D. <we...@pa...> - 2004-09-02 07:37:17
|
Whoops! Glad you are checking the standards are slipping. All fixed now ?? I hope. Phil On Thu, 2004-09-02 at 13:11, skaill wrote: > Phil, the paging does not seem to be working on the latest cvs I downloaded > unless I've done something wrong. Where I switch pages it sticks on 1. > Also, even though my user settings say I am set at DisplayRecordsMax=50 I am > paging on 4 records. Next seems to work to move to page 2 but not 3. What > I checked was Select Customer with "a". > > Steve > > ----- Original Message ----- > From: "Phil Daintree" <we...@pa...> > To: <web...@li...> > Sent: Sunday, August 29, 2004 12:50 PM > Subject: [Web-erp-developers] Re: Fw: Window Resize > > > > Steve, > > > > Many hearty thanks for your latest contributions - it feels absolutely > > great not to be on my own with this anymore! > > > > I included the lot of it with just a couple of mods. I put language in > > the user settings script and made it look up the available directories > > for theme and language rather than hard coding them. As discussed I > > didn't see the requirement for the enable javascript option - this may > > be my understanding - and I was not keen on the small / two storey quick > > links. I used the user name as the link to user settings. > > > > The scripts that didnt display properly I resolved by including > > footer.inc and removing the </body></html> from these. > > > > I changed references to mysql specific functions to the DB abstraction > > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = 1; > > where there was a new search - an error was returned where the previous > > page offset was too big for a smaller recordset returned with a new > > search. Got into trouble with SelectProduct.php a bit you may want to > > have another look but I couldnt get it to select an item. I eventually > > got it working somewhat but its a bit of a hack with a check to make > > sure the pageoffset is beyond the max - this caused an error > > > > if ($_POST['PageOffset']>$ListPageMax){ > > $_POST['PageOffset'] = $ListPageMax; > > } > > > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > > Next and Previous. > > > > I also tried to encapsulate all the strings in _("string") for > > multi-language. > > > > I do like the diff file to work through what was actually changed it > > saves a massive amount of work really - so thanks for making it so easy! > > > > > > If you'd like to, please do add some comment about your contributions in > > a comment at the start of the script. > > > > Phil > > > > > A bit of java for the help may be very useful. It is a real pain and > > > confusing for many users to have the help appear full screen in > > > browser. Here's some code for Help.php that would do it if you > > > want... > > > > > > <?php > > > /* $Revision: 1.5 $ */ > > > > > > if (isset($_GET['Title'])){ > > > $HelpPageTitle = $_GET['Title']; > > > }elseif(isset($_POST['HelpPageTitle'])){ > > > $HelpPageTitle = $_POST['HelpPageTitle']; > > > } > > > > > > $title = "Help On " . $HelpPageTitle; > > > > > > $PageSecurity = 1; > > > > > > include("includes/session.inc"); > > > include("includes/header.inc"); > > > include('includes/htmlMimeMail.php'); > > > ?> > > > > > > <script language="JavaScript" type="text/javascript"> > > > <!-- > > > // resize window > > > window.resizeTo(900,500); > > > window.moveTo(15,200); > > > //--> > > > </script> > > > > > > <?php > > > if (isset($_GET['Page'])){ > > > $Page = $_GET['Page']; > > > } elseif (isset($_POST['Page'])){ > > > $Page = $_POST['Page']; > > > } > > > ... > > > > > > Steve > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: skaill <sk...@ro...> - 2004-09-02 01:11:13
|
Phil, the paging does not seem to be working on the latest cvs I downloaded unless I've done something wrong. Where I switch pages it sticks on 1. Also, even though my user settings say I am set at DisplayRecordsMax=50 I am paging on 4 records. Next seems to work to move to page 2 but not 3. What I checked was Select Customer with "a". Steve ----- Original Message ----- From: "Phil Daintree" <we...@pa...> To: <web...@li...> Sent: Sunday, August 29, 2004 12:50 PM Subject: [Web-erp-developers] Re: Fw: Window Resize > Steve, > > Many hearty thanks for your latest contributions - it feels absolutely > great not to be on my own with this anymore! > > I included the lot of it with just a couple of mods. I put language in > the user settings script and made it look up the available directories > for theme and language rather than hard coding them. As discussed I > didn't see the requirement for the enable javascript option - this may > be my understanding - and I was not keen on the small / two storey quick > links. I used the user name as the link to user settings. > > The scripts that didnt display properly I resolved by including > footer.inc and removing the </body></html> from these. > > I changed references to mysql specific functions to the DB abstraction > functions DB_data_seek in ConnectDB.inc. I set $_POST['PageOffset'] = 1; > where there was a new search - an error was returned where the previous > page offset was too big for a smaller recordset returned with a new > search. Got into trouble with SelectProduct.php a bit you may want to > have another look but I couldnt get it to select an item. I eventually > got it working somewhat but its a bit of a hack with a check to make > sure the pageoffset is beyond the max - this caused an error > > if ($_POST['PageOffset']>$ListPageMax){ > $_POST['PageOffset'] = $ListPageMax; > } > > Also the hidden $_POST['Search'] I removed in favour of checking Go, > Next and Previous. > > I also tried to encapsulate all the strings in _("string") for > multi-language. > > I do like the diff file to work through what was actually changed it > saves a massive amount of work really - so thanks for making it so easy! > > > If you'd like to, please do add some comment about your contributions in > a comment at the start of the script. > > Phil > > > A bit of java for the help may be very useful. It is a real pain and > > confusing for many users to have the help appear full screen in > > browser. Here's some code for Help.php that would do it if you > > want... > > > > <?php > > /* $Revision: 1.5 $ */ > > > > if (isset($_GET['Title'])){ > > $HelpPageTitle = $_GET['Title']; > > }elseif(isset($_POST['HelpPageTitle'])){ > > $HelpPageTitle = $_POST['HelpPageTitle']; > > } > > > > $title = "Help On " . $HelpPageTitle; > > > > $PageSecurity = 1; > > > > include("includes/session.inc"); > > include("includes/header.inc"); > > include('includes/htmlMimeMail.php'); > > ?> > > > > <script language="JavaScript" type="text/javascript"> > > <!-- > > // resize window > > window.resizeTo(900,500); > > window.moveTo(15,200); > > //--> > > </script> > > > > <?php > > if (isset($_GET['Page'])){ > > $Page = $_GET['Page']; > > } elseif (isset($_POST['Page'])){ > > $Page = $_POST['Page']; > > } > > ... > > > > Steve > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Phil D. <we...@pa...> - 2004-09-01 09:55:40
|
I committed a couple of bits to CVS this evening. <P>1/9/04 PrintCustTrans.php now prints the Payment Terms on invoices and credit notes as contributed by Steve Ball <P>1/9/04 New script by Chris Bice StockQuantityByDate.php that shows the quantity on hand at any historical date selected for all items in a selected stock category - index.php modified to add link under inventory. Phil |
From: Daintrees <p.d...@pa...> - 2004-08-31 19:56:52
|
Phew ... hope you have a sucessful trip :-) Phil ----- Original Message -----=20 From: Rom Pereira=20 To: web...@li...=20 Sent: Tuesday, August 31, 2004 11:56 PM Subject: [Web-erp-developers] Travelling Hello Phil and all, Sorry the delay in getting back to you in the list, I am currently in = Argentina doing some sales. I will be back this friday. Hope you all are doing well. Hope I also sell good :D Have fun, Rom Pereira |