'#description'=>t('Places an !icon icon next to external links.',array('!icon'=>theme('image',array('path'=>drupal_get_path('module','extlink').'/extlink.png','alt'=>t('External Links icon'))))),
'#description'=>t('Places an !icon icon next to external links.',
'#description'=>t('Places an !icon icon next to mailto links.',array('!icon'=>theme('image',array('path'=>drupal_get_path('module','extlink').'/mailto.png','alt'=>t('Email links icon'))))),
'#description'=>t('Places an !icon icon next to mailto links.',
@@ -129,12 +155,9 @@ function extlink_admin_settings() {
'#collapsible'=>TRUE,
'#collapsed'=>TRUE,
'#description'=>
'<p>'.t('External links uses patterns (regular expressions) to match the "href" property of links.').'</p>'.
t('Here are some common patterns.').
theme('item_list',array('items'=>$patterns)).
t('Common special characters:').
theme('item_list',array('items'=>$wildcards)).
'<p>'.t('All special characters (!characters) must also be escaped with backslashes. Patterns are not case-sensitive. Any <a href="http://www.javascriptkit.com/javatutors/redev2.shtml">pattern supported by JavaScript</a> may be used.',array('!characters'=>'<code>^ $ . ? ( ) | * +</code>')).'</p>',
'<p>'.t('External links uses patterns (regular expressions) to match the "href" property of links.').'</p>'.t('Here are some common patterns.').
theme('item_list',array('items'=>$patterns)).t('Common special characters:').
theme('item_list',array('items'=>$wildcards)).'<p>'.t('All special characters (!characters) must also be escaped with backslashes. Patterns are not case-sensitive. Any <a href="http://www.javascriptkit.com/javatutors/redev2.shtml">pattern supported by JavaScript</a> may be used.',array('!characters'=>'<code>^ $ . ? ( ) | * +</code>')).'</p>',
);
$form['patterns']['extlink_exclude']=array(
...
...
@@ -160,7 +183,7 @@ function extlink_admin_settings() {
'#collapsible'=>TRUE,
'#collapsed'=>TRUE,
'#description'=>
'<p>'.t('Use CSS selectors to exclude entirely or only look inside explicitly specified classes and IDs for external links. These will be passed straight to jQuery for matching.').'</p>',
'<p>'.t('Use CSS selectors to exclude entirely or only look inside explicitly specified classes and IDs for external links. These will be passed straight to jQuery for matching.').'</p>',