function theme_print_published in Printer, email and PDF versions 7.2
Returns HTML for the published line of the print template.
Parameters
array $vars: An empty associative array.
Return value
string HTML text with the published line
Related topics
1 theme call to theme_print_published()
- print.tpl.php in ./
print.tpl.php - Default theme implementation to display a printer-friendly version page.
File
- ./
print.pages.inc, line 227
Code
function theme_print_published($vars) {
global $base_url;
$published_site = variable_get('site_name', 0);
return $published_site ? t('Published on %site_name', array(
'%site_name' => $published_site,
)) . ' (' . l($base_url, $base_url) . ')' : '';
}