You are here

function rate_login_page in Rate 7

Page callback to generate a user login page with message.

Return value

string

1 string reference to 'rate_login_page'
rate_menu in ./rate.module
Implements hook_menu().

File

./rate.module, line 1466
Rate module

Code

function rate_login_page() {
  drupal_set_message(t('You must login before you can vote.'));
  drupal_set_title(t('Log in'));
  module_load_include('inc', 'user', 'user.pages');
  return user_page();
}