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:
bachy
2013-01-03 16:04:25 +01:00
parent 2601c718c2
commit bcf209570a
10 changed files with 802 additions and 104 deletions

View File

@@ -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>&nbsp;<i class="icon-plus"></i>',
'<i class="icon-plus"></i>&nbsp;<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'],
)
);