From: Scott M. <Sco...@pr...> - 2010-04-21 20:08:46
|
Ah, yes, either works for me, so, I would not be surprised if there are a number of those <? guys running around the code. I tried to always use <?php, but, I don't know how successful I was with that. What is claiming the gif files aren't gif files? They work just fine for me, and my stuff doesn't think they're not gif files... I just found a pretty large bug in the monthly.php code. When viewing the month with tasks that haven't had their "duration" fixed, only the first task for each day is "fixed" and and therefore only the first task has a duration for which to add to the total time. As soon as you view those days using any other view, all the tasks' duration fields are filled, so the next time the month view's totals are correct. The fix is to add a single line of code. One of the things I had added for our installation was the ability for an administrator to view (and edit) other user's time entries. Since we only use the simple.php form, I'd originally just added that functionality to that form. Today, I finished adding that ability to the menu bar. After the "logout" menu item, if you are an administrator, a drop down list appears with the label "context user:". Changing that, changes the session's contextUser variable. If you're not an administrator, that item doesn't show up at all. Adding that, has meant nearly all the other forms have had to be modified, because we can't set the $contextUser variable until after the timesheet_menu.inc is included, because the code that changes the session variable is in the timesheet_menu.inc file. I had a few modifications to the menu class and the common.inc to support this change. I'll be checking this code in within the hour. -Scott ________________________________ From: tom...@ho... [mailto:tom...@ho...] On Behalf Of David Thompson Sent: Wednesday, April 21, 2010 2:19 PM To: Scott Miller Subject: RE: Testing for TSNG Version 1.5.0 Hi Scott I fixed the problem I had with the install script (revision 98), and found some more interesting things due to the same problem (revision 99). But now it looks good. Use "<?php" not "<?". Just one thing, the two GIFs for project and user rates are not GIF files! Can you find the files you wanted? Cheers Dave ________________________________ Subject: RE: "Release notes" for TSNG Version 1.5.0 Date: Wed, 21 Apr 2010 09:19:37 -0500 From: Sco...@pr... To: tom...@us... Well, I am developing on Linux under PHP 5.1.6 (don't know about EasyPHP, so I don't know how that maps to your version), so, no I don't get that error. In my install/index.php, the last line is 1176, and that is actually just a comment, but it helps set up VIM (VI iMproved editor) the way I like it... -Scott ________________________________ Hotmail: Powerful Free email with security by Microsoft. Get it now. <https://signup.live.com/signup.aspx?id=60969> |