Ignore:
Timestamp:
Apr 18, 2016, 2:41:11 PM (9 years ago)
Author:
ddtddt
Message:

[extensions] - read_metadata - Beta 3 - link since edit photo page - link to admin photo page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/read_metadata/admin.php

    r31555 r31557  
    4848  case 'read':
    4949$admin_base_url = READ_METADATA_ADMIN.'-read';
     50if (isset($_GET['showmetadata'])) {
     51  check_input_parameter('showmetadata', $_GET, false, PATTERN_ID);
     52  $_POST['idreadmetadata']=$_GET['showmetadata'];
     53  $_POST['submitreadmetadata']=1;
     54}
     55
    5056if(isset($_POST['idreadmetadata'])){
    5157$template->assign(
     
    8086                  'RM_FILE' => $file,
    8187                  'RM_SCR' => DerivativeImage::url(IMG_THUMB, $rd_image),
     88                  'U_SHOWPHOTOADMIN' => 'admin.php?page=photo-'.$_POST['idreadmetadata'].'&rmphotoid='.$_POST['idreadmetadata'],
    8289        ));
    8390        /*IPTC*/
Note: See TracChangeset for help on using the changeset viewer.