/admin/dsp_settingsEditor.cfm

http://github.com/blueriver/MuraFBConnect · ColdFusion · 42 lines · 21 code · 6 blank · 15 comment · 0 complexity · 70125560eca4e01e9c07c26cadb8a4d6 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. <cfsilent>
  14. <cfset $.loadJSLib() />
  15. <cfset pluginConfig.addToHTMLHeadQueue('admin/htmlHeadQueueItems/qi_admin_js.cfm') />
  16. <cfset settings = application[pluginConfig.getPackage()].settingsService.getSiteSettings(session.siteid) />
  17. <cfset client_id = settings.facebook.client_id />
  18. <cfif pluginConfig.getSetting('client_id') EQ client_id>
  19. <cfset client_id = "" />
  20. </cfif>
  21. </cfsilent>
  22. <cfoutput>
  23. <span id="btnSave" class="btn">Save</span>
  24. <h3 class="separate">Facebook Settings</h3>
  25. <form action="" method="post" onsubmit="javascript:;">
  26. <ul>
  27. <li>
  28. <label for="client_id">Client ID</label>
  29. <input type="text" class="text" name="client_id" id="client_id" value="#client_id#" />
  30. </li>
  31. </ul>
  32. </form>
  33. </cfoutput>