$def_checked = (($def_enabled) ? ' checked="checked" ' : '');
$s .= '<span id="settings_appnetpost_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_appnetpost_expanded\'); openClose(\'settings_appnetpost_inflated\');">';
- $s .= '<h3>' . t('App.net Post Settings') . '</h3>';
+ $s .= '<h3>' . t('App.net') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_appnetpost_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_appnetpost_expanded\'); openClose(\'settings_appnetpost_inflated\');">';
- $s .= '<h3>' . t('App.net Post Settings') . '</h3>';
+ $s .= '<h3>' . t('App.net') . '</h3>';
$s .= '</span>';
$s .= '<div id="appnetpost-enable-wrapper">';
$words = '';
$s .= '<span id="settings_blockem_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_blockem_expanded\'); openClose(\'settings_blockem_inflated\');">';
- $s .= '<h3>' . t('"Blockem" Settings') . '</h3>';
+ $s .= '<h3>' . t('"Blockem"') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_blockem_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_blockem_expanded\'); openClose(\'settings_blockem_inflated\');">';
- $s .= '<h3>' . t('"Blockem" Settings') . '</h3>';
+ $s .= '<h3>' . t('"Blockem"') . '</h3>';
$s .= '</span>';
$s .= '<div id="blockem-wrapper">';
/* Add some HTML to the existing form */
$s .= '<span id="settings_blogger_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_blogger_expanded\'); openClose(\'settings_blogger_inflated\');">';
- $s .= '<h3>' . t('Blogger Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Blogger') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_blogger_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_blogger_expanded\'); openClose(\'settings_blogger_inflated\');">';
- $s .= '<h3>' . t('Blogger Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Blogger') . '</h3>';
$s .= '</span>';
$s .= '<div id="blogger-enable-wrapper">';
/* Add some HTML to the existing form */
$s .= '<div class="settings-block">';
- $s .= '<h3>' . t('Current Weather Settings') . '</h3>';
+ $s .= '<h3>' . t('Current Weather') . '</h3>';
$s .= '<div id="curweather-settings-wrapper">';
$s .= '<p>Find the location code for the airport/weather station nearest you <a href="http://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code" target="_blank">here</a>.</p>';
$s .= '<label id="curweather-location-label" for="curweather_loc">' . t('Weather Location: ') . '</label>';
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'
. $a->get_baseurl() . '/addon/fbpost/fbpost.css' . '" media="all" />' . "\r\n";
- $o .= '<h3>' . t('Facebook Post') . '</h3>';
+ $o .= '<h3>' . t('Facebook') . '</h3>';
if(! $fb_installed) {
$o .= '<div id="fbpost-enable-wrapper">';
function fbpost_plugin_settings(&$a,&$b) {
$b .= '<div class="settings-block">';
- //$b .= '<h3>' . t('Facebook Post Settings') . '</h3>';
- $b .= '<a href="fbpost"><h3>' . t('Facebook Post Settings') . '</a></h3>';
+ $b .= '<a href="fbpost"><h3>' . t('Facebook') . '</a></h3>';
$b .= '</div>';
}
/* 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 Settings') . '</h3>';
+ $s .= '<h3>' . 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 Settings') . '</h3>';
+ $s .= '<h3>' . t('Facebook Import') . '</h3>';
$s .= '</span>';
$s .= '<div id="fbsync-enable-wrapper">';
/* Add some HTML to the existing form */
$s .= '<span id="settings_forumlist_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_forumlist_expanded\'); openClose(\'settings_forumlist_inflated\');">';
- $s .= '<h3>' . t('Forumlist Settings') . '</h3>';
+ $s .= '<h3>' . t('Forumlist') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_forumlist_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_forumlist_expanded\'); openClose(\'settings_forumlist_inflated\');">';
- $s .= '<h3>' . t('Forumlist Settings') . '</h3>';
+ $s .= '<h3>' . t('Forumlist') . '</h3>';
$s .= '</span>';
$s .= '<div id="forumlist-settings-wrapper">';
$account = get_pconfig(local_user(),'fromgplus','account');
$s .= '<span id="settings_fromgplus_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_fromgplus_expanded\'); openClose(\'settings_fromgplus_inflated\');">';
- $s .= '<h3>' . t('Google+ Import Settings').'</h3>';
+ $s .= '<h3>' . t('Google+ Mirroring').'</h3>';
$s .= '</span>';
$s .= '<div id="settings_fromgplus_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_fromgplus_expanded\'); openClose(\'settings_fromgplus_inflated\');">';
- $s .= '<h3>' . t('Google+ Import Settings').'</h3>';
+ $s .= '<h3>' . t('Google+ Mirroring').'</h3>';
$s .= '</span>';
$s .= '<div id="fromgplus-wrapper">';
$skip_checked = (($skip_enabled) ? ' checked="checked" ' : '');
$s .= '<span id="settings_gpluspost_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_gpluspost_expanded\'); openClose(\'settings_gpluspost_inflated\');">';
- $s .= '<h3>' . t('Google+ Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Google+') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_gpluspost_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_gpluspost_expanded\'); openClose(\'settings_gpluspost_inflated\');">';
- $s .= '<h3>' . t('Google+ Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Google+') . '</h3>';
$s .= '</span>';
$s .= '<div id="gpluspost-enable-wrapper">';
}
$s .= '<span id="settings_jappixmini_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_jappixmini_expanded\'); openClose(\'settings_jappixmini_inflated\');">';
- $s .= '<h3>'.t('Jappix Mini addon settings').'</h3>';
+ $s .= '<h3>'.t('Jappix Mini').'</h3>';
$s .= '</span>';
$s .= '<div id="settings_jappixmini_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_jappixmini_expanded\'); openClose(\'settings_jappixmini_inflated\');">';
- $s .= '<h3>'.t('Jappix Mini addon settings').'</h3>';
+ $s .= '<h3>'.t('Jappix Mini').'</h3>';
$s .= '</span>';
$s .= '<label for="jappixmini-activate">'.t('Activate addon').'</label>';
/* Add some HTML to the existing form */
$s .= '<span id="settings_libertree_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_libertree_expanded\'); openClose(\'settings_libertree_inflated\');">';
- $s .= '<h3>' . t('libertree Post Settings') . '</h3>';
+ $s .= '<h3>' . t('libertree') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_libertree_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_libertree_expanded\'); openClose(\'settings_libertree_inflated\');">';
- $s .= '<h3>' . t('libertree Post Settings') . '</h3>';
+ $s .= '<h3>' . t('libertree') . '</h3>';
$s .= '</span>';
$s .= '<div id="libertree-enable-wrapper">';
$words = 'nsfw,';
$s .= '<span id="settings_nsfw_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
- $s .= '<h3>' . t('Not Safe For Work (General Purpose Content Filter) settings') . '</h3>';
+ $s .= '<h3>' . t('Not Safe For Work (General Purpose Content Filter)') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_nsfw_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_nsfw_expanded\'); openClose(\'settings_nsfw_inflated\');">';
- $s .= '<h3>' . t('Not Safe For Work (General Purpose Content Filter) settings') . '</h3>';
+ $s .= '<h3>' . t('Not Safe For Work (General Purpose Content Filter)') . '</h3>';
$s .= '</span>';
$s .= '<div id="nsfw-wrapper">';
/* Add some HTML to the existing form */
$s .= '<span id="settings_pumpio_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_pumpio_expanded\'); openClose(\'settings_pumpio_inflated\');">';
- $s .= '<h3>' . t('Pump.io Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Pump.io') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_pumpio_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_pumpio_expanded\'); openClose(\'settings_pumpio_inflated\');">';
- $s .= '<h3>' . t('Pump.io Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Pump.io') . '</h3>';
$s .= '</span>';
$s .= '<div id="pumpio-username-wrapper">';
/* Add some HTML to the existing form */
$s .= '<span id="settings_snautofollow_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_snautofollow_expanded\'); openClose(\'settings_snautofollow_inflated\');">';
- $s .= '<h3>' . t('StatusNet AutoFollow Settings') . '</h3>';
+ $s .= '<h3>' . t('StatusNet AutoFollow') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_snautofollow_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_snautofollow_expanded\'); openClose(\'settings_snautofollow_inflated\');">';
- $s .= '<h3>' . t('StatusNet AutoFollow Settings') . '</h3>';
+ $s .= '<h3>' . t('StatusNet AutoFollow') . '</h3>';
$s .= '</span>';
$s .= '<div id="snautofollow-wrapper">';
/* Add some HTML to the existing form */
- $s .= '<div class="settings-block">';
- $s .= '<h3>' . t('Startpage Settings') . '</h3>';
+ $s .= '<span id="settings_startpage_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_startpage_expanded\'); openClose(\'settings_startpage_inflated\');">';
+ $s .= '<h3>' . t('Startpage') . '</h3>';
+ $s .= '</span>';
+ $s .= '<div id="settings_startpage_expanded" class="settings-block" style="display: none;">';
+ $s .= '<span class="fakelink" onclick="openClose(\'settings_startpage_expanded\'); openClose(\'settings_startpage_inflated\');">';
+ $s .= '<h3>' . t('Startpage') . '</h3>';
+ $s .= '</span>';
$s .= '<div id="startpage-page-wrapper">';
$s .= '<label id="startpage-page-label" for="startpage-page">' . t('Home page to load after login - leave blank for profile wall') . '</label>';
$s .= '<input id="startpage-page" type="text" name="startpage" value="' . $page . '" />';
return;
// don't check statusnet settings if statusnet submit button is not clicked
if (!x($_POST,'statusnet-submit')) return;
-
+
if (isset($_POST['statusnet-disconnect'])) {
/***
* if the statusnet-disconnect checkbox is set, clear the statusnet configuration
$shorteningchecked = (($shorteningenabled) ? ' checked="checked" ' : '');
$s .= '<span id="settings_statusnet_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_statusnet_expanded\'); openClose(\'settings_statusnet_inflated\');">';
- $s .= '<h3>'. t('StatusNet Posting Settings').'</h3>';
+ $s .= '<h3>'. t('StatusNet').'</h3>';
$s .= '</span>';
$s .= '<div id="settings_statusnet_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_statusnet_expanded\'); openClose(\'settings_statusnet_inflated\');">';
- $s .= '<h3>'. t('StatusNet Posting Settings').'</h3>';
+ $s .= '<h3>'. t('StatusNet').'</h3>';
$s .= '</span>';
if ( (!$ckey) && (!$csecret) ) {
/* Add some HTML to the existing form */
$s .= '<span id="settings_tumblr_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_tumblr_expanded\'); openClose(\'settings_tumblr_inflated\');">';
- $s .= '<h3>' . t('Tumblr Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Tumblr') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_tumblr_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_tumblr_expanded\'); openClose(\'settings_tumblr_inflated\');">';
- $s .= '<h3>' . t('Tumblr Post Settings') . '</h3>';
+ $s .= '<h3>' . t('Tumblr') . '</h3>';
$s .= '</span>';
$s .= '<div id="tumblr-username-wrapper">';
$create_userchecked = (($create_userenabled) ? ' checked="checked" ' : '');
$s .= '<span id="settings_twitter_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
- $s .= '<h3>'. t('Twitter Settings') .'</h3>';
+ $s .= '<h3>'. t('Twitter') .'</h3>';
$s .= '</span>';
$s .= '<div id="settings_twitter_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
- $s .= '<h3>'. t('Twitter Settings') .'</h3>';
+ $s .= '<h3>'. t('Twitter') .'</h3>';
$s .= '</span>';
if ( (!$ckey) && (!$csecret) ) {
/* Add some HTML to the existing form */
$s .= '<span id="settings_wppost_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_wppost_expanded\'); openClose(\'settings_wppost_inflated\');">';
- $s .= '<h3>' . t('WordPress Post Settings') . '</h3>';
+ $s .= '<h3>' . t('WordPress') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_wppost_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_wppost_expanded\'); openClose(\'settings_wppost_inflated\');">';
- $s .= '<h3>' . t('WordPress Post Settings') . '</h3>';
+ $s .= '<h3>' . t('WordPress') . '</h3>';
$s .= '</span>';
$s .= '<div id="wppost-enable-wrapper">';
$s .= '<label id="wppost-enable-label" for="wppost-checkbox">' . t('Enable WordPress Post Plugin') . '</label>';
$yourls_ssl = get_config('yourls', 'ssl1');
$s .= '<span id="settings_yourls_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_yourls_expanded\'); openClose(\'settings_yourls_inflated\');">';
- $s .= '<h3>' . t('YourLS Settings') . '</h3>';
+ $s .= '<h3>' . t('YourLS') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_yourls_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_yourls_expanded\'); openClose(\'settings_yourls_inflated\');">';
- $s .= '<h3>' . t('YourLS Settings') . '</h3>';
+ $s .= '<h3>' . t('YourLS') . '</h3>';
$s .= '</span>';
$s .= '<div id="yourls-url-wrapper">';