Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -3,9 +3,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* IP.Board v3.4.5
|
||||
* Skin Functions
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* Last Updated: $Date: 2012-11-27 20:31:18 -0500 (Tue, 27 Nov 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* Owner: Matt
|
||||
@@ -15,7 +15,7 @@
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 9th March 2005 11:03
|
||||
* @version $Revision: 10914 $
|
||||
* @version $Revision: 11650 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -595,7 +595,7 @@ class skinImportExport extends skinCaching
|
||||
$new_items['templates'][] = $existing_id;
|
||||
$this->DB->update( 'skin_templates', array( 'template_content' => $template['template_content'],
|
||||
'template_data' => $template['template_data'],
|
||||
'template_updated' => $template['template_updated'],
|
||||
'template_updated' => ( $template['template_updated'] ) ? $template['template_updated'] : IPS_UNIX_TIME_NOW,
|
||||
'template_removable' => 1,
|
||||
'template_user_edited' => 1,
|
||||
'template_user_added' => $isAdded,
|
||||
@@ -608,7 +608,7 @@ class skinImportExport extends skinCaching
|
||||
'template_content' => $template['template_content'],
|
||||
'template_name' => $template['template_name'],
|
||||
'template_data' => $template['template_data'],
|
||||
'template_updated' => $template['template_updated'],
|
||||
'template_updated' => ( $template['template_updated'] ) ? $template['template_updated'] : IPS_UNIX_TIME_NOW,
|
||||
'template_removable' => 1,
|
||||
'template_user_edited' => 1,
|
||||
'template_user_added' => $isAdded,
|
||||
@@ -1098,7 +1098,7 @@ class skinImportExport extends skinCaching
|
||||
// INIT
|
||||
//-----------------------------------------
|
||||
|
||||
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/useragents/userAgentFunctions.php', 'userAgentFunctions' );
|
||||
$classToLoad = IPSLib::loadLibrary( IPS_ROOT_PATH . 'sources/classes/useragents/userAgentFunctions.php', 'userAgentFunctions' );
|
||||
$userAgentFunctions = new $classToLoad( $this->registry );
|
||||
|
||||
$skins = array();
|
||||
@@ -1569,6 +1569,7 @@ class skinImportExport extends skinCaching
|
||||
unset( $templateData['template_id'] );
|
||||
unset( $templateData['template_set_id'] );
|
||||
unset( $templateData['template_added_to'] );
|
||||
unset( $templateData['template_updated'] );
|
||||
|
||||
$xml->addElementAsRecord( 'templategroup', 'template', $templateData );
|
||||
$added++;
|
||||
|
||||
Reference in new issue
Block a user