-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfooter.tpl
121 lines (116 loc) · 3.75 KB
/
footer.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
117
118
119
120
121
</div><!-- #mainbody -->
<div class="footer clearfix">
<div id="footer-contents" class="clearfix">
<div id="footer-col1">
{$translations.footer.column_use}:<br />
{if $navigation.footer1 != ''}
{section name=tmp loop=$navigation.footer1}
{if $smarty.const.ENABLE_NEW_JOBS || (!$smarty.const.ENABLE_NEW_JOBS && $navigation.footer1[tmp].url != 'post')}
<a href="{if $navigation.footer1[tmp].outside != 1}{$BASE_URL}{/if}{$navigation.footer1[tmp].url}/" title="{$navigation.footer1[tmp].title}" >{$navigation.footer1[tmp].name}</a><br />
{/if}
{/section}
{/if}
</div>
<div id="footer-col2">
{$translations.footer.column_find}:<br />
{if $navigation.footer2 != ''}
{section name=tmp loop=$navigation.footer2}
{if $smarty.const.ENABLE_NEW_JOBS || (!$smarty.const.ENABLE_NEW_JOBS && $navigation.footer2[tmp].url != 'post')}
<a href="{if $navigation.footer2[tmp].outside != 1}{$BASE_URL}{/if}{$navigation.footer2[tmp].url}/" title="{$navigation.footer2[tmp].title}" >{$navigation.footer2[tmp].name}</a><br />
{/if}
{/section}
{/if}
</div>
<div id="footer-col3">
{$translations.footer.column_misc}:<br />
{if $navigation.footer3 != ''}
{section name=tmp loop=$navigation.footer3}
{if $smarty.const.ENABLE_NEW_JOBS || (!$smarty.const.ENABLE_NEW_JOBS && $navigation.footer3[tmp].url != 'post')}
<a href="{if $navigation.footer3[tmp].outside != 1}{$BASE_URL}{/if}{$navigation.footer3[tmp].url}/" title="{$navigation.footer3[tmp].title}" >{$navigation.footer3[tmp].name}</a><br />
{/if}
{/section}
{/if}
</div>
<div id="footer-copyright">
{$translations.footer.powered_by}
<a href="http://www.jobberbase.com/" title="open source job board software">jobberBase</a>
</div>
<div class="clear"></div>
</div><!-- #footer-contents -->
</div><!-- .footer -->
{literal}
<script type="text/javascript">
//<![CDATA[
$(document).ready(function()
{
$('.domtab').tabs();
var keywords = $('#keywords');
// setup search box
keywords.bind('click', function() {
if (this.value == '{/literal}{$translations.search.default}{literal}')
{
keywords.clearFields();
}
});
keywords.bind('blur', function() {
if (this.value == '{/literal}{$translations.search.default}{literal}' || this.value == '')
{
this.value = '{/literal}{$translations.search.default}{literal}';
}
});
// setup live search
keywords.keyup(function(key) {
var searchKeywords = jQuery.trim(this.value);
var len = searchKeywords.length;
if (key.keyCode != 9 && len >= 3)
{
$("#indicator").show();
clearTimeout(window.search_timer);
window.search_timer = setTimeout(function(){Jobber.PerformSearch('{/literal}{$BASE_URL}{literal}search/{/literal}{$current_category}{literal}|', searchKeywords)}, 800);
}
});
});
Jobber.jobber_url = "{/literal}{$BASE_URL}{literal}";
//]]>
</script>
{/literal}
{php}
if (isset($_SESSION['status']))
{
unset($_SESSION['status']);
}
if (isset($_SESSION['apply_mail_sent']))
{
unset($_SESSION['apply_mail_sent']);
}
if (isset($_SESSION['apply_errors']))
{
unset($_SESSION['apply_errors']);
}
if (isset($_SESSION['apply_fields']))
{
unset($_SESSION['apply_fields']);
}
if (isset($_SESSION['apply_allowed']))
{
unset($_SESSION['apply_allowed']);
}
if (isset($_SESSION['apply_successful']))
{
unset($_SESSION['apply_successful']);
}
if (isset($_SESSION['contact_msg_sent']))
{
unset($_SESSION['contact_msg_sent']);
}
if (isset($_SESSION['contact_errors']))
{
unset($_SESSION['contact_errors']);
}
if (isset($_SESSION['contact_fields']))
{
unset($_SESSION['contact_fields']);
}
{/php}
</body>
</html>