Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
293
Merge Requests
293
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
ef3335c6
Commit
ef3335c6
authored
Jun 28, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2010672
followup by jenlampton: Rename 'type' variable of theme_mark() to 'status'.
parent
b1c684b8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
core/includes/theme.inc
core/includes/theme.inc
+2
-2
core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php
...rupal/history/Plugin/views/field/HistoryUserTimestamp.php
+1
-1
core/modules/node/node.admin.inc
core/modules/node/node.admin.inc
+1
-1
core/modules/node/node.module
core/modules/node/node.module
+1
-1
core/modules/tracker/tracker.pages.inc
core/modules/tracker/tracker.pages.inc
+1
-1
No files found.
core/includes/theme.inc
View file @
ef3335c6
...
...
@@ -2223,7 +2223,7 @@ function template_preprocess_tablesort_indicator(&$variables) {
* MARK_UPDATED, MARK_READ.
*/
function
theme_mark
(
$variables
)
{
$type
=
$variables
[
'
mark_type
'
];
$type
=
$variables
[
'
status
'
];
global
$user
;
if
(
$user
->
uid
)
{
if
(
$type
==
MARK_NEW
)
{
...
...
@@ -3113,7 +3113,7 @@ function drupal_common_theme() {
'template'
=>
'tablesort-indicator'
,
),
'mark'
=>
array
(
'variables'
=>
array
(
'
mark_type
'
=>
MARK_NEW
),
'variables'
=>
array
(
'
status
'
=>
MARK_NEW
),
),
'item_list'
=>
array
(
'variables'
=>
array
(
'items'
=>
array
(),
'title'
=>
''
,
'list_type'
=>
'ul'
,
'attributes'
=>
array
()),
...
...
core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php
View file @
ef3335c6
...
...
@@ -92,7 +92,7 @@ function render($values) {
}
$build
=
array
(
'#theme'
=>
'mark'
,
'#
mark_type
'
=>
$mark
,
'#
status
'
=>
$mark
,
);
return
$this
->
render_link
(
drupal_render
(
$build
),
$values
);
}
...
...
core/modules/node/node.admin.inc
View file @
ef3335c6
...
...
@@ -262,7 +262,7 @@ function node_admin_nodes() {
$l_options
=
$node
->
langcode
!=
Language
::
LANGCODE_NOT_SPECIFIED
&&
isset
(
$languages
[
$node
->
langcode
])
?
array
(
'language'
=>
$languages
[
$node
->
langcode
])
:
array
();
$mark
=
array
(
'#theme'
=>
'mark'
,
'#
mark_type
'
=>
node_mark
(
$node
->
nid
,
$node
->
changed
),
'#
status
'
=>
node_mark
(
$node
->
nid
,
$node
->
changed
),
);
$form
[
'nodes'
][
$node
->
nid
][
'title'
]
=
array
(
'#type'
=>
'link'
,
...
...
core/modules/node/node.module
View file @
ef3335c6
...
...
@@ -1571,7 +1571,7 @@ function theme_node_recent_content($variables) {
$output
.
=
l
(
$node
->
label
(),
'node/'
.
$node
->
id
());
$mark
=
array
(
'#theme'
=>
'mark'
,
'#
mark_type
'
=>
node_mark
(
$node
->
id
(),
$node
->
getChangedTime
()),
'#
status
'
=>
node_mark
(
$node
->
id
(),
$node
->
getChangedTime
()),
);
$output
.
=
drupal_render
(
$mark
);
$output
.
=
'</div><div class="node-author">'
;
...
...
core/modules/tracker/tracker.pages.inc
View file @
ef3335c6
...
...
@@ -76,7 +76,7 @@ function tracker_page($account = NULL, $set_title = FALSE) {
$mark_build
=
array
(
'#theme'
=>
'mark'
,
'#
mark_type
'
=>
node_mark
(
$node
->
nid
,
$node
->
changed
),
'#
status
'
=>
node_mark
(
$node
->
nid
,
$node
->
changed
),
);
$row
=
array
(
...
...
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