-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # README.md
- Loading branch information
Showing
75 changed files
with
1,435 additions
and
924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
return array( | ||
'core'=>'1.0.1', | ||
'core'=>'1.0.2', | ||
'designer'=>'1.1', | ||
'medialib'=>'0.5', | ||
'medialib'=>'0.6', | ||
'orm'=>'0.9.9' | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -577,4 +577,5 @@ | |
577 => 'FILTER_OBJECTS', | ||
578 => 'USER_PERMISSIONS', | ||
579 => 'PERMISSIONS', | ||
580 => 'PAGECODE_MATCH' | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,65 @@ | ||
<?php | ||
class Backend_Designer_Sub_Code extends Backend_Designer_Sub | ||
{ | ||
/** | ||
* Get JS code for object | ||
*/ | ||
public function objectcodeAction() | ||
{ | ||
$object = Request::post('object' , 'string' , ''); | ||
$project = $this->_getProject(); | ||
/** | ||
* Get JS code for object | ||
*/ | ||
public function objectcodeAction() | ||
{ | ||
$object = Request::post('object' , 'string' , ''); | ||
$project = $this->_getProject(); | ||
|
||
if(! $project->objectExists($object)) | ||
Response::jsonError($this->_lang->WRONG_REQUEST); | ||
if(! $project->objectExists($object)) | ||
Response::jsonError($this->_lang->WRONG_REQUEST); | ||
|
||
$projectCfg = $project->getConfig(); | ||
Ext_Code::setRunNamespace($projectCfg['runnamespace']); | ||
Ext_Code::setNamespace($projectCfg['namespace']); | ||
$projectCfg = $project->getConfig(); | ||
Ext_Code::setRunNamespace($projectCfg['runnamespace']); | ||
Ext_Code::setNamespace($projectCfg['namespace']); | ||
|
||
$templates = $this->_config->get('templates'); | ||
$replaces = array( | ||
array( | ||
'tpl' => $templates['wwwroot'] , | ||
'value' => $this->_configMain->get('wwwroot') | ||
) , | ||
array( | ||
'tpl' => $templates['adminpath'] , | ||
'value' => $this->_configMain->get('adminPath') | ||
) , | ||
array( | ||
'tpl' => $templates['urldelimiter'] , | ||
'value' => $this->_configMain->get('urlDelimiter') | ||
) | ||
); | ||
$templates = $this->_config->get('templates'); | ||
$replaces = array( | ||
array( | ||
'tpl' => $templates['wwwroot'] , | ||
'value' => $this->_configMain->get('wwwroot') | ||
) , | ||
array( | ||
'tpl' => $templates['adminpath'] , | ||
'value' => $this->_configMain->get('adminPath') | ||
) , | ||
array( | ||
'tpl' => $templates['urldelimiter'] , | ||
'value' => $this->_configMain->get('urlDelimiter') | ||
) | ||
); | ||
|
||
$code = $project->getObjectCode($object , $replaces); | ||
Response::jsonSuccess($code); | ||
} | ||
$code = $project->getObjectCode($object , $replaces); | ||
Response::jsonSuccess($code); | ||
} | ||
|
||
/** | ||
* Get JS code for project | ||
*/ | ||
public function projectcodeAction() | ||
{ | ||
$project = $this->_getProject(); | ||
$projectCfg = $project->getConfig(); | ||
$templates = $this->_config->get('templates'); | ||
$replaces = array( | ||
/** | ||
* Get JS code for project | ||
*/ | ||
public function projectcodeAction() | ||
{ | ||
$project = $this->_getProject(); | ||
$projectCfg = $project->getConfig(); | ||
$templates = $this->_config->get('templates'); | ||
$replaces = array( | ||
array( | ||
'tpl' => $templates['wwwroot'] , | ||
'value' => $this->_configMain->get('wwwroot') | ||
'tpl' => $templates['wwwroot'] , | ||
'value' => $this->_configMain->get('wwwroot') | ||
) , | ||
array( | ||
'tpl' => $templates['adminpath'] , | ||
'value' => $this->_configMain->get('adminPath') | ||
'tpl' => $templates['adminpath'] , | ||
'value' => $this->_configMain->get('adminPath') | ||
) , | ||
array( | ||
'tpl' => $templates['urldelimiter'] , | ||
'value' => $this->_configMain->get('urlDelimiter') | ||
'tpl' => $templates['urldelimiter'] , | ||
'value' => $this->_configMain->get('urlDelimiter') | ||
) | ||
); | ||
Ext_Code::setRunNamespace($projectCfg['runnamespace']); | ||
Ext_Code::setNamespace($projectCfg['namespace']); | ||
Response::jsonSuccess($project->getCode($replaces)); | ||
} | ||
); | ||
Ext_Code::setRunNamespace($projectCfg['runnamespace']); | ||
Ext_Code::setNamespace($projectCfg['namespace']); | ||
Response::jsonSuccess($project->getCode($replaces)); | ||
} | ||
} |
Oops, something went wrong.