1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Removed redundant PHP closing tags.

This commit is contained in:
Cameron 2020-08-10 15:49:44 -07:00
parent f655847997
commit e1593de8ee
264 changed files with 84 additions and 264 deletions

View File

@ -132,4 +132,3 @@ exit;
// For a more elaborate plugin - please see e107_plugins/gallery
?>

View File

@ -32,4 +32,3 @@ e107::getRender()->tablerender("_blank", $text);
?>

View File

@ -45,4 +45,3 @@ class _blank_frontpage // include plugin-folder in the name.
?>

View File

@ -23,4 +23,3 @@ if(USER_AREA) // prevents inclusion of JS/CSS/meta in the admin area.
?>

View File

@ -57,4 +57,3 @@ class _blank_menu_form extends e_form
}
?>

View File

@ -46,4 +46,3 @@ class _blank_notify extends notify
}
?>

View File

@ -67,4 +67,3 @@ class _blank_parse
?>

View File

@ -53,4 +53,3 @@ class _blank_related // include plugin-folder in the name.
?>

View File

@ -7,4 +7,3 @@ define("LAN_PLUGIN__BLANK_NAME", "Blank Plugin");
define("LAN_PLUGIN__BLANK_DIZ", "A Blank Plugin to help you get started in plugin development. More details can be added here.");
define("LAN_PLUGIN__BLANK_LINK", "Blank Link");
?>

View File

@ -580,4 +580,4 @@ function alt_auth_adminmenu()
show_admin_menu(LAN_ALT_29, ALT_AUTH_ACTION, $var);
}
?>

View File

@ -242,4 +242,3 @@ function alt_auth_conf_adminmenu()
}
?>

View File

@ -294,4 +294,4 @@ class alt_login
}
}
?>

View File

@ -195,4 +195,3 @@ class auth_login extends alt_auth_base
}
}
?>

View File

@ -132,4 +132,4 @@ function e107db_conf_adminmenu()
alt_auth_adminmenu();
}
?>

View File

@ -38,4 +38,3 @@ else
$ns -> tablerender('help',LAN_AUTHENTICATE_HELP.'<br /><br />'.(defined('SHOW_COPY_HELP') ? LAN_ALT_COPY_HELP : '').(defined('SHOW_CONVERSION_HELP') ? LAN_ALT_CONVERSION_HELP : '').LAN_ALT_VALIDATE_HELP);
}
?>

View File

@ -382,4 +382,3 @@ class ExtendedPasswordHandler extends UserHandler
}
?>

View File

@ -123,4 +123,3 @@ class auth_login extends alt_auth_base
}
}
?>

View File

@ -102,4 +102,4 @@ function importdb_conf_adminmenu()
alt_auth_adminmenu();
}
?>

View File

@ -21,4 +21,4 @@ define("LAN_AL_AUTH_02","Alt auth extended user classes changed");
define("LAN_AL_AUTH_03","Alt auth method settings changed");
?>

View File

@ -147,4 +147,4 @@ define('LAN_ALT_CONVERSION_HELP', 'For some fields, the drop-down box to the rig
<br />
<br />');
?>

View File

@ -36,4 +36,4 @@ define('LAN_AUTHENTICATE_HELP','This authentication method is to be used with a
original password is read from the local database, and validated against the storage format of the original system. If it verifies, its converted to the current E107-compatible format and
stored in the database.');
?>

View File

@ -44,4 +44,4 @@ define('LAN_AUTHENTICATE_HELP','This authentication method is to be used <i>only
original password is read from the local database, and validated against the storage format of the original system. If it verifies, its converted to the current E107-compatible format and
stored in the database. After a while you can usually disable the alt-auth plugin, since active users will all have their passwords stored in a compatible format.');
?>

View File

@ -41,4 +41,4 @@ define('SHOW_CONVERSION_HELP', TRUE);
define('LAN_AUTHENTICATE_HELP','This method can be used to authenticate against most LDAP servers, including Novell\'s eDirectory and Microsoft\'s Active Directory. It requires that PHP\'s LDAP extension is loaded. Refer to the wiki for further information.');
?>

View File

@ -46,4 +46,4 @@ define('SHOW_CONVERSION_HELP', TRUE);
define('LAN_AUTHENTICATE_HELP','This authentication method is used to validate against a non-E107 database. The password must be stored in one of the supported formats.');
?>

View File

@ -34,4 +34,4 @@ define('LAN_AUTHENTICATE_HELP','This authentication method is used with an exter
Note that the RADIUS server may only allow access from a specific range of IP addresses');
?>

View File

@ -306,4 +306,4 @@ class auth_login extends alt_auth_base
}
}
?>

View File

@ -155,4 +155,4 @@ function ldap_conf_adminmenu()
alt_auth_adminmenu();
}
?>

View File

@ -202,4 +202,4 @@ class auth_login extends alt_auth_base
}
}
?>

