Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

@@ -3,17 +3,17 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* Template Pluging: Date
* Last Updated: $Date: 2010-03-10 07:00:06 -0500 (Wed, 10 Mar 2010) $
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
* </pre>
*
* @author $Author: matt $
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 5932 $
* @link http://hatynka.in
* @version $Rev: 8644 $
*/
/**
@@ -25,7 +25,7 @@ class tp_date extends output implements interfaceTemplatePlugins
* Prevent our main destructor being called by this class
*
* @access public
* @return void
* @return @e void
*/
public function __destruct()
{
@@ -47,8 +47,6 @@ class tp_date extends output implements interfaceTemplatePlugins
//-----------------------------------------
$return = '';
$_format = 'LONG';
$_relative = 1;
$timestamp = $data ? $data : "'{custom:now}'";
# Fix up string style dates
@@ -67,8 +65,9 @@ class tp_date extends output implements interfaceTemplatePlugins
}*/
$_relative = ( isset( $options['relative'] ) && $options['relative'] == 'false' ) ? 1 : 0;
$_format = empty( $options['format'] ) ? 'LONG' : $options['format'];
$return = '$this->registry->getClass(\'class_localization\')->getDate(' . $timestamp . ',"' . $options['format'] . '", ' . $_relative . ')';
$return = '$this->registry->getClass(\'class_localization\')->getDate(' . $timestamp . ',"' . $_format . '", ' . $_relative . ')';
return '" . ' . $return . ' . "';
}