Lines Matching refs:hlp
10 private $hlp;
13 $this->hlp = plugin_load('helper','publish');
23 if (!$this->hlp->isActive()) {
45 if ($this->hlp->isCurrentRevisionApproved() && $this->getConf('hide_approved_banner')) {
58 $difflink = $this->hlp->getDifflink($id,$rev1,$rev2);
67 if ($this->hlp->isCurrentRevisionApproved()) {
70 if ($this->hlp->isHiddenForUser()) {
103 if (!$this->hlp->isHidden()) {
112 $revision = $this->hlp->getRevision();
113 $latestRevision = $this->hlp->getLastestRevision();
118 if ($this->hlp->isRevisionApproved($latestRevision)) {
129 $revision = $this->hlp->getRevision();
130 $latestApprovedRevision = $this->hlp->getLatestApprovedRevision();
136 $latestRevision = $this->hlp->getLastestRevision();
146 $revision = $this->hlp->getRevision();
148 if ($this->hlp->isCurrentRevisionApproved()) {
152 $approvals = $this->hlp->getApprovalsOnRevision($this->hlp->getRevision());
160 printf(' ' . $this->getLang('approved by'), implode(', ', $this->hlp->getApprovers()));
166 if (!$this->hlp->isCurrentRevisionApproved()) {
172 '<span class="approval_date">' . dformat($this->hlp->getApprovalDate()) . '</span>',
173 implode(', ', $this->hlp->getApprovers()));
179 $previousApproved = $this->hlp->getPreviousApprovedRevision();
187 echo $this->difflink($ID, $previousApproved, $this->hlp->getRevision()) . '</span>';
194 if (!$this->hlp->canApprove()) {
198 $approvals = $this->hlp->getApprovalsOnRevision($this->hlp->getRevision());