Index: branches/unlabeled/unlabeled-1.16.2/core/admin_templates/categories/xml/categories_list.tpl
===================================================================
diff -u -r6106 -r6528
--- branches/unlabeled/unlabeled-1.16.2/core/admin_templates/categories/xml/categories_list.tpl (.../categories_list.tpl) (revision 6106)
+++ branches/unlabeled/unlabeled-1.16.2/core/admin_templates/categories/xml/categories_list.tpl (.../categories_list.tpl) (revision 6528)
@@ -1,3 +1,5 @@
+
+
Index: branches/unlabeled/unlabeled-1.1.2/admin/install/upgrades/inportal_upgrade_v1.3.1.sql
===================================================================
diff -u
--- branches/unlabeled/unlabeled-1.1.2/admin/install/upgrades/inportal_upgrade_v1.3.1.sql (revision 0)
+++ branches/unlabeled/unlabeled-1.1.2/admin/install/upgrades/inportal_upgrade_v1.3.1.sql (revision 6528)
@@ -0,0 +1,12 @@
+UPDATE StatItem SET ValueSQL = REPLACE(ValueSQL, 'Topic_VotesToHot', 'Topic_MaxHotNumber');
+UPDATE StatItem SET ValueSQL = REPLACE(ValueSQL, 'Link_VotesToHot', 'Link_MaxHotNumber');
+UPDATE StatItem SET ValueSQL = REPLACE(ValueSQL, 'News_VotesToHot', 'News_MaxHotNumber');
+
+ALTER TABLE Language CHANGE ThousandSep ThousandSep TINYTEXT NULL;
+
+UPDATE Phrase SET Translation = TRIM(TRAILING CHAR(10) FROM Translation);
+UPDATE Phrase SET Translation = TRIM(TRAILING CHAR(13) FROM Translation);
+UPDATE Phrase SET Translation = TRIM(TRAILING CHAR(10) FROM Translation);
+UPDATE Phrase SET Translation = TRIM(TRAILING CHAR(13) FROM Translation);
+
+UPDATE Modules SET Version = '1.3.1' WHERE Name = 'In-Portal';
\ No newline at end of file
Index: branches/unlabeled/unlabeled-1.2.2/kernel/admin_templates/catalog_tab.tpl
===================================================================
diff -u -r6514 -r6528
--- branches/unlabeled/unlabeled-1.2.2/kernel/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 6514)
+++ branches/unlabeled/unlabeled-1.2.2/kernel/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 6528)
@@ -2,6 +2,8 @@
+
+
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/catalog_tab.tpl
===================================================================
diff -u -r6514 -r6528
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 6514)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 6528)
@@ -2,6 +2,8 @@
+
+
Index: branches/unlabeled/unlabeled-1.16.2/kernel/admin_templates/xml/categories_list.tpl
===================================================================
diff -u -r6106 -r6528
--- branches/unlabeled/unlabeled-1.16.2/kernel/admin_templates/xml/categories_list.tpl (.../categories_list.tpl) (revision 6106)
+++ branches/unlabeled/unlabeled-1.16.2/kernel/admin_templates/xml/categories_list.tpl (.../categories_list.tpl) (revision 6528)
@@ -1,3 +1,5 @@
+
+