class/files/TDMCreateFile.php 1 location
|
@@ 386-393 (lines=8) @@
|
| 383 |
|
*/ |
| 384 |
|
public function getRightString($string) |
| 385 |
|
{ |
| 386 |
|
if (strpos($string, '_')) { |
| 387 |
|
$str = strpos($string, '_'); |
| 388 |
|
if ($str !== false) { |
| 389 |
|
$ret = substr($string, $str + 1, strlen($string)); |
| 390 |
|
|
| 391 |
|
return $ret; |
| 392 |
|
} |
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
return $string; |
| 396 |
|
} |
class/files/user/UserRss.php 1 location
|
@@ 115-120 (lines=6) @@
|
| 112 |
|
foreach (array_keys($fields) as $f) { |
| 113 |
|
$fieldName = $fields[$f]->getVar('field_name'); |
| 114 |
|
$rpFieldName = $fieldName; |
| 115 |
|
if (strpos($fieldName, '_')) { |
| 116 |
|
$str = strpos($fieldName, '_'); |
| 117 |
|
if ($str !== false) { |
| 118 |
|
$rpFieldName = substr($fieldName, $str + 1, strlen($fieldName)); |
| 119 |
|
} |
| 120 |
|
} |
| 121 |
|
$lpFieldName = substr($fieldName, 0, strpos($fieldName, '_')); |
| 122 |
|
if (0 == $f) { |
| 123 |
|
$fieldId = $fieldName; |
class/files/user/UserPrint.php 1 location
|
@@ 119-124 (lines=6) @@
|
| 116 |
|
foreach (array_keys($fields) as $f) { |
| 117 |
|
$fieldName = $fields[$f]->getVar('field_name'); |
| 118 |
|
$rpFieldName = $fieldName; |
| 119 |
|
if (strpos($fieldName, '_')) { |
| 120 |
|
$str = strpos($fieldName, '_'); |
| 121 |
|
if ($str !== false) { |
| 122 |
|
$rpFieldName = substr($fieldName, $str + 1, strlen($fieldName)); |
| 123 |
|
} |
| 124 |
|
} |
| 125 |
|
if ((0 == $f) && (1 == $this->table->getVar('table_autoincrement'))) { |
| 126 |
|
$fieldId = $fieldName; |
| 127 |
|
} else { |