summaryrefslogtreecommitdiffstats
path: root/forum/skins/default/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'forum/skins/default/templates/base.html')
-rw-r--r--forum/skins/default/templates/base.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/forum/skins/default/templates/base.html b/forum/skins/default/templates/base.html
index 1018da50..0b85e7fb 100644
--- a/forum/skins/default/templates/base.html
+++ b/forum/skins/default/templates/base.html
@@ -2,6 +2,7 @@
<!-- template base.html -->
{% load extra_filters %}
{% load extra_tags %}
+{% load smart_if %}
{% load i18n %}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@@ -36,7 +37,19 @@
});
</script>
{% endif %}
-
+ {% if active_tab != "tags" and active_tab != "users" %}
+ <script type="text/javascript">
+ $('#nav_ask').click(
+ function(){
+ alert('hullo');
+ var starting_title = $('#keywords').attr('value');
+ alert('tittle is ' + starting_title);
+ window.location.href = $(this).attr('href') + '?'
+ + starting_title;
+ }
+ );
+ </script>
+ {% endif %}
{% block forejs %}
{% endblock %}
</head>
@@ -55,6 +68,7 @@
<div id="wrapper">
<div id="room">
<div id="CALeft">
+ {% include "input_bar.html" %}
{% block content%}
{% endblock%}