Advertisement
DrupalCustom

link try

Jan 12th, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1.   function freeway_user_mapping()
  2.   {
  3.      $result = db_query("SELECT mode_id FROM {freeway_mode} ");      
  4.      $rows = mysql_num_rows($result);
  5.    
  6.         if($rows==0){
  7.      $form['contact_information'] = array(
  8.     '#value' => variable_get('contact_form_information', t('Welcome to Freeway user mapping .You have probably visited this page for the first time. To use the user mapping you can do either of the below 2 options.')),
  9. );
  10.  
  11. //l(t('Link text'), 'about-us', array('attributes' => array('class' => 'about-link')));
  12.  
  13. }
  14.    
  15.    
  16.    return $form;
  17.  
  18.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement