PluginProbe
CSS & JavaScript Toolbox / 8.0.3
CSS & JavaScript Toolbox v8.0.3
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | framework/mvc/view.inc.php +3 -9 128.0.3 View file →
@@ -70,16 +70,10 @@
70 70 * put your comment there...
71 71 *
72 72 * @var mixed
73 73 */
74 - protected $onloadtemplate = array
75 - (
76 - 'parameters' => array
77 - (
78 - 'content',
79 - 'file',
80 - 'dir',
81 - ),
74 + protected $onloadtemplate = array(
75 + 'parameters' => array('content', 'file'),
82 76 );
83 77
84 78 /**
85 79 * put your comment there...
@@ -248,9 +242,9 @@
248 242 $templateFile = $this->getPath("{$dir}/{$name}{$extension}");
249 243 // Get template content into variable.
250 244 ob_start();
251 245 require $this->onimporttemplate($templateFile);
252 - $template = $this->onloadtemplate( ob_get_clean(), $name, "{$dir}/{$name}" );
246 + $template = $this->onloadtemplate(ob_get_clean(), $name);
253 247 return $template;
254 248 }
255 249
256 250 /**