This file contains hidden or 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
{ | |
"name": "project", | |
"version": "0.0.0", | |
"authors": [ | |
"Eric Barnes <[email protected]>" | |
], | |
"license": "MIT", | |
"private": true, | |
"ignore": [ | |
"**/.*", |
This file contains hidden or 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
// Titanium Mobile code for slider control functionality | |
//---------------------------------------- | |
// @CJ_Reed 23rd Dec 2010 | |
var sliderView = Titanium.UI.createView({top:100,height:50,left: 40,width:240,backgroundColor:'#000'}); | |
var sliderButton = Titanium.UI.createView({width:96,borderRadius:5,backgroundColor:'#bbb',height:sliderView.height,left:sliderView.left,top:sliderView.top}); | |
Titanium.UI.currentWindow.add(sliderView); | |
Titanium.UI.currentWindow.add(sliderButton); | |
function unlock (){ |
This file contains hidden or 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
function circa_loan_calc_mortgage_partner_form_submit($form, &$form_state) { | |
$listing_path = isset($_GET['q']) ? $_GET['q'] : '<front>'; | |
$listing_link = url($listing_path, array('absolute' => TRUE)); | |
$send_form_to = '[email protected]'; | |
$params = array( | |
'context' => array( | |
'subject' => 'Request for mortgage info from user at circastl.com', | |
'body' => '<p>A user at circastl.com has requested mortgage pre-approval on a property.</p>' . '<p>Name: ' . $form['name'] . '</p><p>Email: ' . $form['email'] . '</p><br><p>Property: <a href="' . $listing_link . '">' . $listing_link . '</a></p><p>List Price: ' . $node->field_listing_price['und'][0]['value'] . '</p>', |