htdocs/modules/profile/class/field.php 1 location
|
@@ 229-233 (lines=5) @@
|
| 226 |
|
**/ |
| 227 |
|
public function getOutputValue(&$user, $profile) |
| 228 |
|
{ |
| 229 |
|
if (file_exists($file = $GLOBALS['xoops']->path('modules/profile/language/' . $GLOBALS['xoopsConfig']['language'] . '/modinfo.php'))) { |
| 230 |
|
include_once $file; |
| 231 |
|
} else { |
| 232 |
|
include_once $GLOBALS['xoops']->path('modules/profile/language/english/modinfo.php'); |
| 233 |
|
} |
| 234 |
|
|
| 235 |
|
$value = in_array($this->getVar('field_name'), $this->getUserVars()) ? $user->getVar($this->getVar('field_name')) : $profile->getVar($this->getVar('field_name')); |
| 236 |
|
|
htdocs/class/uploader.php 1 location
|
@@ 150-152 (lines=3) @@
|
| 147 |
|
if (isset($randomFilename)) { |
| 148 |
|
$this->randomFilename = $randomFilename; |
| 149 |
|
} |
| 150 |
|
if (!include_once $GLOBALS['xoops']->path('language/' . $GLOBALS['xoopsConfig']['language'] . '/uploader.php')) { |
| 151 |
|
include_once $GLOBALS['xoops']->path('language/english/uploader.php'); |
| 152 |
|
} |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
/** |