root/trunk/website/forums/pagetemplates/main_header.cfm @ 21

Revision 5, 2.5 kB (checked in by DanWilson, 17 years ago)

Initial Commit Of ModelGlue? Website (upgrade to blogcfc 511)

Line 
1<cfsetting enablecfoutputonly=true>
2<!---
3        Name         : main_header.cfm
4        Author       : Raymond Camden
5        Created      : June 02, 2004
6        Last Updated : July 12, 2006
7        History      : Use meta tags (rkc 8/3/05)
8                                   Added rss auto stuff, by Tom Thomas (rkc 8/9/05)
9                                   Removed mappings (rkc 8/27/05)
10                                   Make login as smart as login on thread display (rkc 10/6/05)
11                                   login link was duping ref (rkc 10/8/05)
12                                   forgot to turn off cfoutputonly (rkc 11/22/05)
13                                   Use a dynamic title (rkc 7/12/06)
14        Purpose          :
15--->
16
17
18<cfinclude template="../../include/dspHeader.cfm" />
19<!---
20<cfoutput>
21<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
22
23<html>
24<head>
25        <title>#attributes.title#</title>
26        <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
27        <meta name="description" content="#attributes.title#">
28        <meta name="keywords" content="#replace(attributes.title," : ", ",","all")#">
29        <cfif isDefined("request.conference")>
30    <link rel="alternate" type="application/rss+xml" title="#request.conference.name# RSS" href="#application.galleon.settings.rooturl#rss.cfm?conferenceid=#request.conference.id#">
31    </cfif>
32</head>
33
34<body>
35
36<table width="750" cellpadding="0" cellspacing="4" border="0">
37        <tr>
38                <td><span class="siteName"><a href="index.cfm"><!---<img src="images/Galleon.gif" alt="Galleon" width="99" height="19" border="0">--->#application.galleon.settings.title#</a></span></td>
39                <td align="right">
40                <span class="topMenu">
41                <a href="index.cfm">Home</a> | <a href="profile.cfm">Profile</a> | <a href="search.cfm">Search</a> |
42                <cfset thisPage = cgi.script_name & "?" & reReplace(cgi.query_string,"logout=1","")>
43                <cfif not isDefined("url.ref")>
44                        <cfset link = "login.cfm?ref=#urlEncodedFormat(thisPage)#">
45                <cfelse>
46                        <cfset link = "login.cfm?ref=#urlEncodedFormat(ref)#">
47                </cfif>         
48                <cfif request.udf.isLoggedOn()><a href="index.cfm?logout=1">Logout</a><cfelse><a href="#link#">Login</a></cfif>
49                <cfif isDefined("request.conference")> | <a href="rss.cfm?conferenceid=#request.conference.id#">RSS</a></cfif>
50                </span>
51                </td>
52        </tr>
53        <tr bgcolor="##235577">
54                <td colspan=2 height="1"><img src="images/shim.gif" height="1"></td>
55        </tr>
56        <tr>
57                <td colspan=2>
58</cfoutput>
59
60<cfmodule template="../tags/breadcrumbs.cfm" />
61
62<cfoutput>
63                </td>
64        </tr>
65        <tr>
66                <td colspan="2"><img src="images/shim.gif" height="20" width="1"></td>
67        </tr>
68       
69        <tr>
70                <td colspan=2>
71</cfoutput>
72
73<cfsetting enablecfoutputonly=false>
74--->
Note: See TracBrowser for help on using the browser.