main_site_url
This commit is contained in:
@@ -142,7 +142,7 @@ Recently added task(s)
|
||||
<tr>
|
||||
<td align="center" class="footercopy">
|
||||
® {{site_name}} {{YYYY}}<br/>
|
||||
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="https://{{server_name}}/contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="https://{{main_site_url}}/contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -149,7 +149,7 @@ Or
|
||||
<tr>
|
||||
<td align="center" class="footercopy">
|
||||
® {{site_name}} {{YYYY}}<br/>
|
||||
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="https://www.wrenchboard.com/contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="{{main_site_url}}contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -126,7 +126,7 @@ With <a href="{{server_name}}">{{site_name}}</a>, you can set up a family accoun
|
||||
<tr>
|
||||
<td align="center" class="footercopy">
|
||||
® {{site_name}} {{YYYY}}<br/>
|
||||
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="https://www.wrenchboard.com/contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="{{main_site_url}}contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -156,7 +156,7 @@ You have account withdraw action from your account at <a href="https://{{server_
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="innerpadding bodycopy">
|
||||
Please contact us at {{server_name}}/contact if you have any question about this email.
|
||||
Please contact us at {{main_site_url}}/contact if you have any question about this email.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -157,7 +157,7 @@ border: none;
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="innerpadding bodycopy">
|
||||
Please contact us at {{server_name}}/contact if you have any question about this email.
|
||||
Please contact us at {{main_site_url}}/contact if you have any question about this email.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -151,7 +151,7 @@ You have account withdraw action from your account at <a href="{{server_name}}/e
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="innerpadding bodycopy">
|
||||
Please contact us at {{server_name}}/contact if you have any question about this email.
|
||||
Please contact us at {{main_site_url}}/contact if you have any question about this email.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -143,7 +143,7 @@ border: none;
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h4>Please <a href ="{{server_name}}/bko?offerID={{offer_code}}">login</a> into the BKO manage the status of this transfer.</h4>
|
||||
<td><h4>Please <a href ="{{main_site_url}}/bko?offerID={{offer_code}}">login</a> into the BKO manage the status of this transfer.</h4>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -157,7 +157,7 @@ border: none;
|
||||
|
||||
<tr>
|
||||
<td class="innerpadding bodycopy">
|
||||
Please contact us at {{server_name}}/contact if you have any question about this email.
|
||||
Please contact us at {{main_site_url}}/contact if you have any question about this email.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -756,6 +756,8 @@ long sendmoney_email(long mailtype, CVars in, CVars &out) {
|
||||
CVars x, y, z;
|
||||
C_CGI_Form form("", "");
|
||||
|
||||
form.LetStr("main_site_url", "https://www.wrenchboard.com/");
|
||||
|
||||
//char * server_name; // = getenv("SERVER_NAME");
|
||||
out["server_name"] = CfgReadChar("system.server_name");
|
||||
//sprintf(server_name, "%s", out["server_name"].c_str());
|
||||
@@ -984,7 +986,7 @@ long LocationAccountLoginMail(CVars in) {
|
||||
CVars x;
|
||||
CVars out;
|
||||
C_CGI_Form form("", "");
|
||||
|
||||
form.LetStr("main_site_url", "https://www.wrenchboard.com/");
|
||||
out["server_name"] = CfgReadChar("system.server_name");
|
||||
form.LetStr("server_name", out["server_name"].c_str());
|
||||
form.LetStr("site_name", "WrenchBoard");
|
||||
@@ -1080,7 +1082,7 @@ long ManagerAccountLoginMail(CVars in) {
|
||||
CVars x;
|
||||
CVars out;
|
||||
C_CGI_Form form("", "");
|
||||
|
||||
form.LetStr("main_site_url", "https://www.wrenchboard.com/");
|
||||
out["server_name"] = CfgReadChar("system.server_name");
|
||||
form.LetStr("server_name", out["server_name"].c_str());
|
||||
form.LetStr("site_name", "WrenchBoard");
|
||||
@@ -1099,7 +1101,7 @@ long AccountPendingMail(CVars in) //TESTED
|
||||
CVars x;
|
||||
CVars out;
|
||||
C_CGI_Form form("", "");
|
||||
|
||||
form.LetStr("main_site_url", "https://www.wrenchboard.com/");
|
||||
out["server_name"] = CfgReadChar("system.server_name");
|
||||
form.LetStr("server_name", out["server_name"].c_str());
|
||||
form.LetStr("site_name", "WrenchBoard");
|
||||
@@ -1129,7 +1131,7 @@ long WelcomeAccountMail(CVars in) // TESTED
|
||||
CVars x;
|
||||
CVars out;
|
||||
C_CGI_Form form("", "");
|
||||
|
||||
form.LetStr("main_site_url", "https://www.wrenchboard.com/");
|
||||
out["server_name"] = CfgReadChar("system.server_name");
|
||||
form.LetStr("server_name", out["server_name"].c_str());
|
||||
form.LetStr("site_name", "WrenchBoard");
|
||||
@@ -1159,7 +1161,7 @@ long JobAddedMail(CVars in) //TESTED
|
||||
CVars out;
|
||||
C_CGI_Form form("", "");
|
||||
const PGresult *res;
|
||||
|
||||
form.LetStr("main_site_url", "https://www.wrenchboard.com/");
|
||||
out["server_name"] = CfgReadChar("system.server_name");
|
||||
form.LetStr("server_name", out["server_name"].c_str());
|
||||
form.LetStr("site_name", "WrenchBoard");
|
||||
@@ -1205,7 +1207,7 @@ long CreateWrenchBoardGroupMail(CVars in) {
|
||||
CVars x;
|
||||
CVars out;
|
||||
C_CGI_Form form("", "");
|
||||
|
||||
form.LetStr("main_site_url", "https://www.wrenchboard.com/");
|
||||
out["server_name"] = CfgReadChar("system.server_name");
|
||||
form.LetStr("server_name", out["server_name"].c_str());
|
||||
form.LetStr("site_name", "WrenchBoard");
|
||||
|
||||
Reference in New Issue
Block a user