Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 1.51 KB | None | 0 0
  1. <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
  2.     <!--#include file="../top.asp"-->
  3.     <%
  4.     ' Tables and fields we want to use in our form.
  5.     tablesAndFields = "styles[" & rssite("styleid") & "].breadcrumb,sites[" & rssite("id") & "].fnav,sites.clean,sites.gimgno"
  6.    
  7.     ' Order of tables and fields to display, with section titles.
  8.     order = "==Look And Feel==,styles.breadcrumb,sites.fnav,sites.clean,sites.gimgno"
  9.    
  10.     ' Make the main tables dictionary holding fields dictionaries.
  11.     set tables = makeTablesAndFields(tablesAndFields)
  12.    
  13.     '--------------------- Any Special Directives ------------------
  14.     ' Labels
  15.     label_for "sites.fnav", "Show Fly-Out Menus", tables
  16.     label_for "sites.clean", "'Clean' Category View", tables
  17.     label_for "sites.gimgno", "Default Gallery View", tables
  18.    
  19.     ' Required Fields
  20.    
  21.     ' Descriptions
  22.     description_for "styles.breadcrumb", "Show the breadcrumb (Something >>> Something Else)", tables
  23.     description_for "sites.clean", "Turn this on to remove ""Category contains 100 images, 3 galleries"" text", tables
  24.    
  25.     ' Explicit field types
  26.     input_type "sites.gimgno", "radio", tables
  27.    
  28.     ' Add possible galley views to gimgno (it's a group of radio buttons)
  29.     do while not rsgv.eof
  30.         add_option "sites.gimgno", rsgv("title").value, rsgv("id").value, tables
  31.         rsgv.movenext
  32.     loop
  33.    
  34.    
  35.     '----------------------------------------------------------------
  36.    
  37.     ' Now pass to make_form. We pass tablesAndFields for ordering purposes.
  38.     make_form tables, order
  39.     %>        
  40.  
  41. <!--#include file="../bot.asp"-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement