Dieser Commit ist enthalten in:
Ursprung
2b21070b1a
Commit
f7a7c71f86
1583 geänderte Dateien mit 454759 neuen und 0 gelöschten Zeilen
21
application/views/scripts/helper/ajax-load.phtml
Normale Datei
21
application/views/scripts/helper/ajax-load.phtml
Normale Datei
|
|
@ -0,0 +1,21 @@
|
|||
<span id="ajax-<?php echo $this->domId;?>">
|
||||
<?php
|
||||
if (isset($this->viewOptions['loadingMessage'])) {
|
||||
echo $this->viewOptions['loadingMessage'];
|
||||
}
|
||||
if (isset($this->viewOptions['showThrobber']) && $this->viewOptions['showThrobber'] == true) {
|
||||
echo $this->getIcon('ajax-loader');
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
$.ajax({
|
||||
url: '<?php echo $this->url($this->ajaxOptions);?>',
|
||||
type: "GET",
|
||||
async : true,
|
||||
cache: false,
|
||||
success: function (data) {
|
||||
$("#ajax-<?php echo $this->domId;?>").html(data);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</span>
|
||||
31
application/views/scripts/helper/paginator.phtml
Normale Datei
31
application/views/scripts/helper/paginator.phtml
Normale Datei
|
|
@ -0,0 +1,31 @@
|
|||
<form action="<?php echo $this->formAction; ?>" method="<?php echo $this->formMethod; ?>" enctype="<?php echo $this->formEncType; ?>">
|
||||
<div class="paginator">
|
||||
<button class="Formbutton first" type="<?php echo $this->buttonType; ?>" onclick="<?php echo $this->first['click']; ?>" accesskey="c"<?php echo $this->first['disabled']; ?>>
|
||||
<?php echo $this->getIcon($this->first['icon'], '', 16); ?>
|
||||
</button>
|
||||
|
||||
<button class="Formbutton paginator prev" type="<?php echo $this->buttonType; ?>" onclick="<?php echo $this->prev['click']; ?>" accesskey="v"<?php echo $this->prev['disabled']; ?>>
|
||||
<?php echo $this->getIcon($this->prev['icon'], '', 16); ?>
|
||||
</button>
|
||||
<select id="combobox" name="<?php echo $this->urlParam; ?>" onchange="<?php echo $this->onChange; ?>" accesskey="b">
|
||||
<?php
|
||||
for ($i = 1; $i <= $this->pageCount; $i++) {
|
||||
?>
|
||||
<option value="<?php echo $i; ?>"<?php echo ($i == $this->currentPage) ? ' selected="selected"' : ''; ?>><?php echo $i; ?></option>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<button class="Formbutton next" type="<?php echo $this->buttonType; ?>" onclick="<?php echo $this->next['click']; ?>" accesskey="n"<?php echo $this->next['disabled']; ?>>
|
||||
<?php echo $this->getIcon($this->next['icon'], '', 16); ?>
|
||||
</button>
|
||||
<button class="Formbutton last" type="<?php echo $this->buttonType; ?>" onclick="<?php echo $this->last['click']; ?>" accesskey="m"<?php echo $this->last['disabled']; ?>>
|
||||
<?php echo $this->getIcon($this->last['icon'], '', 16); ?>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#combobox").combobox();
|
||||
});
|
||||
</script>
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren