TCPDF agregar html al header y footer

Filtramos la funciĆ³n del header y footer class MYPDF extends TCPDF { public function Header() { $html = get_header_welcome(); $this->writeHTMLCell($w = 0, $h = 50, $x = ”, $y = ”, $html, $border = 0, $ln = 1, $fill = 0, $reseth = false, $align = ‘C’, $autopadding = true); $this->setPageMark(); } public function Footer()…

Bootstrap 3 modal centrado

Estilos .modal { text-align: center; padding: 0!important; } .modal:before { content: ”; display: inline-block; height: 100%; vertical-align: middle; margin-right: -4px; } .modal-dialog { display: inline-block; text-align: left; vertical-align: middle; }   JS function setModalMaxHeight(element) { this.$element = $(element); this.$content = this.$element.find(‘.modal-content’); var borderWidth = this.$content.outerHeight() – this.$content.innerHeight(); var dialogMargin = $(window).width() < 768 ? 20…