-
Notifications
You must be signed in to change notification settings - Fork 2
/
header.tpl
116 lines (104 loc) · 5.62 KB
/
header.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{if $CURRENT_PAGE == 'page-unavailable' || $CURRENT_PAGE == 'job-unavailable'}
{php}header("HTTP/1.0 404 Not Found");{/php}
{/if}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>{if $seo_title}{$seo_title}{else}{$html_title}{/if}</title>
<meta name="description" content="{if $seo_desc}{$seo_desc}{else}{$meta_description}{/if}" />
<meta name="keywords" content="{if $seo_keys}{$seo_keys}{else}{$meta_keywords}{/if}" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<link rel="shortcut icon" href="{$BASE_URL}favicon.ico" type="image/x-icon" />
{if $CURRENT_PAGE == '' || $CURRENT_PAGE != 'jobs'}
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$BASE_URL}rss/all/" />
{else}
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$BASE_URL}rss/{$current_category}/" />
{/if}
<link rel="stylesheet" href="{$BASE_URL}_templates/{$THEME}/css/layout.css" type="text/css" media="screen" />
<link rel="stylesheet" href="{$BASE_URL}_templates/{$THEME}/css/ui.tabs.css" type="text/css" media="screen" />
<link rel="stylesheet" href="{$BASE_URL}_templates/{$THEME}/css/print.css" media="print" type="text/css" />
<script src="{$BASE_URL}js/jquery.js" type="text/javascript"></script>
<!--[if !IE]><script src="{$BASE_URL}js/jquery.history.js" type="text/javascript"></script><![endif]-->
<script src="{$BASE_URL}js/jquery.form.js" type="text/javascript"></script>
<script src="{$BASE_URL}js/cmxforms.js" type="text/javascript"></script>
<script src="{$BASE_URL}js/jquery.metadata.js" type="text/javascript"></script>
<script src="{$BASE_URL}js/jquery.validate.min.js" type="text/javascript"></script>
<script src="{$BASE_URL}js/functions.js" type="text/javascript"></script>
<script src="{$BASE_URL}_templates/{$THEME}/js/jquery.tabs.min.js" type="text/javascript"></script>
<script type="text/javascript">
Jobber.I18n = {$translationsJson};
</script>
</head>
<body>
<div id="container">
{if $smarty.session.status neq ''}
<div id="status">
{$smarty.session.status}
</div><!-- #status -->
{/if}
<div id="header" class="clearfix">
<ul id="navmain">
<li class="first">Categories
<ul>
{section name=tmp loop=$categories}
<li id="{$categories[tmp].var_name}" {if $current_category == $categories[tmp].var_name}class="selected"{/if}><a href="{$BASE_URL}{$URL_JOBS}/{$categories[tmp].var_name}/" title="{$categories[tmp].name}">{$categories[tmp].name}<span>({$categories[tmp].categ_count})</span></a></li>
{/section}
</ul>
</li>
<li>Getting Started
<ul>
{if $navigation.primary != ''}
{section name=tmp loop=$navigation.primary}
{if $smarty.const.ENABLE_NEW_JOBS || (!$smarty.const.ENABLE_NEW_JOBS && $navigation.primary[tmp].url != 'post')}
<li><a href="{if $navigation.primary[tmp].outside != 1}{$BASE_URL}{/if}{$navigation.primary[tmp].url}/" title="{$navigation.primary[tmp].title}" >{$navigation.primary[tmp].name}</a></li>
{assign var=i value=1}
{/if}
{/section}
{/if}
<li><a href="{$BASE_URL}rss/all/" title="{$translations.header.rss_title}">RSS Feeds</a></li>
</ul>
</li>
</ul>
<h1 id="logo"><a href="{$BASE_URL}" title="{$translations.header.title}">{$translations.header.name}</a></h1>
{php}/*<ul id="top">
{if $navigation.primary != ''}
{section name=tmp loop=$navigation.primary}
{if $smarty.const.ENABLE_NEW_JOBS || (!$smarty.const.ENABLE_NEW_JOBS && $navigation.primary[tmp].url != 'post')}
{if $i==1}<li>•</li>{/if}
<li><a href="{if $navigation.primary[tmp].outside != 1}{$BASE_URL}{/if}{$navigation.primary[tmp].url}/" title="{$navigation.primary[tmp].title}" >{$navigation.primary[tmp].name}</a></li>
{assign var=i value=1}
{/if}
{/section}
{/if}
</ul>
<div id="the_feed">
<a href="{$BASE_URL}rss/all/" title="{$translations.header.rss_title}"><img src="{$BASE_URL}_templates/{$THEME}/img/bt-rss.png" alt="{$translations.header.rss_alt}" /></a>
</div>*/{/php}
</div><!-- #header -->
{php}/*<div id="box">
<div id="search">
<form id="search_form" method="post" action="{$BASE_URL}search/">
<fieldset>
<div>
<input type="text" name="keywords" id="keywords" maxlength="30" value="{if $keywords}{$keywords}{else}{$translations.search.default}{/if}" />
<span id="indicator" style="display: none;"><img src="{$BASE_URL}_templates/{$THEME}/img/ajax-loader.gif" alt="" /></span>
</div>
<div><label class="suggestionTop">{$translations.search.example}</label></div>
</fieldset>
</form>
</div><!-- #search -->
{if $smarty.const.ENABLE_NEW_JOBS}
<div class="addJob">
<a href="{$BASE_URL}post/" title="{$translations.search.submit_title}" class="add">{$translations.search.submit}</a>
</div><!-- .addJob -->
{/if}
</div><!-- #box -->
<div id="categs-nav">
<ul>
{section name=tmp loop=$categories}
<li id="{$categories[tmp].var_name}" {if $current_category == $categories[tmp].var_name}class="selected"{/if}><a href="{$BASE_URL}{$URL_JOBS}/{$categories[tmp].var_name}/" title="{$categories[tmp].name}"><span>{$categories[tmp].name}</span><span class="cnr"> </span></a></li>
{/section}
</ul>
</div><!-- #categs-nav -->
<div class="clear"></div>*/{/php}
<div id="mainbody" class="clearfix">