mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Facebook: The settings of "fbsync" are shown inside of "fbpost" if activated.
This commit is contained in:
parent
7521977ab8
commit
71a42a1749
2 changed files with 39 additions and 6 deletions
|
@ -100,6 +100,9 @@ function fbsync_follow($a, &$contact) {
|
|||
|
||||
function fbsync_settings(&$a,&$s) {
|
||||
|
||||
// Settings are done inside the fbpost addon
|
||||
return;
|
||||
|
||||
if(! local_user())
|
||||
return;
|
||||
|
||||
|
@ -120,11 +123,11 @@ function fbsync_settings(&$a,&$s) {
|
|||
/* Add some HTML to the existing form */
|
||||
|
||||
$s .= '<span id="settings_fbsync_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_fbsync_expanded\'); openClose(\'settings_fbsync_inflated\');">';
|
||||
$s .= '<h3>' . t('Facebook Import') . '</h3>';
|
||||
$s .= '<img class="connector" src="images/facebook.png" /><h3 class="connector">'. t('Facebook Import').'</h3>';
|
||||
$s .= '</span>';
|
||||
$s .= '<div id="settings_fbsync_expanded" class="settings-block" style="display: none;">';
|
||||
$s .= '<span class="fakelink" onclick="openClose(\'settings_fbsync_expanded\'); openClose(\'settings_fbsync_inflated\');">';
|
||||
$s .= '<h3>' . t('Facebook Import') . '</h3>';
|
||||
$s .= '<img class="connector" src="images/facebook.png" /><h3 class="connector">'. t('Facebook Import').'</h3>';
|
||||
$s .= '</span>';
|
||||
|
||||
$s .= '<div id="fbsync-enable-wrapper">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue