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
1f7939c1
Commit
1f7939c1
authored
Jul 07, 2013
by
Gideon Greenspan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.6.1
parent
85a5f71e
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
20 additions
and
20 deletions
+20
-20
VERSION.txt
VERSION.txt
+2
-2
qa-page.js
qa-content/qa-page.js
+2
-1
qa-app-options.php
qa-include/qa-app-options.php
+0
-1
qa-base.php
qa-include/qa-base.php
+2
-2
qa-db-selects.php
qa-include/qa-db-selects.php
+2
-1
qa-lang-admin.php
qa-include/qa-lang-admin.php
+2
-1
qa-lang-options.php
qa-include/qa-lang-options.php
+0
-1
qa-layer-voters-flaggers.php
qa-include/qa-layer-voters-flaggers.php
+1
-5
qa-page-admin-default.php
qa-include/qa-page-admin-default.php
+5
-4
qa-theme-base.php
qa-include/qa-theme-base.php
+1
-1
qa-styles.css
qa-theme/Snow/qa-styles.css
+3
-1
No files found.
VERSION.txt
View file @
1f7939c1
1.6
\ No newline at end of file
1.6.1
\ No newline at end of file
qa-content/qa-page.js
View file @
1f7939c1
...
...
@@ -36,7 +36,8 @@ function qa_conceal(elem, type, callback)
function
qa_set_inner_html
(
elem
,
type
,
html
)
{
elem
.
innerHTML
=
html
;
if
(
elem
)
elem
.
innerHTML
=
html
;
}
function
qa_set_outer_html
(
elem
,
type
,
html
)
...
...
qa-include/qa-app-options.php
View file @
1f7939c1
...
...
@@ -206,7 +206,6 @@
if
(
qa_to_override
(
__FUNCTION__
))
{
$args
=
func_get_args
();
return
qa_call_override
(
__FUNCTION__
,
$args
);
}
$fixed_defaults
=
array
(
'allow_anon_name'
=>
1
,
'allow_change_usernames'
=>
1
,
'allow_close_questions'
=>
1
,
'allow_multi_answers'
=>
1
,
...
...
qa-include/qa-base.php
View file @
1f7939c1
...
...
@@ -25,8 +25,8 @@
*/
define
(
'QA_VERSION'
,
'1.6'
);
// also used as suffix for .js and .css requests
define
(
'QA_BUILD_DATE'
,
'2013-0
6-2
7'
);
define
(
'QA_VERSION'
,
'1.6
.1
'
);
// also used as suffix for .js and .css requests
define
(
'QA_BUILD_DATE'
,
'2013-0
7-0
7'
);
// Execution section of this file - remainder contains function definitions
...
...
qa-include/qa-db-selects.php
View file @
1f7939c1
...
...
@@ -1314,7 +1314,8 @@
'columns'
=>
array
(
'messageid'
,
'fromuserid'
,
'touserid'
,
'content'
,
'format'
,
'created'
=>
'UNIX_TIMESTAMP(^messages.created)'
,
'fromflags'
=>
'^users.flags'
,
'fromlevel'
=>
'^users.level'
,
'fromemail'
=>
'^users.email'
,
'fromhandle'
=>
'^users.handle'
,
'fromavatarblobid'
=>
'^users.avatarblobid'
,
'fromavatarwidth'
=>
'^users.avatarwidth'
,
'fromavatarheight'
=>
'^users.avatarheight'
,
'fromavatarblobid'
=>
'BINARY ^users.avatarblobid'
,
// cast to BINARY due to MySQL bug which renders it signed in a union
'fromavatarwidth'
=>
'^users.avatarwidth'
,
'fromavatarheight'
=>
'^users.avatarheight'
,
),
'source'
=>
'^messages LEFT JOIN ^users ON fromuserid=^users.userid WHERE '
.
(
isset
(
$fromidentifier
)
...
...
qa-include/qa-lang-admin.php
View file @
1f7939c1
...
...
@@ -180,7 +180,7 @@
'points'
=>
'points'
,
'position'
=>
'Position:'
,
'posting_title'
=>
'Posting'
,
'profile_fields'
=>
'Extra fields
for users
:'
,
'profile_fields'
=>
'Extra fields
on user pages or registration form
:'
,
'q2a_build_date'
=>
'Build date:'
,
'q2a_db_size'
=>
'Database size:'
,
'q2a_db_version'
=>
'Q2A database version:'
,
...
...
@@ -213,6 +213,7 @@
'refill_events_note'
=>
' - for each user\'s list of updates'
,
'refill_events_refilled'
=>
'Refilled for ^1 of ^2 questions...'
,
'refill_events'
=>
'Refill event streams'
,
'registration_fields'
=>
'add registration fields'
,
'reindex_content'
=>
'Reindex content'
,
'reindex_content_note'
=>
' - for searching and related question suggestions'
,
'reindex_content_stop'
=>
'Stop reindexing'
,
...
...
qa-include/qa-lang-options.php
View file @
1f7939c1
...
...
@@ -25,7 +25,6 @@
*/
return
array
(
'allow_anon_name'
=>
'Request a name for anonymous posts:'
,
'allow_change_usernames'
=>
'Allow users with posts to change their username:'
,
'allow_close_questions'
=>
'Allow questions to be manually closed:'
,
'allow_login_email_only'
=>
'Only log in by email address (not username):'
,
...
...
qa-include/qa-layer-voters-flaggers.php
View file @
1f7939c1
...
...
@@ -171,13 +171,9 @@
}
}
if
(
strlen
(
$tooltip
))
$this
->
output
(
'<span title="'
.
$tooltip
.
'">'
);
$post
[
'vote_count_tags'
]
=@
$post
[
'vote_count_tags'
]
.
' title="'
.
$tooltip
.
'"'
;
qa_html_theme_base
::
vote_count
(
$post
);
if
(
strlen
(
$tooltip
))
$this
->
output
(
'</span>'
);
}
...
...
qa-include/qa-page-admin-default.php
View file @
1f7939c1
...
...
@@ -134,7 +134,6 @@
'show_full_date_days'
=>
'number'
,
'smtp_port'
=>
'number'
,
'allow_anon_name'
=>
'checkbox'
,
'allow_change_usernames'
=>
'checkbox'
,
'allow_close_questions'
=>
'checkbox'
,
'allow_login_email_only'
=>
'checkbox'
,
...
...
@@ -451,9 +450,6 @@
array_push
(
$showoptions
,
'min_len_a_content'
,
'min_len_c_content'
,
'notify_users_default'
);
if
(
$maxpermitpost
>
QA_PERMIT_USERS
)
$showoptions
[]
=
'allow_anon_name'
;
array_push
(
$showoptions
,
''
,
'block_bad_words'
,
''
,
'do_ask_check_qs'
,
'match_ask_check_qs'
,
'page_size_ask_check_qs'
,
''
);
if
(
qa_using_tags
())
...
...
@@ -1436,6 +1432,10 @@
$feedisexample
=
true
;
break
;
case
'moderate_users'
:
$optionfield
[
'note'
]
=
'<a href="'
.
qa_path_html
(
'admin/users'
,
null
,
null
,
null
,
'profile_fields'
)
.
'">'
.
qa_lang_html
(
'admin/registration_fields'
)
.
'</a>'
;
break
;
case
'captcha_module'
:
$captchaoptions
=
array
();
...
...
@@ -1521,6 +1521,7 @@
$qa_content
[
'form'
][
'fields'
][
'userfields'
]
=
array
(
'label'
=>
qa_lang_html
(
'admin/profile_fields'
),
'id'
=>
'profile_fields'
,
'style'
=>
'tall'
,
'type'
=>
'custom'
,
'html'
=>
strlen
(
$listhtml
)
?
'<ul style="margin-bottom:0;">'
.
$listhtml
.
'</ul>'
:
null
,
...
...
qa-include/qa-theme-base.php
View file @
1f7939c1
...
...
@@ -1555,7 +1555,7 @@
// You can also use $post['upvotes_raw'], $post['downvotes_raw'], $post['netvotes_raw'] to get
// raw integer vote counts, for graphing or showing in other non-textual ways
$this
->
output
(
'<div class="qa-vote-count '
.
((
$post
[
'vote_view'
]
==
'updown'
)
?
'qa-vote-count-updown'
:
'qa-vote-count-net'
)
.
'">'
);
$this
->
output
(
'<div class="qa-vote-count '
.
((
$post
[
'vote_view'
]
==
'updown'
)
?
'qa-vote-count-updown'
:
'qa-vote-count-net'
)
.
'"
'
.@
$post
[
'vote_count_tags'
]
.
'
>'
);
if
(
$post
[
'vote_view'
]
==
'updown'
)
{
$this
->
output_split
(
$post
[
'upvotes_view'
],
'qa-upvote-count'
);
...
...
qa-theme/Snow/qa-styles.css
View file @
1f7939c1
...
...
@@ -89,6 +89,7 @@ input[type="text"],input[type="password"],textarea,select,checkbox,radio{
padding
:
5px
;
color
:
#777
;
border-radius
:
3px
;
line-height
:
normal
;
-moz-transition
:
box-shadow
ease-in-out
0.5s
,
border
ease-in-out
0.5s
;
-webkit-transition
:
box-shadow
ease-in-out
0.5s
,
border
ease-in-out
0.5s
;
-o-transition
:
box-shadow
ease-in-out
0.5s
,
border
ease-in-out
0.5s
;
...
...
@@ -98,6 +99,7 @@ input[type="text"]:focus,input[type="password"]:focus,textarea:focus{
box-shadow
:
0
2px
2px
0
rgba
(
0
,
0
,
0
,
0.3
)
inset
;
border
:
1px
solid
#00AAFF
!important
;
color
:
#333
;
line-height
:
normal
;
-moz-transition
:
box-shadow
ease-in-out
0.2s
,
border
ease-in-out
0.2s
;
-webkit-transition
:
box-shadow
ease-in-out
0.2s
,
border
ease-in-out
0.2s
;
-o-transition
:
box-shadow
ease-in-out
0.2s
,
border
ease-in-out
0.2s
;
...
...
@@ -231,7 +233,7 @@ p {
#qa-userid
,
#qa-password
,
.qa-search-field
{
width
:
165px
;
margin-right
:
5px
;
height
:
14
px
;
padding
:
4px
5
px
;
}
#qa-userid
,
#qa-password
{
float
:
left
;
...
...
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