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 $helperImage = new Default_View_Helper_Image(); 0024 $helpMemberUrl = new Default_View_Helper_BuildMemberUrl(); 0025 $this->tab = 'settings'; 0026 0027 ?> 0028 <main class="user-admin-page"> 0029 <?php echo $this->render('user/partials/userHeader_settings_top.phtml'); ?> 0030 <section class="body-wrap"> 0031 <section class="wrapper product-page"> 0032 <!-- PAGE BODY --> 0033 <section class="my-products-page"> 0034 <!-- NAVIGATION --> 0035 <?php echo $this->render('user/partials/userHeader_settings.phtml'); ?> 0036 <!-- /NAVIGATION --> 0037 0038 <!-- PAGE BODY --> 0039 <section class="settings-page"> 0040 <h1 class="page-title"><?= $this->translate('Settings') ?></h1> 0041 <br/> 0042 0043 <div class="pling-nav-tabs"> 0044 <ul class="nav nav-tabs "> 0045 0046 0047 <li class="active"> 0048 <a href="#form-email-panel" data-toggle="tab"> 0049 <span class="glyphicon glyphicon-envelope"></span> 0050 <?= $this->translate('Emails') ?> 0051 </a> 0052 </li> 0053 0054 <li> 0055 <a href="#form-payment-panel" data-toggle="tab"> 0056 <span class="glyphicon glyphicon-usd"></span> 0057 <?= $this->translate('Payout Options') ?> 0058 </a> 0059 </li> 0060 0061 <li> 0062 <a href="#form-github-panel" data-toggle="tab"> 0063 <svg aria-hidden="true" class="octicon octicon-mark-github" height="12" version="1.1" 0064 viewBox="0 0 16 16" width="15"> 0065 <path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path> 0066 </svg> 0067 <span class="githublabel"><?= $this->translate('Github Developer Account') ?></span> 0068 </a> 0069 </li> 0070 0071 0072 0073 <li> 0074 <a href="#form-password-panel" data-toggle="tab"> 0075 <span class="glyphicon glyphicon-lock"></span> 0076 <?= $this->translate('Password') ?> 0077 </a> 0078 </li> 0079 0080 <li> 0081 <a href="#form-newsletter-panel" data-toggle="tab"> 0082 <span class="glyphicon glyphicon-inbox"></span> 0083 <?= $this->translate('Newsletter') ?> 0084 </a> 0085 </li> 0086 </ul> 0087 </div> 0088 <div class="tab-content row settings-main "> 0089 0090 0091 <div class="tab-pane active" id="form-email-panel"> 0092 <section class="panel container" id="form-email"> 0093 <?php echo $this->render('settings/partials/email.phtml'); ?> 0094 </section> 0095 </div> 0096 0097 <div class="tab-pane " id="form-payment-panel"> 0098 <section class="panel container" id="form-payment"> 0099 <?php echo $this->render('settings/partials/payment.phtml'); ?> 0100 </section> 0101 </div> 0102 0103 <div class="tab-pane " id="form-github-panel"> 0104 <section class="panel container" id="form-github"> 0105 <?php echo $this->render('settings/partials/github.phtml'); ?> 0106 </section> 0107 </div> 0108 0109 0110 0111 0112 <div class="tab-pane " id="form-password-panel"> 0113 <section class="panel container" id="form-password"> 0114 <?php echo $this->render('settings/partials/password.phtml'); ?> 0115 </section> 0116 </div> 0117 0118 0119 0120 <div class="tab-pane " id="form-newsletter-panel"> 0121 <section class="panel container" id="form-newsletter"> 0122 <?php echo $this->render('settings/partials/newsletter.phtml'); ?> 0123 </section> 0124 </div> 0125 </div> 0126 </section> 0127 <!-- /PAGE BODY --> 0128 </section> 0129 <!-- /PAGE BODY --> 0130 </section> 0131 </section> 0132 </main> 0133 <script> 0134 $(document).ready(function () { 0135 if (document.location.hash) { 0136 var hash = $(document.location.hash); 0137 $('a[href="' + document.location.hash + '"]').trigger("click"); 0138 } 0139 }); 0140 </script> 0141 0142 <?php $this->inlineScript()->appendScript(' 0143 $(document).ready(function(){ 0144 ImagePreview.setup(); 0145 PartialForms.setup(); 0146 }); 0147 ');