Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
5cbc6478
Commit
5cbc6478
authored
9 years ago
by
Anika Henke
Browse files
Options
Downloads
Plain Diff
Merge pull request #1072 from flammy/master
Added file-in-use reference to page
parents
e8f68fc7
5d10131e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
inc/lang/de-informal/lang.php
+1
-0
1 addition, 0 deletions
inc/lang/de-informal/lang.php
inc/lang/de/lang.php
+1
-0
1 addition, 0 deletions
inc/lang/de/lang.php
inc/lang/en/lang.php
+1
-0
1 addition, 0 deletions
inc/lang/en/lang.php
lib/tpl/dokuwiki/detail.php
+14
-0
14 additions, 0 deletions
lib/tpl/dokuwiki/detail.php
with
17 additions
and
0 deletions
inc/lang/de-informal/lang.php
+
1
−
0
View file @
5cbc6478
...
...
@@ -340,3 +340,4 @@ $lang['media_update'] = 'Neue Version hochladen';
$lang
[
'media_restore'
]
=
'Diese Version wiederherstellen'
;
$lang
[
'currentns'
]
=
'Aktueller Namensraum'
;
$lang
[
'searchresult'
]
=
'Suchergebnis'
;
$lang
[
'media_acl_warning'
]
=
'Diese Liste ist möglicherweise nicht vollständig. Versteckte und durch ACL gesperrte Seiten werden nicht angezeigt.'
;
This diff is collapsed.
Click to expand it.
inc/lang/de/lang.php
+
1
−
0
View file @
5cbc6478
...
...
@@ -356,3 +356,4 @@ $lang['plainhtml'] = 'HTML Klartext';
$lang
[
'wikimarkup'
]
=
'Wiki Markup'
;
$lang
[
'page_nonexist_rev'
]
=
'DIe Seite exitiert nicht unter %s. Sie wurde aber unter <a herf="%s">%s</a>'
;
$lang
[
'unable_to_parse_date'
]
=
'Parameter "%s" kann nicht geparsed werden.'
;
$lang
[
'media_acl_warning'
]
=
'Diese Liste ist möglicherweise nicht vollständig. Versteckte und durch ACL gesperrte Seiten werden nicht angezeigt.'
;
This diff is collapsed.
Click to expand it.
inc/lang/en/lang.php
+
1
−
0
View file @
5cbc6478
...
...
@@ -360,6 +360,7 @@ $lang['media_perm_read'] = 'Sorry, you don\'t have enough rights to read f
$lang
[
'media_perm_upload'
]
=
'Sorry, you don\'t have enough rights to upload files.'
;
$lang
[
'media_update'
]
=
'Upload new version'
;
$lang
[
'media_restore'
]
=
'Restore this version'
;
$lang
[
'media_acl_warning'
]
=
'This list might not be complete due to ACL restrictions and hidden pages.'
;
$lang
[
'currentns'
]
=
'Current namespace'
;
$lang
[
'searchresult'
]
=
'Search Result'
;
...
...
This diff is collapsed.
Click to expand it.
lib/tpl/dokuwiki/detail.php
+
14
−
0
View file @
5cbc6478
...
...
@@ -57,6 +57,20 @@ header('X-UA-Compatible: IE=edge,chrome=1');
<div
class=
"img_detail"
>
<?php
tpl_img_meta
();
?>
<dl>
<?php
echo
'<dt>'
.
$lang
[
'reference'
]
.
':</dt>'
;
$media_usage
=
ft_mediause
(
$IMG
,
true
);
if
(
count
(
$media_usage
)
>
0
){
foreach
(
$media_usage
as
$path
){
echo
'<dd>'
.
html_wikilink
(
$path
)
.
'</dd>'
;
}
}
else
{
echo
'<dd>'
.
$lang
[
'nothingfound'
]
.
'</dd>'
;
}
?>
</dl>
<p>
<?php
echo
$lang
[
'media_acl_warning'
];
?>
</p>
</div>
<?php
//Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?>
<?
php
endif
;
?>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment