BUG 0000 solucionado problema de espacio en paginador de triggers list
This commit is contained in:
@@ -670,12 +670,12 @@ class propelTable
|
|||||||
$prevpage = $this->currentPage - 1;
|
$prevpage = $this->currentPage - 1;
|
||||||
$prevUrl = $this->ownerPage . '?order=' . $this->orderBy . '&page=' . $prevpage;
|
$prevUrl = $this->ownerPage . '?order=' . $this->orderBy . '&page=' . $prevpage;
|
||||||
$prevAjax = $this->id . ".doGoToPage(".$prevpage.");return false;";
|
$prevAjax = $this->id . ".doGoToPage(".$prevpage.");return false;";
|
||||||
$first = "<a href=\"" . htmlentities( $firstUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$firstAjax."\" class='firstPage'> </a>";
|
$first = "<a href=\"" . htmlentities( $firstUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$firstAjax."\" class='firstPage'> </a>";
|
||||||
$prev = "<a href=\"" . htmlentities( $prevUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$prevAjax."\" class='previousPage'> </a>";
|
$prev = "<a href=\"" . htmlentities( $prevUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$prevAjax."\" class='previousPage'> </a>";
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$first = "<a class='noFirstPage'> </a>";
|
$first = "<a class='noFirstPage'> </a>";
|
||||||
$prev = "<a class='noPreviousPage'> </a>";
|
$prev = "<a class='noPreviousPage'> </a>";
|
||||||
}
|
}
|
||||||
if( $this->currentPage < $this->totPages ) {
|
if( $this->currentPage < $this->totPages ) {
|
||||||
$lastUrl = $this->ownerPage . '?order=' . $this->orderBy . '&page=' . $this->totPages;
|
$lastUrl = $this->ownerPage . '?order=' . $this->orderBy . '&page=' . $this->totPages;
|
||||||
@@ -683,12 +683,12 @@ class propelTable
|
|||||||
$nextpage = $this->currentPage + 1;
|
$nextpage = $this->currentPage + 1;
|
||||||
$nextUrl = $this->ownerPage . '?order=' . $this->orderBy . '&page=' . $nextpage;
|
$nextUrl = $this->ownerPage . '?order=' . $this->orderBy . '&page=' . $nextpage;
|
||||||
$nextAjax = $this->id . ".doGoToPage(" .$nextpage.");return false;";
|
$nextAjax = $this->id . ".doGoToPage(" .$nextpage.");return false;";
|
||||||
$next = "<a href=\"" . htmlentities( $nextUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$nextAjax."\" class='nextPage'> </a>";
|
$next = "<a href=\"" . htmlentities( $nextUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$nextAjax."\" class='nextPage'> </a>";
|
||||||
$last = "<a href=\"" . htmlentities( $lastUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$lastAjax."\" class='lastPage'> </a>";
|
$last = "<a href=\"" . htmlentities( $lastUrl , ENT_QUOTES , 'utf-8' ) . "\" onclick=\"".$lastAjax."\" class='lastPage'> </a>";
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$next = "<a class='noNextPage'> </a>";
|
$next = "<a class='noNextPage'> </a>";
|
||||||
$last = "<a class='noLastPage'> </a>";
|
$last = "<a class='noLastPage'> </a>";
|
||||||
}
|
}
|
||||||
$pagesEnum='';
|
$pagesEnum='';
|
||||||
for ($r=1;$r<=$this->totPages;$r++)
|
for ($r=1;$r<=$this->totPages;$r++)
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
<input type="text" class="FormField" onkeypress="if (event.keyCode===13){pagedTableId}.doFastSearch(this.value);if (event.keyCode===13)return false;" value="{fastSearchValue}" onfocus="this.select();" size="10" style="{fastSearchStyle}"/>
|
<input type="text" class="FormField" onkeypress="if (event.keyCode===13){pagedTableId}.doFastSearch(this.value);if (event.keyCode===13)return false;" value="{fastSearchValue}" onfocus="this.select();" size="10" style="{fastSearchStyle}"/>
|
||||||
</td>-->
|
</td>-->
|
||||||
<td style="text-align:center;">
|
<td style="text-align:center;">
|
||||||
{first}{prev}{next}{last}
|
{first} {prev} {next} {last}
|
||||||
</td>
|
</td>
|
||||||
<td width="60px" style="text-align:right;padding-right:8px;{indexStyle}">{labels:ID_PAGE} {currentPage}/{totalPages}</td>
|
<td width="60px" style="text-align:right;padding-right:8px;{indexStyle}">{labels:ID_PAGE} {currentPage}/{totalPages}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user