X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=altpager%2Faltpager.php;h=f185e4fea55f61be97991da6660730b28452241a;hb=c27ee8a3ace0f115e0045a91373ca64a37d07f6f;hp=f5ccbe4d025a79d9f280afe881cb6aed9daa4412;hpb=9a71985027669f4450fc25eaec5db2fd0f2b0e29;p=friendica-addons.git diff --git a/altpager/altpager.php b/altpager/altpager.php index f5ccbe4d..f185e4fe 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 = file_get_contents( $a->get_baseurl() . "/addon/altpager/admin.tpl" ); + $t = get_markup_template( "admin.tpl", "addon/altpager/" ); $o = replace_macros($t, array( - '$submit' => t('Submit'), + '$submit' => t('Save Settings'), '$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) )); @@ -106,3 +106,4 @@ function altpager_plugin_admin_post(&$a){ set_config('alt_pager','global',($choice == 1 ? 1 : 0)); info( t('Settings updated.'). EOL ); } +