File indexing completed on 2025-01-12 05:19:13

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 $users = $this->newUsers($limit = 216,'created_at','DESC');
0023 $buildMemberUrl = new Default_View_Helper_BuildMemberUrl();
0024 $helperImage = new Default_View_Helper_Image();
0025 $this->form = new Default_Form_Forgot();
0026 ?>
0027 
0028     <!-- new code -->
0029     <main id="reg-page">
0030 
0031         <section class="wrapper" id="register-wrap">
0032             <div id="register" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 clearfix">
0033                 <div id="register-box" class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
0034 
0035                     <div id="login-form-box" class="well" style="width: 100%">
0036                         <h3>Forgot your password?</h3>
0037 
0038                         <div id="help-block" class="help-block">
0039                             Please provide the email of the account you like to recover and instructions how to reset your password will be emailed to you:    </div>
0040                         <div id="error" class="center text-error help-block">
0041                         </div>
0042                         <form class="standard-form row-fluid center partialjson" action="/password/request" method="post">
0043 
0044                             <div class="form-group has-feedback">
0045                                 <input name="mail" id="mail" value="" placeholder="Email" type="email" required style="width: 100%;"></div>
0046                             <button name="send" id="send" type="submit" class="btn btn-min-width btn-native">Request password reset</button>
0047                         </form>
0048 
0049                     </div>
0050 
0051                 </div>
0052                 <!-- END #login-box -->
0053                 <div id="social-register" class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
0054                     <h3></h3>
0055 
0056                     <div class="bottom">
0057                         <div id="show-login-description" class="small light lightgrey">Already have an account?</div>
0058                         <div class="login2">
0059                             <a href="/login/"
0060                                id="show-login-form"
0061                                class="btn btn-native btn-min-width" rel="nofollow">
0062                                 <i class="icon-white icon-lock"></i>
0063                                 Login
0064                             </a>
0065                         </div>
0066                     </div>
0067                 </div>
0068             </div>
0069         </section>
0070 
0071         <section id="thumbs">
0072 
0073             <?php foreach ($users as $key => $user) { ?>
0074 
0075                 <div class="thumb">
0076                     <a href="<?php echo $buildMemberUrl->buildMemberUrl($user['username']); ?>">
0077                         <span></span>
0078                         <img src="<?php echo $helperImage->Image($user['profile_image_url'],array('width' => 110, 'height' => 110, 'crop' => 2)); ?>"/>
0079                     </a>
0080                 </div>
0081 
0082             <?php } ?>
0083 
0084         </section>
0085 
0086     </main>
0087     <!-- /new code -->
0088 
0089 
0090 <?php $this->inlineScript()->appendScript(
0091     '    $(document).ready(function(){
0092             
0093         });
0094     ');