Skip to content

Commit

Permalink
issue #51 link from detail view to fullscreen manager
Browse files Browse the repository at this point in the history
  • Loading branch information
akate committed Aug 12, 2011
1 parent 44d638d commit e9eba4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions inc/lang/en/lang.php
Expand Up @@ -246,6 +246,7 @@
$lang['img_keywords']= 'Keywords';
$lang['img_width'] = 'Width';
$lang['img_height'] = 'Height';
$lang['img_manager'] = 'View in media manager';

$lang['subscr_subscribe_success'] = 'Added %s to subscription list for %s';
$lang['subscr_subscribe_error'] = 'Error adding %s to subscription list for %s';
Expand Down
7 changes: 7 additions & 0 deletions lib/tpl/default/detail.php
Expand Up @@ -49,6 +49,13 @@
</p>

<p>&larr; <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
<p><?php
$imgNS = getNS($IMG);
$authNS = auth_quickaclcheck("$imgNS:*");
if ($authNS >= AUTH_UPLOAD) {
echo '<a href="'.media_managerURL(array('ns' => $imgNS, 'image' => $IMG)).'">'.$lang['img_manager'].'</a>';
}
?></p>

<dl class="img_tags">
<?php
Expand Down

0 comments on commit e9eba4b

Please sign in to comment.