From 49a1026c3485cd7819a238f13159afe3ceeb36d5 Mon Sep 17 00:00:00 2001
From: Choom
Date: Thu, 2 Feb 2023 00:43:57 -0300
Subject: -lista de estilos dinĂ¡mica
---
cgi/api.py | 6 ------
cgi/template.py | 4 ----
cgi/templates/base_top.html | 2 +-
cgi/templates/txt_archive.html | 2 +-
cgi/templates/txt_base_top.html | 2 +-
5 files changed, 3 insertions(+), 13 deletions(-)
(limited to 'cgi')
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 @@
-
+
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 @@
-
+
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 @@
-
+
--
cgit v1.2.1-18-gbd029