Lines Matching refs:el

27     protected function el($tag, $attr = [], $content = '', $selfClosing = false) {  function in admin_plugin_latexwas
60 …$this->output = $this->el('div', ['class' => 'success'], "Purge Result: $deleted files deleted fro…
73 echo $this->el('h1', [], 'LaTeX Administration');
77 echo $this->el('h2', [], $this->getLang('legend_purge') ?: 'Purge Image Cache');
79 $purgeForm = $this->el('div', ['class' => 'no'], [
80 $this->el('p', [], [
81 $this->el('label', [], [
82 …$this->el('input', ['type' => 'radio', 'name' => 'purgemode', 'value' => 'atime', 'checked' => 'ch…
85 $this->el('label', [], [
86 … $this->el('input', ['type' => 'radio', 'name' => 'purgemode', 'value' => 'all']),
90 $this->el('p', [], [
92 … $this->el('input', ['type' => 'text', 'name' => 'purgedays', 'value' => '30', 'size' => '3']),
95 …$this->el('input', ['type' => 'submit', 'name' => 'latexpurge', 'class' => 'button', 'value' => $t…
98 echo $this->el('form', ['method' => 'post', 'action' => wl()], $purgeForm);
101 echo $this->el('h2', [], 'LaTeX Troubleshooter');
103 $diagForm = $this->el('div', ['class' => 'no'], [
104 $this->el('p', [], 'Use this section to test your LaTeX and ImageMagick paths.'),
105 $this->el('textarea', [
111 …$this->el('input', ['type' => 'submit', 'name' => 'dotest', 'class' => 'button', 'value' => 'Run D…
114 echo $this->el('form', ['method' => 'get', 'action' => wl()], [
115 $this->el('input', ['type' => 'hidden', 'name' => 'do', 'value' => 'admin']),
116 $this->el('input', ['type' => 'hidden', 'name' => 'page', 'value' => 'latexwas']),
136 echo $this->el('h3', [], 'Binary Version Check');
146 $rows[] = $this->el('tr', [], [
147 $this->el('td', ['style' => 'font-weight:bold;'], $name),
148 … $this->el('td', ['style' => 'font-family:monospace; color:' . ($isOk ? 'green' : 'red')], $msg)
152 echo $this->el('table', ['class' => 'inline'], [
153 $this->el('thead', [], $this->el('tr', [], [
154 $this->el('th', [], 'Tool'),
155 $this->el('th', [], 'Status / Version Output')
157 $this->el('tbody', [], $rows)
161 echo $this->el('h3', [], 'Rendering Test');
169 echo $this->el('div', ['class' => 'success'], [
170 $this->el('p', [], 'Success! Rendered image:'),
171 …$this->el('img', ['src' => $url, 'alt' => 'test render', 'style' => 'background:white; padding:10p…
174 echo $this->el('div', ['class' => 'error'], [
175 $this->el('p', [], 'Rendering failed.'),
176 $this->el('p', [], 'Error Code: ' . $plug->_latex->_errorcode),
177 $this->el('pre', [], $plug->_latex->_cmdoutput)