class/PublicWallUpdates.php 1 location
|
@@ 355-364 (lines=10) @@
|
| 352 |
|
* @param int $priv |
| 353 |
|
* @return string |
| 354 |
|
*/ |
| 355 |
|
public function getSharing($id, $priv) |
| 356 |
|
{ |
| 357 |
|
$text = ''; |
| 358 |
|
if (1 !== $priv) { |
| 359 |
|
$text = " | <span class='smallworld_share' id='smallworld_share'>"; |
| 360 |
|
$text .= "<a class='share' id='share-page" . $id . "' href='javascript:void(0);'>" . _SMALLWORLD_SHARELINK . '</a></span>'; |
| 361 |
|
} |
| 362 |
|
|
| 363 |
|
return $text; |
| 364 |
|
} |
| 365 |
|
|
| 366 |
|
/** |
| 367 |
|
* @Get content for sharing div |
class/WallUpdates.php 1 location
|
@@ 416-425 (lines=10) @@
|
| 413 |
|
* @param int $priv |
| 414 |
|
* @return string |
| 415 |
|
*/ |
| 416 |
|
public function getSharing($id, $priv) |
| 417 |
|
{ |
| 418 |
|
$text = ''; |
| 419 |
|
if (1 !== $priv) { |
| 420 |
|
$text = " | <span class='smallworld_share' id='smallworld_share'>"; |
| 421 |
|
$text .= "<a class='share' id='share-page" . (int)$id . "' href='javascript:void(0);'>" . _SMALLWORLD_SHARELINK . '</a></span>'; |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
return $text; |
| 425 |
|
} |
| 426 |
|
|
| 427 |
|
/** |
| 428 |
|
* Get content for sharing - HTML div |