39 $time_zone_list = array(
72 return $time_zone_list;
105 return XoopsLists::getDirListAsArray(\
XoopsBaseConfig::get(
'root-path') .
'/class/xoopseditor/');
128 while (
$file = readdir($handle)) {
129 if (substr(
$file, 0, 1) ==
'.' || in_array(strtolower(
$file), $ignored)) {
161 while (
false !== (
$file = readdir($handle))) {
163 $file = $prefix .
$file;
189 while (
false !== (
$file = readdir($handle))) {
190 if (preg_match(
'/\.(gif|jpg|jpeg|png|swf)$/i',
$file)) {
217 while (
false !== (
$file = readdir($handle))) {
218 if ((preg_match(
'/\.(htm|html|xhtml)$/i',
$file) && !is_dir(
$file))) {
244 if ($avatar_dir !=
'') {
245 $avatars = XoopsLists::getImgListAsArray(
$xoops_root_path .
'/images/avatar/' . $avatar_dir .
'/', $avatar_dir .
'/');
247 $avatars = XoopsLists::getImgListAsArray(
$xoops_root_path .
'/images/avatar/');
266 $avatars[
$dir] = XoopsLists::getImgListAsArray(
$xoops_root_path .
'/images/avatar/' . $dir .
'/', $dir .
'/');
288 if ($sub_dir !=
'') {
289 $subjects = XoopsLists::getImgListAsArray(
$xoops_root_path .
'/images/subject/' . $sub_dir, $sub_dir .
'/');
291 $subjects = XoopsLists::getImgListAsArray(
$xoops_root_path .
'/images/subject/');
331 $country_list = array(
587 asort($country_list);
588 reset($country_list);
590 return $country_list;
604 'abbr' =>
'<abbr>',
605 'acronym' =>
'<acronym>',
606 'address' =>
'<address>',
608 'bdo' =>
'<bdo>',
609 'big' =>
'<big>',
610 'blockquote' =>
'<blockquote>',
611 'br' =>
'<br>',
612 'caption' =>
'<caption>',
613 'cite' =>
'<cite>',
614 'code' =>
'<code>',
615 'col' =>
'<col>',
616 'colgroup' =>
'<colgroup>',
617 'dd' =>
'<dd>',
618 'del' =>
'<del>',
619 'dfn' =>
'<dfn>',
620 'div' =>
'<div>',
621 'dl' =>
'<dl>',
622 'dt' =>
'<dt>',
623 'em' =>
'<em>',
624 'font' =>
'<font>',
625 'h1' =>
'<h1>',
626 'h2' =>
'<h2>',
627 'h3' =>
'<h3>',
628 'h4' =>
'<h4>',
629 'h5' =>
'<h5>',
630 'h6' =>
'<h6>',
631 'hr' =>
'<hr>',
633 'img' =>
'<img>',
634 'ins' =>
'<ins>',
635 'kbd' =>
'<kbd>',
636 'li' =>
'<li>',
637 'map' =>
'<map>',
638 'object' =>
'<object>',
639 'ol' =>
'<ol>',
641 'pre' =>
'<pre>',
643 'samp' =>
'<samp>',
644 'small' =>
'<small>',
645 'span' =>
'<span>',
646 'strike' =>
'<strike>',
647 'strong' =>
'<strong>',
648 'sub' =>
'<sub>',
649 'sup' =>
'<sup>',
650 'table' =>
'<table>',
651 'tbody' =>
'<tbody>',
652 'td' =>
'<td>',
653 'tfoot' =>
'<tfoot>',
654 'th' =>
'<th>',
655 'thead' =>
'<thead>',
656 'tr' =>
'<tr>',
657 'tt' =>
'<tt>',
659 'ul' =>
'<ul>',
660 'var' =>
'<var>'
682 $sql = $db->createXoopsQueryBuilder();
684 $sql->select(
'rank_id')
685 ->addSelect(
'rank_title')
686 ->fromPrefix(
'ranks',
'r')
687 ->where($eb->eq(
'rank_special',
':rankspecial'))
688 ->orderBy(
'rank_title')
689 ->setParameter(
':rankspecial', 1);
692 while ($myrow =
$result->fetch(PDO::FETCH_ASSOC)) {
693 $ret[$myrow[
'rank_id']] =
$myts->htmlspecialchars($myrow[
'rank_title']);
static getFileListAsArray($dirname, $prefix= '')
if(!isset($xoops->paths[$path_type])) if($path_type== 'var') $file
static getImgListAsArray($dirname, $prefix= '')
static getHtmlListAsArray($dirname, $prefix= '')
static getSubjectsList($sub_dir= '')
if(DIRECTORY_SEPARATOR!="/") $xoops_root_path
static getAvatarsList($avatar_dir= '')
static getAllAvatarsList()
static getDirListAsArray($dirname)