Changeset 399 for branches

Show
Ignore:
Timestamp:
05/08/06 20:59:44 (3 years ago)
Author:
stefan
Message:

committing some unsaved changes that got left out of the previous commit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/plogger-with-tags/plog-tag-functions.php

    r395 r399  
    3131        $result = mysql_query($query); 
    3232        while($tag_row = mysql_fetch_assoc($result)) { 
    33                 $picture_tags[$tag_row['path']] = $tag_row['tag_id']; 
     33                $picture_tags[$tag_row['urlified']] = $tag_row['tag_id']; 
    3434        }; 
    3535        return $picture_tags; 
     
    5252} 
    5353 
    54 function rename_picture_tag( 
    55 function remove_unused_tags(){ 
     54function rename_picture_tag($tag_id, $new_name, $change_urlified=true) { 
     55   // 1. rename the specified tag and update 'urlified' only if specified. 
     56} 
     57 
     58function purge_unused_tags(){ 
    5659   // 1. remove all tags that are not associated with any pictures. 
    5760}