Ignore:
Timestamp:
Jun 11, 2013, 6:35:32 AM (11 years ago)
Author:
rvelices
Message:

history - merge album/tags link into a single column (table is already very large and these columns are mutually exclusive

  • add tags link in the history table
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/history.php

    r21894 r23151  
    338338SELECT
    339339    id,
    340     name
     340    name, url_name
    341341  FROM '.TAGS_TABLE;
    342     $name_of_tag = simple_hash_from_query($query, 'id', 'name');
     342    $name_of_tag = array();
     343    $result = pwg_query($query);
     344    while ($row=pwg_db_fetch_assoc($result))
     345    {
     346      $name_of_tag[ $row['id'] ] = '<a href="'.make_index_url( array('tags'=>array($row))).'">'.trigger_event("render_tag_name", $row['name']).'</a>';
     347    }
    343348  }
    344349
Note: See TracChangeset for help on using the changeset viewer.