Index: branches/RC/core/units/categories/categories_tag_processor.php
===================================================================
diff -u -r9524 -r9535
--- branches/RC/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 9524)
+++ branches/RC/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 9535)
@@ -284,18 +284,15 @@
}
}
- $types = $this->SelectParam($params, 'types');
- $except = $this->SelectParam($params, 'except');
-
$no_special = isset($params['no_special']) && $params['no_special'];
if ($no_special) return $this->Special;
- if ($types.$except.$parent_cat_id == '') {
+ $list_unique_key = $this->getUniqueListKey($params).$parent_cat_id;
+ if ($list_unique_key == '') {
return parent::BuildListSpecial($params);
}
- $special = crc32($types.$except.$parent_cat_id);
- return $special;
+ return crc32($list_unique_key);
}
function IsCurrent($params)
Index: branches/RC/core/units/general/cat_tag_processor.php
===================================================================
diff -u -r9363 -r9535
--- branches/RC/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 9363)
+++ branches/RC/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 9535)
@@ -98,15 +98,12 @@
$recursive = isset($params['recursive']);
- $types = $this->SelectParam($params, 'types');
- $except = $this->SelectParam($params, 'except');
-
- if ($types.$except.$recursive == '') {
+ $list_unique_key = $this->getUniqueListKey($params).$recursive;
+ if ($list_unique_key == '') {
return parent::BuildListSpecial($params);
}
- $special = crc32($parent_cat_id.$types.$except.$recursive);
- return $special;
+ return crc32($parent_cat_id.$list_unique_key);
}
function CatalogItemCount($params)
Index: branches/RC/core/kernel/db/db_tag_processor.php
===================================================================
diff -u -r9359 -r9535
--- branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 9359)
+++ branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 9535)
@@ -243,6 +243,24 @@
}
/**
+ * Returns key, that identifies each list on template (used internally, not tag)
+ *
+ * @param Array $params
+ * @return string
+ */
+ function getUniqueListKey($params)
+ {
+ $types = $this->SelectParam($params, 'types');
+ $except = $this->SelectParam($params, 'except');
+ $list_name = $this->SelectParam($params, 'list_name');
+ if (!$list_name) {
+ $list_name = $this->Application->Parser->GetParam('list_name');
+ }
+
+ return $types.$except.$list_name;
+ }
+
+ /**
* Enter description here...
*
* @param Array $params
Index: branches/RC/themes/default2007/index.tpl
===================================================================
diff -u -r9404 -r9535
--- branches/RC/themes/default2007/index.tpl (.../index.tpl) (revision 9404)
+++ branches/RC/themes/default2007/index.tpl (.../index.tpl) (revision 9535)
@@ -20,20 +20,20 @@
-
+
-
-
+
+
In-portal is a revolutionary web site management system that allows you to automate and
facilitate management of large portal and community web sites. Regardless of whether you
are running a directory site or a content news portal, a community site or an online mall,
In-portal will enhance your web site management experience with innovative.
-
-
+
+
-
+