@@ 448-452 (lines=5) @@ | ||
445 | $wm['sharelinkurl'] = $helper->url("smallworldshare.php?ownerid={$data['uid_fk']}"); |
|
446 | $wm['sharelinkurl'] .= '&updid=' . $data['msg_id'] . ''; |
|
447 | $wm['usernameTitle'] = $wm['username'] . _SMALLWORLD_UPDATEONSITEMETA . $GLOBALS['xoopsConfig']['sitename']; |
|
448 | if (1 == $USW['posts'] || $profile >= Constants::PROFILE_HAS_BOTH) { |
|
449 | $wm['sharelink'] = $this->getSharing($wm['msg_id'], $wm['priv']); |
|
450 | } else { |
|
451 | $wm['sharelink'] = $this->getSharing($wm['msg_id'], 1); |
|
452 | } |
|
453 | ||
454 | if (1 == $USW['posts'] || $profile >= Constants::PROFILE_HAS_BOTH) { |
|
455 | $wm['sharediv'] = $this->getSharingDiv($wm['msg_id'], $wm['priv'], $wm['sharelinkurl'], $wm['orimessage'], $wm['usernameTitle']); |
@@ 507-511 (lines=5) @@ | ||
504 | $wm['sharelinkurl'] = $helper->url("smallworldshare.php?ownerid={$data['uid_fk']}"); |
|
505 | $wm['sharelinkurl'] .= '&updid=' . $data['msg_id'] . ''; |
|
506 | $wm['usernameTitle'] = $wm['username'] . _SMALLWORLD_UPDATEONSITEMETA . $GLOBALS['xoopsConfig']['sitename']; |
|
507 | if (1 == $USW['posts'] || $profile >= Constants::PROFILE_HAS_BOTH) { |
|
508 | $wm['sharelink'] = $this->getSharing($wm['msg_id'], $wm['priv']); |
|
509 | } else { |
|
510 | $wm['sharelink'] = $this->getSharing($wm['msg_id'], 1); |
|
511 | } |
|
512 | ||
513 | if (1 == $USW['posts'] || $profile >= Constants::PROFILE_HAS_BOTH) { |
|
514 | $wm['sharediv'] = $this->getSharingDiv($wm['msg_id'], $wm['priv'], $wm['sharelinkurl'], $wm['orimessage'], $wm['usernameTitle']); |