Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
34ef29a7
Commit
34ef29a7
authored
May 06, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change classic to cagette them
parent
100f63e0
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
16 additions
and
17 deletions
+16
-17
format.php
qa-include/app/format.php
+2
-2
admin-default.php
qa-include/pages/admin/admin-default.php
+2
-2
favorite-icon-14x14.gif
qa-theme/Cagette/favorite-icon-14x14.gif
+0
-0
favorite-light-icon-14x14.gif
qa-theme/Cagette/favorite-light-icon-14x14.gif
+0
-0
favorite-plus.gif
qa-theme/Cagette/favorite-plus.gif
+0
-0
feed-icon-14x14.png
qa-theme/Cagette/feed-icon-14x14.png
+0
-0
metadata.json
qa-theme/Cagette/metadata.json
+5
-5
qa-styles.css
qa-theme/Cagette/qa-styles.css
+6
-7
qa-theme.php
qa-theme/Cagette/qa-theme.php
+1
-1
select-star.png
qa-theme/Cagette/select-star.png
+0
-0
selected-star.png
qa-theme/Cagette/selected-star.png
+0
-0
spinner-icon-14x14.gif
qa-theme/Cagette/spinner-icon-14x14.gif
+0
-0
vote-buttons-sm.gif
qa-theme/Cagette/vote-buttons-sm.gif
+0
-0
vote-buttons.gif
qa-theme/Cagette/vote-buttons.gif
+0
-0
No files found.
qa-include/app/format.php
View file @
34ef29a7
...
...
@@ -1972,10 +1972,10 @@ function qa_load_theme_class($theme, $template, $content, $request)
$classname
=
'qa_html_theme_base'
;
// Then load the selected theme if valid, otherwise load the C
lassic
theme
// Then load the selected theme if valid, otherwise load the C
agette
theme
if
(
!
file_exists
(
QA_THEME_DIR
.
$theme
.
'/qa-styles.css'
))
$theme
=
'C
lassic
'
;
$theme
=
'C
agette
'
;
$themeroothtml
=
qa_html
(
qa_path_to_root
()
.
'qa-theme/'
.
$theme
.
'/'
);
...
...
qa-include/pages/admin/admin-default.php
View file @
34ef29a7
...
...
@@ -1033,9 +1033,9 @@ foreach ($showoptions as $optionname) {
case
'site_theme_mobile'
:
$themeoptions
=
qa_admin_theme_options
();
if
(
!
isset
(
$themeoptions
[
$value
]))
$value
=
'C
lassic
'
;
// check here because we also need $value for qa_addon_metadata()
$value
=
'C
agette
'
;
// check here because we also need $value for qa_addon_metadata()
qa_optionfield_make_select
(
$optionfield
,
$themeoptions
,
$value
,
'C
lassic
'
);
qa_optionfield_make_select
(
$optionfield
,
$themeoptions
,
$value
,
'C
agette
'
);
$metadataUtil
=
new
\Q2A\Util\Metadata
();
$themedirectory
=
QA_THEME_DIR
.
$value
;
...
...
qa-theme/C
lassic
/favorite-icon-14x14.gif
→
qa-theme/C
agette
/favorite-icon-14x14.gif
View file @
34ef29a7
File moved
qa-theme/C
lassic
/favorite-light-icon-14x14.gif
→
qa-theme/C
agette
/favorite-light-icon-14x14.gif
View file @
34ef29a7
File moved
qa-theme/C
lassic
/favorite-plus.gif
→
qa-theme/C
agette
/favorite-plus.gif
View file @
34ef29a7
File moved
qa-theme/C
lassic
/feed-icon-14x14.png
→
qa-theme/C
agette
/feed-icon-14x14.png
View file @
34ef29a7
File moved
qa-theme/C
lassic
/metadata.json
→
qa-theme/C
agette
/metadata.json
View file @
34ef29a7
{
"name"
:
"C
lassic
"
,
"name"
:
"C
agette
"
,
"description"
:
"Non-responsive theme without RTL support that doesn't process any output from the core"
,
"version"
:
"1
.5
"
,
"date"
:
"2012-0
9-11
"
,
"author"
:
"
Question2Answer
"
,
"author_uri"
:
"http://www.question2answer.org
"
,
"version"
:
"1"
,
"date"
:
"2012-0
5
"
,
"author"
:
"
Cooperatic
"
,
//
"author_uri"
:
"http://www.cooperatic.fr
"
,
"license"
:
"GPLv2"
,
"min_q2a"
:
"1.5"
}
qa-theme/C
lassic
/qa-styles.css
→
qa-theme/C
agette
/qa-styles.css
View file @
34ef29a7
/*
Theme Name: C
lassic
Theme Name: C
agette
Theme URI:
Theme Version: 1.5
Theme Date: 2012-09-11
Theme Author: Question2Answer
Theme Author URI: http://www.question2answer.org/
Theme License: GPLv2
Theme Version: 1
Theme Date: 2012-05
Theme Author: Cooperatic
Theme Author URI: http://www.cooperatic.fr/
Theme Update Check URI:
*/
...
...
@@ -13,7 +12,7 @@
/* General page layout */
body
{
margin
:
0
;
padding
:
0
;}
body
,
td
,
input
,
textarea
{
font-size
:
12px
;
font-family
:
"Roboto"
,
"Lucida Grande"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
Verdana
,
Arial
,
sans-serif
;}
body
,
td
,
input
,
textarea
{
font-size
:
12px
;
font-family
:
"Roboto"
,
"Lucida Grande"
,
"DejaVu Sans"
,
"Bitstream Vera Sans"
,
Verdana
,
Arial
,
sans-serif
;
color
:
#333
;
}
a
:link
,
a
:active
,
a
:visited
{
text-decoration
:
none
;}
a
:hover
{
text-decoration
:
underline
;}
p
{
margin-top
:
0
;}
...
...
qa-theme/C
lassic
/qa-theme.php
→
qa-theme/C
agette
/qa-theme.php
View file @
34ef29a7
...
...
@@ -24,5 +24,5 @@ class qa_html_theme extends qa_html_theme_base
{
// use new ranking layout
protected
$ranking_block_layout
=
true
;
protected
$theme
=
'c
lassic
'
;
protected
$theme
=
'c
ageztte
'
;
}
qa-theme/C
lassic
/select-star.png
→
qa-theme/C
agette
/select-star.png
View file @
34ef29a7
File moved
qa-theme/C
lassic
/selected-star.png
→
qa-theme/C
agette
/selected-star.png
View file @
34ef29a7
File moved
qa-theme/C
lassic
/spinner-icon-14x14.gif
→
qa-theme/C
agette
/spinner-icon-14x14.gif
View file @
34ef29a7
File moved
qa-theme/C
lassic
/vote-buttons-sm.gif
→
qa-theme/C
agette
/vote-buttons-sm.gif
View file @
34ef29a7
File moved
qa-theme/C
lassic
/vote-buttons.gif
→
qa-theme/C
agette
/vote-buttons.gif
View file @
34ef29a7
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment