'textfield', '#title' => t('Location of YUI library'), '#description' => t('Default location is Yahoo Server.
If you install YUI library locally please enter the path as follows: files/lib'), '#default_value' => variable_get('yui_source','http://yui.yahooapis.com/2.3.0'), '#required' => TRUE, ); $form['yui_skin'] = array( '#type' => 'textfield', '#title' => t('Skin to use for YUI'), '#description' => t('Skin to use for YUI'), '#default_value' => variable_get('yui_skin','yui-skin-sam'), '#required' => TRUE, ); return system_settings_form($form); } function yui_menu($may_cache) { $items = array(); if ($may_cache) { $items[] = array( 'path' => 'admin/settings/yui', 'title' => t('YUI Common Settings'), 'description' => t('YUI Description'), 'callback' => 'drupal_get_form', 'callback arguments' => 'yui_admin_settings', 'access' => user_access('administer site configuration'), 'type' => MENU_NORMAL_ITEM, ); } return $items; } ?>