Lines Matching defs:a
176 * print a table with all significant permissions for the
204 echo '<sup><a id="fn__1" class="fn_bot" href="#fnt__1">1)</a></sup>';
227 * Display a tree menu to select a page or namespace
248 // wrap a list with the root level around the other namespaces
266 * get a combined list of media and page files
292 $i++; // duplicate found, next $i can't be a duplicate, so skip forward one
303 public function treeSort($a, $b)
306 if ($a['id'] == '') return -1;
309 $a_ids = explode(':', $a['id']);
314 // until a non-equal component is found
317 // if one of the components is the last component and is a file
318 // and the other one is either of a deeper level or a directory,
320 if ($a_ids === [] && $a['type'] == 'f' && (count($b_ids) || $b['type'] == 'd')) return 1;
321 if ($b_ids === [] && $b['type'] == 'f' && (count($a_ids) || $a['type'] == 'd')) return -1;
326 // to a page, one to a namespace, the namespace needs to be first.
328 if ($a['type'] == $b['type']) return 0;
329 if ($a['type'] == 'f') return 1;
332 // Now the empty part is either a page in the parent namespace
336 if ($a_ids === []) return ($a['type'] == 'd') ? -1 : 1;
547 $ret .= '<a href="' .
551 $ret .= '</a>';
553 $ret .= '<a href="' .
557 $ret .= '</a>';
631 * Display all currently set permissions in a table
655 echo '<th>' . $this->getLang('perm') . '<sup><a id="fnt__1" class="fn_top" href="#fn__1">1)</a></sup></th>';
808 * Print a user/group selector (reusing already used users and groups)