private function getCountHtml($name, $value)
 {
     $html = '<b>' . $value . '</b> ' . wfMessage('wp-items');
     $html .= '<ul>';
     $html .= '<li><b>' . SpecialWikiplaces::getLinkConsultWikiplace($this->mCurrentRow->page_title) . '</b></li>';
     $html .= '<li>' . SpecialWikiplaces::getLinkCreateSubpage($this->mCurrentRow->page_title) . '</li>';
     $html .= '</ul>';
     return $html;
 }
Exemplo n.º 2
0
 function getEndBody()
 {
     $colums = count($this->getFieldNames());
     if ($this->even) {
         $class = 'mw-line-even';
     } else {
         $class = 'mw-line-odd';
     }
     $this->even = !$this->even;
     $html = "<tr class=\"{$class} mw-line-last\"><td colspan=\"{$colums}\">";
     $html .= SpecialWikiplaces::getLinkCreateSubpage($this->wpName, 'wp-create-page-long');
     $html .= "</td></tr>";
     $html .= "</tbody></table>\n";
     return $html;
 }