File indexing completed on 2024-06-16 05:26:56
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 <?php if ($this->pageCount): ?> 0024 <div class="paginationControl"> 0025 <!-- Vorheriger Seitenlink --> 0026 <?php if (isset($this->previous)): ?> 0027 <a href="<?php echo $this->url(array('page' => $this->previous)); ?>" id="dialog_link_l" 0028 class="ui-state-default ui-corner-all" style="float:left;"> 0029 <span class="ui-icon ui-icon-carat-1-w"></span>Vorher 0030 </a> 0031 <?php else: ?> 0032 <div id="dialog_link_l" class="ui-state-default ui-corner-all" style="float: left;"><span 0033 class="ui-icon ui-icon-carat-1-w"></span>Vorher 0034 </div> 0035 <?php endif; ?> 0036 0037 <!-- Anzahl an Seitenlinks --> 0038 <?php foreach ($this->pagesInRange as $page): ?> 0039 <?php if ($page != $this->current): ?> 0040 <a href="<?php echo $this->url(array('page' => $page)); ?>" 0041 class="ui-state-default ui-corner-all pageButton" style="float: left;"><?php echo $page; ?></a> 0042 <?php else: ?> 0043 <div class="ui-state-default ui-corner-all pageButton" style="float: left;"><?php echo $page; ?></div> 0044 <?php endif; ?> 0045 <?php endforeach; ?> 0046 0047 <!-- Nächster Seitenlink --> 0048 <?php if (isset($this->next)): ?> 0049 <a href="<?php echo $this->url(array('page' => $this->next)); ?>" id="dialog_link_r" 0050 class="ui-state-default ui-corner-all" style="float: left;">Nächster <span 0051 class="ui-icon ui-icon-carat-1-e"></span></a> 0052 <?php else: ?> 0053 <div id="dialog_link_r" class="ui-state-default ui-corner-all" style="float: left;">Nächster<span 0054 class="ui-icon ui-icon-carat-1-e"></span></div> 0055 <?php endif; ?> 0056 </div> 0057 <?php endif; ?> 0058 <script type="text/javascript"> 0059 $(".paginationControl a").hover( 0060 function () { 0061 $(this).addClass("ui-state-hover"); 0062 }, 0063 function () { 0064 $(this).removeClass("ui-state-hover"); 0065 } 0066 ); 0067 </script>