projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ccda8ee
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:18:17 +0000
(17:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:18:17 +0000
(17:18 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
955b6ec
..
282e276
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-30,6
+30,9
@@
require_once 'Pman.php';
class Pman_Core_JsTemplate extends Pman {
class Pman_Core_JsTemplate extends Pman {
+
+ var $modDir = false;
+
function getAuth()
{
parent::getAuth();
function getAuth()
{
parent::getAuth();
@@
-42,6
+45,9
@@
class Pman_Core_JsTemplate extends Pman {
// get the modules.
header('Content-type: text/javascript');
// get the modules.
header('Content-type: text/javascript');
+ $ff = HTML_FlexyFramework::get()->HTML_Template_Flexy;
+
+
$mods = $this->modulesList();
foreach($mods as $mod) {
$dir = $this->rootDir.'/Pman/'. $mod . '/jtemplates';
$mods = $this->modulesList();
foreach($mods as $mod) {
$dir = $this->rootDir.'/Pman/'. $mod . '/jtemplates';