[pLog-svn] r6296 - plog/trunk/class/template

Oscar Renalias oscar at renalias.net
Sat Apr 5 03:07:10 EDT 2008


It's not as I wish or not, but from an end-user perspective, nobody  
likes to see how their blog breaks after a major software update...  
even if the solution as is as easy as replacing {dynamic} with {nocache}

On Apr 4, 2008, at 9:28 PM, Mark Wu wrote:

> Oscar:
>
> As you wish.... :D
>
> Mark
>
>> -----Original Message-----
>> From: plog-svn-bounces at devel.lifetype.net
>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
>> mark at devel.lifetype.net
>> Sent: Saturday, April 05, 2008 2:28 AM
>> To: plog-svn at devel.lifetype.net
>> Subject: [pLog-svn] r6296 - plog/trunk/class/template
>>
>> Author: mark
>> Date: 2008-04-04 14:27:48 -0400 (Fri, 04 Apr 2008) New Revision: 6296
>>
>> Modified:
>>   plog/trunk/class/template/template.class.php
>> Log:
>> keep {dynamic} block for back compatibility.
>>
>> Modified: plog/trunk/class/template/template.class.php
>> ===================================================================
>> --- plog/trunk/class/template/template.class.php	
>> 2008-04-04 18:04:55 UTC (rev 6295)
>> +++ plog/trunk/class/template/template.class.php	
>> 2008-04-04 18:27:48 UTC (rev 6296)
>> @@ -141,6 +141,8 @@
>>
>> 			// register nocache block for every
>> template instance
>> 			$this->register_block('nocache',
>> 'smarty_block_nocache', false);
>> +			// keep dynamic block for back compatibility
>> +			$this->register_block('dynamic',
>> 'smarty_block_nocache', false);
>> 			
>> 			if( $config->getValue(
>> 'trim_whitespace_output' ))
>> 				$this->load_filter( 'output',
>> 'trimwhitespace' );
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list