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
976c9067
Commit
976c9067
authored
Apr 23, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reorganisation of deprecated stuff
parent
96acea7a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
27 deletions
+17
-27
qa-htmLawed.php
qa-include/qa-htmLawed.php
+0
-0
qa-theme-base.php
qa-include/qa-theme-base.php
+17
-27
No files found.
qa-include/qa-htmLawed.php
View file @
976c9067
This diff is collapsed.
Click to expand it.
qa-include/qa-theme-base.php
View file @
976c9067
...
...
@@ -1300,15 +1300,15 @@
}
if
(
isset
(
$item
[
'count'
]))
$this
->
ranking_c
ell
(
$item
[
'count'
]
.
' ×'
,
$class
.
'-count'
);
$this
->
ranking_c
ount
(
$item
,
$class
);
if
(
isset
(
$item
[
'avatar'
]))
$this
->
avatar
(
$item
,
$class
);
$this
->
ranking_
cell
(
$item
[
'label'
],
$class
.
'-label'
);
$this
->
ranking_
label
(
$item
,
$class
);
if
(
isset
(
$item
[
'score'
]))
$this
->
ranking_
cell
(
$item
[
'score'
],
$class
.
'-score'
);
$this
->
ranking_
score
(
$item
,
$class
);
}
public
function
ranking_cell
(
$content
,
$class
)
...
...
@@ -1317,6 +1317,20 @@
$this
->
output
(
'<'
.
$tag
.
' class="'
.
$class
.
'">'
.
$content
.
'</'
.
$tag
.
'>'
);
}
public
function
ranking_count
(
$item
,
$class
)
{
$this
->
ranking_cell
(
$item
[
'count'
]
.
' ×'
,
$class
.
'-count'
);
}
public
function
ranking_label
(
$item
,
$class
)
{
$this
->
ranking_cell
(
$item
[
'label'
],
$class
.
'-label'
);
}
public
function
ranking_score
(
$item
,
$class
)
{
$this
->
ranking_cell
(
$item
[
'score'
],
$class
.
'-score'
);
}
/**
* @deprecated Table-based layout of users/tags is deprecated from 1.7 onwards and may be
...
...
@@ -1382,30 +1396,6 @@
$this
->
output
(
'<td class="'
.
$class
.
'-spacer"> </td>'
);
}
/**
* @deprecated See ranking_table above.
*/
public
function
ranking_count
(
$item
,
$class
)
{
$this
->
output
(
'<td class="'
.
$class
.
'-count">'
.
$item
[
'count'
]
.
' ×</td>'
);
}
/**
* @deprecated See ranking_table above.
*/
public
function
ranking_label
(
$item
,
$class
)
{
$this
->
output
(
'<td class="'
.
$class
.
'-label">'
.
$item
[
'label'
]
.
'</td>'
);
}
/**
* @deprecated See ranking_table above.
*/
public
function
ranking_score
(
$item
,
$class
)
{
$this
->
output
(
'<td class="'
.
$class
.
'-score">'
.
$item
[
'score'
]
.
'</td>'
);
}
public
function
message_list_and_form
(
$list
)
{
...
...
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