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
(function($) { | |
$(document).ready(function() { | |
var hotel_dates = $( "#hotel-checkin, #hotel-checkout" ).datepicker({ | |
defaultDate: "+1w", | |
changeMonth: true, | |
numberOfMonths: 1, | |
dateFormat: "mm/dd/yy", | |
autoSize: true, | |
onSelect: function( selectedDate ) { |
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
$view = new view; | |
$view->name = 'manage_comments_keyword_search'; | |
$view->description = 'Comment Dashboard that shows comments by keyword search.'; | |
$view->tag = 'default'; | |
$view->base_table = 'comment'; | |
$view->human_name = 'Comments: Keyword Search'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script src="https://www.aaa.com/aaa/002/wrapper/colorbox/jquery.colorbox-min.js"></script> | |
<script> | |
$(document).ready(function(){ | |
$(".colorbox").colorbox({iframe:true, width:"980px", height:"80%"}); | |
}); |
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
function hook_uninstall() { | |
// Remove module variables. | |
$result = db_query("SELECT name FROM {variable} WHERE name LIKE 'hook_%'"); | |
while ($var_name = db_result($result)) { | |
variable_del($var_name); | |
} | |
} |
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 | |
require('soap-wsse.php'); | |
class ExactTargetSoapClient extends SoapClient { | |
public $username = NULL; | |
public $password = NULL; | |
function __doRequest($request, $location, $saction, $version) { | |
$doc = new DOMDocument(); | |
$doc->loadXML($request); | |
$objWSSE = new WSSESoap($doc); | |
$objWSSE->addUserToken($this->username, $this->password, FALSE); |
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
$primary_domain = 'mountainwest.aaa.com'; | |
$primary_schema = 'http://'; | |
$live_subdomain = 'www.'; | |
$test_subdomain = 'test.'; | |
$live_domain = $live_subdomain . $primary_domain; | |
if (isset($_SERVER['PANTHEON_ENVIRONMENT']) && | |
$_SERVER['PANTHEON_ENVIRONMENT'] === 'test') { | |
$base_url = $primary_schema . $test_subdomain . $primary_domain; | |
} |
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 | |
/** | |
* @file | |
* Functions that need to be loaded on every Drupal request. | |
*/ | |
/** | |
* The current system version. | |
*/ |
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
<html> | |
<head> | |
<title>AAA Website Survey</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head> | |
<body background="images/bbg.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> | |
<!-Include javascript for counting invitation. If page not hosted on aaa.com, change path to http://www.aaa.com/configuration/CountSurvey.js--> | |
<script language=javascript src='http://www.aaa.com/configuration/CountSurvey.js'></script> | |
<!-- Start of content section. --> |
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
<script type="text/javascript"> | |
<!--//--><![CDATA[//><!-- | |
AAAMETRICS = function() { return {"club":"aaa-az","partner":"main",svars:{"partner":"main"}} }();(function() {var ss = document.createElement("script");ss.type = "text/javascript";ss.async = true;ss.src = ('https:'== document.location.protocol ? 'https://' : 'http://') + 'metrics.go.aaa.com/ss/ss.js';var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ss, s);})(); | |
//--><!]]> | |
</script> |
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
function some_extensive_process () { | |
// ... your intense code here | |
if (function_exists('newrelic_ignore_apdex')) { | |
newrelic_ignore_apdex(TRUE); | |
} | |
} |
OlderNewer