| @@ 895-904 (lines=10) @@ | ||
| 892 | * |
|
| 893 | * @return boolean need to say it ? |
|
| 894 | */ |
|
| 895 | public static function isX23() |
|
| 896 | { |
|
| 897 | $x23 = false; |
|
| 898 | $xv = str_replace('XOOPS ', '', XOOPS_VERSION); |
|
| 899 | if (substr($xv, 2, 1) >= '3') { |
|
| 900 | $x23 = true; |
|
| 901 | } |
|
| 902 | ||
| 903 | return $x23; |
|
| 904 | } |
|
| 905 | ||
| 906 | /** |
|
| 907 | * Retreive an editor according to the module's option "form_options" |
|
| @@ 597-606 (lines=10) @@ | ||
| 594 | * |
|
| 595 | * @return boolean need to say it ? |
|
| 596 | */ |
|
| 597 | function lx_isX23() |
|
| 598 | { |
|
| 599 | $x23 = false; |
|
| 600 | $xv = str_replace('XOOPS ','',XOOPS_VERSION); |
|
| 601 | if(substr($xv,2,1) >= '3') { |
|
| 602 | $x23 = true; |
|
| 603 | } |
|
| 604 | ||
| 605 | return $x23; |
|
| 606 | } |
|
| 607 | ||
| 608 | /** |
|
| 609 | * Retreive an editor according to the module's option "form_options" |
|