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
<a href="<?php echo $this->url(array( | |
'action'=>$this->component->getAction(), | |
'controller'=>$this->component->getController(), | |
'module'=>$this->component->getModule() | |
),'default'); ?>"> // adding default fixed the problem |
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
<?php | |
define("XMLAPI","1"); | |
include("common.php"); | |
defp(); | |
connect(); | |
auth(); | |
$id=$user_id; | |
$aaid=intval($_REQUEST[aaid]); | |
$id=$user_id; | |
$aaid=intval($_REQUEST[aaid]); |
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
table view click event. | |
event . type = string | |
event . index = int | |
event . row = int | |
event . section = int | |
event . rowData = {} | |
event . detail = true | false | |
event . searchMode = true | false | |
event . target = {} |
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
YUI.add("form-values", function(Y){ | |
var _form, | |
_values | |
; | |
Y.Form = { | |
setForm : function(selector) { | |
if(selector !== null) { |
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
YUI({ | |
modules: { | |
'echofin-form-filter' : { | |
fullpath: 'echofin-form-filter.js', | |
requires: ['base','node','event'] | |
} | |
} | |
}).use('echofin-form-filter',function(Y){ | |
Y.on('domready',function(){ | |
Y.all('.filtered').each(function(o){ |
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
YUI.add('form-filter', function(Y){ | |
var Filter = function(config) { | |
config.node = config.host; | |
Filter.superclass.constructor.apply(this, arguments); | |
}; | |
Y.mix(Filter,{ | |
NAME : 'form-filter', | |
NS : 'filter', |
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
YUI.add('form-filter', function(Y){ | |
var Filter = function(config) { | |
config.node = config.host; | |
Filter.superclass.constructor.apply(this, arguments); | |
}; | |
Y.mix(Filter,{ | |
NAME : 'form-filter', | |
NS : 'filter', |
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
var foo = 'bar'; | |
function DefineVar() { | |
var foo = 'widget'; | |
} | |
function UpdateVar() { | |
foo = 'wobble'; | |
} |
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
<?php | |
if ($file->isUploaded()) { | |
// handle file magik here | |
$tmp_file = $file->getFileName(); | |
$upload_to = $config->dir->file->uploads; | |
$original_name = $file->getFileName(); | |
$filename = substr($tmp_file,strrpos($original_name,'/') + 1); |
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
YUI.add('echofin-modal-upload',function(Y){ | |
var ioUpload = Y.clone(BASE_IO), | |
ul = Y.one(this.FORM_CONTAINER + ' ul'); | |
; | |
ioUpload.method = 'POST'; | |
ioUpload.url = BASE_URL + 'properties/property-pdfs/uploadImage/'; | |
Y.Echofin.Modal.Upload = { | |
OlderNewer