Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into apply-php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Dec 20, 2024
2 parents 7953d16 + 0ac0b1d commit d59153d
Show file tree
Hide file tree
Showing 56 changed files with 1,987 additions and 7,829 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"mobiledetect/mobiledetectlib": "^3.74",
"nanasess/mdb2": "^2.5",
"nanasess/php8-compat": "^1.0",
"nobuhiko/calendar": "^1.0",
"pear/archive_tar": "^1.4.3",
"pear/mail": "*",
"pear/net_smtp": "^1.12",
Expand Down
51 changes: 50 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions data/Smarty/templates/admin/admin_popup_header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/reset.css" type="text/css" media="all" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/admin_contents.css" type="text/css" media="all" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/admin.css" type="text/css" media="all" />

<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/eccube.js"></script>
<script type="text/javascript" src="<!--{$TPL_URLPATH}-->js/eccube.admin.js"></script>
Expand Down
16 changes: 16 additions & 0 deletions data/Smarty/templates/admin/contents/file_manager.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
*/
*}-->

<style>
#contents-filemanager-tree {
float: left;
height: 430px;
}
#contents-filemanager-right {
width: 720px;
float: right;
}
#tree {
width: 230px;
border: 3px solid #ddd;
padding: 10px;
background-color: #F3F3F3;
}
</style>
<script type="text/javascript">//<![CDATA[
$(function() {
var bread_crumbs = <!--{$tpl_now_dir}-->;
Expand Down
3 changes: 1 addition & 2 deletions data/Smarty/templates/admin/login_frame.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
<meta http-equiv="content-script-type" content="text/javascript">
<meta http-equiv="content-style-type" content="text/css">
<meta name="robots" content="noindex,nofollow" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/reset.css" type="text/css" media="all" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/admin_contents.css" type="text/css" media="all" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/admin.css" type="text/css" media="all" />

<script src="<!--{$smarty.const.ROOT_URLPATH}-->js/eccube.js"></script>

Expand Down
4 changes: 1 addition & 3 deletions data/Smarty/templates/admin/main_frame.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<meta name="robots" content="noindex,nofollow" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/reset.css" type="text/css" media="all" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/admin_contents.css" type="text/css" media="all" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/admin_file_manager.css" type="text/css" media="all" />
<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->css/admin.css" type="text/css" media="all" />

<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/eccube.js"></script>

Expand Down
3 changes: 2 additions & 1 deletion data/class/helper/SC_Helper_Purchase.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ public static function getOrderTemp($uniqId)
{
$objQuery = SC_Query_Ex::getSingletonInstance();

return $objQuery->getRow('*', 'dtb_order_temp', 'order_temp_id = ?', [$uniqId]);
$result = $objQuery->getRow('*', 'dtb_order_temp', 'order_temp_id = ?', [$uniqId]);
return is_array($result) ? $result : []; // 必ず配列を返す
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

defined('CALENDAR_ROOT') || define('CALENDAR_ROOT', DATA_REALDIR.'module/Calendar'.DIRECTORY_SEPARATOR);

/**
* Calendar のページクラス.
*
Expand Down
Loading

0 comments on commit d59153d

Please sign in to comment.