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