#118 textified mojotrollz donate, fixed beta code requirement for registration, updated system referece, meta texts
This commit is contained in:
parent
7099a63504
commit
e0c6e047e4
@ -1 +1 @@
|
||||
Subproject commit b9416d5b91da71eee8f1e27792478f0b42760d39
|
||||
Subproject commit 88a19b1b98c69a7b66dfb20f703bb9aef1dcaf16
|
||||
@ -11,17 +11,14 @@ class api_mojotrollz extends \SYSTEM\API\api_system {
|
||||
\SYSTEM\LOG\JsonResult::fail();
|
||||
}
|
||||
|
||||
public static function call_mojo_action_register($username, $password, $email, $wowpassword, $betakey = null){
|
||||
if(!$betakey || !\SAI\saimod_mojotrollz_beta::code_check($betakey)){
|
||||
throw new \SYSTEM\LOG\ERROR('Beta Key invalid.');}
|
||||
public static function call_mojo_action_register($username, $password, $email, $wowpassword){
|
||||
if(!\SYSTEM\SECURITY\Security::available($username) || !self::wow_username_available($username)){
|
||||
throw new \SYSTEM\LOG\ERROR('Username is not available.');}
|
||||
|
||||
if( !\SYSTEM\SECURITY\Security::create($username, $password, $email, \SYSTEM\CONFIG\config::get(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DEFAULT_LANG)) ||
|
||||
!self::wow_account_register($username,$email,$wowpassword)){
|
||||
throw new ERROR("Account creation failed. Retry later.");}
|
||||
|
||||
\SAI\saimod_mojotrollz_beta::code_use($betakey, \SYSTEM\SECURITY\Security::getUser()->id);
|
||||
|
||||
return JsonResult::ok();
|
||||
}
|
||||
|
||||
|
||||
@ -1,16 +1,6 @@
|
||||
<div class="row" style="padding-left: 10px; padding-right: 10px;">
|
||||
<div class="col-md-9" style="padding-bottom: 15px;">
|
||||
<h1>Donate to Mojotrollz.eu</h1>
|
||||
<p><b>We accept Bitcoin-Donations for Mojotrollz.eu</b></p>
|
||||
<p>Feel free to donate any amount you like us to receive. We will use those Donations to keep the Server Up and running.
|
||||
There is no Reward for donating yet - but you can be assured you have our deepest respect and be considered a Founder.
|
||||
If there will be Rewards for Donating in the Future you previous Donations will give you a special something so everyone
|
||||
can see how generous you are.
|
||||
</p>
|
||||
<h3>Why Bitcoin</h3>
|
||||
<p>Why Bitcoin you ask? Because its Anonymous. If we use Bitcoin there is bigger Chance to not get in Trouble even if larger
|
||||
Amounts of Payments are received. We value our and your Anonymity - therefore Bitcoin!
|
||||
</p>
|
||||
${mojotrollz_donate}
|
||||
</div>
|
||||
<div class="col-md-3" style="padding-left: 40px; padding-top: 120px;">
|
||||
<a href="bitcoin:1DZmhdbP4YQvwYBTNDNEBnDFn1gYrHb3uT&amount=0.025&message=Mojodonate">
|
||||
|
||||
@ -3,10 +3,10 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="${meta_description}">
|
||||
<meta name="author" content="${meta_author}">
|
||||
<meta name="keywords" content="${meta_keywords}">
|
||||
<title>${meta_title}</title>
|
||||
<meta name="description" content="${meta_start_description}">
|
||||
<meta name="author" content="${meta_start_author}">
|
||||
<meta name="keywords" content="${meta_start_keywords}">
|
||||
<title>${title_start}</title>
|
||||
<meta name="fragment" content="!">
|
||||
<link rel="icon" href="./api.php?call=files&cat=content&id=favicon.ico" type="image/x-icon"/>
|
||||
<style type="text/css">
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user