View File

@ -135,4 +135,3 @@ function otherdb_conf_adminmenu()
alt_auth_adminmenu();
}
?>

View File

@ -247,4 +247,4 @@ class auth_login extends alt_auth_base
return AUTH_SUCCESS;
}
}
?>

View File

@ -112,4 +112,4 @@ function radius_conf_adminmenu()
alt_auth_adminmenu();
}
?>

View File

@ -119,4 +119,3 @@ $BANNER_TEMPLATE['menu']['item'] = "<div class='banner-menu-item'>{BANNER}</div
$BANNER_TEMPLATE['menu']['end'] = "</div>";
?>

View File

@ -34,5 +34,5 @@ define("BANNERLAN_35", "Clickthrough IP addresses");
//define("BANNERLAN_38", "Error"); // English LAN_ERROR
define("BANNERLAN_39", "No image assigned to this banner.");
?>

View File

@ -11,4 +11,3 @@
define("LAN_PLUGIN_BANNER_NAME", "Banners");
define("LAN_PLUGIN_BANNER_DESCRIPTION", "Add advertising banners to your e107 website");
?>

View File

@ -31,4 +31,3 @@ define("BANNER_MENU_L17", "set amount ...");
//define("BANNER_MENU_L18", "Update Menu Settings");
//define('BANNER_MENU_L19', "Nothing changed - not saved");
*/
?>

View File

@ -154,4 +154,3 @@ $archive .= "</tr></table></div>";
$ns->tablerender(BLOGCAL_L2 ."&nbsp;$req_year", $archive);
require_once(FOOTERF);
?>

View File

@ -221,4 +221,3 @@ if(false === $cached)
}
echo $cached;
?>

View File

@ -153,4 +153,4 @@ function calendar($req_day, $req_month, $req_year, $links = NULL, $ws = "sunday"
return $text;
}
?>

View File

@ -84,4 +84,3 @@ $text = "
$ns->tablerender(BLOGCAL_CONF4, $text);
require_once(e_ADMIN."footer.php");
?>

View File

@ -25,4 +25,3 @@ function formatDate($year, $month, $day = "") {
$day;
return $date;
}
?>

View File

@ -19,4 +19,3 @@ define("BLOGCAL_CONF4", "BlogCal Menu Configuration");
//define("BLOGCAL_CONF5", "BlogCal menu configuration saved");
define("BLOGCAL_ARCHIV1", "Select Archive");
?>

View File

@ -45,4 +45,3 @@ $arch_cell = "";
$arch_cell_header = "";
$arch_cell_body = "";
?>

View File

@ -155,4 +155,3 @@ function admin_chatbox_adminmenu()
}
?>

View File

@ -45,4 +45,3 @@ class chatbox_menu_dashboard // include plugin-folder in the name.
?>

View File

@ -8,4 +8,3 @@ if(vartrue($eMenuActive['chatbox_menu']) && ($pref['cb_layer']==2))
}
?>

View File

@ -74,4 +74,3 @@ class list_chatbox_menu
}
}
?>

View File

@ -92,4 +92,3 @@ class chatbox_menu_search extends e_search // include plugin-folder in the name.
//Old v1.
// $search_info[] = array('sfile' => e_PLUGIN.'chatbox_menu/search/search_parser.php', 'qtype' => CB_SCH_LAN_1, 'refpage' => 'chat.php', 'advanced' => e_PLUGIN.'chatbox_menu/search/search_advanced.php');
?>

View File

