Przeglądaj źródła

Merge branch 'master' of biuro.biall-net.pl:plabudda/se

Piotr Labudda 11 lat temu
rodzic
commit
295e7f2bc0
1 zmienionych plików z 9 dodań i 9 usunięć
  1. 9 9
      SE/se-lib/PageNav.php

+ 9 - 9
SE/se-lib/PageNav.php

@@ -2,7 +2,7 @@
 
 
 /**
- * Klasa obs³uguj±ca podzia³ listy na strony.
+ * Klasa obsługująca podział listy na strony.
  */
 class PageNav {
 
@@ -21,9 +21,9 @@ class PageNav {
 
 	/**
 	 * @param $total - ilosc elementow
-	 * @param $limitstart - pocz±tkowy indeks z listy elementów
-	 * @param $limit - limit elementów na strone
-	 * @param $limits - tablica ilosci elementów na stronie
+	 * @param $limitstart - początkowy indeks z listy elementów
+	 * @param $limit - limit elementów na strone
+	 * @param $limits - tablica ilosci elementów na stronie
 	 */
 	public function __construct($total, $limitstart, $limit = 10, $limits = null) {
 		if (is_array($limits)) {
@@ -32,7 +32,7 @@ class PageNav {
 		else {
 			$this->limits = array(10);
 		}
-		$this->limit = ($limit > 0) ? $limit : $this->limits[0];// ilo¶æ produktów na stornie
+		$this->limit = ($limit > 0) ? $limit : $this->limits[0];// ilość produktów na stornie
 		$this->limitstart = ($limitstart > 0) ? (floor($limitstart / $this->limit) * $this->limit) : 0;
 		$this->total = $total;
 		$this->page = intval($this->limitstart / $this->limit) + 1;
@@ -116,7 +116,7 @@ function {$this->_post_uniq_id}_frm(nr){
 
 		if (0) {//TODO: count($this->limits)) {
 			$out .= '<div class="limit">';
-			$out .= ' Poka¿: ';
+			$out .= ' Pokaż: ';
 			$out .= ' <select id="limit" name="limit" class="inputbox" onchange="javascript: document.listaForm.submit();" size="1">';
 			foreach ($this->limits as $val) {
 				$out .= '  <option '.(($this->limit == $val) ? ' selected="selected" ' : '').' value="'.$val.'">'.$val.'</option>';
@@ -184,11 +184,11 @@ function {$this->_post_uniq_id}_frm(nr){
 			}
 		}
 		if ($this->page == $this->pages) {
-			$out .= '<span title="Nastêpna"> &gt; </span>';
+			$out .= '<span title="Następna"> &gt; </span>';
 			$out .= '<span title="Ostatnia"> &gt;&gt; </span>';
 		}
 		else {
-			$out .= $this->link('<span> &gt; </span>', $this->page + 1, array('title'=>"Nastêpna"));
+			$out .= $this->link('<span> &gt; </span>', $this->page + 1, array('title'=>"Następna"));
 			$out .= $this->link('<span> &gt;&gt; </span>', $this->pages, array('title'=>"Ostatnia"));
 		}
 			if ($type != 'links_only') {
@@ -197,7 +197,7 @@ function {$this->_post_uniq_id}_frm(nr){
 		}
 		if ($type != 'links_only') {
 			$out .= '<span class="strona">strona '.$this->page.' z '.$this->pages.'</span>';
-			$out .= ' (' . $this->total . ' rekordów)';
+			$out .= ' (' . $this->total . ' rekordów)';
 		}
 		$out .= '</div>';//.strony