Created
May 1, 2012 03:20
-
-
Save venkatd/2564689 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mobile_redirect_form() { | |
$form = array(); | |
$form['mobile_redirect_path'] = array( | |
'#type' => 'textfield', | |
'#title' => t('Path to mobile friendly page'), | |
'#size' => 80, | |
'#maxlength' => 255, | |
'#default_value' => variable_get('mobile_redirect_path', ''), | |
'#description' => t('The path to redirect to if the user is on a mobile browser.'), | |
); | |
return system_settings_form($form); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment