/** * Delegated implementation of the old settings hook. * * Cannot be named settings() to avoid clashing with the non-static settings() * method in concrete classes. */ public static function settingsAdvanced() { $arguments = array('!attr' => '<code>rel="nofollow"</code>'); $ret = array('#type' => 'checkbox', '#title' => t('Apply !attr to links on the "recent searches" and "top searches" blocks', $arguments), '#default_value' => ListBlock::isNoFollowEnabled(), '#return_value' => 1, '#description' => t('An attribute for the "a" (X)HTML alement, !attr is non-standard, but is recognized by several search engines, notably Google, MSN and Yahoo!', $arguments)); return $ret; }