Selaa lähdekoodia

Add files via upload

Daniele Bonini (皮夕): WebDev and DevOps by lots of Simplicity bits 3 vuotta sitten
vanhempi
commit
7597227a95
2 muutettua tiedostoa jossa 11 lisäystä ja 5 poistoa
  1. 4 2
      config.inc.sample
  2. 7 3
      index.php

+ 4 - 2
config.inc.sample

@@ -46,7 +46,8 @@ define('APP_SALT', "yoursalt");
 // Default Locale, in two letters format
 define('APP_LOCALE', "EN");
 define('APP_CUSTOM_HEADER', "&nbsp;&nbsp;<a href='http://5mode.com'><img src='/ACT_res/5mode.png' style='width:950px;'></a>");
-define('APP_SUPPORT_BUTTON', "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>");
+define('APP_SUPPORT_LINK', "<a href='https://buy.stripe.com/bIY2be4dE5Fifvy000'>Personal donation</a>");
+define('APP_GITHUB_BUTTON', "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>");
 define('APP_SHOP_LINK', "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>");
 // App uses: PRIVATE or BUSINESS
 define('APP_USE', "PRIVATE");
@@ -82,7 +83,8 @@ $CONFIG = [
       // Default Locale, in two letters format
       'LOCALE' => "EN",
       'CUSTOM_HEADER' => "&nbsp;&nbsp;<a href='http://5mode.com'><img src='/ACT_res/5mode.png' style='width:950px;'></a>",
-      'SUPPORT_BUTTON' => "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>",
+      'SUPPORT_LINK' => "<a href='https://buy.stripe.com/bIY2be4dE5Fifvy000'>Personal donation</a>",
+      'GITHUB_BUTTON' => "<iframe src='https://github.com/sponsors/par7133/button' height='55' width='182' style='border:0;'></iframe>",
       'SHOP_LINK' => "<a href='http://market.from.craft2.cyou/'>5 Mode Market</a>",
       // App use: PRIVATE or BUSINESS
       'USE' => "PRIVATE",

+ 7 - 3
index.php

@@ -688,12 +688,16 @@
     <br><br><br>
     
     <div style="font-size:23px;">
-    <?php if ((APP_SUPPORT_BUTTON!="") || (APP_SUPPORT_BUTTON!="")):?>
+    <?php if ((APP_SUPPORT_LINK!="") || (APP_GITHUB_BUTTON!="") || (APP_SUPPORT_BUTTON!="")):?>
     <?php echo(APP_SUPPORT_MSG);?><br><br>
     <?php endif;?>
+
+    <?php if (APP_SUPPORT_LINK!=""):?> 
+    <?php echo (APP_SUPPORT_LINK);?><br><br>
+    <?php endif;?>
     
-    <?php if (APP_SUPPORT_BUTTON!=""):?> 
-    <?php echo (APP_SUPPORT_BUTTON);?><br>
+    <?php if (APP_GITHUB_BUTTON!=""):?> 
+    <?php echo (APP_GITHUB_BUTTON);?><br>
     <?php endif;?>
     
     <?php if (APP_SHOP_LINK!=""):?>