You are here

function theme_hosting_site_goto_link in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 site/hosting_site.module \theme_hosting_site_goto_link()
  2. 7.3 site/hosting_site.module \theme_hosting_site_goto_link()

Theme function for site link.

1 theme call to theme_hosting_site_goto_link()
_hosting_site_goto_link in site/hosting_site.module
Generate a link allowing the user to log into their new site, or simply go to the site front page if the link has expired.

File

site/hosting_site.module, line 203
Contains hook implementations for Hosting site module.

Code

function theme_hosting_site_goto_link($variables) {
  $options['attributes']['class'] = 'hosting-goto-site-link';
  $options['attributes']['target'] = '_blank';
  return l($variables['title'], $variables['url'], $options);
}