| @@ 311-320 (lines=10) @@ | ||
| 308 | * |
|
| 309 | * @return boolean need to say it ? |
|
| 310 | */ |
|
| 311 | public static function isX23() |
|
| 312 | { |
|
| 313 | $x23 = false; |
|
| 314 | $xv = str_replace('XOOPS ', '', XOOPS_VERSION); |
|
| 315 | if (substr($xv, 2, 1) >= '3') { |
|
| 316 | $x23 = true; |
|
| 317 | } |
|
| 318 | ||
| 319 | return $x23; |
|
| 320 | } |
|
| 321 | ||
| 322 | /** |
|
| 323 | * Retreive an editor according to the module's option "form_options" |
|
| @@ 189-198 (lines=10) @@ | ||
| 186 | * |
|
| 187 | * @return boolean need to say it ? |
|
| 188 | */ |
|
| 189 | function news_isX23() |
|
| 190 | { |
|
| 191 | $x23 = false; |
|
| 192 | $xv = str_replace('XOOPS ', '', XOOPS_VERSION); |
|
| 193 | if (substr($xv, 2, 1) >= '3') { |
|
| 194 | $x23 = true; |
|
| 195 | } |
|
| 196 | ||
| 197 | return $x23; |
|
| 198 | } |
|
| 199 | ||
| 200 | /** |
|
| 201 | * Retreive an editor according to the module's option "form_options" |
|