Created
August 17, 2014 06:33
-
-
Save mkorostoff/6ce20e38b22c66f6a422 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
//settings for use in the l() function to make links open in new tab | |
$open_in_new_tab = array( | |
'attributes' => array( | |
'target' => '_blank' | |
) | |
); | |
//Create a link to the user login page | |
return l('Log in', 'user/login', $open_in_new_tab); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment