Heh, this is fun.........

  // Profile Module
  if (module_exists('profile')) {
    $popups['admin/user/profile'] = array(
      // Add input format
      'a:contains('. t('single-line textfield') .')',
      'a:contains('. t('multi-line textfield') .')',
      'a:contains('. t('checkbox') .')',
      'a:contains('. t('list selection') .')',
      'a:contains('. t('freeform list') .')',
      'a:contains('. t('URL') .')',
      'a:contains('. t('date') .')',
      'a:contains('. t('edit') .')',
      'a:contains('. t('delete') .')',
    );
  }

I've noticed it's sometimes buggy. Probably missing some "additionalJavaScript" or something.

Comments

robloach’s picture

Status: Active » Postponed

Now that's just horrible. Here's better:

  // Profile module
  if (module_exists('profile')) {
    $popups['admin/user/profile'] = array(
      // Adding new elements
    	'form#profile-admin-overview ul li a' => array(
        'additionalJavascript' => array('misc/tabledrag.js'),
      ),
      // Edit and delete links
      'table#profile-fields tr td a[href*=admin/user/profile/delete/], table#profile-fields tr td a[href*=admin/user/profile/edit/]',
      // Help link
      '.more-help-link a' => array(
        'noUpdate' => TRUE,
      ),
    );
  }

Postponed for #385432: Aggregator Module Support.