| @@ 484-488 (lines=5) @@ | ||
| 481 | $post_value = ''; |
|
| 482 | } |
|
| 483 | ||
| 484 | if (isset($_POST['custom' . $dtypeid . ''])) { |
|
| 485 | $post_customtitle = $myts->makeTboxData4Save($_POST['custom' . $dtypeid . '']); |
|
| 486 | } else { |
|
| 487 | $post_customtitle = ''; |
|
| 488 | } |
|
| 489 | if ($fieldtype == 'address') { |
|
| 490 | $addressfields = array('address', 'address2', 'zip', 'postcode', 'phone', 'lat', 'lon', 'phone', 'fax', 'mobile', 'city', 'country', 'uselocyn', 'main', 'active'); |
|
| 491 | foreach ($addressfields as $field) { |
|
| @@ 224-228 (lines=5) @@ | ||
| 221 | } else { |
|
| 222 | $post_value = ''; |
|
| 223 | } |
|
| 224 | if (isset($_POST['custom' . $dtypeid . ''])) { |
|
| 225 | $post_customtitle = $myts->makeTboxData4Save($_POST['custom' . $dtypeid . '']); |
|
| 226 | } else { |
|
| 227 | $post_customtitle = ''; |
|
| 228 | } |
|
| 229 | if (isset($_POST['url_title' . $dtypeid . ''])) { |
|
| 230 | $post_urltitle = $myts->makeTboxData4Save($_POST['url_title' . $dtypeid . '']); |
|
| 231 | } else { |
|
| @@ 229-233 (lines=5) @@ | ||
| 226 | } else { |
|
| 227 | $post_customtitle = ''; |
|
| 228 | } |
|
| 229 | if (isset($_POST['url_title' . $dtypeid . ''])) { |
|
| 230 | $post_urltitle = $myts->makeTboxData4Save($_POST['url_title' . $dtypeid . '']); |
|
| 231 | } else { |
|
| 232 | $post_urltitle = ''; |
|
| 233 | } |
|
| 234 | if (isset($_POST['url_link' . $dtypeid . ''])) { |
|
| 235 | $post_urllink = $myts->makeTboxData4Save($_POST['url_link' . $dtypeid . '']); |
|
| 236 | } else { |
|
| @@ 234-238 (lines=5) @@ | ||
| 231 | } else { |
|
| 232 | $post_urltitle = ''; |
|
| 233 | } |
|
| 234 | if (isset($_POST['url_link' . $dtypeid . ''])) { |
|
| 235 | $post_urllink = $myts->makeTboxData4Save($_POST['url_link' . $dtypeid . '']); |
|
| 236 | } else { |
|
| 237 | $post_urllink = ''; |
|
| 238 | } |
|
| 239 | if ($post_urllink !== '') { |
|
| 240 | $post_value = $post_urllink . '|' . $post_urltitle; |
|
| 241 | } |
|