File indexing completed on 2024-12-29 05:24:48
0001 <?php 0002 /** 0003 * ocs-webserver 0004 * 0005 * Copyright 2016 by pling GmbH. 0006 * 0007 * This file is part of ocs-webserver. 0008 * 0009 * This program is free software: you can redistribute it and/or modify 0010 * it under the terms of the GNU Affero General Public License as 0011 * published by the Free Software Foundation, either version 3 of the 0012 * License, or (at your option) any later version. 0013 * 0014 * This program is distributed in the hope that it will be useful, 0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0017 * GNU Affero General Public License for more details. 0018 * 0019 * You should have received a copy of the GNU Affero General Public License 0020 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0021 **/ 0022 ?> 0023 0024 0025 0026 <div class="panel-collapse " id="payments-collapse"> 0027 <div class="panel-body"> 0028 <form class="standard-form well partial" action="<?= $this->paymentform->getAction(); ?>" 0029 method="<?= $this->paymentform->getMethod(); ?>" data-target="#form-payment" 0030 data-trigger="#payments-trigger"> 0031 <div class="row"> 0032 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> 0033 <?php 0034 $member = $this->member; 0035 if($member->paypal_valid_status > 100) { 0036 $status = $this->paypal_valid_status; 0037 if($status->color == 'red') { 0038 echo '<div class="alert alert-danger" role="alert">'.$status->description.'</div>'; 0039 } 0040 if($status->color == 'yellow') { 0041 echo '<div class="alert alert-warning" role="alert">'.$status->description.'</div>'; 0042 } 0043 if($status->color == 'blue') { 0044 echo '<div class="alert alert-info" role="alert">'.$status->description.'</div>'; 0045 } 0046 if($status->color == 'green') { 0047 echo '<div class="alert alert-success" role="alert">'.$status->description.'</div>'; 0048 } 0049 } 0050 ?> 0051 <p class="italic"> 0052 <?= $this->translate('Here are the settings for receiving payouts. Please provide a valid paypal address to participate in the payout program.') ?> 0053 </p> 0054 </div> 0055 </div> 0056 <hr> 0057 <div class="row"> 0058 <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12"> 0059 <?= $this->paymentform->paypal_mail->setAttrib('tabindex', 24) ?> 0060 </div> 0061 </div> 0062 <br/> 0063 <div class="row"> 0064 <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12"> 0065 <label for="wallet_address">Bitcoin: Your Public Wallet Address</label><br/>Coming in the future</div> 0066 </div> 0067 <?php /* 0068 <br/> 0069 <div class="row"> 0070 <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12"> 0071 <?= $this->paymentform->wallet_address->setAttrib('tabindex', 25)->setAttrib('pattern', '^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$') ?> 0072 </div> 0073 </div> 0074 * 0075 */ ?> 0076 <?php /* 0077 <div class="row margin-top-15"> 0078 <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12"> 0079 <?= $this->paymentform->dwolla_id->setAttrib('tabindex', 25) ?> 0080 </div> 0081 </div> 0082 */ 0083 ?> 0084 0085 <hr> 0086 <div class="row"> 0087 <div class="box pull-left margin-left-15" style="padding-left: 15px;"> 0088 <?php echo $this->formResult($this->paymentform, $this->save); ?> 0089 </div> 0090 <button type="submit" class="btn btn-native pull-right" 0091 tabindex="25"><?= $this->translate('Save & Update') ?></button> 0092 </div> 0093 </form> 0094 <!-- /.standard-form --> 0095 </div> 0096 <!-- /.section-body --> 0097 </div>