Skip to content

Commit

Permalink
Fixed paths for email invite callbacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Chernyshev committed May 9, 2014
1 parent 9e17518 commit 1b2b3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ public static function renderTOSLinks() {
* @param Invitation $invitation Invitation object
*/
public static function renderUserInvitationAction($invitation) {
?><a class="btn btn-info btn-mini" href="mailto:<?php echo UserTools::spaceencode($invitation->getSentToEmail()) ?>?Subject=Invitation&Body=<?php echo UserTools::spaceencode(UserConfig::$SITEROOTFULLURL . 'users/register.php?invite=' . urlencode($invitation->getCode())) ?>"><i class="icon-envelope icon-white"></i> Invite</a><?php
?><a class="btn btn-info btn-mini" href="mailto:<?php echo UserTools::spaceencode($invitation->getSentToEmail()) ?>?Subject=Invitation&Body=<?php echo UserTools::spaceencode(UserConfig::$SITEROOTFULLURL . '/users/register.php?invite=' . urlencode($invitation->getCode())) ?>"><i class="icon-envelope icon-white"></i> Invite</a><?php
}

/**
Expand All @@ -872,7 +872,7 @@ public static function renderUserInvitationAction($invitation) {
* @param Invitation $invitation Invitation object
*/
public static function renderUserInvitationFollowUpAction($invitation) {
?><a class="btn btn-warning btn-mini"href="mailto:<?php echo UserTools::spaceencode($invitation->getSentToEmail()) ?>?Subject=Re:%20Invitation&Body=<?php echo UserTools::spaceencode(UserConfig::$SITEROOTFULLURL . 'users/register.php?invite=' . urlencode($invitation->getCode())) ?>"><i class="icon-envelope icon-white"></i> Follow Up</a><?php
?><a class="btn btn-warning btn-mini"href="mailto:<?php echo UserTools::spaceencode($invitation->getSentToEmail()) ?>?Subject=Re:%20Invitation&Body=<?php echo UserTools::spaceencode(UserConfig::$SITEROOTFULLURL . '/users/register.php?invite=' . urlencode($invitation->getCode())) ?>"><i class="icon-envelope icon-white"></i> Follow Up</a><?php
}

/**
Expand Down

0 comments on commit 1b2b3ea

Please sign in to comment.