Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -93,7 +93,7 @@ class _templates extends \IPS\Dispatcher\Controller
|
||||
/* Open XML file */
|
||||
$xml = new \IPS\Xml\XMLReader;
|
||||
$xml->open( \IPS\Request::i()->file );
|
||||
$prefix = date('m') . '_' . date('d') . '_' . date('y') . '_';
|
||||
$prefix = 'm' . date('m') . '_' . date('d') . '_' . date('y') . '_';
|
||||
$templates = \IPS\cms\Theme::i()->getRawTemplates( 'cms', NULL, NULL, \IPS\cms\Theme::RETURN_ALL );
|
||||
|
||||
if ( ! @$xml->read() )
|
||||
@@ -710,7 +710,7 @@ class _templates extends \IPS\Dispatcher\Controller
|
||||
list( $widgetApp, $widgetKey ) = explode( '__', $values['block_template_plugin_import'] );
|
||||
|
||||
/* Find it from the normal template system */
|
||||
$plugin = \IPS\Widget::load( \IPS\Application::load( $widgetApp ), $widgetKey, uniqid(), array() );
|
||||
$plugin = \IPS\Widget::load( \IPS\Application::load( $widgetApp ), $widgetKey, mt_rand(), array() );
|
||||
|
||||
$location = $plugin->getTemplateLocation();
|
||||
|
||||
|
||||
Reference in new issue
Block a user