@ -44,4 +44,3 @@ define("CHATBOX_L24", "You do not have the correct permissions to view this page
define("CHATBOX_L25", "[ this post has been blocked by admin ]");
define("LAN_CHATBOX_100", "Type your message here.");
?>

View File

@ -21,4 +21,3 @@ define("NT_LAN_CB_3", "Posted by");
define("NT_LAN_CB_5", "Message");
define("NT_LAN_CB_6", "Chatbox Message Posted");
?>

View File

@ -58,4 +58,3 @@ define("CHBLAN_42", "Show amount of posts in user profile");
?>

View File

@ -103,4 +103,3 @@ $text = "
$ns->tablerender(CLOCK_AD_L4, $text);
require_once(e_ADMIN."footer.php");
?>

View File

@ -38,4 +38,3 @@ define("CLOCK_MENU_L21", "October");
define("CLOCK_MENU_L22", "November");
define("CLOCK_MENU_L23", "December");
// define("CLOCK_MENU_L24", "");
?>

View File

@ -21,4 +21,4 @@ define("CLOCK_AD_L10", "Suffix 2");
define("CLOCK_AD_L11", "Suffix 3");
define("CLOCK_AD_L12", "Suffix 4 and more");
define("CLOCK_AD_L13", "If your language requires to display a suffix just after numbers for date, fill these fields with suffix only (Example: 'st' for 1, 'nd' for 2, 'rd' for 3 and 'th' for 4 and more - for English users). If not required leave blank.");
?>

View File

@ -110,4 +110,3 @@ if(empty($title))
e107::getRender()->tablerender(defset($title, $title), $text, 'comment_menu');
?>

View File

@ -187,4 +187,3 @@ return $COMMENT;
SC_END
*/
?>

View File

@ -44,4 +44,3 @@ if (!isset($COMMENT_MENU_TEMPLATE))
}
?>

View File

@ -120,4 +120,3 @@ $text = "
$ns->tablerender(CM_L8, $mes->render() . $text);
require_once(e_ADMIN."footer.php");
?>

View File

@ -24,4 +24,4 @@ define("CM_L11", "on");
define("CM_L12", "Re:");
define("CM_L13", "Posted by");
?>

View File

@ -21,4 +21,3 @@ $text = $tp->parseTemplate($head. $template . $foot, true, $contact_shortcodes);
$ns->tablerender(LANCONTACT_00, $text, 'contact-menu');
?>

View File

@ -112,4 +112,4 @@ if (!e107::isInstalled('download'))
exit ;
?>

View File

@ -1123,4 +1123,4 @@ class download_shortcodes extends e_shortcode
// return "<img src='".IMAGE_NEW."' alt='*' style='vertical-align:middle' />";
}
}
?>

View File

@ -50,4 +50,3 @@ class download_cron // include plugin-folder in the name.
?>

View File

@ -24,4 +24,3 @@ class download_frontpage // include plugin-folder in the name.
?>

View File

@ -76,4 +76,3 @@ if($text)
$ns -> tablerender(DOWLAN_HELP_1, $text);
}
?>

View File

@ -76,4 +76,3 @@ class list_download
);
}
}
?>

View File

@ -142,4 +142,3 @@ class download_search extends e_search // include plugin-folder in the name.
}
?>

View File

@ -43,4 +43,3 @@ class e_tagwords_download
}
}
?>

View File

@ -2202,4 +2202,3 @@ class adminDownload extends download
*/
}
?>

View File

@ -1265,4 +1265,4 @@ function sort_download_mirror_order($a, $b)
}
return ($a[1] < $b[1]) ? -1 : 1;
}
?>

View File

@ -96,4 +96,4 @@ define("LAN_dl_77", "Downloads"); // Intentional duplicate - some languages nee
define('LAN_dl_78', "That download has been disabled or discontinued. Please check in the [downloads area] for a more recent version.");
define("LAN_dl_79", "You do not have the correct permissions to report this download item as broken.");
?>

View File

@ -653,4 +653,3 @@ $DOWNLOAD_TEMPLATE['mirror']['end'] = "
$DOWNLOAD_TEMPLATE['header'] = '{DOWNLOAD_BREADCRUMB}';
$DOWNLOAD_TEMPLATE['footer'] = '';
?>

View File

@ -95,4 +95,3 @@
?>

View File

@ -76,4 +76,3 @@ class faqs_search extends e_search // include plugin-folder in the name.
}
// $search_info[]=array( 'sfile' => e_PLUGIN.'faq/search.php', 'qtype' => 'FAQ', 'refpage' => 'faq.php');
?>

View File

