File indexing completed on 2024-12-29 05:24:45
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->inlineScript()->appendFile('/theme/flatui/js/lib/bootstrap-validator.min.js'); 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><?= $this->translate('Please type in your new password.') ?></h3> 0037 0038 <div id="help-block" class="help-block"> 0039 <?= $this->translate('') ?> 0040 </div> 0041 <div id="error" class="center text-error help-block"> 0042 <?php if ($this->error && isset($this->errorText)): ?> 0043 <p class="errors"> 0044 <?= $this->translate($this->errorText) ?> 0045 </p> 0046 <?php endif; ?> 0047 </div> 0048 <form id="passwordForm" class="standard-form row-fluid center" action="<?=$this->action?>" method="post" role="form" data-toggle="validator"> 0049 <?php 0050 if ($this->error) { 0051 $this->form->mail->class = $this->form->mail->class . ' has-error'; 0052 } 0053 ?> 0054 0055 <div class="form-group has-feedback"> 0056 <input name="password1" id="password1" value="" type="password" placeholder="Password" data-minlength="6" class="form-control" required data-minlength-error="Minimum of 6 characters"><div class="help-block with-errors"></div></div> 0057 <div class="form-group has-feedback"> 0058 <input name="password2" id="password2" value="" type="password" placeholder="Confirm Password" class="form-control" data-minlength="6" required data-match="#password1" data-minlength-error="Minimum of 6 characters" data-match-error="Passwords don't match"><div class="help-block with-errors"></div></div> 0059 0060 <button name="change_it" id="change_it" type="submit" class="btn btn-min-width btn-native">Set new Password <i id="load-state" class="fa fa-spinner fa-pulse hidden" aria-hidden="true"></i></button> 0061 0062 </form> 0063 0064 </div> 0065 0066 </div> 0067 <!-- END #login-box --> 0068 <div id="social-register" class="col-lg-4 col-md-4 col-sm-4 col-xs-4"> 0069 </div> 0070 </div> 0071 </section> 0072 0073 <section id="thumbs"> 0074 0075 <?php foreach ($users as $key => $user) { ?> 0076 0077 <div class="thumb"> 0078 <a href="<?php echo $buildMemberUrl->buildMemberUrl($user['username']); ?>"> 0079 <span></span> 0080 <img src="<?php echo $helperImage->Image($user['profile_image_url'],array('width' => 110, 'height' => 110, 'crop' => 2)); ?>"/> 0081 </a> 0082 </div> 0083 0084 <?php } ?> 0085 0086 </section> 0087 0088 </main> 0089 <!-- /new code --> 0090 0091 <?php $this->inlineScript()->appendScript( 0092 ' $(document).ready(function(){ 0093 0094 }); 0095 ');