phpScheduleIt
May 22, 2013, 11:14:39 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Weirdness displayed in the MY Calender view  (Read 442 times)
wildThang59
Newbie
*

Karma: 0
Posts: 8


« on: June 06, 2012, 10:06:48 AM »

After creating a booking when user(s) veiew the My Calender they see this:


• ');" onmouseout="hideSummary('details');" onmousemove="moveSummary('details', event);" href="javascript:reserve('m','','','sc14fcf5f0c82839','sc14f32d90ff23f5');">7:00am [06/08/2012] - 7:00pm William "Bill" Goodman
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: June 06, 2012, 12:40:54 PM »

The problem is probably because of the "Bill" part. Try changing line 327 of templates/mycalendar.template.php to:

Code:
$html .= htmlentities($res['fname']) . ' ' . htmlentities($res['lname']) . '<br/>';
Logged
wildThang59
Newbie
*

Karma: 0
Posts: 8


« Reply #2 on: June 06, 2012, 02:46:16 PM »

Yes that fixed it. But one question...
When you add any "quotes" to the Summary field that happens also. Is this a bug I should submit
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: June 11, 2012, 01:53:41 PM »

The fix would be very similar to the one posted, except around $res['summary']
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!