http://www.openclipart.org/detail/160369/eshop-by-lbear
http://www.openclipart.org/detail/110/red-square-error-warning-icon-by-molumen
http://www.openclipart.org/detail/57745/denied-by-chovynz
+http://www.openclipart.org/detail/10940/red-+-green-ok-not-ok-icons-by-tzeeniewheenie-10940
'description' => 'Logotipo do clube',
'display' => array(
'default' => array(
- 'label' => 'above',
+ 'label' => 'hidden',
'module' => 'image',
'settings' => array(
'image_link' => '',
'description' => '',
'display' => array(
'default' => array(
- 'label' => 'above',
+ 'label' => 'hidden',
'module' => 'image',
'settings' => array(
'image_link' => '',
'progress_indicator' => 'throbber',
),
'type' => 'image_image',
- 'weight' => '2',
+ 'weight' => '1',
),
),
);
),
'entity_type' => 'node',
'field_name' => 'group_audience',
- 'label' => 'Groups audience',
- 'required' => FALSE,
+ 'label' => 'Grupos',
+ 'required' => 1,
'settings' => array(
'user_register_form' => FALSE,
),
),
),
'widget' => array(
+ 'active' => 1,
'module' => 'og',
'settings' => array(
'opt_group' => 'auto',
),
'type' => 'group_audience',
- 'weight' => '4',
+ 'weight' => '3',
),
'widget_type' => 'group_audience',
),
'bundle' => 'muamba',
'default_value' => array(
0 => array(
- 'value' => 0,
+ 'value' => '0',
),
),
'deleted' => '0',
),
'entity_type' => 'node',
'field_name' => 'group_content_access',
- 'label' => 'Group content visibility',
- 'required' => TRUE,
+ 'label' => 'Visibilidade',
+ 'required' => 1,
'settings' => array(
'user_register_form' => FALSE,
),
),
),
'widget' => array(
+ 'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
- 'weight' => '3',
+ 'weight' => '2',
),
'widget_type' => 'options_select',
),
t('Comment');
t('Descrição');
t('Foto');
- t('Group content visibility');
t('Group type');
t('Group visibility');
t('Groups audience');
+ t('Grupos');
t('Logo');
t('Logotipo do clube');
t('Request message');
t('This is the text a user may send to the group administrators.');
+ t('Visibilidade');
return $fields;
}
--- /dev/null
+cancel.png
\ No newline at end of file
drupal_add_js($path .'/muamba.js');
drupal_add_css($path .'/muamba.css');
-$output = '<div class="muamba-widget">';
+$output = '<div class="muamba-widget">';
+$output = '<h3>'. t('Options') .'</h3>';
if (empty($transaction)) {
$output .= theme('muamba_widget_icon', array('status' => MUAMBA_REQUESTED, 'id' => $nid));
}
}
elseif ($transaction['owner'] == $user->uid) {
- foreach (muamba_actions_available('received', $transcation['status']) as $action) {
+ foreach (muamba_actions_available('received', $transaction['status']) as $action) {
$output .= theme('muamba_widget_icon', array('status' => $action, 'id' => $transaction['mid']));
}
}
global $user;
// Check if widget can be shown
- if ($node->uid == $user->uid || $node->type != MUAMBA_NODE_TYPE || !muamba_has_request_access($node)) {
+ if ($node->type != MUAMBA_NODE_TYPE || !muamba_has_request_access($node)) {
return;
}