Lines Matching refs:html
87 public function html() function in admin_plugin_issuelinks_repoadmin
90 $html = "<div id='plugin__issuelinks_repoadmin'>";
91 $html .= "<div><ul class='tabs'>";
92 $html = array_reduce($activeServices, [$this, 'appendServiceTab'], $html);
93 $html .= '</ul></div>';
94 $html = array_reduce($activeServices, [$this, 'appendServicePage'], $html);
96 $html .= '</div>'; // <div id='plugin__issuelinks_repoadmin'>
98 echo $html;
104 * @param string $html the html to which we append the tab
109 protected function appendServiceTab($html, $serviceID) argument
115 return $html . "<li><a data-service='$serviceID'>" . $serviceName . '</a></li>';
121 * @param string $html the html to which we append the page
126 protected function appendServicePage($html, $serviceID) argument
133 $html .= "<div data-service='$serviceID' class='service_wrapper'>";
143 $html .= $configForm->toHTML();
145 $html .= '<p>No organisations available for ' . $serviceName . '</p>';
164 $html .= $form->toHTML();
165 $html .= "<div data-service='$serviceID' class='repo_area'></div>";
167 $html .= '</div>'; // <div data-service='$servicename' class='service_area'>
168 return $html;