File indexing completed on 2024-12-29 05:24:49
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 = 'profiles'; 0026 0027 ?> 0028 <main class="user-admin-page"> 0029 <?php echo $this->render('user/partials/userHeader_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.phtml'); ?> 0036 <!-- /NAVIGATION --> 0037 0038 <!-- PAGE BODY --> 0039 <section class="settings-page"> 0040 <h1 class="page-title"><?= $this->translate('Profiles') ?></h1> 0041 <br/> 0042 0043 <div class="pling-nav-tabs"> 0044 <ul class="nav nav-tabs "> 0045 <li class="active"> 0046 <a href="#form-profile-panel" data-toggle="tab"> 0047 <span class="glyphicon glyphicon-user"></span> 0048 <?= $this->translate('Profile') ?> 0049 </a> 0050 </li> 0051 0052 <li> 0053 <a href="#form-picture-panel" data-toggle="tab"> 0054 <span class="glyphicon glyphicon-camera"></span> 0055 <?= $this->translate('Profile Picture') ?> 0056 </a> 0057 </li> 0058 0059 <li> 0060 <a href="#form-picture-background-panel" data-toggle="tab"> 0061 <span class="glyphicon glyphicon-picture"></span> 0062 <?= $this->translate('Background') ?> 0063 </a> 0064 </li> 0065 0066 0067 <li> 0068 <a href="#form-connected-accounts-panel" data-toggle="tab"> 0069 <span class="glyphicon glyphicon-link"></span> 0070 <?= $this->translate('Social Accounts') ?> 0071 </a> 0072 </li> 0073 0074 <li> 0075 <a href="#form-website-panel" data-toggle="tab"> 0076 <span class="glyphicon glyphicon-globe"></span> 0077 <?= $this->translate('Your Website') ?> 0078 </a> 0079 </li> 0080 0081 0082 </ul> 0083 </div> 0084 <div class="tab-content row settings-main "> 0085 <div class="tab-pane active " id="form-profile-panel"> 0086 <section class="panel container" id="form-profile"> 0087 <?php echo $this->render('settings/partials/profile.phtml'); ?> 0088 </section> 0089 </div> 0090 0091 0092 0093 <div class="tab-pane " id="form-connected-accounts-panel"> 0094 <section class="panel container" id="form-accounts"> 0095 <?php echo $this->render('settings/partials/accounts.phtml'); ?> 0096 </section> 0097 </div> 0098 0099 <div class="tab-pane " id="form-picture-panel"> 0100 <section class="panel container" id="form-picture"> 0101 <?php echo $this->render('settings/partials/picture.phtml'); ?> 0102 </section> 0103 </div> 0104 0105 0106 <div class="tab-pane " id="form-picture-background-panel"> 0107 <section class="panel container" id="form-picture-background"> 0108 <?php echo $this->render('settings/partials/picture-bg.phtml'); ?> 0109 </section> 0110 </div> 0111 0112 0113 0114 <div class="tab-pane " id="form-website-panel"> 0115 <section class="panel container" id="form-website"> 0116 <?php echo $this->render('settings/partials/website.phtml'); ?> 0117 </section> 0118 </div> 0119 0120 0121 </div> 0122 </section> 0123 <!-- /PAGE BODY --> 0124 </section> 0125 <!-- /PAGE BODY --> 0126 </section> 0127 </section> 0128 </main> 0129 <script> 0130 $(document).ready(function () { 0131 if (document.location.hash) { 0132 var hash = $(document.location.hash); 0133 $('a[href="' + document.location.hash + '"]').trigger("click"); 0134 } 0135 }); 0136 </script> 0137 0138 <?php $this->inlineScript()->appendScript(' 0139 $(document).ready(function(){ 0140 ImagePreview.setup(); 0141 PartialForms.setup(); 0142 }); 0143 ');