Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mymodule_profile_modal( $user,$js)
- {
- $output = t('<p>Lorem ipsum dolor sit amet...</p>');
- $title = t('Modal example');
- if ($js) {
- ctools_include('ajax');
- ctools_include('modal');
- ctools_modal_render($title, $output);
- // above command will exit().
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement