It looks like there might be an issue playing videos in this browser. We're working on better cross-brower experience, but in the meantime please try the latest Chrome or Firefox browsers. Or, you may be able to watch the video directly without progress tracking or transcript:
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.
An Excerpt from one of my modules.
'#type' => 'hidden',
'#value' => $user_has_administer_users_rights,
);
$form['sts_managed_user'] = array(
'#title' => t('Allow administrators of STS Module to edit user'),
'#type' => 'checkbox',
'#default_value' => $sts_managed_user,
'#states' => array(
'visible' => array(
':input[name="show_sts_managed_user_checkbox"]'
=> array('value' => 'yes'),
),
),
);
The first assignment to the $form array picks up as it's value an ordinary PHP variable. If you replaced the line
#value => $user_has_administer_users_rights
with
#value => $a>4 ? 'yes' : 'no',
it should work for you.
I'll leave to to contextualise the rest of the code :)
Hope this helps.
Martin.