Changeset 2180653
- Timestamp:
- 10/26/2019 02:38:57 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vampire-character/trunk/inc/adminpages/characters.php
r1706266 r2180653 2149 2149 if ($showform) { 2150 2150 ?> 2151 <form id="new- <?php print $type; ?>" method="post" action='<?php print htmlentities($current_url); ?>'>2151 <form id="new-approve-form" method="post" action='<?php print htmlentities($current_url); ?>'> 2152 2152 <input type="hidden" name="characterID" value="<?php print $characterID; ?>" /> 2153 2153 <table style='width:500px'> … … 2447 2447 //print_r($userdata); 2448 2448 } 2449 print "23/"; 2449 2450 2450 2451 } … … 2668 2669 $url = add_query_arg('reference', $ref, vtm_get_stlink_url('viewCharGen', true)); 2669 2670 2670 $userbody = "Hello $player, 2671 2672 The Storytellers have provided feedback on $name. Please review the comments and resubmit your character once any issues have been resolved. 2673 2674 '" . stripslashes($denyMessage) . "' 2675 2676 You can return to character generation by following this link: $url"; 2671 $userbody = "<p>Hello $player,</p> 2672 <p>The Storytellers have provided feedback on $name. Please review the comments and resubmit your character once any issues have been resolved.</p> 2673 <p>'" . stripslashes($denyMessage) . "'</p> 2674 <p>You can return to character generation by following this link: <a href='$url'>$url</a></p>"; 2677 2675 2678 2676 $result = vtm_send_email($email, "Review Character Generation: $name", $userbody); … … 2708 2706 $url4 = vtm_get_stlink_url('viewXPSpend', true); 2709 2707 2710 $userbody = " Hello $player,\n\nThe Storytellers have approved your character. ";2708 $userbody = "<p>Hello $player,</p><p>The Storytellers have approved your character. "; 2711 2709 2712 2710 if ($wpid == 0) { 2713 2711 // New Wordpress Account 2714 $userbody .= "Please log into the website with the below details: \n\n";2715 $userbody .= " \tLogin name: $username\n";2716 $userbody .= " \tPassword: $password\n";2717 $userbody .= " \tWebsite: $website\n\n";2712 $userbody .= "Please log into the website with the below details:</p><p><table>"; 2713 $userbody .= "<tr><th>Login name:</th><td>$username</td></tr>"; 2714 $userbody .= "<tr><th>Password:</th><td>$password</td></tr>"; 2715 $userbody .= "<tr><th>Website:</th><td><a href='$website'>$website</a></td></tr></table></p>"; 2718 2716 } 2719 2717 else { 2720 2718 // Already existing WP account 2721 $userbody .= "Please log into the website with login details already created: \n\n";2722 $userbody .= " \tLogin name: $username\n";2723 $userbody .= " \tWebsite: $website\n\n";2724 } 2725 2726 $userbody .= " Here are some useful direct links:\n\n";2727 $userbody .= " \tChange your password: $url1\n";2728 $userbody .= " \tView your character: $url2\n";2729 $userbody .= " \tPrint your character: $url3\n";2730 $userbody .= " \tSpend Experience: $url4\n";2719 $userbody .= "Please log into the website with login details already created:</p><p><table>"; 2720 $userbody .= "<tr><th>Login name:</th><td>$username</td></tr>"; 2721 $userbody .= "<tr><th>Website:</th><td><a href='$website'>$website</a></td></tr></table></p>"; 2722 } 2723 2724 $userbody .= "<p>Here are some useful links:<ul>"; 2725 $userbody .= "<li>Change your password: <a href='$url1'>$url1</a></li>"; 2726 $userbody .= "<li>View your character: <a href='$url2'>$url2</a></li>"; 2727 $userbody .= "<li>Print your character: <a href='$url3'>$url3</a></li>"; 2728 $userbody .= "<li>Spend Experience: <a href='$url4'>$url4</a></li></ul></p>"; 2731 2729 2732 2730 $result = vtm_send_email($email, "Character Approved: $name", $userbody);
Note: See TracChangeset
for help on using the changeset viewer.