[xoops-cvslog 1792] CVS update: xoops2jp/html/modules/legacyRender/admin/class

Back to archive index

Minahito minah****@users*****
2006年 1月 15日 (日) 21:14:52 JST


Index: xoops2jp/html/modules/legacyRender/admin/class/PageNavigator.class.php
diff -u /dev/null xoops2jp/html/modules/legacyRender/admin/class/PageNavigator.class.php:1.1.2.1
--- /dev/null	Sun Jan 15 21:14:52 2006
+++ xoops2jp/html/modules/legacyRender/admin/class/PageNavigator.class.php	Sun Jan 15 21:14:52 2006
@@ -0,0 +1,34 @@
+<?php
+
+require_once XOOPS_ROOT_PATH . "/class/XCube_PageNavigator.class.php";
+
+class LegacyRender_PageNavigator extends XCube_PageNavigator
+{
+	function renderSortUrl()
+	{
+		return parent::renderSortUrl('sort');
+	}
+	
+	function renderHidden($mask = null)
+	{
+		if ($mask == null) {
+			$mask = array();
+		}
+		if (!is_array($mask)) {
+			$mask = array($mask);
+		}
+		
+		$ret ="";
+		
+		foreach ($this->mExtra as $key => $value) {
+			if (!isset($mask[$key])) {
+				$value = htmlspecialchars($value, ENT_QUOTES);
+				$ret .= "<input type=\"hidden\" name=\"${key}\" value=\"${value}\" />";
+			}
+		}
+		
+		return $ret;
+	}
+}
+
+?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index