Index: trunk/kernel/parser.php =================================================================== diff -u -r845 -r858 --- trunk/kernel/parser.php (.../parser.php) (revision 845) +++ trunk/kernel/parser.php (.../parser.php) (revision 858) @@ -1202,7 +1202,7 @@ { global $objConfig,$objSession; - $theme_url = "http://".ThisDomain().$objConfig->Get("Site_Path")."index.php?env=".BuildEnv(); + $theme_url = "http://".$objConfig->Get("Site_Path")."index.php?env=".BuildEnv(); return $theme_url; } @@ -2184,6 +2184,29 @@ return $o; } +function m_confirm_password_link($attribs = array()) +{ + global $var_list, $var_list_update, $m_var_list_update, $objSession, $objConfig; + + $template = "forgotpw_reset_result"; + $user = $objSession->Get("tmp_user_id").";".$objSession->Get("tmp_email"); + + $query = "&user_key=".base64_encode($user)."&Action=m_resetpw"; + + $var_list["t"] = $template; + + if($attribs["_secure"]) + { + $ret = "https://".ThisDomain().$objConfig->Get("Site_Path")."index.php?env=".BuildEnv().$query; + } + else + { + $ret = "http://".ThisDomain().$objConfig->Get("Site_Path")."index.php?env=".BuildEnv().$query; + } + + return $ret; +} + /* @description: Create a link to a template. @attrib: _Template:tpl: Template to link to (ex: "inbulletin/post_list")