- Timestamp:
- 05/08/06 20:59:44 (3 years ago)
- Files:
-
- 1 modified
-
branches/plogger-with-tags/plog-tag-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plogger-with-tags/plog-tag-functions.php
r395 r399 31 31 $result = mysql_query($query); 32 32 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']; 34 34 }; 35 35 return $picture_tags; … … 52 52 } 53 53 54 function rename_picture_tag( 55 function remove_unused_tags(){ 54 function rename_picture_tag($tag_id, $new_name, $change_urlified=true) { 55 // 1. rename the specified tag and update 'urlified' only if specified. 56 } 57 58 function purge_unused_tags(){ 56 59 // 1. remove all tags that are not associated with any pictures. 57 60 }
