--- C:/webserver/Apache2.2/htdocs/clean/sites/all/modules/taxonomy_token.module	Ος δεκ 10 21:55:18 2010
+++ C:/webserver/Apache2.2/htdocs/clean/sites/all/modules/taxonomy_token/taxonomy_token.module	Ος δεκ 31 14:15:32 2010
@@ -192,6 +192,10 @@
         'ID of top term in vocabulary %vocabulary_name.',
         array('%vocabulary_name' => $name)
       );
+      $tokens['node'][$label . ':term-description'] = t(
+        'Top term description in vocabulary %vocabulary_name.',
+        array('%vocabulary_name' => $name)
+      );
       if (isset($token_type_per_vocab[$vid]) && 
         ($token_type_per_vocab[$vid] == TAXONOMY_TOKEN_SINGLE_AND_FULL_PATH_TERM_TOKEN)) {
         $tokens['node'][$label . ':termpath'] = t(
@@ -236,7 +240,7 @@
       $vid = (int) $row_vocabs['vid'];
       $name = $row_vocabs['name'];
 
-      $query = db_query_range("SELECT td.tid, td.name
+      $query = db_query_range("SELECT td.tid, td.name, td.description
           FROM {term_data} td
             INNER JOIN {term_node} tn
               ON tn.tid = td.tid
@@ -260,6 +264,7 @@
         $values[$label . ':term:url'] = _taxonomy_token_string_to_path($result['name']);
         $values[$label . ':term-raw'] = $result['name'];
         $values[$label . ':term-id'] = $result['tid'];
+		$values[$label . ':term-description'] = $result['description'];
 
         if (isset($token_type_per_vocab[$vid]) && 
           ($token_type_per_vocab[$vid] == TAXONOMY_TOKEN_SINGLE_AND_FULL_PATH_TERM_TOKEN)) {
@@ -284,6 +289,7 @@
         $values[$label . ':term:url'] = '';
         $values[$label . ':term-raw'] = '';
         $values[$label . ':term-id'] = '';
+		$values[$label . ':term-description'] = '';
         if (isset($token_type_per_vocab[$vid]) && ($token_type_per_vocab[$vid] == 2)) {
           $values[$label . ':termpath'] = '';
           $values[$label . ':termpath:url'] = '';
