add icon
This commit is contained in:
@@ -160,7 +160,7 @@ function materio_flag_block_view($delta = '') {
|
||||
}
|
||||
// TODO: put this title generation on a theme function
|
||||
$subject = '<span class="listname">'.t('My bookmarks (@len) ', array("@len"=>count($userbookmarks))).'</span>';
|
||||
$block['subject'] = $subject . l('<i class="icon-resize-full"></i>', 'bookmarks', array('html'=>true, 'attributes' => array('class' => array('open-list')),)); //
|
||||
$block['subject'] = $subject . l('<i class="fi-arrows-expand"></i>', 'bookmarks', array('html'=>true, 'attributes' => array('class' => array('open-list')),)); //
|
||||
$block['content'] = theme('materio_flag_mybookmarks_block', array("bookmarks"=>$userbookmarks, "viewmode"=>"bookmark"));
|
||||
}else{
|
||||
$block['subject'] = t('My bookmarks');
|
||||
@@ -354,7 +354,7 @@ function materio_flag_get_entity_links($entity, $type, $view_mode = null){
|
||||
|
||||
#create new list
|
||||
$link = l(
|
||||
'<i class="icon-plus"></i> <span>' . t('New @name', array('@name' => t(variable_get('flag_lists_name', 'list')))) . '</span>',
|
||||
'<i class="fi-plus"></i> <span>' . t('New @name', array('@name' => t(variable_get('flag_lists_name', 'list')))) . '</span>',
|
||||
'flag-lists/add/' . $entity->type,
|
||||
array(
|
||||
'attributes' => array(
|
||||
@@ -400,7 +400,7 @@ function _materio_flag_get_listpagetitle($flag){
|
||||
|
||||
if(flag_lists_is_owner('edit', $flag->fid)){
|
||||
|
||||
$cont .= l('<i class="icon-wrench"></i>',
|
||||
$cont .= l('<i class="fi-wrench"></i>',
|
||||
'flags/lists/edit/'.$flag->fid,
|
||||
array(
|
||||
'html'=>true,
|
||||
|
Reference in New Issue
Block a user