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 $users = $this->newUsers($limit = 216,'created_at','DESC');
0024 ?>
0025 
0026     <!-- new code -->
0027     <main id="reg-page">
0028 
0029         <section class="wrapper" id="register-wrap">
0030             <div id="register" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 clearfix">
0031                 <div id="register-box" class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
0032                     <div id="login-form-box" class="well">
0033                         <h3><?= $this->translate('Account successfully deleted.') ?></h3>
0034                     </div>
0035                 </div>
0036                 <!-- END #register-box -->
0037                 <div id="social-register" class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
0038                     <h3>Join via</h3>
0039 
0040                     <div id="social-login-elements">
0041                         <div class="register-facebook">
0042                             <form action="/login/facebook" method="get">
0043                                 <button type="submit" class="facebook"> Facebook</button>
0044                             </form>
0045                         </div>
0046                         <div class="register-twitter">
0047                             <form action="/login/twitter" method="get"><input type="hidden" name="authenticate"
0048                                                                               value="1">
0049                                 <button type="submit" class="twitter"> Twitter</button>
0050                             </form>
0051                         </div>
0052                     </div>
0053                     <div class="bottom">
0054                         <div id="show-login-description"
0055                              class="small light lightgrey"><?= $this->translate('Join us?') ?></div>
0056                         <div class="login2">
0057                             <a href="/register/"
0058                                id="show-login-form"
0059                                class="btn btn-native btn-min-width">
0060                                 <i class="icon-white icon-lock"></i>
0061                                 Register
0062                             </a>
0063                         </div>
0064                     </div>
0065                 </div>
0066             </div>
0067         </section>
0068 
0069         <section id="thumbs">
0070 
0071             <?php
0072             $helperImage = new Default_View_Helper_Image();
0073             $helperMemberUrl = new Default_View_Helper_BuildMemberUrl();
0074 
0075             foreach ($users as $key => $user) { ?>
0076 
0077                 <div class="thumb">
0078                     <a href="<?php echo $helperMemberUrl->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 
0092 <?php /* $this->inlineScript()->appendScript(
0093     '    $(document).ready(function(){
0094             PartialJson.setup();
0095         });
0096     '); */