@ -784,4 +784,3 @@ class faq
}
?>

View File

@ -10,4 +10,3 @@ $text = $tp->parseTemplate("{FAQ_SEARCH}", true, $sc);
$ns->tablerender(LAN_PLUGIN_FAQS_SEARCH, $text, 'faqs-search-menu');
?>

View File

@ -58,4 +58,3 @@ else
require_once(e_PLUGIN."featurebox/templates/".$fb_template.".php");
echo $FB_TEMPLATE;
}
?>

View File

@ -21,4 +21,4 @@ if(empty($text))
echo $text;
unset($text);
?>

View File

@ -8,4 +8,3 @@
// define("FBLAN_01", "Feature Box");
// define("FBLAN_02", "read more"); // Already used in admin area.
?>

View File

@ -345,4 +345,3 @@ $FEATUREBOX_CATEGORY_INFO = array(
// DEPRECATED 'dynamic' => array('title' => 'Dynamic (prototype.js)', 'description' => 'Load items on click (AJAX)'),
// DEPRECATED 'tabs-proto' => array('title' => 'Tabs (prototype.js)' , 'description' => 'Tabbed Feature box items')
);
?>

View File

@ -175,4 +175,3 @@ $FEATUREBOX_INFO = array(
'accordion' => array('title' => 'Accordion Item', 'description' => 'For use with accordion'),
'tabs' => array('title' => 'Tab Item', 'description' => 'For use with tabs')
);
?>

View File

@ -32,4 +32,3 @@ function plugin_forum_admin_events_clear_moderators()
$e107->ecache->clear_sys('nomd5_forum_moderators');
}
?>

View File

@ -40,4 +40,3 @@ class forum_dashboard // include plugin-folder in the name.
}
?>

View File

@ -55,4 +55,3 @@ function email_item($thread_id)
return $text;
}
?>

View File

@ -26,4 +26,3 @@ $sublink_type['forum']['fielddiz'] = 'forum_description';
$sublink_type['forum']['sef'] = 'forum/forum';
?>

View File

@ -172,4 +172,3 @@ class list_forum
}
}
?>

View File

@ -53,4 +53,3 @@ class forum_menu_form extends e_form
}
*/
?>

View File

@ -24,4 +24,3 @@ if(defset('e_CURRENT_PLUGIN') == "forum" && e107::isInstalled('poll') && $poll_a
}
?>

View File

@ -534,4 +534,3 @@ function forum_track()
}
?>

View File

@ -2847,4 +2847,4 @@ class forumAdmin
}
}
*/
?>

View File

@ -220,4 +220,3 @@ if ($action == 'move')
require_once(FOOTERF);
?>

View File

@ -73,4 +73,3 @@ function forumDeletePost($postId)
return LAN_CANCEL.' and '.$ret.' '.FORLAN_7.'.';
}
?>

View File

@ -1758,4 +1758,4 @@ require_once(FOOTERF);
exit;
?>

View File

@ -18,4 +18,3 @@ $timeend = microtime();
$diff = number_format(((substr($timeend, 0, 9)) + (substr($timeend, -10)) - (substr($timestart, 0, 9)) - (substr($timestart, -10))), 4);
echo "<br />script generation took $diff s";
?>

View File

@ -1803,4 +1803,3 @@ function forum_update_adminmenu()
show_admin_menu('Forum Upgrade', $action, $var);
}
?>

View File

@ -119,4 +119,3 @@ if(!$filecount) {
$ns->tablerender(LAN_FORUM_7001, $txt);
include_once(FOOTERF);
?>

View File

@ -655,4 +655,3 @@
}
?>

View File

@ -1113,4 +1113,4 @@ class e107ForumThread
}
}
?>

View File

@ -11,4 +11,3 @@
header("location: forum.php");
exit;
?>

View File

@ -238,4 +238,4 @@ define("FORLAN_220", "Post editor");
define("FORLAN_221", "Which editor should be used to create/edit posts?");
define("FORLAN_222", "Quick reply editor");
define("FORLAN_223", "Use only plain text (no bbcode or html allowed!)")
?>

View File

@ -663,4 +663,4 @@ define("LAN_FORUM_2", "Duplicate post");
define("LAN_FORUMPOST_EMOTES", "Deactivate emoticons for this post");
*/
?>

Some files were not shown because too many files have changed in this diff Show More