aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/api.py6
-rw-r--r--cgi/template.py4
-rw-r--r--cgi/templates/base_top.html2
-rw-r--r--cgi/templates/txt_archive.html2
-rw-r--r--cgi/templates/txt_base_top.html2
5 files changed, 3 insertions, 13 deletions
diff --git a/cgi/api.py b/cgi/api.py
index ffc9e39..9c1c344 100644
--- a/cgi/api.py
+++ b/cgi/api.py
@@ -391,12 +391,6 @@ def api_process(self, path_split):
values['time_taken'] = ttaken
values['post_id'] = postid
- elif method == 'styles':
- values['bbs_styles'] = Settings.TXT_STYLES
- values['ib_styles'] = Settings.STYLES
- values['bbs_styles_default'] = Settings.TXT_STYLES_DEFAULT
- values['ib_styles_default'] = Settings.STYLES_DEFAULT
-
elif method == 'newThreads':
data_limit = formdata.get('limit')
limit = 30
diff --git a/cgi/template.py b/cgi/template.py
index 6d0c085..cd0f2aa 100644
--- a/cgi/template.py
+++ b/cgi/template.py
@@ -31,10 +31,6 @@ def renderTemplate(template, template_values={}, mobile=False, noindex=False):
"banner_height": None,
"disable_name": None,
"disable_subject": None,
- "styles": Settings.STYLES,
- "styles_default": Settings.STYLES_DEFAULT,
- "txt_styles": Settings.TXT_STYLES,
- "txt_styles_default": Settings.TXT_STYLES_DEFAULT,
"pagenav": "",
"reports_enable": Settings.REPORTS_ENABLE,
"force_css": ""
diff --git a/cgi/templates/base_top.html b/cgi/templates/base_top.html
index 3e86e44..3585db0 100644
--- a/cgi/templates/base_top.html
+++ b/cgi/templates/base_top.html
@@ -27,7 +27,7 @@
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="#{static_url}css/ib.css" />
<?py if not force_css: ?>
- <link rel="stylesheet" id="css" href="#{static_url}css/#{styles[styles_default].lower()}.css" />
+ <link rel="stylesheet" id="css" href="#{static_url}css/dickgirl.css" />
<?py else: ?>
<link rel="stylesheet" type="text/css" href="#{force_css}" />
<?py #endif ?>
diff --git a/cgi/templates/txt_archive.html b/cgi/templates/txt_archive.html
index bdac2ca..4d2e26d 100644
--- a/cgi/templates/txt_archive.html
+++ b/cgi/templates/txt_archive.html
@@ -18,7 +18,7 @@
<?py if board == 'zonavip' and threads[0]['timestamp'] < 1377934149: ?>
<link rel="stylesheet" id="css" href="#{static_url}css/txt/baisano.css" />
<?py else: ?>
- <link rel="stylesheet" id="css" href="#{static_url}css/txt/#{txt_styles[txt_styles_default].lower()}.css" />
+ <link rel="stylesheet" id="css" href="#{static_url}css/txt/futanari.css" />
<?py #endif ?>
<script type="text/javascript" src="#{static_url}js/weabotxt.js"></script>
<script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script>
diff --git a/cgi/templates/txt_base_top.html b/cgi/templates/txt_base_top.html
index 285fc4d..ef98f77 100644
--- a/cgi/templates/txt_base_top.html
+++ b/cgi/templates/txt_base_top.html
@@ -23,7 +23,7 @@
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="/static/css/txt/bbs.css" />
<?py if not force_css: ?>
- <link rel="stylesheet" id="css" href="#{static_url}css/txt/#{txt_styles[txt_styles_default].lower()}.css" />
+ <link rel="stylesheet" id="css" href="#{static_url}css/txt/futanari.css" />
<?py else: ?>
<link rel="stylesheet" type="text/css" href="#{force_css}" />
<?py #endif ?>