"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/inc/class_page.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

class_page.php  (mybb_1822):class_page.php  (mybb_1823)
skipping to change at line 109 skipping to change at line 109
echo " <meta name=\"copyright\" content=\"Copyright ".COPY_YEAR. " MyBB Group.\" />\n"; echo " <meta name=\"copyright\" content=\"Copyright ".COPY_YEAR. " MyBB Group.\" />\n";
echo " <link rel=\"stylesheet\" href=\"styles/".$this->style."/m ain.css?ver=1813\" type=\"text/css\" />\n"; echo " <link rel=\"stylesheet\" href=\"styles/".$this->style."/m ain.css?ver=1813\" type=\"text/css\" />\n";
echo " <link rel=\"stylesheet\" href=\"styles/".$this->style."/m odal.css?ver=1813\" type=\"text/css\" />\n"; echo " <link rel=\"stylesheet\" href=\"styles/".$this->style."/m odal.css?ver=1813\" type=\"text/css\" />\n";
// Load stylesheet for this module if it has one // Load stylesheet for this module if it has one
if(file_exists(MYBB_ADMIN_DIR."styles/{$this->style}/{$this->acti ve_module}.css")) if(file_exists(MYBB_ADMIN_DIR."styles/{$this->style}/{$this->acti ve_module}.css"))
{ {
echo " <link rel=\"stylesheet\" href=\"styles/{$this->st yle}/{$this->active_module}.css\" type=\"text/css\" />\n"; echo " <link rel=\"stylesheet\" href=\"styles/{$this->st yle}/{$this->active_module}.css\" type=\"text/css\" />\n";
} }
echo " <script type=\"text/javascript\" src=\"../jscripts/jquery .js?ver=1821\"></script>\n"; echo " <script type=\"text/javascript\" src=\"../jscripts/jquery .js?ver=1823\"></script>\n";
echo " <script type=\"text/javascript\" src=\"../jscripts/jquery .plugins.min.js?ver=1821\"></script>\n"; echo " <script type=\"text/javascript\" src=\"../jscripts/jquery .plugins.min.js?ver=1821\"></script>\n";
echo " <script type=\"text/javascript\" src=\"../jscripts/genera l.js?ver=1821\"></script>\n"; echo " <script type=\"text/javascript\" src=\"../jscripts/genera l.js?ver=1821\"></script>\n";
echo " <script type=\"text/javascript\" src=\"./jscripts/admincp .js?ver=1821\"></script>\n"; echo " <script type=\"text/javascript\" src=\"./jscripts/admincp .js?ver=1821\"></script>\n";
echo " <script type=\"text/javascript\" src=\"./jscripts/tabs.js \"></script>\n"; echo " <script type=\"text/javascript\" src=\"./jscripts/tabs.js \"></script>\n";
echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/red mond/jquery-ui.min.css\" />\n"; echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/red mond/jquery-ui.min.css\" />\n";
echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/red mond/jquery-ui.structure.min.css\" />\n"; echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/red mond/jquery-ui.structure.min.css\" />\n";
echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/red mond/jquery-ui.theme.min.css\" />\n"; echo " <link rel=\"stylesheet\" href=\"jscripts/jqueryui/css/red mond/jquery-ui.theme.min.css\" />\n";
echo " <script src=\"jscripts/jqueryui/js/jquery-ui.min.js?ver=1 813\"></script>\n"; echo " <script src=\"jscripts/jqueryui/js/jquery-ui.min.js?ver=1 813\"></script>\n";
skipping to change at line 381 skipping to change at line 381
$plugins->run_hooks('admin_page_show_login_start', $args); $plugins->run_hooks('admin_page_show_login_start', $args);
$copy_year = COPY_YEAR; $copy_year = COPY_YEAR;
$login_container_width = ""; $login_container_width = "";
$login_label_width = ""; $login_label_width = "";
// If the language string for "Username" is too cramped then use this to define how much larger you want the gap to be (in px) // If the language string for "Username" is too cramped then use this to define how much larger you want the gap to be (in px)
if(isset($lang->login_field_width)) if(isset($lang->login_field_width))
{ {
$login_label_width = " style=\"width: ".((int)$lang->login_field_ $login_label_width = " style=\"width: ".((int)$lang->logi
width+100)."px;\""; n_field_width+100)."px;\"";
$login_container_width = " style=\"width: ".(410+((int)$l ang->login_field_width))."px;\""; $login_container_width = " style=\"width: ".(410+((int)$l ang->login_field_width))."px;\"";
} }
$login_page .= <<<EOF $login_page .= <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head profile="http://gmpg.org/xfn/1"> <head profile="http://gmpg.org/xfn/1">
<title>{$lang->mybb_admin_login}</title> <title>{$lang->mybb_admin_login}</title>
<meta name="author" content="MyBB Group" /> <meta name="author" content="MyBB Group" />
<meta name="copyright" content="Copyright {$copy_year} MyBB Group." /> <meta name="copyright" content="Copyright {$copy_year} MyBB Group." />
<link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" /> <link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" />
<script type="text/javascript" src="../jscripts/jquery.js?ver=1821"></script> <script type="text/javascript" src="../jscripts/jquery.js?ver=1823"></script>
<script type="text/javascript" src="../jscripts/general.js?ver=1821"></script> <script type="text/javascript" src="../jscripts/general.js?ver=1821"></script>
<script type="text/javascript" src="./jscripts/admincp.js?ver=1821"></script> <script type="text/javascript" src="./jscripts/admincp.js?ver=1821"></script>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
loading_text = '{$lang->loading_text}'; loading_text = '{$lang->loading_text}';
//]]> //]]>
</script> </script>
</head> </head>
<body> <body>
<div id="container"{$login_container_width}> <div id="container"{$login_container_width}>
skipping to change at line 518 skipping to change at line 518
$plugins->run_hooks('admin_page_show_login_end', $args); $plugins->run_hooks('admin_page_show_login_end', $args);
echo $login_page; echo $login_page;
exit; exit;
} }
function show_2fa() function show_2fa()
{ {
global $lang, $cp_style, $mybb; global $lang, $cp_style, $mybb;
$copy_year = COPY_YEAR;
$mybb2fa_page = <<<EOF $mybb2fa_page = <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head profile="http://gmpg.org/xfn/1"> <head profile="http://gmpg.org/xfn/1">
<title>{$lang->my2fa}</title> <title>{$lang->my2fa}</title>
<meta name="author" content="MyBB Group" /> <meta name="author" content="MyBB Group" />
<meta name="copyright" content="Copyright {$copy_year} MyBB Group." /> <meta name="copyright" content="Copyright {$copy_year} MyBB Group." />
<link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" /> <link rel="stylesheet" href="./styles/{$cp_style}/login.css" type="text/css" />
<script type="text/javascript" src="../jscripts/jquery.js?ver=1821"></script> <script type="text/javascript" src="../jscripts/jquery.js?ver=1823"></script>
<script type="text/javascript" src="../jscripts/general.js?ver=1821"></script> <script type="text/javascript" src="../jscripts/general.js?ver=1821"></script>
<script type="text/javascript" src="./jscripts/admincp.js?ver=1821"></script> <script type="text/javascript" src="./jscripts/admincp.js?ver=1821"></script>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
loading_text = '{$lang->loading_text}'; loading_text = '{$lang->loading_text}';
//]]> //]]>
</script> </script>
</head> </head>
<body> <body>
<div id="container"> <div id="container">
skipping to change at line 628 skipping to change at line 630
* Generate the lockout unlock page * Generate the lockout unlock page
* *
* @param string $message The any message to output on the page if there is one. * @param string $message The any message to output on the page if there is one.
* @param string $class The class name of the message (defaults to succes s) * @param string $class The class name of the message (defaults to succes s)
*/ */
function show_lockout_unlock($message="", $class="success") function show_lockout_unlock($message="", $class="success")
{ {
global $lang, $mybb, $cp_style; global $lang, $mybb, $cp_style;
$copy_year = COPY_YEAR; $copy_year = COPY_YEAR;
$login_label_width = "";
// If the language string for "Username" is too cramped then use
this to define how much larger you want the gap to be (in px)
if(isset($lang->login_field_width))
{
$login_label_width = " style=\"width: ".((int)$lang->logi
n_field_width+100)."px;\"";
}
switch($mybb->settings['username_method']) switch($mybb->settings['username_method'])
{ {
case 0: case 0:
$lang_username = $lang->username; $lang_username = $lang->username;
break; break;
case 1: case 1:
$lang_username = $lang->username1; $lang_username = $lang->username1;
break; break;
case 2: case 2:
$lang_username = $lang->username2; $lang_username = $lang->username2;
 End of changes. 7 change blocks. 
7 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)