how can i make the new page that it opens also print automaticly, or at least ask if it should print it?
the file content.func.inc.php contains this string:
Code: Select all
// print layout button replacement
if( ! ( strpos($content["all"],'[PRINT]')===false ) ) {
$content["all"] = str_replace('[PRINT]', '<a href="index.php?id='.$aktion[0].','.$aktion[1].',1,'.$aktion[3].','.$aktion[4].','.$aktion[5].'" target="_blank">', $content["all"]);
$content["all"] = str_replace('[/PRINT]', '</a>', $content["all"]);
}