PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/displayObjects/dsp_facebookEmail.cfm

http://github.com/blueriver/MuraFBConnect
ColdFusion | 33 lines | 18 code | 0 blank | 15 comment | 0 complexity | 921ebe8e92eb1ece9b3d8afa83a22f9d MD5 | raw file
 1<!---
 2   Copyright 2011 Blue River Interactive
 3
 4   Licensed under the Apache License, Version 2.0 (the "License");
 5   you may not use this file except in compliance with the License.
 6   You may obtain a copy of the License at
 7
 8       http://www.apache.org/licenses/LICENSE-2.0
 9
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   See the License for the specific language governing permissions and
14   limitations under the License.
15--->
16<cfoutput>
17<form action="" name="fbSetEmail" onsubmit="return validateForm(this);" novalidate="novalidate">
18<input type="hidden" name="userid" value="#$.currentUser('userID')#" />
19<input type="hidden" name="doaction" value="updateprofile" />
20<input type="hidden" name="siteid" value="#HTMLEditFormat($.event('siteID'))#" />
21<input type="hidden" name="returnURL" value="#HTMLEditFormat($.event('currentURL'))#" />
22<input type="hidden" name="display" value="editprofile" />
23<ul>
24<li class="req">
25<strong>#local.rbFactory.getKey('user.facebookemail')#</strong><br/>
26<input type="text" name="email" id="email" class="text" validate="email" required="true" message="#local.rbFactory.getKey('user.facebookemailvalidate')#" value="#htmlEditFormat(local.email)#" />
27</li>
28</ul>
29<div class="buttons">
30<button type="submit" name="submit" class="submit">#HTMLEditFormat(local.rbFactory.getKey('user.updateprofile'))#</button>
31</div>
32</form>
33</cfoutput>