diff --git a/altpager/altpager.php b/altpager/altpager.php index f185e4fe..c6f537bd 100755 --- a/altpager/altpager.php +++ b/altpager/altpager.php @@ -88,14 +88,14 @@ function altpager_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } function altpager_plugin_admin(&$a, &$o){ $t = get_markup_template( "admin.tpl", "addon/altpager/" ); $o = replace_macros($t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$global' => array('altpagerchoice', t('Global'), 1, t('Force global use of the alternate pager'), get_config('alt_pager', 'global') == 1), '$individual' => array('altpagerchoice', t('Individual'), 2, t('Each user chooses whether to use the alternate pager'), get_config('alt_pager', 'global') == 0) )); diff --git a/appnetpost/appnetpost.php b/appnetpost/appnetpost.php index c1b1f175..d3f6c19a 100644 --- a/appnetpost/appnetpost.php +++ b/appnetpost/appnetpost.php @@ -52,8 +52,14 @@ function appnetpost_settings(&$a,&$s) { $def_enabled = get_pconfig(local_user(),'appnetpost','post_by_default'); $def_checked = (($def_enabled) ? ' checked="checked" ' : ''); - $s .= '
'; + $s .= ''; $s .= '

' . t('App.net Post Settings') . '

'; + $s .= '
'; + $s .= ''; + $s .= '
'; } diff --git a/defaultfeatures/defaultfeatures.php b/defaultfeatures/defaultfeatures.php index dfe4a067..fbed22ee 100755 --- a/defaultfeatures/defaultfeatures.php +++ b/defaultfeatures/defaultfeatures.php @@ -52,7 +52,7 @@ function defaultfeatures_plugin_admin (&$a, &$o) { //logger("Features: " . print_r($arr,true)); $o = replace_macros($t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$features' => $arr, '$form_security_token' => $token )); diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index 0c2e699a..2391b571 100644 --- a/dwpost/dwpost.php +++ b/dwpost/dwpost.php @@ -90,7 +90,7 @@ function dwpost_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/editplain/editplain.php b/editplain/editplain.php index caa0f29d..966e2d8f 100755 --- a/editplain/editplain.php +++ b/editplain/editplain.php @@ -81,6 +81,6 @@ function editplain_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/facebook/facebook.php b/facebook/facebook.php index ff9b52ea..4c1c0a14 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -618,7 +618,7 @@ function facebook_content(&$a) { $o .= '
'; $o .= '
'; - $o .= ''; + $o .= ''; } return $o; diff --git a/fbpost/fbpost.php b/fbpost/fbpost.php index 419055ac..cba2a028 100644 --- a/fbpost/fbpost.php +++ b/fbpost/fbpost.php @@ -279,7 +279,7 @@ function fbpost_content(&$a) { $o .= ""; - $o .= '

'; + $o .= '

'; } @@ -808,10 +808,10 @@ function fbpost_post_hook(&$a,&$b) { */ function fbpost_enotify(&$app, &$data) { if (x($data, 'params') && $data['params']['type'] == NOTIFY_SYSTEM && x($data['params'], 'system_type') && $data['params']['system_type'] == 'facebook_connection_invalid') { - $data['itemlink'] = '/facebook'; + $data['itemlink'] = '/fbpost'; $data['epreamble'] = $data['preamble'] = t('Your Facebook connection became invalid. Please Re-authenticate.'); $data['subject'] = t('Facebook connection became invalid'); - $data['body'] = sprintf( t("Hi %1\$s,\n\nThe connection between your accounts on %2\$s and Facebook became invalid. This usually happens after you change your Facebook-password. To enable the connection again, you have to %3\$sre-authenticate the Facebook-connector%4\$s."), $data['params']['to_name'], "[url=" . $app->config["system"]["url"] . "]" . $app->config["sitename"] . "[/url]", "[url=" . $app->config["system"]["url"] . "/facebook]", "[/url]"); + $data['body'] = sprintf( t("Hi %1\$s,\n\nThe connection between your accounts on %2\$s and Facebook became invalid. This usually happens after you change your Facebook-password. To enable the connection again, you have to %3\$sre-authenticate the Facebook-connector%4\$s."), $data['params']['to_name'], "[url=" . $app->config["system"]["url"] . "]" . $app->config["sitename"] . "[/url]", "[url=" . $app->config["system"]["url"] . "/fbpost]", "[/url]"); } } diff --git a/fbsync/fbsync.php b/fbsync/fbsync.php index d8b1c0c7..1b2fec0a 100644 --- a/fbsync/fbsync.php +++ b/fbsync/fbsync.php @@ -119,8 +119,13 @@ function fbsync_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '

'; + $s .= ''; $s .= '

' . t('Facebook Import Settings') . '

'; + $s .= '
'; + $s .= ''; } diff --git a/forumlist/forumlist.php b/forumlist/forumlist.php index 3e6648f9..18a59c52 100644 --- a/forumlist/forumlist.php +++ b/forumlist/forumlist.php @@ -154,12 +154,17 @@ function forumlist_plugin_settings(&$a,&$s) { $network = intval(get_pconfig(local_user(),'forumlist','show_on_network')); $network_checked = (($network) ? ' checked="checked" ' : ''); - - - /* Add some HTML to the existing form */ - $s .= '
'; + + /* Add some HTML to the existing form */ + $s .= ''; $s .= '

' . t('Forumlist Settings') . '

'; + $s .= '
'; + $s .= ''; } diff --git a/fromapp/fromapp.php b/fromapp/fromapp.php index 7a920dd3..9a9fa12b 100644 --- a/fromapp/fromapp.php +++ b/fromapp/fromapp.php @@ -74,7 +74,7 @@ function fromapp_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } @@ -98,4 +98,4 @@ function fromapp_post_hook(&$a,&$item) { $item['app'] = trim($apps[mt_rand(0,count($apps)-1)]); return; -} +} \ No newline at end of file diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index 97213d38..6817ab22 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -33,8 +33,14 @@ function fromgplus_addon_settings(&$a,&$s) { $enable_checked = (intval(get_pconfig(local_user(),'fromgplus','enable')) ? ' checked="checked"' : ''); $account = get_pconfig(local_user(),'fromgplus','account'); - $s .= '
'; + $s .= ''; $s .= '

' . t('Google+ Import Settings').'

'; + $s .= '
'; + $s .= ''; $s .= '
'; return; diff --git a/geonames/geonames.php b/geonames/geonames.php index c10653a7..19725bef 100755 --- a/geonames/geonames.php +++ b/geonames/geonames.php @@ -184,6 +184,6 @@ function geonames_plugin_admin(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/gnot/gnot.php b/gnot/gnot.php index fcdc7319..fd8fdfd9 100755 --- a/gnot/gnot.php +++ b/gnot/gnot.php @@ -85,7 +85,7 @@ function gnot_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/gpluspost/gpluspost.php b/gpluspost/gpluspost.php index 802ccb5b..4cbd0dce 100644 --- a/gpluspost/gpluspost.php +++ b/gpluspost/gpluspost.php @@ -58,8 +58,14 @@ function gpluspost_settings(&$a,&$s) { $skip_enabled = get_pconfig(local_user(),'gpluspost','skip_without_link'); $skip_checked = (($skip_enabled) ? ' checked="checked" ' : ''); - $s .= '
'; + $s .= ''; $s .= '

' . t('Google+ Post Settings') . '

'; + $s .= '
'; + $s .= ''; + $s .= '
'; } diff --git a/ijpost/ijpost.php b/ijpost/ijpost.php index 9d7732f1..d6861f46 100644 --- a/ijpost/ijpost.php +++ b/ijpost/ijpost.php @@ -90,7 +90,7 @@ function ijpost_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/impressum/impressum.php b/impressum/impressum.php index dcd6acff..6714dfc1 100755 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -88,7 +88,7 @@ function impressum_plugin_admin_post (&$a) { function impressum_plugin_admin (&$a, &$o) { $t = get_markup_template( "admin.tpl", "addon/impressum/" ); $o = replace_macros($t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$owner' => array('owner', t('Site Owner'), get_config('impressum','owner'), t('The page operators name.')), '$ownerprofile' => array('ownerprofile', t('Site Owners Profile'), get_config('impressum','ownerprofile'), t('Profile address of the operator.')), '$postal' => array('postal', t('Postal Address'), get_config('impressum','postal'), t('How to contact the operator via snail mail. You can use BBCode here.')), diff --git a/irc/irc.php b/irc/irc.php index ef9c3fda..bd7444a9 100644 --- a/irc/irc.php +++ b/irc/irc.php @@ -52,7 +52,7 @@ function irc_addon_settings(&$a,&$s) { $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; return; diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php index 7b8b8596..e7b81183 100644 --- a/jappixmini/jappixmini.php +++ b/jappixmini/jappixmini.php @@ -294,10 +294,14 @@ function jappixmini_settings(&$a, &$s) { $a->page['htmlhead'] .= ''."\r\n"; } - $s .= '
'; - + $s .= ''; $s .= '

'.t('Jappix Mini addon settings').'

'; - $s .= '
'; + $s .= ''; + $s .= ''; diff --git a/libertree/libertree.php b/libertree/libertree.php index 3029c60a..2783c6be 100755 --- a/libertree/libertree.php +++ b/libertree/libertree.php @@ -63,8 +63,14 @@ function libertree_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '
'; + $s .= ''; $s .= '

' . t('libertree Post Settings') . '

'; + $s .= '
'; + $s .= ''; } diff --git a/libravatar/libravatar.php b/libravatar/libravatar.php index d958dba4..8cbf1e98 100644 --- a/libravatar/libravatar.php +++ b/libravatar/libravatar.php @@ -96,7 +96,7 @@ function libravatar_plugin_admin (&$a, &$o) { // output Libravatar settings $o .= ''; $o .= replace_macros( $t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$default_avatar' => array('avatar', t('Default avatar image'), $default_avatar, t('Select default avatar image if none was found. See README'), $default_avatars), )); } diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index c8690c26..dc17e83f 100755 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -90,7 +90,7 @@ function ljpost_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/mailstream/mailstream.php b/mailstream/mailstream.php index 5e476784..04760385 100644 --- a/mailstream/mailstream.php +++ b/mailstream/mailstream.php @@ -57,7 +57,7 @@ function mailstream_plugin_admin(&$a,&$o) { t('Email address that stream items will appear to be from.')); $o .= replace_macros($template, array( '$frommail' => $config, - '$submit' => t('Save Settings'))); + '$submit' => t('Submit'))); } function mailstream_plugin_admin_post ($a) { @@ -279,7 +279,7 @@ function mailstream_plugin_settings(&$a,&$s) { t('Enabled'), $enabled), '$title' => t('Mail Stream Settings'), - '$submit' => t('Save Settings'))); + '$submit' => t('Submit'))); } function mailstream_plugin_settings_post($a,$post) { diff --git a/mathjax/mathjax.php b/mathjax/mathjax.php index 045f4c6a..d97e9649 100644 --- a/mathjax/mathjax.php +++ b/mathjax/mathjax.php @@ -39,7 +39,7 @@ function mathjax_settings (&$a, &$s) { $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; $s .= '
'; } /* we need to add one JavaScript include command to the html output @@ -72,7 +72,7 @@ function mathjax_plugin_admin (&$a, &$o) { } $o = replace_macros( $t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$baseurl' => array('baseurl', t('MathJax Base URL'), get_config('mathjax','baseurl' ), t('The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax.')), )); } diff --git a/notimeline/notimeline.php b/notimeline/notimeline.php index c2bca211..7e26bf92 100644 --- a/notimeline/notimeline.php +++ b/notimeline/notimeline.php @@ -61,6 +61,6 @@ function notimeline_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/nsfw/nsfw.php b/nsfw/nsfw.php index 5e7d4e9f..7e233cc1 100755 --- a/nsfw/nsfw.php +++ b/nsfw/nsfw.php @@ -74,8 +74,14 @@ function nsfw_addon_settings(&$a,&$s) { if(! $words) $words = 'nsfw,'; - $s .= '
'; + $s .= ''; $s .= '

' . t('Not Safe For Work (General Purpose Content Filter) settings') . '

'; + $s .= '
'; + $s .= ''; return; diff --git a/numfriends/numfriends.php b/numfriends/numfriends.php index 2f48a0d7..6ca7b395 100755 --- a/numfriends/numfriends.php +++ b/numfriends/numfriends.php @@ -82,6 +82,6 @@ function numfriends_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/openstreetmap/openstreetmap.php b/openstreetmap/openstreetmap.php index ccb177ab..2c5975eb 100755 --- a/openstreetmap/openstreetmap.php +++ b/openstreetmap/openstreetmap.php @@ -91,7 +91,7 @@ function openstreetmap_plugin_admin (&$a, &$o) { $zoom = 17; $o = replace_macros( $t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$tmsserver' => array('tmsserver', t('Tile Server URL'), $tmsserver, t('A list of public tile servers')), '$zoom' => array('zoom', t('Default zoom'), $zoom, t('The default zoom level. (1:world, 18:highest)')), )); diff --git a/page/page.php b/page/page.php index 86607e81..21a83e16 100755 --- a/page/page.php +++ b/page/page.php @@ -208,7 +208,7 @@ function page_plugin_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/pageheader/pageheader.php b/pageheader/pageheader.php index 947926cd..cf92204a 100755 --- a/pageheader/pageheader.php +++ b/pageheader/pageheader.php @@ -52,7 +52,7 @@ function pageheader_addon_settings(&$a,&$s) { $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; return; diff --git a/piwik/piwik.php b/piwik/piwik.php index 21bc7af2..a2086bdc 100755 --- a/piwik/piwik.php +++ b/piwik/piwik.php @@ -84,7 +84,7 @@ function piwik_analytics($a,&$b) { function piwik_plugin_admin (&$a, &$o) { $t = get_markup_template( "admin.tpl", "addon/piwik/" ); $o = replace_macros( $t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$baseurl' => array('baseurl', t('Piwik Base URL'), get_config('piwik','baseurl' ), t('Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)')), '$siteid' => array('siteid', t('Site ID'), get_config('piwik','siteid' ), ''), '$optout' => array('optout', t('Show opt-out cookie link?'), get_config('piwik','optout' ), ''), diff --git a/planets/planets.php b/planets/planets.php index 72698cb9..0df91d7c 100755 --- a/planets/planets.php +++ b/planets/planets.php @@ -155,6 +155,6 @@ function planets_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/posterous/posterous.php b/posterous/posterous.php index af8e72b9..7ff95948 100755 --- a/posterous/posterous.php +++ b/posterous/posterous.php @@ -100,7 +100,7 @@ function posterous_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 9b7f80ed..830be6a1 100755 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -218,8 +218,13 @@ function pumpio_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '
'; + $s .= ''; $s .= '

' . t('Pump.io Post Settings') . '

'; + $s .= '
'; + $s .= ''; } @@ -712,8 +717,13 @@ function pumpio_fetchtimeline(&$a, $uid) { $_REQUEST["body"] = html2bbcode($post->object->content); - if ($post->object->fullImage->url != "") - $_REQUEST["body"] = "[url=".$post->object->fullImage->url."][img]".$post->object->image->url."[/img][/url]\n".$_REQUEST["body"]; + // To-Do: Picture has to be cached and stored locally + if ($post->object->fullImage->url != "") { + if ($post->object->fullImage->pump_io->proxyURL != "") + $_REQUEST["body"] = "[url=".$post->object->fullImage->pump_io->proxyURL."][img]".$post->object->image->pump_io->proxyURL."[/img][/url]\n".$_REQUEST["body"]; + else + $_REQUEST["body"] = "[url=".$post->object->fullImage->url."][img]".$post->object->image->url."[/img][/url]\n".$_REQUEST["body"]; + } logger('pumpio: posting for user '.$uid); diff --git a/qcomment/qcomment.php b/qcomment/qcomment.php index 2c98cba7..6b372579 100755 --- a/qcomment/qcomment.php +++ b/qcomment/qcomment.php @@ -58,7 +58,7 @@ function qcomment_addon_settings(&$a,&$s) { $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; $s .= ''; return; diff --git a/randplace/randplace.php b/randplace/randplace.php index 27589b1c..b70c02d9 100755 --- a/randplace/randplace.php +++ b/randplace/randplace.php @@ -174,6 +174,6 @@ function randplace_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/remote_permissions/remote_permissions.php b/remote_permissions/remote_permissions.php index 5cba005a..8955130f 100644 --- a/remote_permissions/remote_permissions.php +++ b/remote_permissions/remote_permissions.php @@ -45,7 +45,7 @@ function remote_permissions_settings(&$a,&$o) { '$remote_perms_title' => t('Remote Permissions Settings'), '$remote_perms_label' => t('Allow recipients of your private posts to see the other recipients of the posts'), '$checked' => (($remote_perms == 1) ? 'checked="checked"' : ''), - '$submit' => t('Save Settings') + '$submit' => t('Submit') )); } @@ -193,7 +193,7 @@ function remote_permissions_content($a, $item_copy) { function remote_permissions_plugin_admin(&$a, &$o){ $t = get_markup_template( "admin.tpl", "addon/remote_permissions/" ); $o = replace_macros($t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$global' => array('remotepermschoice', t('Global'), 1, t('The posts of every user on this server show the post recipients'), get_config('remote_perms', 'global') == 1), '$individual' => array('remotepermschoice', t('Individual'), 2, t('Each user chooses whether his/her posts show the post recipients'), get_config('remote_perms', 'global') == 0) )); diff --git a/retriever/retriever.php b/retriever/retriever.php index 04834018..1090c8b5 100644 --- a/retriever/retriever.php +++ b/retriever/retriever.php @@ -674,7 +674,7 @@ function retriever_content($a) { t('Reapply the rules to this number of posts')), '$title' => t('Retrieve Feed Content'), '$help' => $a->get_baseurl() . '/retriever/help', - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$id' => ($retriever["id"] ? $retriever["id"] : "create"), '$tag_t' => t('Tag'), '$attribute_t' => t('Attribute'), @@ -718,7 +718,7 @@ function retriever_plugin_settings(&$a,&$s) { $all_photos_mu = ($all_photos == 'on') ? ' checked="true"' : ''; $template = get_markup_template('/settings.tpl', 'addon/retriever/'); $s .= replace_macros($template, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$title' => t('Retriever Settings'), '$help' => $a->get_baseurl() . '/retriever/help', '$all_photos' => $all_photos_mu, diff --git a/showmore/showmore.php b/showmore/showmore.php index 60932ed3..bd9a8992 100755 --- a/showmore/showmore.php +++ b/showmore/showmore.php @@ -34,8 +34,14 @@ function showmore_addon_settings(&$a,&$s) { if(!$chars) $chars = '1100'; - $s .= '
'; + $s .= ''; $s .= '

' . t('"Show more" Settings').'

'; + $s .= '
'; + $s .= ''; diff --git a/smileybutton/smileybutton.php b/smileybutton/smileybutton.php index d53794b9..87db098b 100755 --- a/smileybutton/smileybutton.php +++ b/smileybutton/smileybutton.php @@ -278,6 +278,6 @@ function smileybutton_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/snautofollow/snautofollow.php b/snautofollow/snautofollow.php index 4555ab1c..6694c38f 100644 --- a/snautofollow/snautofollow.php +++ b/snautofollow/snautofollow.php @@ -49,11 +49,17 @@ function snautofollow_settings(&$a,&$s) { $snautofollow_checked = (($snautofollow) ? ' checked="checked" ' : ''); - + /* Add some HTML to the existing form */ - $s .= '
'; + $s .= ''; $s .= '

' . t('StatusNet AutoFollow Settings') . '

'; + $s .= '
'; + $s .= ''; } diff --git a/startpage/startpage.php b/startpage/startpage.php index 6a95310e..85988298 100644 --- a/startpage/startpage.php +++ b/startpage/startpage.php @@ -89,6 +89,6 @@ function startpage_settings(&$a,&$s) { /* provide a submit button */ - $s .= '
'; + $s .= '
'; } diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 4a6f440c..53b6433c 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -278,8 +278,13 @@ function statusnet_settings(&$a,&$s) { $shorteningenabled = get_pconfig(local_user(),'statusnet','intelligent_shortening'); $shorteningchecked = (($shorteningenabled) ? ' checked="checked" ' : ''); - $s .= '
'; + $s .= ''; $s .= '

'. t('StatusNet Posting Settings').'

'; + $s .= '
'; + $s .= ''; - $s .= '
'; + $s .= '
'; } $s .= '

' . t('Provide your own OAuth Credentials') . '

'; $s .= '

'. t('No consumer key pair for StatusNet found. Register your Friendica Account as an desktop client on your StatusNet account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited StatusNet installation.') .'

'; @@ -317,7 +322,7 @@ function statusnet_settings(&$a,&$s) { $s .= ''; $s .= '
'; $s .= '

'; - $s .= '
'; + $s .= '
'; $s .= '
'; } else { /*** @@ -344,14 +349,14 @@ function statusnet_settings(&$a,&$s) { $s .= ''; $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; $s .= '

'.t('Cancel Connection Process').'

'; $s .= '
'; $s .= '

'.t('Current StatusNet API is').': '.$api.'

'; $s .= ''; $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; } else { /*** * we have an OAuth key / secret pair for the user @@ -388,7 +393,7 @@ function statusnet_settings(&$a,&$s) { $s .= ''; $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; } } $s .= '
'; @@ -814,7 +819,7 @@ function statusnet_plugin_admin(&$a, &$o){ $t = get_markup_template( "admin.tpl", "addon/statusnet/" ); $o = replace_macros($t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$sites' => $sitesform, )); } diff --git a/superblock/superblock.php b/superblock/superblock.php index 1462c184..7363c139 100755 --- a/superblock/superblock.php +++ b/superblock/superblock.php @@ -55,7 +55,7 @@ function superblock_addon_settings(&$a,&$s) { $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; return; diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index b4db1055..19fe6995 100755 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -181,8 +181,13 @@ function tumblr_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '
'; + $s .= ''; $s .= '

' . t('Tumblr Post Settings') . '

'; + $s .= '
'; + $s .= ''; } diff --git a/twitter/twitter.php b/twitter/twitter.php index 42a373b8..e90f36df 100755 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -264,7 +264,7 @@ function twitter_settings(&$a,&$s) { $s .= ''; $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; } else { /*** * we have an OAuth key / secret pair for the user @@ -310,7 +310,7 @@ function twitter_settings(&$a,&$s) { $s .= ''; $s .= ''; $s .= '
'; - $s .= '
'; + $s .= '
'; } } $s .= '
'; @@ -863,7 +863,7 @@ function twitter_plugin_admin(&$a, &$o){ $t = get_markup_template( "admin.tpl", "addon/twitter/" ); $o = replace_macros($t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), // name, label, value, help, [extra values] '$consumerkey' => array('consumerkey', t('Consumer key'), get_config('twitter', 'consumerkey' ), ''), '$consumersecret' => array('consumersecret', t('Consumer secret'), get_config('twitter', 'consumersecret' ), ''), diff --git a/uhremotestorage/uhremotestorage.php b/uhremotestorage/uhremotestorage.php index 8dfecc74..85d6b13e 100755 --- a/uhremotestorage/uhremotestorage.php +++ b/uhremotestorage/uhremotestorage.php @@ -86,7 +86,7 @@ function uhremotestorage_settings($a, &$s){ '$auth' => array( 'unhoestedauth', t('OAuth end-point'), $auth, 'If your are using ownCloud, your OAuth endpoint will be like http://HOST/apps/remoteStorage/auth.php/USER'), '$api' => array( 'unhoestedapi', t('Api'), $api, 'If your are using ownCloud, your api will be WebDAV', $arr_api), - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), )); } diff --git a/webrtc/webrtc.php b/webrtc/webrtc.php index 8b3a243e..e0d33393 100644 --- a/webrtc/webrtc.php +++ b/webrtc/webrtc.php @@ -23,7 +23,7 @@ function webrtc_app_menu($a,&$b) { function webrtc_plugin_admin (&$a, &$o) { $t = get_markup_template( "admin.tpl", "addon/webrtc/" ); $o = replace_macros( $t, array( - '$submit' => t('Save Settings'), + '$submit' => t('Submit'), '$webrtcurl' => array('webrtcurl', t('WebRTC Base URL'), get_config('webrtc','webrtcurl' ), t('Page your users will create a WebRTC chat room on. For example you could use https://live.mayfirst.org .')), )); } diff --git a/wppost/wppost.php b/wppost/wppost.php index 18656879..05cf60d0 100755 --- a/wppost/wppost.php +++ b/wppost/wppost.php @@ -72,8 +72,13 @@ function wppost_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '
'; + $s .= ''; $s .= '

' . t('WordPress Post Settings') . '

'; + $s .= '
'; + $s .= ''; } diff --git a/yourls/yourls.php b/yourls/yourls.php index 06397cbb..d548504f 100755 --- a/yourls/yourls.php +++ b/yourls/yourls.php @@ -49,10 +49,16 @@ function yourls_addon_settings(&$a,&$s) { -$yourls_ssl = get_config('yourls', 'ssl1'); + $yourls_ssl = get_config('yourls', 'ssl1'); - $s .= '
'; + $s .= ''; $s .= '

' . t('YourLS Settings') . '

'; + $s .= '
'; + $s .= ''; + $s .= '
'; return;