Skip to content

Commit

Permalink
fix absolute image paths in calendar2
Browse files Browse the repository at this point in the history
some image paths where absolut, they now are relative to webpath
  • Loading branch information
exi committed Oct 31, 2011
1 parent f3157df commit a2b5ba8
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -180,12 +180,12 @@ dojo.declare("phpr.Calendar2.ViewMonthList", phpr.Calendar2.DefaultView, {
for (p in content[event]['confirmationStatuses']) {
var status = content[event]['confirmationStatuses'][p];
if (1 == status) { // Pending
warning = '<img src="/css/themes/phprojekt/images/help.gif"'
warning = '<img src="'+phpr.webpath+'/css/themes/phprojekt/images/help.gif"'
+ ' title="'
+ phpr.nls.get('Some participants have not accepted yet.')
+ '"/>';
} else if (3 == status) { //Rejected
warning = '<img src="/css/themes/phprojekt/images/warning.png"'
warning = '<img src="'+phpr.webpath+'/css/themes/phprojekt/images/warning.png"'
+ ' title="'
+ phpr.nls.get('Some participants have rejected your invitation.')
+ '"/>';
Expand All @@ -198,7 +198,7 @@ dojo.declare("phpr.Calendar2.ViewMonthList", phpr.Calendar2.DefaultView, {
// We're just invited. Let's remind the user if we didn't
// respond yet.
if (content[event]['confirmationStatus'] == 1) {
warning = '<img src="/css/themes/phprojekt/images/help.gif"'
warning = '<img src="'+phpr.webpath+'/css/themes/phprojekt/images/help.gif"'
+ ' title="'
+ phpr.nls.get('You did not respond to this invitation yet.')
+ '"/>';
Expand Down

0 comments on commit a2b5ba8

Please sign in to comment.