1<!DOCTYPE html> 2<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# "> 3 <head> 4 <link rel="stylesheet" href="https://use.typekit.net/hih3xvb.css"> 5 <meta charset="utf-8" />
6<script type="text/javascript"> 7(function(vars) { 8 if (window.CRM) CRM.$.extend(true, CRM, vars); else window.CRM = vars; 9 })({"config":{"isFrontend":false,"entityRef":{"contactCreate":false},"wysisygScriptLocation":"/libraries/civicrm/core/ext/ckeditor4/js/crm.ckeditor.js","CKEditorCustomConfig":{"default":"https://www.unitysanleandro.org/sites/unitysanleandro/files/civicrm/persist/crm-ckeditor-default.js"}},"billing":{"billingProfileIsHideable":false}}) 10</script>
vendor: 1 bytes, line 10
10
11<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/jquery/dist/jquery.min.js"> 12</script>
vendor: 1 bytes, line 12
12
13<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/jquery-ui/jquery-ui.min.js"> 14</script>
vendor: 1 bytes, line 14
14
15<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/lodash-compat/lodash.min.js"> 16</script>
vendor: 1 bytes, line 16
16
17<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/packages/jquery/plugins/jquery.mousewheel.min.js"> 18</script>
vendor: 1 bytes, line 18
18
19<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/select2/select2.min.js"> 20</script>
vendor: 1 bytes, line 20
20
21<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/packages/jquery/plugins/jquery.form.min.js"> 22</script>
vendor: 1 bytes, line 22
22
23<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/packages/jquery/plugins/jquery.timeentry.min.js"> 24</script>
vendor: 1 bytes, line 24
24
25<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/packages/jquery/plugins/jquery.blockUI.min.js"> 26</script>
vendor: 1 bytes, line 26
26
27<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/datatables/media/js/jquery.dataTables.min.js"> 28</script>
vendor: 1 bytes, line 28
28
29<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/jquery-validation/dist/jquery.validate.min.js"> 30</script>
vendor: 1 bytes, line 30
30
31<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/jquery-validation/dist/additional-methods.min.js"> 32</script>
vendor: 1 bytes, line 32
32
33<script type="text/javascript" src="https://www.unitysanleandro.org/libraries/civicrm/packages/jquery/plugins/jquery.ui.datepicker.validation.min.js"> 34</script>
vendor: 1 bytes, line 34
34
35<script type="text/javascript" src="/libraries/civicrm/core/js/Common.js?r=sQj6Uen_US"> 36</script>
vendor: 1 bytes, line 36
36
37<script type="text/javascript" src="/libraries/civicrm/core/js/crm.datepicker.js?r=sQj6Uen_US"> 38</script>
vendor: 1 bytes, line 38
38
39<script type="text/javascript" src="/libraries/civicrm/core/js/crm.ajax.js?r=sQj6Uen_US"> 40</script>
vendor: 1 bytes, line 40
40
41<script type="text/javascript" src="/libraries/civicrm/core/js/wysiwyg/crm.wysiwyg.js?r=sQj6Uen_US"> 42</script>
vendor: 1 bytes, line 42
42
43<script type="text/javascript" src="https://www.unitysanleandro.org/sites/unitysanleandro/files/civicrm/persist/contribute/dyn/crm-l10n.63bb97bfa4c0f314c12fe8fa46377eee.js"> 44</script>
vendor: 1 bytes, line 44
44
45<script type="text/javascript" src="/libraries/civicrm/core/js/crm.drupal8.js?r=sQj6Uen_US"> 46</script>
vendor: 1 bytes, line 46
46
47<script type="text/javascript" src="/libraries/civicrm/core/js/noconflict.js?r=sQj6Uen_US"> 48</script>
48 49<link href="/libraries/civicrm/core/css/crm-i.css?r=sQj6Uen_US" rel="stylesheet" /> 50<link href="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/datatables/media/css/jquery.dataTables.min.css" rel="stylesheet" /> 51<link href="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" /> 52<link href="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css" rel="stylesheet" /> 53<link href="https://www.unitysanleandro.org/libraries/civicrm/core/bower_components/select2/select2.min.css" rel="stylesheet" /> 54<link href="/libraries/civicrm/core/css/civicrm.css?r=sQj6Uen_US" rel="stylesheet" />
vendor: 64 bytes, lines 54-55
54 55<script async src="https://www.googletagmanager.com/gtag/js?id=
55UA-93816234-1
vendor: 12 bytes, line 55
55"></script>
56<script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments)};gtag("js", new Date());gtag("config", "UA-93816234-1", {"groups":"default","anonymize_ip":true});</script>
56 57<link rel="canonical" href="https://www.unitysanleandro.org/civicrm/contribute/transact" /> 58<meta name="Generator" content="Drupal 9 (https://www.drupal.org)" /> 59<meta name="MobileOptimized" content="width" /> 60<meta name="HandheldFriendly" content="true" /> 61<meta name="viewport" content="width=device-width, initial-scale=1.0" /> 62<link rel="icon" href="/sites/unitysanleandro/files/unityindex_0.png" type="image/png" /> 63 64 <title>Donations Welcome! | Unity of San Leandro</title> 65 <link rel="stylesheet" media="all" href="/sites/unitysanleandro/files/css/css_034HYg1oMb9typ1yjvCntRIERRvXkaNDhB_SdGe_Vuk.css" /> 66<link rel="stylesheet" media="all" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha256-bZLfwXAP04zRMK2BjiO8iu9pf4FbLqX6zitd+tIvLhE=" crossorigin="anonymous" /> 67<link rel="stylesheet" media="all" href="https://cdn.jsdelivr.net/npm/@unicorn-fail/[email protected]/dist/3.4.0/8.x-3.x/drupal-bootstrap.min.css" integrity="sha512-tGFFYdzcicBwsd5EPO92iUIytu9UkQR3tLMbORL9sfi/WswiHkA1O3ri9yHW+5dXk18Rd+pluMeDBrPKSwNCvw==" crossorigin="anonymous" /> 68<link rel="stylesheet" media="all" href="/sites/unitysanleandro/files/css/css_48E-hrIdQjFOHkAO5-z6ISVyCbON0jnH8l9boQJETYo.css" /> 69 70
70<script src="https://use.fontawesome.com/releases/v6.4.2/js/all.js" defer crossorigin="anonymous"></script>
vendor: 1 bytes, line 70
70
71<script src="https://use.fontawesome.com/releases/v6.1.0/js/v4-shims.js" defer crossorigin="anonymous"></script>
71 72 73 </head> 74 <body class="page-civicrm page-civicrm-contribute page-civicrm-contribute-transact path-civicrm has-glyphicons"> 75 <a href="#main-content" class="visually-hidden focusable skip-link"> 76 Skip to main content 77 </a> 78 79 <div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas> 80 81<section class="page-wrap"> 82<section class="search-warp" id="searchr" > 83 <div class="container"> 84 <div class="region region-searchr"> 85 <section id="block-searchblockclose" class="search-block-close block block-block-content block-block-content0cafe9da-47d9-45df-b5de-6b63d8300298 clearfix"> 86 87 88 89 90 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><a href="#" onclick="document.getElementById('searchr').classList.toggle('closed');"><i aria-hidden="true" class="fa fa-times">Â </i></a></p> 91</div> 92 93 </section> 94 95<div class="search-block-form block block-search block-search-form-block" data-drupal-selector="search-block-form" id="block-searchform" role="search"> 96 97 98 <form action="/search/node" method="get" id="search-block-form" accept-charset="UTF-8"> 99 <div class="form-item js-form-item form-type-search js-form-type-search form-item-keys js-form-item-keys form-no-label form-group"> 100 <label for="edit-keys" class="control-label sr-only">Search</label> 101 102 103 <div class="input-group"><input title="Enter the terms you wish to search for." data-drupal-selector="edit-keys" class="form-search form-control" placeholder="Search" type="search" id="edit-keys" name="keys" value="" size="15" maxlength="128" data-toggle="tooltip" /><span class="input-group-btn"><button type="submit" value="Search" class="button js-form-submit form-submit btn-primary btn icon-only" name=""><span class="sr-only">Search</span><span class="icon glyphicon glyphicon-search" aria-hidden="true"></span></button></span></div> 104 105 106 107 </div> 108<div class="form-actions form-group js-form-wrapper form-wrapper" data-drupal-selector="edit-actions" id="edit-actions"></div> 109 110</form> 111 112 </div> 113 114 </div> 115 116 </div> 117</section> 118 119 120 <section class="menu-warp hidden-lg" id="menuwarp" > 121 <div class="region region-navigation1"> 122 <section id="block-closebutton" class="mobile-close-btn block block-block-content block-block-content2aa5321d-3135-4462-91a2-1d705d49c3c4 clearfix"> 123 124 125 126 127 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><a href="#" onclick="document.getElementById('menuwarp').classList.toggle('active');"><i aria-hidden="true" class="fa fa-times">Â </i></a></p> 128</div> 129 130 </section> 131 132 133 </div> 134 135 </section> 136 137<header id="header-branding"> 138 <div class="container"> 139 <div class="row"> 140 <div class="col-xs-8 col-sm-4 col-lg-3"> 141 <div class="region region-branding"> 142 <a class="logo navbar-btn pull-left" href="/" title="Home" rel="home"> 143 <img src="/sites/unitysanleandro/files/unity-leandro-logo-new.png" alt="Home" /> 144 </a> 145 146 </div> 147 148 </div> 149 <div class="col-xs-4 col-sm-8 col-lg-9"> 150 <div class="region region-hmenu"> 151 <section id="block-mobilemenuicon" class="mobile-menu-icon hidden-lg block block-block-content block-block-content3a70a4dd-8bbf-4e69-b089-bc0139cc6602 clearfix"> 152 153 154 155 156 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><a class="sf-accordion-toggle" href="#" onclick="document.getElementById('block-mainmenu-2').classList.toggle('active');"><i aria-hidden="true" class="fa fa-bars">Â </i></a></p> 157</div> 158 159 </section> 160 161<section id="block-headerbuttons" class="vol-menu hidden-xs block block-block-content block-block-content3f4a3dc2-77e0-430d-aa86-467489499b61 clearfix"> 162 163 164 165 166 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><ul> 167 <li class="donate"> 168 <a href="/civicrm/contribute/transact?reset=1&id=2">Donate</a> 169 </li> 170 <li class="help">
171 <a href="https://boxcast.tv/channel/cpnc6myoj9qrbnv80cst" target="_blank">Sundays</a> 172 </li> 173</ul></div> 174 175 </section> 176 177 178 </div> 179 180 <div class="region region-navigation"> 181 <section id="block-searchblock" class="search-block block block-block-content block-block-content9625cf67-2489-42e1-899a-af551246f902 clearfix"> 182 183 184 185 186 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><a href="#" onclick="document.getElementById('searchr').classList.toggle('closed');"><i aria-hidden="true" class="fa fa-search">Â </i></a></p> 187</div> 188 189 </section> 190 191<nav role="navigation" aria-labelledby="block-mainmenu-menu" id="block-mainmenu" class="oe-mega-main-menu hidden-xs hidden-sm"> 192 <h2 class="sr-only" id="block-mainmenu-menu">Main menu</h2> 193 194 195 <ul class="nav-level-1 nav navbar-nav"> 196 <li class="dropdown nav-level-2"> 197 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/new-unity" aria-expanded="false"> 198 About Us 199 <i class="fa fa-caret-up" aria-hidden="true"></i> 200 <i class="fa fa-caret-down" aria-hidden="true"></i> 201 </a> 202 <a href="/new-unity"> 203 About Us 204 </a> --> 205<a href="/new-unity" data-drupal-link-system-path="node/21">About Us</a> 206 <ul class="nav dropdown-menu row-level-2 row"> 207 <div class="main-menu__dropdown"> 208 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-ministers-message"> 209 <a href="/ministers-message" data-drupal-link-system-path="node/633">Minister's Message</a> 210 </li> 211 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-what-is-unity"> 212 <a href="/what-unity" data-drupal-link-system-path="node/635">What is Unity?</a> 213 </li> 214 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-our-history"> 215 <a href="/our-history" data-drupal-link-system-path="node/27">Our History</a> 216 </li> 217 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-our-people"> 218 <a href="/our-people" data-drupal-link-system-path="node/26">Our People</a> 219 </li> 220 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-youth--family"> 221 <a href="/youth-family" data-drupal-link-system-path="node/530">Youth & Family</a> 222 </li> 223 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-visitor-tips"> 224 <a href="/visitor-tips" data-drupal-link-system-path="node/637">Visitor Tips</a> 225 </li> 226 </div> 227 </ul> 228 229 </li> 230 <li class="dropdown nav-level-2"> 231 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/calendar" aria-expanded="false"> 232 Calendar 233 <i class="fa fa-caret-up" aria-hidden="true"></i> 234 <i class="fa fa-caret-down" aria-hidden="true"></i> 235 </a> 236 <a href="/calendar"> 237 Calendar 238 </a> --> 239<a href="/calendar" data-drupal-link-system-path="calendar">Calendar</a> 240 <ul class="nav dropdown-menu row-level-2 row"> 241 <div class="main-menu__dropdown"> 242 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-coming-events"> 243 <a href="/coming-events" data-drupal-link-system-path="node/634">Coming Events</a> 244 </li> 245 </div> 246 </ul> 247 248 </li> 249 <li class="dropdown nav-level-2"> 250 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/prayer-support" aria-expanded="false"> 251 Prayer Support 252 <i class="fa fa-caret-up" aria-hidden="true"></i> 253 <i class="fa fa-caret-down" aria-hidden="true"></i> 254 </a> 255 <a href="/prayer-support"> 256 Prayer Support 257 </a> --> 258<a href="/prayer-support" data-drupal-link-system-path="node/640">Prayer Support</a> 259 <ul class="nav dropdown-menu row-level-2 row"> 260 <div class="main-menu__dropdown"> 261 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-prayer-requests"> 262 <a href="/prayer-requests" data-drupal-link-system-path="node/53992">Prayer Requests</a> 263 </li> 264 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-unity-ch
264aplains"> 265 <a href="/unity-chaplains" data-drupal-link-system-path="node/643">Unity Chaplains</a> 266 </li> 267 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-silent-unity-virtual-prayer-vigil"> 268 <a href="https://www.unityprayervigil.org/" title="Silent Unity Virtual Prayer Vigil">Silent Unity Virtual Prayer Vigil</a> 269 </li> 270 </div> 271 </ul> 272 273 </li> 274 <li class="dropdown nav-level-2"> 275 <!-- <a href="/getting-involved"> 276 Getting Involved 277 </a> --> 278<a href="/getting-involved" data-drupal-link-system-path="node/641">Getting Involved</a> 279 </li> 280 <li class="dropdown nav-level-2"> 281 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/blog" aria-expanded="false"> 282 News 283 <i class="fa fa-caret-up" aria-hidden="true"></i> 284 <i class="fa fa-caret-down" aria-hidden="true"></i> 285 </a> 286 <a href="/blog"> 287 News 288 </a> --> 289<a href="/blog" data-drupal-link-system-path="blog">News</a> 290 <ul class="nav dropdown-menu row-level-2 row"> 291 <div class="main-menu__dropdown"> 292 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-newsletter-signup"> 293 <a href="/newsletter-signup" data-drupal-link-system-path="node/638">Newsletter Signup</a> 294 </li> 295 </div> 296 </ul> 297 298 </li> 299 <li class="dropdown nav-level-2"> 300 <!-- <a href="/contact-us"> 301 Contact Us 302 </a> --> 303<a href="/contact-us" data-drupal-link-system-path="node/53991">Contact Us</a> 304 </li> 305 <!--<li class="nav-level-2 site-search hidden-xs hidden-sm"> 306 <a class="btn btn-link" data-toggle="collapse" data-target=".page-head__search"> 307 <i class="fa fa-search" aria-hidden="true"></i> 308 </a> 309 </li>--> 310 </ul> 311 312 313 314 315 316 </nav> 317 318 </div> 319 320 </div> 321 </div> 322 </div> 323</header> 324 325 <div class="banner container-fluid" role="banner"> 326 <div class="row"> 327 <div role="banner" anima-show-on-scroll="" id="page-header" class="_bp1-group31 _bp1-an-animation-enter26 "> 328 <div class="region region-banner"> 329 <section id="block-headerbuttons-2" class="hidden-lg help-menu help-menu-mobile hidden-sm hidden-md block block-block-content block-block-content3f4a3dc2-77e0-430d-aa86-467489499b61 clearfix"> 330 331 332 333 334 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><ul> 335 <li class="donate"> 336 <a href="/civicrm/contribute/transact?reset=1&id=2">Donate</a> 337 </li> 338 <li class="help"> 339 <a href="https://boxcast.tv/channel/cpnc6myoj9qrbnv80cst" target="_blank">Sundays</a> 340 </li> 341</ul></div> 342 343 </section> 344 345<nav role="navigation" aria-labelledby="block-mainmenu-2-menu" id="block-mainmenu-2" class="mobile-main-menu hidden-md hidden-lg"> 346 <h2 class="sr-only" id="block-mainmenu-2-menu">Mobile Main menu</h2> 347 348 349 <ul class="nav-level-1 nav navbar-nav"> 350 <li class="dropdown nav-level-2"> 351 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/new-unity" aria-expanded="false"> 352 About Us 353 <i class="fa fa-caret-up" aria-hidden="true"></i> 354 <i class="fa fa-caret-down" aria-hidden="true"></i> 355 </a> 356 <a href="/new-unity"> 357 About Us 358 </a> --> 359<a href="/new-unity" data-drupal-link-system-path="node/21">About Us</a> 360 <ul class="nav dropdown-menu row-level-2 row"> 361 <div class="main-menu__dropdown"> 362 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-ministers-message"> 363 <a href="/ministers-message" data-drupal-link-system-path="node/633">Minister's Message</a> 364 </li> 365 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-what-is-unity"> 366 <a href="/what-unity" data-drupal-link-system-path="node/635">What is Unity?</a> 367 </li> 368 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-our-history"> 369 <a href="/our-history" data-drupal-link-system-path="node/27">Our History</a> 370 </li> 371 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-our-people"> 372 <a href="/our-people" data-drupal-link-system-path="node/26">
372Our People</a> 373 </li> 374 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-youth--family"> 375 <a href="/youth-family" data-drupal-link-system-path="node/530">Youth & Family</a> 376 </li> 377 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-visitor-tips"> 378 <a href="/visitor-tips" data-drupal-link-system-path="node/637">Visitor Tips</a> 379 </li> 380 </div> 381 </ul> 382 383 </li> 384 <li class="dropdown nav-level-2"> 385 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/calendar" aria-expanded="false"> 386 Calendar 387 <i class="fa fa-caret-up" aria-hidden="true"></i> 388 <i class="fa fa-caret-down" aria-hidden="true"></i> 389 </a> 390 <a href="/calendar"> 391 Calendar 392 </a> --> 393<a href="/calendar" data-drupal-link-system-path="calendar">Calendar</a> 394 <ul class="nav dropdown-menu row-level-2 row"> 395 <div class="main-menu__dropdown"> 396 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-coming-events"> 397 <a href="/coming-events" data-drupal-link-system-path="node/634">Coming Events</a> 398 </li> 399 </div> 400 </ul> 401 402 </li> 403 <li class="dropdown nav-level-2"> 404 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/prayer-support" aria-expanded="false"> 405 Prayer Support 406 <i class="fa fa-caret-up" aria-hidden="true"></i> 407 <i class="fa fa-caret-down" aria-hidden="true"></i> 408 </a> 409 <a href="/prayer-support"> 410 Prayer Support 411 </a> --> 412<a href="/prayer-support" data-drupal-link-system-path="node/640">Prayer Support</a> 413 <ul class="nav dropdown-menu row-level-2 row"> 414 <div class="main-menu__dropdown"> 415 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-prayer-requests"> 416 <a href="/prayer-requests" data-drupal-link-system-path="node/53992">Prayer Requests</a> 417 </li> 418 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-unity-chaplains"> 419 <a href="/unity-chaplains" data-drupal-link-system-path="node/643">Unity Chaplains</a> 420 </li> 421 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-silent-unity-virtual-prayer-vigil"> 422 <a href="https://www.unityprayervigil.org/" title="Silent Unity Virtual Prayer Vigil">Silent Unity Virtual Prayer Vigil</a> 423 </li> 424 </div> 425 </ul> 426 427 </li> 428 <li class="dropdown nav-level-2"> 429 <!-- <a href="/getting-involved"> 430 Getting Involved 431 </a> --> 432<a href="/getting-involved" data-drupal-link-system-path="node/641">Getting Involved</a> 433 </li> 434 <li class="dropdown nav-level-2"> 435 <!-- <a class="dropdown-toggle" data-toggle="dropdown" href="/blog" aria-expanded="false"> 436 News 437 <i class="fa fa-caret-up" aria-hidden="true"></i> 438 <i class="fa fa-caret-down" aria-hidden="true"></i> 439 </a> 440 <a href="/blog"> 441 News 442 </a> --> 443<a href="/blog" data-drupal-link-system-path="blog">News</a> 444 <ul class="nav dropdown-menu row-level-2 row"> 445 <div class="main-menu__dropdown"> 446 <li class="nav-level-3 col-md-3 col-lg-4 menu-item-newsletter-signup"> 447 <a href="/newsletter-signup" data-drupal-link-system-path="node/638">Newsletter Signup</a> 448 </li> 449 </div> 450 </ul> 451 452 </li> 453 <li class="dropdown nav-level-2"> 454 <!-- <a href="/contact-us"> 455 Contact Us 456 </a> --> 457<a href="/contact-us" data-drupal-link-system-path="node/53991">Contact Us</a> 458 </li> 459 <!--<li class="nav-level-2 site-search hidden-xs hidden-sm"> 460 <a class="btn btn-link" data-toggle="collapse" data-target=".page-head__search"> 461 <i class="fa fa-search" aria-hidden="true"></i> 462 </a> 463 </li>--> 464 </ul> 465 466 467 468 469 470 </nav> 471 472 </div> 473 474 </div>
475 </div> 476 </div> 477 478<div class="bImage"> 479 <section id="inner-banner-image" class="banner-image outer-wrapper"></section> 480 <div class="pTitle" id="pTitle"></div> 481</div> 482 483 <div role="main" class="main-container container js-quickedit-main-content"> 484 <div class="row"> 485 486 487 <section class="col-sm-12"> 488 489 <a id="main-content"></a> 490 <div class="region region-content"> 491 <div data-drupal-messages-fallback class="hidden"></div> <h1 class="page-header">Donations Welcome!</h1> 492 493 494<div id="crm-container" class="crm-container crm-public" lang="en" xml:lang="en"> 495 496 497 498<div class="clear"></div> 499 500<div id="crm-main-content-wrapper"> 501 <form action="/civicrm/contribute/transact" method="post" name="Main" id="Main" class="CRM_Contribute_Form_Contribution_Main" enctype="multipart/form-data" data-warn-changes="true"> 502 503 504 <div><input name="qfKey" type="hidden" value="CRMContributeControllerContribution44zautbw3wg0g4w8w8w8w4kwkok4wwwowogowwkkwg404w440o_6993" /> 505<input name="entryURL" type="hidden" value="https://www.unitysanleandro.org/civicrm/contribute/transact?reset=1&amp;id=2" /> 506<input name="hidden_processor" type="hidden" value="1" /> 507<input name="priceSetId" type="hidden" value="5" /> 508<input id="selectProduct" name="selectProduct" type="hidden" value="" /> 509<input name="_qf_default" type="hidden" value="Main:upload" /> 510<input name="MAX_FILE_SIZE" type="hidden" value="209715200" /> 511</div> 512 513 514 515 516
516<script type="text/javascript"> 517 518 // Putting these functions directly in template so they are available for standalone forms 519 function useAmountOther() { 520 var priceset = 'price_5'; 521 522 for( i=0; i < document.Main.elements.length; i++ ) { 523 element = document.Main.elements[i]; 524 if ( element.type == 'radio' && element.name == priceset ) { 525 if (element.value == '0' ) { 526 element.click(); 527 } 528 else { 529 element.checked = false; 530 } 531 } 532 } 533 } 534 535 function clearAmountOther() { 536 var priceset = 0 537 if( priceset ){ 538 cj(priceset).val(''); 539 cj(priceset).blur(); 540 } 541 if (document.Main.amount_other == null) return; // other_amt field not present; do nothing 542 document.Main.amount_other.value = ""; 543 } 544 545 </script>
545 546 547 548 549 550 <div class="crm-contribution-page-id-2 crm-block crm-contribution-main-form-block" data-page-id="2" data-page-template="main"> 551 552 553 <div id="intro_text" class="crm-public-form-item crm-section intro_text-section"> 554 <p>Thank you for your support of Unity of San Leandro!</p> 555 </div> 556 557 558 <div id="priceset-div"> 559 <div id="priceset" class="crm-section price_set-section"> 560 561 562 <div class="crm-section contribution_amount-section crm-price-field-id-5"> 563 <div class="label"><label>Contribution Amount</label></div> 564 <div class="content contribution_amount-content"> 565 <div class="price-set-row contribution_amount-row1"> 566 <span class="price-set-option-content"><input price="["price_5","10||"]" data-amount="10.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="9" type="radio" id="CIVICRM_QFID_9_price_5" name="price_5" /><label for="CIVICRM_QFID_9_price_5"><span class="crm-price-amount-amount">$ 10.00</span></label></span> 567 </div> 568 <div class="price-set-row contribution_amount-row2">
569 <span class="price-set-option-content"><input price="["price_5","25||"]" data-amount="25.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="10" type="radio" id="CIVICRM_QFID_10_price_5" name="price_5" /><label for="CIVICRM_QFID_10_price_5"><span class="crm-price-amount-amount">$ 25.00</span></label></span> 570 </div> 571 <div class="price-set-row contribution_amount-row3">
572 <span class="price-set-option-content"><input price="["price_5","50||"]" data-amount="50.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="12" type="radio" id="CIVICRM_QFID_12_price_5" name="price_5" /><label for="CIVICRM_QFID_12_price_5"><span class="crm-price-amount-amount">$ 50.00</span></label></span> 573 </div> 574 <div class="price-set-row contribution_amount-row4">
575 <span class="price-set-option-content"><input price="["price_5","75||"]" data-amount="75.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="13" type="radio" id="CIVICRM_QFID_13_price_5" name="price_5" /><label for="CIVICRM_QFID_13_price_5"><span class="crm-price-amount-amount">$ 75.00</span></label></span> 576 </div> 577 <div class="price-set-row contribution_amount-row5">
578 <span class="price-set-option-content"><input price="["price_5","100||"]" data-amount="100.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="14" type="radio" id="CIVICRM_QFID_14_price_5" name="price_5" /><label for="CIVICRM_QFID_14_price_5"><span class="crm-price-amount-amount">$ 100.00</span></label></span> 579 </div> 580 <div class="price-set-row contribution_amount-row6">
581 <span class="price-set-option-content"><input price="["price_5","150||"]" data-amount="150.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="15" type="radio" id="CIVICRM_QFID_15_price_5" name="price_5" /><label for="CIVICRM_QFID_15_price_5"><span class="crm-price-amount-amount">$ 150.00</span></label></span> 582 </div> 583 <div class="price-set-row contribution_amount-row7">
584 <span class="price-set-option-content"><input price="["price_5","250||"]" data-amount="250.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="16" type="radio" id="CIVICRM_QFID_16_price_5" name="price_5" /><label for="CIVICRM_QFID_16_price_5"><span class="crm-price-amount-amount">$ 250.00</span></label></span> 585 </div> 586 <div class="price-set-row contribution_amount-row8">
587 <span class="price-set-option-content"><input price="["price_5","500||"]" data-amount="500.000000000" data-currency="USD" data-price-field-values="{"9":{"id":"9","price_field_id":"5","name":"","label":"","amount":"10.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"10":{"id":"10","price_field_id":"5","name":"","label":"","amount":"25.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"12":{"id":"12","price_field_id":"5","name":"","label":"","amount":"50.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"13":{"id":"13","price_field_id":"5","name":"","label":"","amount":"75.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"14":{"id":"14","price_field_id":"5","name":"","label":"","amount":"100.000000000","weight":"5","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"15":{"id":"15","price_field_id":"5","name":"","label":"","amount":"150.000000000","weight":"6","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"16":{"id":"16","price_field_id":"5","name":"","label":"","amount":"250.000000000","weight":"7","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"17":{"id":"17","price_field_id":"5","name":"","label":"","amount":"500.000000000","weight":"8","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}" visibility="1" onclick="clearAmountOther();" class="crm-form-radio" value="17" type="radio" id="CIVICRM_QFID_17_price_5" name="price_5" /><label for="CIVICRM_QFID_17_price_5"><span class="crm-price-amount-amount">$ 500.00</span></label></span> 588 </div> 589 <div class="price-set-row contribution_amount-row9">
590 <span class="price-set-option-content"><input price="["price_5","0"]" class="crm-form-radio" value="0" type="radio" id="CIVICRM_QFID_0_price_5" name="price_5" /><label for="CIVICRM_QFID_0_price_5"><span class="crm-price-amount-label">Other Amount</span></label></span> 591 </div> 592 </div> 593 <div class="clear"></div> 594 </div> 595 <div class="crm-section other_amount-section crm-price-field-id-6"> 596 597 598 <div class="label"><label for="price_6">Other Amount</label></div> 599 <div class="content other_amount-content"> 600 <input price="[11,"1||"]" size="4" name="price_6" type="text" id="price_6" class="four crm-form-text" /> 601 </div> 602 603 <div class="clear"></div> 604 </div> 605 606 607 608<div id="pricesetTotal" class="crm-section section-pricesetTotal"> 609 <div id="pricelabel" class="label hiddenElement"> 610 <span id='amount_sum_label'>Total Amount</span> 611 </div> 612 <div class="content calc-value" style="display:none;" id="pricevalue"></div> 613</div> 614
615<script type="text/javascript"> 616 617 618var thousandMarker = ','; 619var separator = '.'; 620var symbol = '$'; 621// moneyFormat is part of a temporary fix. it should 622// not be expected to be present in future versions 623// see https://github.com/civicrm/civicrm-core/pull/19151 624 625var moneyFormat = '$ 1,234.56'; 626var optionSep = '|'; 627 628// Recalculate the total fees based on user selection 629cj("#priceset [price]").each(function () { 630 var elementType = cj(this).attr('type'); 631 if (this.tagName == 'SELECT') { 632 elementType = 'select-one'; 633 } 634 635 switch(elementType) { 636 case 'checkbox': 637 cj(this).click(function(){ 638 calculateCheckboxLineItemValue(this); 639 display(calculateTotalFee()); 640 }); 641 calculateCheckboxLineItemValue(this); 642 break; 643 644 case 'radio': 645 cj(this).click( function(){ 646 calculateRadioLineItemValue(this); 647 display(calculateTotalFee()); 648 }); 649 calculateRadioLineItemValue(this); 650 break; 651 652 case 'text': 653 cj(this).bind( 'keyup', function() { 654 calculateText(this); 655 }).bind( 'blur' , function() { 656 calculateText(this); 657 }); 658 //default calculation of element. 659 calculateText(this); 660 break; 661 662 case 'select-one': 663 calculateSelectLineItemValue(this); 664 665 cj(this).change(function() { 666 calculateSelectLineItemValue(this); 667 display(calculateTotalFee()); 668 }); 669 break; 670 } 671 672 display(calculateTotalFee()); 673}); 674 675/** 676 * Calculate the value of the line item for a radio value. 677 */ 678function calculateCheckboxLineItemValue(priceElement) { 679 eval( 'var option = ' + cj(priceElement).attr('price') ) ; 680 optionPart = option[1].split(optionSep); 681 price = parseFloat(0); 682 if (cj(priceElement).prop('checked')) { 683 price = parseFloat(optionPart[0]); 684 } 685 cj(priceElement).data('line_raw_total', price); 686} 687 688/** 689 * Calculate the value of the line item for a radio value. 690 */ 691function calculateRadioLineItemValue(priceElement) { 692 eval( 'var option = ' + cj(priceElement).attr('price') ); 693 optionPart = option[1].split(optionSep); 694 var lineTotal = parseFloat(optionPart[0]); 695 cj(priceElement).data('line_raw_total', lineTotal); 696 var radionGroupName = cj(priceElement).attr("name"); 697 // Reset all unchecked options to having a data value of 0. 698 cj('input[name=' + radionGroupName + ']:radio:unchecked').each( 699 function () { 700 cj(this).data('line_raw_total', 0); 701 } 702 ); 703} 704 705/** 706 * Calculate the value of the line item for a select value. 707 */ 708function calculateSelectLineItemValue(priceElement) { 709 eval( 'var selectedText = ' + cj(priceElement).attr('price') ); 710 var price = parseFloat('0'); 711 var option = cj(priceElement).val(); 712 if (option) { 713 optionPart = selectedText[option].split(optionSep); 714 price = parseFloat(optionPart[0]); 715 } 716 cj(priceElement).data('line_raw_total', price); 717} 718 719/** 720 * Calculate the value of the line item for a text box. 721 */ 722function calculateText(priceElement) { 723 //CRM-16034 - comma acts as decimal in price set text pricing 724 //CRM-19937 - dollar sign easy mistake to make by users. 725 var textval = parseFloat(cj(priceElement).val().replace(thousandMarker, '').replace(symbol, '')); 726 727 if (isNaN(textval)) { 728 textval = parseFloat(0); 729 } 730 eval('var option = '+ cj(priceElement).attr('price')); 731 optionPart = option[1].split(optionSep); 732 addprice = parseFloat(optionPart[0]); 733 var curval = textval * addprice; 734 cj(priceElement).data('line_raw_total', curval); 735 display(calculateTotalFee()); 736} 737 738/** 739 * Calculate the total fee for the visible priceset. 740 */ 741function calculateTotalFee() { 742 var totalFee = 0; 743 cj("#priceset [price]").each(function () { 744 totalFee = totalFee + cj(this).data('line_raw_total'); 745 }); 746 return totalFee; 747} 748 749/** 750 * Display calculated amount. 751 */ 752function display(totalfee) { 753 // totalfee is monetary, round it to 2 decimal points so it can 754 // go as a float - CRM-13491 755 totalfee = Math.round(totalfee*100)/100; 756 // dev/core#1019 Use the moneyFormat assigned to the template as an interim fix 757 // to support forms using a currency other that the site default. Also make sure to 758 // support various currency formatting options, 759 // temporary measure - pending 760 // our preferred fix. 761 // see https://github.com/civicrm/civicrm-core/pull/19151 762 var totalFormattedFee = CRM.formatMoney(totalfee, false, moneyFormat); 763 cj('#pricevalue').html(totalFormattedFee); 764 765 cj('#total_amount').val( totalfee ); 766 cj('#pricevalue').data('raw-total', totalfee).trigger('change'); 767 768 if (totalfee < 0) { 769 cj('table#pricelabel').addClass('disabled'); 770 } 771 else { 772 cj('table#pricelabel').removeClass('disabled'); 773 } 774 775 if (typeof skipPaymentMethod == 'function') { 776 // Advice to anyone who, like me, feels hatred towards this if construct ... if you remove the if you 777 // get an error on participant 2 of a event that requires approval & permits multiple registrants. 778 skipPaymentMethod(); 779 } 780} 781 782 783</script>
783 784</div> 785 </div> 786 787 788 <div class="crm-public-form-item crm-section is_recur-section"> 789 <div class="label"> </div> 790 <div class="content"> 791 <input id="is_recur" name="is_recur" type="checkbox" value="1" class="crm-form-checkbox" /> <label for="is_recur">I want to contribute this amount every</label> 792 <input size="6" maxlength="14" aria-label="Every" class="two crm-form-text" name="frequency_interval" type="text" id="frequency_interval" /> 793 <select aria-label="Frequency Unit" class="crm-select2 eight crm-form-select" name="frequency_unit" id="frequency_unit"> 794 <option value="week">week(s)</option> 795 <option value="month">month(s)</option> 796 <option value="year">year(s)</option> 797</select> 798 <div id="recurHelp" class="description"> 799 800 </div> 801 </div> 802 <div class="clear"></div> 803 </div> 804 <div class="crm-public-form-item crm-section email-5-section"> 805 <div class="label"><label for="email-5"> Email Address 806 <span class="crm-marker" title="This field is required.">*</span> 807 808</label></div> 809 <div class="content"> 810 <input size="30" maxlength="60" class="email crm-form-text required" name="email-5" type="text" id="email-5" /> 811 </div> 812 <div class="clear"></div> 813 </div> 814 815 <div id='onBehalfOfOrg' class="crm-public-form-item crm-section"> 816 817<div class="crm-public-form-item" id="on-behalf-block"> 818 </div> 819 820
821<script type="text/javascript"> 822 823 CRM.$(function($) { 824 825 var orgOption = $("input:radio[name=org_option]:checked").attr('id'); 826 var onBehalfRequired = '$onBehalfRequired'; 827 var onbehalfof_id = $('#onbehalfof_id'); 828 var is_for_organization = $('#is_for_organization'); 829 830 selectCreateOrg(orgOption, false); 831 832 if (is_for_organization.length) { 833 showHideOnBehalfOfBlock(); 834 835 is_for_organization.on('change', function() { 836 showHideOnBehalfOfBlock(); 837 }); 838 } 839 840 function showHideOnBehalfOfBlock() { 841 $('#on-behalf-block').toggle(is_for_organization.is(':checked')); 842 843 if (is_for_organization.is(':checked')) { 844 $('#onBehalfOfOrg select.crm-select2').removeClass('crm-no-validate'); 845 } 846 else { 847 $('#onBehalfOfOrg select.crm-select2').addClass('crm-no-validate'); 848 } 849 } 850 851 $("input:radio[name='org_option']").click( function( ) { 852 var orgOption = $(this).attr('id'); 853 selectCreateOrg(orgOption, true); 854 }); 855 856 onbehalfof_id.change(function() { 857 setLocationDetails($(this).val()); 858 }).change(); 859 860 if (onbehalfof_id.length) { 861 setLocationDetails(onbehalfof_id.val()); 862 } 863 864 function resetValues() { 865 // Don't trip chain-select when clearing values 866 $('.crm-chain-select-control', "#select_org div").select2('val', ''); 867 $('input[type=text], select, textarea', "#select_org div").not('.crm-chain-select-control, #onbehalfof_id').val('').change(); 868 $('input[type=radio], input[type=checkbox]', "#select_org div").prop('checked', false).change(); 869 870 $('#on-behalf-block input').not('input[type=checkbox], input[type=radio], #onbehalfof_id').val(''); 871 // clear checkboxes and radio 872 $('#on-behalf-block') 873 .find('input[type=checkbox], input[type=radio]') 874 .not('input[name=org_option]') 875 .attr('checked', false); 876 } 877 878 function selectCreateOrg( orgOption, reset ) { 879 if (orgOption == 'CIVICRM_QFID_0_org_option') { 880 $("#onbehalfof_id").show().change(); 881 $("input#onbehalf_organization_name").hide(); 882 } 883 else if (orgOption == 'CIVICRM_QFID_1_org_option') { 884 $("input#onbehalf_organization_name").show(); 885 $("#onbehalfof_id").hide(); 886 reset = true; 887 } 888 889 if ( reset ) { 890 resetValues(); 891 } 892 } 893 894 function setLocationDetails(contactID , reset) { 895 resetValues(); 896 var locationUrl = '' + contactID; 897 var submittedOnBehalfInfo = ''; 898 var submittedCID = ""; 899 900 if (submittedOnBehalfInfo) { 901 submittedOnBehalfInfo = $.parseJSON(submittedOnBehalfInfo); 902 903 if (submittedCID == contactID) { 904 $.each(submittedOnBehalfInfo, function(key, value) { 905 //handle checkboxes 906 if (typeof value === 'object') { 907 $.each(value, function(k, v) { 908 $('#onbehalf_' + key + '_' + k).prop('checked', v); 909 }); 910 } 911 else if ($('#onbehalf_' + key).length) { 912 $('#onbehalf_' + key ).val(value); 913 } 914 //radio buttons 915 else if ($("input[name='onbehalf[" + key + "]']").length) { 916 $("input[name='onbehalf[" + key + "]']").val([value]); 917 } 918 }); 919 return; 920 } 921 } 922 923 $.ajax({ 924 url : locationUrl, 925 dataType : "json", 926 success : function(data, status) { 927 for (var ele in data) { 928 if ($("#"+ ele).hasClass('crm-chain-select-target')) { 929 $("#"+ ele).data('newVal', data[ele].value).off('.autofill').on('crmOptionsUpdated.autofill', function() { 930 $(this).off('.autofill').val($(this).data('newVal')).change(); 931 }); 932 } 933 else if ($('#' + ele).data('select2')) { 934 $('#' + ele).select2('val', data[ele].value); 935 } 936 if (data[ele].type == 'Radio') { 937 if (data[ele].value) { 938 var fldName = ele.replace('onbehalf_', ''); 939 $("input[name='onbehalf["+ fldName +"]']").filter("[value='" + data[ele].value + "']").prop('checked', true); 940 } 941 } 942 else if (data[ele].type == 'CheckBox') { 943 for (var selectedOption in data[ele].value) { 944 var fldName = ele.replace('onbehalf_', ''); 945 $("input[name='onbehalf["+ fldName+"]["+ selectedOption +"]']").prop('checked','checked'); 946 } 947 } 948 else if (data[ele].type == 'AdvMulti-Select') { 949 var customFld = ele.replace('onbehalf_', ''); 950 // remove empty value if any 951 $('#onbehalf\\['+ customFld +'\\]-f option[value=""]').remove(); 952 $('#onbehalf\\['+ customFld +'\\]-t option[value=""]').remove(); 953 954 for (var selectedOption in data[ele].value) { 955 // remove selected values from left and selected values to right 956 $('#onbehalf\\['+ customFld +'\\]-f option[value="' + selectedOption + '"]').remove() 957 .appendTo('#onbehalf\\['+ customFld +'\\]-t'); 958 $('#onbehalf_'+ customFld).val(selectedOption); 959 } 960 } 961 else { 962 // do not set defaults to file type fields 963 if ($('#' + ele).attr('type') != 'file') { 964 $('#' + ele ).val(data[ele].value).change(); 965 } 966 } 967 } 968 }, 969 error : function(XMLHttpRequest, textStatus, errorThrown) { 970 CRM.console('error', "HTTP error status: ", textStatus); 971 } 972 }); 973 } 974 }); 975 976</script>
976 977 978 </div> 979 980 <div class="crm-public-form-item crm-section cms_user-section"> 981 </div> 982 <div class="crm-public-form-item crm-section premium_block-section"> 983 </div> 984 985 986 <div class="crm-public-form-item crm-group custom_pre_profile-group"> 987 988 989 990 <fieldset class="crm-profile crm-profile-id-14 crm-profile-name-name_and_address_Copy_id_14"><legend>Donor Information</legend> 991 992 993 <div class="crm-section editrow_first_name-section form-item" id="editrow-first_name"> 994 <div class="label"> 995 <label for="first_name"> First Name 996 <span class="crm-marker" title="This field is required.">*</span> 997 998</label> 999 </div> 1000 <div class="content"> 1001 1002 <input maxlength="64" size="30" name="first_name" type="text" id="first_name" class="big crm-form-text required" /> 1003 1004 </div> 1005 <div class="clear"></div> 1006 </div> 1007 1008 1009 1010 <div class="crm-section editrow_last_name-section form-item" id="editrow-last_name"> 1011 <div class="label"> 1012 <label for="last_name"> Last Name 1013 <span class="crm-marker" title="This field is required.">*</span> 1014 1015</label> 1016 </div> 1017 <div class="content"> 1018 1019 <input maxlength="64" size="30" name="last_name" type="text" id="last_name" class="big crm-form-text required" /> 1020 1021 </div> 1022 <div class="clear"></div> 1023 </div> 1024 1025 1026 1027 <div class="crm-section editrow_phone-5-1-section form-item" id="editrow-phone-5-1"> 1028 <div class="label"> 1029 <label for="phone-5-1"> Mobile Phone 1030 <span class="crm-marker" title="This field is required.">*</span> 1031 1032</label> 1033 </div> 1034 <div class="content"> 1035 1036 <input maxlength="32" size="20" name="phone-5-1" type="text" id="phone-5-1" class="medium crm-form-text required" /> 1037 1038 </div> 1039 <div class="clear"></div> 1040 </div> 1041 1042 1043 1044 <div class="crm-section editrow_street_address-1-section form-item" id="editrow-street_address-1"> 1045 <div class="label"> 1046 <label for="street_address-1">Street Address </label> 1047 </div> 1048 <div class="content"> 1049 1050 <input maxlength="96" size="45" name="street_address-1" type="text" id="street_address-1" class="huge crm-form-text" /> 1051 1052 </div> 1053 <div class="clear"></div> 1054 </div> 1055 1056 1057 1058 <div class="crm-section editrow_city-1-section form-item" id="editrow-city-1"> 1059 <div class="label"> 1060 <label for="city-1">City </label> 1061 </div> 1062 <div class="content"> 1063 1064 <input maxlength="64" size="30" name="city-1" type="text" id="city-1" class="big crm-form-text" /> 1065 1066 </div> 1067 <div class="clear"></div> 1068 </div> 1069 1070 1071 1072 <div class="crm-section editrow_state_province-1-section form-item" id="editrow-state_province-1"> 1073 <div class="label"> 1074 <label for="state_province-1">State</label> 1075 </div> 1076 <div class="content"> 1077 1078 <select data-callback="civicrm/ajax/jqState" data-empty-prompt="Choose country first" data-none-prompt="- N/A -" class="crm-select2 crm-chain-select-target crm-form-select" data-select-prompt="- select State/Province -" data-name="state_province-1" name="state_province-1" id="state_province-1"> 1079 <option value="">- select State/Province -</option> 1080 <option value="1000">Alabama</option> 1081 <option value="1001">Alaska</option> 1082 <option value="1052">American Samoa</option> 1083 <option value="1002">Arizona</option> 1084 <option value="1003">Arkansas</option> 1085 <option value="1060">Armed Forces Americas</option> 1086 <option value="1059">Armed Forces Europe</option> 1087 <option value="1061">Armed Forces Pacific</option> 1088 <option value="1004">California</option> 1089 <option value="1005">Colorado</option> 1090 <option value="1006">Connecticut</option> 1091 <option value="1007">Delaware</option> 1092 <option value="1050">District of Columbia</option> 1093 <option value="1008">Florida</option> 1094 <option value="1009">Georgia</option> 1095 <option value="1053">Guam</option> 1096 <option value="1010">Hawaii</option> 1097 <option value="1011">Idaho</option> 1098 <option value="1012">Illinois</option> 1099 <option value="1013">Indiana</option> 1100 <option value="1014">Iowa</option> 1101 <option value="1015">Kansas</option> 1102 <option value="1016">Kentucky</option> 1103 <option value="1017">Louisiana</option> 1104 <option value="1018">Maine</option> 1105 <option value="1019">Maryland</option> 1106 <option value="1020">Massachusetts</option> 1107 <option value="1021">Michigan</option> 1108 <option value="1022">Minnesota</option> 1109 <option value="1023">Mississippi</option> 1110 <option value="1024">Missouri</option> 1111 <option value="1025">Montana</option> 1112 <option value="1026">Nebraska</option> 1113 <option value="1027">Nevada</option> 1114 <option value="1028">New Hampshire</option> 1115 <option value="1029">New Jersey</option> 1116 <option value="1030">New Mexico</option> 1117 <option value="1031">New York</option> 1118 <option value="1032">North Carolina</option> 1119 <option value="1033">North Dakota</option> 1120 <option value="1055">Northern Mariana Islands</option> 1121 <option value="1034">Ohio</option> 1122 <option value="1035">Oklahoma</option> 1123 <option value="1036">Oregon</option> 1124 <option value="1037">Pennsylvania</option> 1125 <option value="1056">Puerto Rico</option> 1126 <option value="1038">Rhode Island</option> 1127 <option value="1039">South Carolina</option> 1128 <option value="1040">South Dakota</option> 1129 <option value="1041">Tennessee</option> 1130 <option value="1042">Texas</option> 1131 <option value="1058">United States Minor Outlying Islands</option> 1132 <option value="1043">Utah</option> 1133 <option value="1044">Vermont</option> 1134 <option value="1057">Virgin Islands</option> 1135 <option value="1045">Virginia</option> 1136 <option value="1046">Washington</option> 1137 <option value="1047">West Virginia</option> 1138 <option value="1048">Wisconsin</option> 1139 <option value="1049">Wyoming</option> 1140</select> 1141 1142 </div> 1143 <div class="clear"></div> 1144 </div> 1145 1146 1147 1148 <div class="crm-section editrow_postal_code-1-section form-item" id="editrow-postal_code-1"> 1149 <div class="label"> 1150 <label for="postal_code-1">Postal Code</label> 1151 </div> 1152 <div class="content"> 1153 1154 <input maxlength="64" size="6" name="postal_code-1" type="text" id="postal_code-1" class="six crm-form-text" /> 1155 1156 </div> 1157 <div class="clear"></div> 1158 </div> 1159 1160 1161 1162 <div class="crm-section editrow_country-1-section form-item" id="editrow-country-1"> 1163 <div class="label"> 1164 <label for="country-1">Country</label> 1165 </div> 1166 <div class="content"> 1167 1168 <select class="crm-select2 crm-chain-select-control crm-form-select" placeholder="- select Country -" name="country-1" data-target="state_province-1" id="country-1"> 1169 <option value="">- select Country -</option> 1170 <option value="1228" selected="selected">United States</option> 1171</select> 1172 1173 </div> 1174 <div class="clear"></div> 1175 </div> 1176 </fieldset> 1177 1178 1179
1180<script type="text/javascript"> 1181 CRM.$(function($) { 1182 $('#selector tr:even').addClass('odd-row'); 1183 $('#selector tr:odd ').addClass('even-row'); 1184 }); 1185</script>
1185 1186 1187 </div> 1188 1189 1190 1191 <fieldset class="crm-public-form-item crm-group payment_options-group" style="display:none;"> 1192 <legend>Payment Options</legend> 1193 <div class="crm-public-form-item crm-section payment_processor-section"> 1194 <div class="label"><label>Payment Method</label></div> 1195 <div class="content"><input class="payment_processor_paypal-standard crm-form-radio" value="3" type="radio" id="CIVICRM_QFID_3_payment_processor_id" name="payment_processor_id" checked="checked" /><label for="CIVICRM_QFID_3_payment_processor_id">Credit Card</label> <input class="payment_processor_paylater crm-form-radio" value="0" type="radio" id="CIVICRM_QFID_0_payment_processor_id" name="payment_processor_id" /><label for="CIVICRM_QFID_0_payment_processor_id">I will send payment by check</label></div> 1196 <div class="clear"></div> 1197 </div> 1198 </fieldset> 1199 1200 1201 <div id="billing-payment-block"> 1202
1202<script type="text/javascript"> 1203CRM.config.creditCardTypes = {"Visa":{"label":"Visa","name":"Visa","css_key":"visa","pattern":"4(?:[0-9]{12}|[0-9]{15})"},"MasterCard":{"label":"MasterCard","name":"MasterCard","css_key":"mastercard","pattern":"(5[1-5][0-9]{2}|2[3-6][0-9]{2}|22[3-9][0-9]|222[1-9]|27[0-1][0-9]|2720)[0-9]{12}"},"Amex":{"label":"Amex","name":"Amex","css_key":"amex","pattern":"3[47][0-9]{13}"},"Discover":{"label":"Discover","name":"Discover","css_key":"discover","pattern":"6011[0-9]{12}"}}; 1204</script>
1204 1205<div id="payment_information"> 1206 </div> 1207
1207<script type="text/javascript"> 1208 1209 1210 CRM.$(function ($) { 1211 // build list of ids to track changes on 1212 var address_fields = {"street_address":"1","city":"1","state_province":"1","postal_code":"1","country":"1"}; 1213 var input_ids = {}; 1214 var select_ids = {}; 1215 var orig_id, field, field_name; 1216 1217 // build input ids 1218 $('.billing_name_address-section input').each(function (i) { 1219 orig_id = $(this).attr('id'); 1220 field = orig_id.split('-'); 1221 field_name = field[0].replace('billing_', ''); 1222 if (field[1]) { 1223 if (address_fields[field_name]) { 1224 input_ids['#' + field_name + '-' + address_fields[field_name]] = '#' + orig_id; 1225 } 1226 } 1227 }); 1228 if ($('#first_name').length) 1229 input_ids['#first_name'] = '#billing_first_name'; 1230 if ($('#middle_name').length) 1231 input_ids['#middle_name'] = '#billing_middle_name'; 1232 if ($('#last_name').length) 1233 input_ids['#last_name'] = '#billing_last_name'; 1234 1235 // build select ids 1236 $('.billing_name_address-section select').each(function (i) { 1237 orig_id = $(this).attr('id'); 1238 field = orig_id.split('-'); 1239 field_name = field[0].replace('billing_', '').replace('_id', ''); 1240 if (field[1]) { 1241 if (address_fields[field_name]) { 1242 select_ids['#' + field_name + '-' + address_fields[field_name]] = '#' + orig_id; 1243 } 1244 } 1245 }); 1246 1247 // detect if billing checkbox should default to checked 1248 var checked = true; 1249 for (var id in input_ids) { 1250 orig_id = input_ids[id]; 1251 if ($(id).val() != $(orig_id).val()) { 1252 checked = false; 1253 break; 1254 } 1255 } 1256 for (var id in select_ids) { 1257 orig_id = select_ids[id]; 1258 if ($(id).val() != $(orig_id).val()) { 1259 checked = false; 1260 break; 1261 } 1262 } 1263 if (checked) { 1264 $('#billingcheckbox').prop('checked', true).data('crm-initial-value', true); 1265 if (!CRM.billing || CRM.billing.billingProfileIsHideable) { 1266 $('.billing_name_address-group').hide(); 1267 } 1268 } 1269 1270 // onchange handlers for non-billing fields 1271 for (var id in input_ids) { 1272 orig_id = input_ids[id]; 1273 $(id).change(function () { 1274 var id = '#' + $(this).attr('id'); 1275 var orig_id = input_ids[id]; 1276 1277 // if billing checkbox is active, copy other field into billing field 1278 if ($('#billingcheckbox').prop('checked')) { 1279 $(orig_id).val($(id).val()); 1280 } 1281 }); 1282 } 1283 for (var id in select_ids) { 1284 orig_id = select_ids[id]; 1285 $(id).change(function () { 1286 var id = '#' + $(this).attr('id'); 1287 var orig_id = select_ids[id]; 1288 1289 // if billing checkbox is active, copy other field into billing field 1290 if ($('#billingcheckbox').prop('checked')) { 1291 $(orig_id + ' option').prop('selected', false); 1292 $(orig_id + ' option[value="' + $(id).val() + '"]').prop('selected', true); 1293 $(orig_id).change(); 1294 } 1295 }); 1296 } 1297 1298 // toggle show/hide 1299 var billingCheckboxElement = $('#billingcheckbox'); 1300 billingCheckboxElement.click(function() { 1301 billingCheckboxChanged(billingCheckboxElement); 1302 }); 1303 1304 billingCheckboxElement.change(function() { 1305 billingCheckboxChanged(billingCheckboxElement); 1306 }); 1307 1308 function billingCheckboxChanged(billingCheckbox) { 1309 if (billingCheckbox.prop('checked')) { 1310 if (!CRM.billing || CRM.billing.billingProfileIsHideable) { 1311 $('.billing_name_address-group').hide(200); 1312 } 1313 1314 // copy all values 1315 for (var id in input_ids) { 1316 orig_id = input_ids[id]; 1317 $(orig_id).val($(id).val()); 1318 } 1319 for (var id in select_ids) { 1320 orig_id = select_ids[id]; 1321 $(orig_id + ' option').prop('selected', false); 1322 $(orig_id + ' option[value="' + $(id).val() + '"]').prop('selected', true); 1323 $(orig_id).change(); 1324 } 1325 } else { 1326 $('.billing_name_address-group').show(200); 1327 } 1328 } 1329 1330 // remove spaces, dashes from credit card number 1331 $('#credit_card_number').change(function () { 1332 var cc = $('#credit_card_number').val() 1333 .replace(/ /g, '') 1334 .replace(/-/g, ''); 1335 $('#credit_card_number').val(cc); 1336 }); 1337 }); 1338 1339 </script>
1339 1340
1341<script type="text/javascript" src="/libraries/civicrm/core/templates/CRM/Core/BillingBlock.js?r=sQj6Uen_US"> 1342</script>
1342 1343 </div> 1344
1345<script type="text/javascript"> 1346 1347 /** 1348 * Show or hide payment options. 1349 * 1350 * @param bool $isHide 1351 * Should the block be hidden. 1352 */ 1353 function showHidePayment(isHide) { 1354 var payment_options = cj(".payment_options-group"); 1355 var payment_processor = cj("div.payment_processor-section"); 1356 var payment_information = cj("div#payment_information"); 1357 // I've added a hide for billing block. But, actually the issue 1358 // might be that the unselecting of the processor should cause it 1359 // to be hidden (or removed) in which case it can go from this function. 1360 var billing_block = cj("div#billing-payment-block"); 1361 if (isHide) { 1362 payment_options.hide(); 1363 payment_processor.hide(); 1364 payment_information.hide(); 1365 billing_block.hide(); 1366 // Ensure that jquery validation doesn't block submission when we don't need to fill in the billing details section 1367 cj('#billing-payment-block select.crm-select2').addClass('crm-no-validate'); 1368 // also unset selected payment methods 1369 cj('input[name="payment_processor_id"]').removeProp('checked'); 1370 } 1371 else { 1372 payment_options.show(); 1373 payment_processor.show(); 1374 payment_information.show(); 1375 billing_block.show(); 1376 cj('#billing-payment-block select.crm-select2').removeClass('crm-no-validate'); 1377 // also set selected payment methods 1378 cj('input[name="payment_processor_id"][checked=checked]').prop('checked', true); 1379 } 1380 } 1381 1382 /** 1383 * Hides or shows billing and payment options block depending on whether payment is required. 1384 * 1385 * In general incomplete orders or $0 orders do not require a payment block. 1386 */ 1387 function skipPaymentMethod() { 1388 var isHide = false;
1389 var isMultiple = null; 1390 var alwaysShowFlag = (isMultiple && cj("#additional_participants").val()); 1391 var alwaysHideFlag = (cj("#bypass_payment").val() == 1); 1392 var total_amount_tmp = cj('#pricevalue').data('raw-total'); 1393 // Hide billing questions if this is free 1394 if (!alwaysShowFlag && total_amount_tmp == 0){ 1395 isHide = true; 1396 } 1397 else { 1398 isHide = false; 1399 } 1400 if (alwaysHideFlag) { 1401 isHide = true; 1402 } 1403 showHidePayment(isHide); 1404 } 1405 skipPaymentMethod(); 1406 1407 1408 CRM.$(function($) { 1409 function buildPaymentBlock(type) { 1410 var $form = $('#billing-payment-block').closest('form'); 1411 1412 1413 1414 var payment_instrument_id = $('#payment_instrument_id').val(); 1415 1416 var currency = 'USD'; 1417 currency = currency == '' ? $('#currency').val() : currency; 1418 1419 var dataUrl = "/civicrm/payment/form?formName=Main&is_back_office=&id=2&pre_profile_id=14&processor_id=" + type; 1420 1421 if (typeof(CRM.vars) != "undefined") { 1422 if (typeof(CRM.vars.coreForm) != "undefined") { 1423 if (typeof(CRM.vars.coreForm.contact_id) != "undefined") { 1424 dataUrl = dataUrl + "&cid=" + CRM.vars.coreForm.contact_id; 1425 } 1426 1427 if (typeof(CRM.vars.coreForm.checksum) != "undefined" ) { 1428 dataUrl = dataUrl + "&cs=" + CRM.vars.coreForm.checksum; 1429 } 1430 } 1431 } 1432 dataUrl = dataUrl + "&payment_instrument_id=" + payment_instrument_id + "¤cy=" + currency; 1433 1434 // Processors like pp-express will hide the form submit buttons, so re-show them when switching 1435 $('.crm-submit-buttons', $form).show().find('input').prop('disabled', true); 1436 CRM.loadPage(dataUrl, {target: '#billing-payment-block'}); 1437 } 1438 1439 $('[name=payment_processor_id], #currency').on('change.paymentBlock', function() { 1440 var payment_processor_id = $('[name=payment_processor_id]:checked').val() == undefined ? $('[name=payment_processor_id]').val() : $('[name=payment_processor_id]:checked').val(); 1441 if (payment_processor_id != undefined) { 1442 buildPaymentBlock(payment_processor_id); 1443 } 1444 }); 1445 1446 $('#payment_instrument_id').on('change.paymentBlock', function() { 1447 buildPaymentBlock(0); 1448 }); 1449 1450 $('#billing-payment-block').on('crmLoad', function() { 1451 $('.crm-submit-buttons input').prop('disabled', false); 1452 }) 1453 }); 1454 1455</script>
1455 1456 1457 1458 <div class="crm-public-form-item crm-group custom_post_profile-group"> 1459 1460
1461<script type="text/javascript"> 1462 CRM.$(function($) { 1463 $('#selector tr:even').addClass('odd-row'); 1464 $('#selector tr:odd ').addClass('even-row'); 1465 }); 1466</script>
1466 1467 1468 </div> 1469 1470 <div id="crm-submit-buttons" class="crm-submit-buttons"> 1471 1472 <button class="crm-form-submit default validate crm-button crm-button-type-upload crm-button_qf_Main_upload" value="1" type="submit" name="_qf_Main_upload" id="_qf_Main_upload-bottom"><i aria-hidden="true" class="crm-i fa-chevron-right"></i> Review your contribution</button> 1473 </div> 1474 </div> 1475
1475<script type="text/javascript"> 1476 1477 1478 1479 cj('input[name="soft_credit_type_id"]').on('change', function() { 1480 enableHonorType(); 1481 }); 1482 1483 function enableHonorType() { 1484 var selectedValue = cj('input[name="soft_credit_type_id"]:checked'); 1485 if ( selectedValue.val() > 0) { 1486 cj('#honorType').show(); 1487 } 1488 else { 1489 cj('#honorType').hide(); 1490 } 1491 } 1492 1493 cj('input[id="is_recur"]').on('change', function() { 1494 toggleRecur(); 1495 }); 1496 1497 function toggleRecur() { 1498 var isRecur = cj('input[id="is_recur"]:checked'); 1499 var allowAutoRenew = ''; 1500 var quickConfig = 1; 1501 if (allowAutoRenew && cj("#auto_renew") && quickConfig) { 1502 showHideAutoRenew(null); 1503 } 1504 1505 var frequencyUnit = cj('#frequency_unit'); 1506 var frequencyInerval = cj('#frequency_interval'); 1507 var installments = cj('#installments'); 1508 isDisabled = false; 1509 1510 if (isRecur.val() > 0) { 1511 cj('#recurHelp').show(); 1512 frequencyUnit.prop('disabled', false).addClass('required'); 1513 frequencyInerval.prop('disabled', false).addClass('required'); 1514 installments.prop('disabled', false); 1515 cj('#amount_sum_label').text('Regular Amount'); 1516 } 1517 else { 1518 cj('#recurHelp').hide(); 1519 frequencyUnit.prop('disabled', true).removeClass('required'); 1520 frequencyInerval.prop('disabled', true).removeClass('required'); 1521 installments.prop('disabled', true); 1522 cj('#amount_sum_label').text('Total Amount'); 1523 } 1524 } 1525 1526 function pcpAnonymous() { 1527 // clear nickname field if anonymous is true 1528 if (document.getElementsByName("pcp_is_anonymous")[1].checked) { 1529 document.getElementById('pcp_roll_nickname').value = ''; 1530 } 1531 if (!document.getElementsByName("pcp_display_in_roll")[0].checked) { 1532 cj('#nickID').hide(); 1533 cj('#nameID').hide(); 1534 cj('#personalNoteID').hide(); 1535 } 1536 else { 1537 if (document.getElementsByName("pcp_is_anonymous")[0].checked) { 1538 cj('#nameID').show(); 1539 cj('#nickID').show(); 1540 cj('#personalNoteID').show(); 1541 } 1542 else { 1543 cj('#nameID').show(); 1544 cj('#nickID').hide(); 1545 cj('#personalNoteID').hide(); 1546 } 1547 } 1548 } 1549 1550 CRM.$(function($) { 1551 enableHonorType(); 1552 toggleRecur(); 1553 skipPaymentMethod(); 1554 }); 1555 1556 CRM.$(function($) { 1557 // highlight price sets 1558 function updatePriceSetHighlight() { 1559 $('#priceset .price-set-row span').removeClass('highlight'); 1560 $('#priceset .price-set-row input:checked').parent().addClass('highlight'); 1561 } 1562 $('#priceset input[type="radio"]').change(updatePriceSetHighlight); 1563 updatePriceSetHighlight(); 1564 1565 // Update pledge contribution amount when pledge checkboxes change 1566 $("input[name^='pledge_amount']").on('change', function() { 1567 var total = 0; 1568 $("input[name^='pledge_amount']:checked").each(function() { 1569 total += Number($(this).attr('amount')); 1570 }); 1571 $("input[name^='price_']").val(total.toFixed(2)); 1572 }); 1573 }); 1574 1575 </script>
1575 1576 1577
1577<script type="text/javascript"> 1578 CRM.$(function($) { 1579 $("form.CRM_Contribute_Form_Contribution_Main").crmValidate(); 1580 }); 1581 </script>
1581 1582 1583 1584 </form> 1585 </div> 1586 1587 1588</div> 1589 1590 </div> 1591 1592 </section> 1593 1594 </div> 1595 </div> 1596 1597<section class="about"> 1598 <div class="container"> 1599 <div class="row"> 1600 </div> 1601 </div> 1602</section> 1603 1604<section class="promobanner"> 1605 <div class="container"> 1606 <div class="row"> 1607 </div> 1608 </div> 1609</section> 1610 1611<section class="activity"> 1612 <div class="container"> 1613 <div class="row"> 1614 <div class="col-xs-12 col-sm-6 col-md-3 col-lg-3 row-eq-height"> 1615 </div> 1616 <div class="col-xs-12 col-sm-6 col-md-3 col-lg-3 row-eq-height twitter-block"> 1617 </div> 1618 <div class="col-xs-12 col-sm-6 col-md-3 col-lg-3 row-eq-height"> 1619 </div> 1620 <div class="col-xs-12 col-sm-6 col-md-3 col-lg-3 row-eq-height news-block"> 1621 </div> 1622 </div> 1623 </div> 1624</section> 1625</section> 1626 1627<section class="footer-section"> 1628<footer class="footer-wrap footer-bottom"> 1629 <div class="container"> 1630 <div class="row row-eq-height"> 1631 <div class="col-xs-12 col-sm-3 col-lg-3 row-eq-height"> 1632 <div class="region region-footer"> 1633 <section id="block-footerlogo" class="footer-logo block block-block-content block-block-content04783be4-75ff-429e-9659-313dd16bf0b0 clearfix"> 1634 1635 1636 1637 1638 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><a href="/home" id="" rel="" target="" title=""><img alt="flogo" data-entity-type="image" data-entity-uuid="0" src="/sites/unitysanleandro/files/unity-leandro-logo-new.png" /></a></p> 1639</div> 1640 1641 </section> 1642 1643 1644 </div> 1645 1646 </div> 1647 <div class="col-xs-12 col-sm-3 col-lg-3 row-eq-height"> 1648 <div class="region region-footer1"> 1649 <nav role="navigation" aria-labelledby="block-about-menu" id="block-about"> 1650 1651 <h2 id="block-about-menu">About</h2> 1652 1653 1654 1655 <ul class="menu menu--about nav"> 1656 <li class="first"> 1657 <a href="/what-unity" data-drupal-link-system-path="node/635">New to Unity?</a> 1658 </li> 1659 <li> 1660 <a href="/new-unity" data-drupal-link-system-path="node/21">Who We Are</a> 1661 </li> 1662 <li class="last"> 1663 <a href="/user/login" class="log" data-drupal-link-system-path="user/login">Login</a> 1664 </li> 1665 </ul> 1666 1667 1668 </nav> 1669 1670 </div> 1671 1672 </div> 1673 <div class="col-xs-12 col-sm-3 col-lg-3 row-eq-height" > 1674 <div class="region region-footer2"> 1675 <nav role="navigation" aria-labelledby="block-unity-menu" id="block-unity"> 1676 1677 <h2 id="block-unity-menu">Unity</h2> 1678 1679 1680 1681 <ul class="menu menu--unity nav"> 1682 <li class="first"> 1683 <a href="http://www.dailyword.com/" target="_blank">Daily Word</a> 1684 </li> 1685 <li> 1686 <a href="https://www.unity.org/unity-magazine/" target="_blank">Unity Magazine</a> 1687 </li> 1688 <li class="last"> 1689 <a href="https://www.unity.org/" target="_blank">Unity.org</a> 1690 </li> 1691 </ul> 1692 1693 1694 </nav> 1695 1696 </div> 1697 1698 </div> 1699 <div class="col-xs-12 col-sm-3 col-lg-3 last row-eq-height" > 1700 <div class="region region-footer3"> 1701 <section id="block-location" class="block block-block-content block-block-content6eaabdfe-7334-417c-adea-85e793abd524 clearfix"> 1702 1703 <h2 class="block-title">Location</h2> 1704 1705 1706 1707 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>Meeting Location:<br /> 1708<p>13909 E. 14th Street<br /> 1709<p>San Leandro, CA 94578<br /><br /> 1710<p>Mailing Address:<br /> 1711<p>PO Box 2018<br /> 1712<p>San Leandro, CA 94577<br /> 1713<p>Phone: 510.483.2132</p> 1714 1715</div> 1716 1717 </section> 1718 1719 1720 </div> 1721 1722 </div> 1723 </div> 1724 </div> 1725</footer> 1726<div class="footer-last"> 1727 <div class="container"> 1728 <div class="row"> 1729 <div class="col-xs-12 col-sm-4 col-lg-4"> 1730 <div class="region region-copyright"> 1731 <section id="block-copyrightblock" class="copyright-block block block-block-content block-block-content58ebceb3-bf24-49f2-95e8-a9620c07e757 clearfix"> 1732 1733 1734 1735 1736 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><span style="font-size:12px;">© <span id="year"> </span> <em>Unity of San Leandro.</em> All Rights Reserved.</span></p>
1737<script> 1738var d = new Date(); 1739document.getElementById("year").innerHTML = d.getFullYear(); 1740</script>
1740</div> 1741 1742 </section> 1743 1744 1745 </div> 1746 1747 </div> 1748 <div class="col-xs-12 col-sm-4 col-lg-4"> 1749 <div class="region region-social"> 1750 <section id="block-socialmediaicons" class="social-media-block block block-block-content block-block-content0448509e-c7b4-42b4-9e37-d8cc314d31e4 clearfix"> 1751 1752 1753 1754 1755 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><a href="https://www.facebook.com/Unity-Church-of-San-Leandro-116477795043084/" target="_blank"><i class="fa-brands fa-facebook-square"> </i></a><a href="https://twitter.com/unitysanleandro" target="_blank"><i class="fa-brands fa-x-twitter"> </i></a><a href="https://www.youtube.com/channel/UCBGtzUUzPlDbcirefOaAaRg" target="_blank"><i class="fa fa-youtube-play"> </i></a><a href="https://instagram.com/unitysanleandro" target="_blank"><i class="fa fa-instagram"> </i></a></p> 1756</div> 1757 1758 </section> 1759 1760 1761 </div> 1762 1763 </div> 1764 <div class="col-xs-12 col-sm-4 col-lg-4"> 1765 <div class="region region-provider"> 1766 <section id="block-providedby" class="block block-block-content block-block-content8f78ec06-74b6-4546-a967-80bf6aa09fe7 clearfix"> 1767 1768 1769 1770 1771 <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p><span style="font-size:12px;">Website by: <a href="http://www.oneeach.com/" target="_blank">OneEach Technologies</a></span></p> 1772<style type="text/css"> 1773<!--/*--><![CDATA[/* ><!--*/ 1774.paragraph--type--bp-carousel .row { 1775margin: 0px; 1776} 1777 1778.paragraph--type--bp-carousel .paragraph { 1779margin: 0 auto; 1780} 1781.paragraph--type--bp-carousel .paragraph--type--bp-webform { 1782display: block; 1783} 1784.carousel-inner { 1785padding: 20px; 1786} 1787.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next { 1788 right: 0%; 1789} 1790.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev { 1791 left: 0%; 1792} 1793.paragraph--type--bp-tabs .tab-content .row { 1794 margin: 0px !important; 1795} 1796@media screen and (min-width: 0px) and (max-width: 767px) { 1797.paragraph--type--bp-carousel img { 1798width: 100% !important; 1799} 1800.paragraph--type--bp-carousel .paragraph { 1801width: 100% !important; 1802margin: 0 auto; 1803} 1804} 1805 1806/*--><!]]>*/ 1807</style></div> 1808 1809 </section> 1810 1811 1812 </div> 1813 1814 </div> 1815 </div> 1816 </div> 1817</div> 1818</section> 1819 1820</div> 1821 1822 1823 1824 1825 </div> 1826 1827 1828
1828<script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","scriptPath":null,"pathPrefix":"","currentPath":"civicrm\/contribute\/transact","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"en","currentQuery":{"id":"2","reset":"1"}},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"google_analytics":{"account":"UA-93816234-1","trackOutbound":true,"trackMailto":true,"trackDownload":true,"trackDownloadExtensions":"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip"},"bootstrap":{"forms_has_error_value_toggle":1,"modal_animation":1,"modal_backdrop":"true","modal_focus_input":1,"modal_keyboard":1,"modal_select_text":1,"modal_show":1,"modal_size":"","popover_enabled":1,"popover_animation":1,"popover_auto_close":1,"popover_container":"body","popover_content":"","popover_delay":"0","popover_html":0,"popover_placement":"right","popover_selector":"","popover_title":"","popover_trigger":"click","tooltip_enabled":1,"tooltip_animation":1,"tooltip_container":"body","tooltip_delay":"0","tooltip_html":0,"tooltip_placement":"auto left","tooltip_selector":"","tooltip_trigger":"hover"},"ajaxTrustedUrl":{"\/search\/node":true},"user":{"uid":0,"permissionsHash":"83f29be05becfd9b24a04866cd808537de74f1a11993816f5521f07f582a34ba"}}</script>
vendor: 1 bytes, line 1828
1828
1829<script src="/sites/unitysanleandro/files/js/js_TkcyFC3IU0mm8xFDpTu8ls5_vnAbkBNRvYv6UmmxbKY.js"></script>
vendor: 1 bytes, line 1829
1829
1830<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha256-nuL8/2cJ5NDSSwnKD8VqreErSWHtnEP9E7AySL+1ev4=" crossorigin="anonymous"></script>
vendor: 1 bytes, line 1830
1830
1831<script src="/sites/unitysanleandro/files/js/js_8aJr9QWauTt5W_BLLu3150Ux2IQqeJOUIgyqpqWbe9w.js"></script>
1831 1832 1833
1833<script src="/core/assets/vendor/jquery/jquery.min.js?v=3.2.1"></script>
vendor: 1 bytes, line 1833
1833
1834<script> 1835 1836</script>
vendor: 1 bytes, line 1836
1836
1837<script> 1838 if (jQuery(window).width() < 768) { 1839 jQuery('.front-page-rotor-banner img, .bImage img, .give-block a img, .front-page-promo-banner img').each(function() { 1840 var imgSrc = jQuery(this).attr('src'); 1841 jQuery(this).parent().css({'background': 'url('+imgSrc+') center center no-repeat', '-webkit-background-size': '100% ', '-moz-background-size': '100%', '-o-background-size': '100%', 'background-size': '100%', '-webkit-background-size': 'cover', '-moz-background-size': 'cover', '-o-background-size': 'cover', 'background-size': 'cover'}); 1842 jQuery(this).parent().addClass("scaleUp animation"); 1843 jQuery(this).remove(); 1844 }); 1845} 1846</script>
1846 1847
1848<script> 1849 jQuery('.field--name-field-header-image').appendTo('#inner-banner-image'); 1850 1851</script>
1851 1852
1853<script> 1854 if (jQuery('.field--name-field-header-image').length > 0) { 1855 jQuery('.region-header').appendTo('#pTitle'); 1856 jQuery('.region-content .page-header').appendTo('#pTitle'); 1857 }; 1858</script>
vendor: 1 bytes, line 1858
1858
1859<script> 1860 if (jQuery('.field--name-field-header-image').length > 0) { 1861 jQuery( "body" ).addClass( "withImage" ); 1862 }; 1863 if (jQuery('.field--name-field-header-image').length == 0) { 1864 jQuery( "body" ).addClass( "withOutImage" ); 1865 jQuery('.page-header').appendTo('#pTitle'); 1866 }; 1867</script>
1867 1868
1869<script> 1870 jQuery('.bImage img').each(function() { 1871 var imgSrc = jQuery(this).attr('src'); 1872 jQuery(this).parent().css({'background': 'url('+imgSrc+') center center no-repeat', '-webkit-background-size': '100% ', '-moz-background-size': '100%', '-o-background-size': '100%', 'background-size': '100%', '-webkit-background-size': 'cover', '-moz-background-size': 'cover', '-o-background-size': 'cover', 'background-size': 'cover'}); 1873 jQuery(this).parent().addClass("scaleUp animation"); 1874 jQuery(this).remove(); 1875 }); 1876</script>
1876 1877
1878<script> 1879 if (jQuery(window).width() > 1100) { 1880 if (jQuery('.withImage .bImage .field--name-field-header-image').length > 0) { 1881 jQuery('.quick-links').appendTo('#inner-banner-image'); 1882 }; 1883} 1884</script>
1884 1885 1886 1887 1888 1889 </body> 1890</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.