1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Contact form is now more flexible, allowing for custom fields in the template and customization of the email subject.

This commit is contained in:
Cameron
2015-08-17 11:22:24 -07:00
parent d19906944b
commit ec5db40d67
6 changed files with 81 additions and 22 deletions

View File

@@ -53,7 +53,7 @@ class membersonly
if (intval($pref['user_reg'])===1)
{
$srch = array("[","]");
$repl = array("<a href='".e_SIGNUP."'>","</a>");
$repl = array("<a class='alert-link' href='".e_SIGNUP."'>","</a>");
return str_replace($srch,$repl, LAN_MEMBERS_3);
}
@@ -72,7 +72,7 @@ class membersonly
function sc_membersonly_login()
{
$srch = array("[","]");
$repl = array("<a href='".e_LOGIN."'>","</a>");
$repl = array("<a class='alert-link' href='".e_LOGIN."'>","</a>");
return str_replace($srch,$repl, LAN_MEMBERS_2);
}