[Linpha-cvs] SF.net SVN: linpha: [4545] trunk/linpha2
Status: Inactive
Brought to you by:
bzrudi
From: <fan...@us...> - 2006-04-18 11:18:49
|
Revision: 4545 Author: fangehrn Date: 2006-04-18 04:18:37 -0700 (Tue, 18 Apr 2006) ViewCVS: http://svn.sourceforge.net/linpha/?rev=4545&view=rev Log Message: ----------- * calendar: apply previous update from linpha1 + change "set date" field also automatically to custom if using the calendar Modified Paths: -------------- trunk/linpha2/ChangeLog trunk/linpha2/lib/include/calender.php Modified: trunk/linpha2/ChangeLog =================================================================== --- trunk/linpha2/ChangeLog 2006-04-17 17:26:25 UTC (rev 4544) +++ trunk/linpha2/ChangeLog 2006-04-18 11:18:37 UTC (rev 4545) @@ -1,3 +1,7 @@ +2006-04-18 flo + * calendar: apply previous update from linpha1 + + change "set date" field also automatically to custom if using the calendar + 2006-04-16 flo * changed way of selecting and saving paths during install (all folder paths are always stores without ending slash) Modified: trunk/linpha2/lib/include/calender.php =================================================================== --- trunk/linpha2/lib/include/calender.php 2006-04-17 17:26:25 UTC (rev 4544) +++ trunk/linpha2/lib/include/calender.php 2006-04-18 11:18:37 UTC (rev 4545) @@ -20,6 +20,9 @@ if(!defined('LINPHA_DIR')) { define('LINPHA_DIR','../..'); } $style['tablebg']="#B3BCDE"; +/** + * @todo do we need the startSession() for the language stuff? + */ include_once(LINPHA_DIR.'/lib/classes/linpha.class.php'); ?> <title>Calender - LinPHA</title> @@ -126,7 +129,15 @@ $font1 = ""; $font2 = ""; } - print "<a href=\"#\" onClick=\"opener.document.getElementById('".$_GET['form']."').value='$tag',window.close();\">$font1$d$font2</a>"; + if(isset($_GET['additional_cmd'])) + { + $str = ",opener.".$_GET['additional_cmd']; + } + else + { + $str = ""; + } + echo '<a href="#" onClick="opener.document.getElementById(\''.$_GET['form'].'\').value=\''.$tag.'\'' . $str . ',window.close();">'.$font1.$d.$font2.'</a>'; print "</td>\n"; /*== Saturday week with </tr> ==*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |