jQuery(function() { var $img = jQuery("#dokuwiki__header img").clone(); var $h1 = jQuery("#dokuwiki__content h1:first"); if ($h1.length > 0) { var h1 = $h1.text(); } else { var h1 = ''; } var $table = jQuery("
").append($img)); if (h1 !== '') { $new_h1 = $h1.clone(); $h1.addClass("no-print"); cells.push(jQuery(" | ").append($new_h1)); } $publish = jQuery(".approval"); if ($publish.length > 0) { var status = JSINFO['status']; var date = JSINFO['date']; var author = JSINFO['author']; var loc_status = jQuery('.approval_'+status).find("em").text(); var $main_div = jQuery(".approval"); if(status == 'approved') var cont = LANG.plugins.prettyprint.approve+' '+author+''; else var cont = LANG.plugins.prettyprint.created+' '+author+''; cells.push(jQuery(" | ").html(' '+LANG.plugins.prettyprint.state+' '+loc_status+' |