function Portada($idGroup) { $groupName = NotesPDF::getGroupByID($idGroup)->getBestName(); $this->AddPage(); $this->Ln(7); $this->SetFont('Arial', 'I', 12); setlocale(LC_ALL, "es_ES"); $this->Cell(0, 0, strtoupper($groupName) . ' - ' . strftime("%d de %B del %Y"), 0, 0, 'R'); $this->Ln(10); $this->SetFont('Arial', 'B', 14); $this->Cell(0, 7, 'Ideas Seleccionadas', 1, 0, 'C'); $this->Ln(10); }
function showContent() { if (empty($this->user)) { $this->element('p', array('class' => 'notespdf-customize-error'), _m('Login first!')); } else { $idGroup = $this->trimmed('idGroup'); $group = NotesPDF::getGroupByID($idGroup); $this->element('h2', null, 'Apuntes para el grupo ' . $group->getBestName()); $this->elementStart('p'); $this->raw('A continuación personalice los apuntes.'); $this->elementEnd('p'); $optionsForm = new Notescustomizeform($this, $group->id); $optionsForm->show(); } }
function showContent() { $idGroup = $this->trimmed('idGroup'); $group = NotesPDF::getGroupByID($idGroup); $this->element('h2', null, 'Apuntes para el grupo ' . $group->getBestName()); $this->elementStart('p'); $this->raw('A continuación personalice los apuntes.'); $this->elementEnd('p'); $optionsForm = new Notescustomizeform($this, $group->id); $optionsForm->show(); }