Index: branches/5.1.x/units/link_validation/link_validation_tp.php
===================================================================
diff -u -r13165 -r13787
--- branches/5.1.x/units/link_validation/link_validation_tp.php (.../link_validation_tp.php) (revision 13165)
+++ branches/5.1.x/units/link_validation/link_validation_tp.php (.../link_validation_tp.php) (revision 13787)
@@ -1,6 +1,6 @@
getObject($params);
$category_id = isset($params['cat_id']) ? $params['cat_id'] : $object->GetDBField('CategoryId');
- $cache_key = 'category_paths[%CIDSerial:' . $category_id . '%]';
-
- if ($category_id == 0) {
- // home category name is phrase AND phrase name is defined in configuration
- $cache_key .= '[%PhrasesSerial%][%ConfSerial%]';
- }
-
+ $cache_key = 'category_paths[%CIDSerial:' . $category_id . '%][%PhrasesSerial%][Adm:' . (int)$this->Application->isAdmin . ']';
$category_path = $this->Application->getCache($cache_key);
if ($category_path === false) {
@@ -55,7 +49,7 @@
$category_path = trim($this->CategoryName( Array('cat_id' => 0) ).' > '.str_replace('&|&', ' > ', $cached_navbar), ' > ');
}
else {
- $category_path = $this->Application->Phrase( $this->Application->ConfigValue('Root_Name') );
+ $category_path = $this->Application->Phrase(($this->Application->isAdmin ? 'la_' : 'lu_') . 'rootcategory_name');
}
$this->Application->setCache($cache_key, $category_path);
Index: branches/5.1.x/admin_templates/import.tpl
===================================================================
diff -u -r13095 -r13787
--- branches/5.1.x/admin_templates/import.tpl (.../import.tpl) (revision 13095)
+++ branches/5.1.x/admin_templates/import.tpl (.../import.tpl) (revision 13787)
@@ -169,7 +169,7 @@
-
+