Index: trunk/core/kernel/parser/template_parser.php
===================================================================
diff -u -r2737 -r2905
--- trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 2737)
+++ trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 2905)
@@ -365,7 +365,7 @@
$conn =& $this->Application->GetADODBConnection();
$cached = $conn->GetRow('SELECT * FROM '.TABLE_PREFIX.'Cache WHERE VarName = "'.$fname.'"');
if ($cached !== false && $cached['Cached'] > filemtime($tname)) {
- eval('?'.'>'.$cached['Data'].'<'.'?');
+ eval('?'.'>'.$cached['Data']);
$is_cached = true;
}
}
@@ -388,9 +388,9 @@
$this->CompiledBuffer .= '<'.'?php'."\n";
$this->CompiledBuffer .= 'global $application;'."\n";
-
+
$this->CompiledBuffer .= '$params =& $application->Parser->Params;'."\n";
-
+
$this->CompiledBuffer .= '$o = \'\';'."\n";
}
@@ -432,7 +432,7 @@
if (defined('SAFE_MODE') && SAFE_MODE) {
if (!isset($conn)) $conn =& $this->Application->GetADODBConnection();
- $conn->Query('REPLACE INTO '.TABLE_PREFIX.'Cache (VarName, Data, Cached) VALUES ('.$conn->qstr($fname).','.$conn->qstr(str_replace('<'.'?php','<'.'?',$this->CompiledBuffer)).','.mktime().')');
+ $conn->Query('REPLACE INTO '.TABLE_PREFIX.'Cache (VarName, Data, Cached) VALUES ('.$conn->qstr($fname).','.$conn->qstr($this->CompiledBuffer).','.mktime().')');
}
else {
$compiled = fopen($fname, 'w');
@@ -480,7 +480,7 @@
//$this->SetParams($params);
if( !isset($pass_params['PrefixSpecial']) && isset($pass_params['prefix']) ) $pass_params['PrefixSpecial'] = $pass_params['prefix'];
-
+
$ret = $f($pass_params);
unset($this->ParamsStack[$this->ParamsRecursionIndex--]);
Index: trunk/admin/install/upgrades/readme_1_1_2.txt
===================================================================
diff -u -r2821 -r2905
--- trunk/admin/install/upgrades/readme_1_1_2.txt (.../readme_1_1_2.txt) (revision 2821)
+++ trunk/admin/install/upgrades/readme_1_1_2.txt (.../readme_1_1_2.txt) (revision 2905)
@@ -1,10 +1,29 @@
-0008623 - Errors are not shown on password reset screen in default theme.
-0008641 - new tag added
-0008662 - "Delete All" button in search log in admin
-0008467 - Admin, Item Edit -> Categories tab shows only first 20 categories. fixed.
-0008754 - added tag for category image and image list output
-0008627 - install script still shows upgrade option when no upgrade possible (fixed)
-0008791 - Ability to set First Day Of Week in Configuration (used in affiliate processing)
-0008943 - Email events with mixed tags sent from admin caused error
-0009076 - If site name contains " or ' they were not escaped before using in javascript -> raised js errors
-0009091 - When subscriber-only user is registring again, then OnUpdate is called instead of OnCreate as usual
\ No newline at end of file
+Readme notes for In-portal Platform 1.1.2
+Intechnic Corporation, November 1, 2005
+
+New Features:
+
+- Added "Visits" section under Summary & Logs - the section lists all the vistors of the site, including referrer IP, URL and username if the user logs in during the visit
+- Added tag
+- Added "Delete All" button in Summary & Logs -> Search Log
+- Added tag for displaying category images
+- Added "First Day Of Week" configuration option
+
+Bug fixes:
+- Error messages in forgot password form
+- Fixed pagination in Categories tab of Item edit form
+- Fixed install script upgrade option display (when upgrade is not available)
+- Fixed email events with mixed and tags processing
+- Fixed errors caused by site name containing ' or "
+- Fixed registering of user who is already subscribed to the mailing list (unique email check)
+
+#0008623 - Errors are not shown on password reset screen in default theme.
+#0008641 - new tag added
+#0008662 - "Delete All" button in search log in admin
+#0008467 - Admin, Item Edit -> Categories tab shows only first 20 categories. fixed.
+#0008754 - added tag for category image and image list output
+#0008627 - install script still shows upgrade option when no upgrade possible (fixed)
+#0008791 - Ability to set First Day Of Week in Configuration (used in affiliate processing)
+#0008943 - Email events with mixed tags sent from admin caused error
+#0009076 - If site name contains " or ' they were not escaped before using in javascript -> raised js errors
+#0009091 - When subscriber-only user is registring again, then OnUpdate is called instead of OnCreate as usual
\ No newline at end of file