WARNING don't now where i am here :/

This commit is contained in:
Bachir Soussi Chiadmi 2015-04-19 15:33:58 +02:00
parent 0600bf6674
commit 1be1c89407
13 changed files with 4 additions and 4 deletions

0
LICENSE.txt Normal file → Executable file
View File

0
images/README.txt Normal file → Executable file
View File

0
images/bullet_move.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

0
images/dotted_corner.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 224 B

0
images/dotted_line.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 213 B

View File

0
term_reference_tree.css Normal file → Executable file
View File

0
term_reference_tree.field.inc Normal file → Executable file
View File

0
term_reference_tree.info Normal file → Executable file
View File

0
term_reference_tree.js Normal file → Executable file
View File

0
term_reference_tree.module Normal file → Executable file
View File

0
term_reference_tree.module.orig Normal file → Executable file
View File

8
term_reference_tree.widget.inc Normal file → Executable file
View File

@ -765,15 +765,15 @@ function _term_reference_tree_build_item(&$element, &$term, &$form_state, &$valu
}
$t = null;
if(module_exists('locale')) {
// if(module_exists('locale')) {
// $t = taxonomy_term_load($term->tid);
// taxonomy_term_load return term without name, because of module title
$term_name = entity_label('taxonomy_term', $term);
// $term_name = entity_label('taxonomy_term', $term);
// there is a problem here with title module, title_entity_label() return empty label
// see http://drupal.org/node/1764354
} else {
// } else {
$term_name = $term->name;
}
// }
$container = array(
'#type' => 'checkbox_tree_item',
'#max_choices' => $max_choices,