| @@ 366-376 (lines=11) @@ | ||
| 363 | * @param string $username |
|
| 364 | * @return string |
|
| 365 | */ |
|
| 366 | public function GetSharingDiv($id, $priv, $permalink, $desc, $username) |
|
| 367 | { |
|
| 368 | if (1 != $priv) { |
|
| 369 | $text = "<div style='display: none;' class='smallworld_bookmarks' id='share-page' name='share-page" . $id . "'>"; |
|
| 370 | $text .= "<span name='share-page" . $id . "' rel1='" . $desc . "' rel2= '" . $username . "' rel=" . $permalink . " id='basicBookmark' title='" . _SMALLWORLD_SHAREBOX_TITLE . "'>"; |
|
| 371 | $text .= '</span></div>'; |
|
| 372 | } else { |
|
| 373 | $text = ''; |
|
| 374 | } |
|
| 375 | return $text; |
|
| 376 | } |
|
| 377 | ||
| 378 | /** |
|
| 379 | * @Parse update and comments array to template for public updates |
|
| @@ 430-440 (lines=11) @@ | ||
| 427 | * @param string $username |
|
| 428 | * @return string |
|
| 429 | */ |
|
| 430 | public function GetSharingDiv($id, $priv, $permalink, $desc, $username) |
|
| 431 | { |
|
| 432 | if (1 != $priv) { |
|
| 433 | $text = "<div style='display: none;' class='smallworld_bookmarks' id='share-page' name='share-page" . $id . "'>"; |
|
| 434 | $text .= "<span name='share-page" . $id . "' rel1='" . $desc . "' rel2= '" . $username . "' rel=" . $permalink . " id='basicBookmark' title='" . _SMALLWORLD_SHAREBOX_TITLE . "'>"; |
|
| 435 | $text .= '</span></div>'; |
|
| 436 | } else { |
|
| 437 | $text = ''; |
|
| 438 | } |
|
| 439 | return $text; |
|
| 440 | } |
|
| 441 | ||
| 442 | /** |
|
| 443 | * @Parse update and comments array to template for public updates |
|