conjunction OR ++
ajax : keys aren't args any more, because of a+b+c Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
@@ -343,12 +343,12 @@ function materio_flag_get_entity_links($entity, $type, $view_mode = null){
|
||||
|
||||
#create new list
|
||||
$link = l(
|
||||
'<span>' . t('New @name', array('@name' => variable_get('flag_lists_name', t('list')))) . '</span> <i class="icon-plus"></i>',
|
||||
'<i class="icon-plus"></i> <span>' . t('New @name', array('@name' => t(variable_get('flag_lists_name', 'list')))) . '</span>',
|
||||
'flag-lists/add/' . $entity->type,
|
||||
array(
|
||||
'attributes' => array(
|
||||
'class' => array('flag-lists-create'),
|
||||
'title' => t('create a new @name and use it.', array('@name'=>variable_get('flag_lists_name', t('list')))),
|
||||
'title' => t('create a new @name and use it.', array('@name'=>t(variable_get('flag_lists_name', 'list')))),
|
||||
'nid' => $entity->nid,
|
||||
'token' => flag_get_token($entity->nid),
|
||||
),
|
||||
@@ -481,7 +481,7 @@ function template_preprocess_materio_flag_mylists_list(&$vars) {
|
||||
'@name @title contains 1 item.', // in @sec seconds
|
||||
'@name @title contains @count items.', // in @sec seconds
|
||||
array(
|
||||
'@name' => $vars['name'],
|
||||
'@name' => t($vars['name']),
|
||||
'@title' => $vars['title'],
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user