Changeset 17332
- Timestamp:
- 2008/05/28 19:31:13 (16 years ago)
- Location:
- branches/version-2/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/Smarty/templates/default/admin/home.tpl
r16737 r17332 58 58 <td bgcolor="#f2f1ec" class="fs12">DBバージョン</td> 59 59 <td bgcolor="#ffffff" class="fs12" align="right"><!--{$db_version}--></td> 60 </tr> 60 </tr> 61 <tr> 62 <td bgcolor="#f2f1ec" class="fs12">詳細</td> 63 <td bgcolor="#ffffff" class="fs12" align="right"><a href="<!--{$smarty.const.URL_DIR}-->admin/system/system.php">システム設定>システム情報</a></td> 64 </tr> 61 65 </table> 62 66 -
branches/version-2/data/Smarty/templates/default/admin/system/system.tpl
r17325 r17332 44 44 <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td> 45 45 <td bgcolor="#cccccc"> 46 46 47 47 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 48 48 <tr> … … 52 52 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 53 53 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->システム情報</span></td> 54 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 55 </tr> 56 <tr> 57 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td> 58 </tr> 59 <tr> 60 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 61 </tr> 62 </table> 63 64 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 65 <!--{foreach from=$arrSystemInfo item=info}--> 66 <tr> 67 <td bgcolor="#f2f1ec" class="fs12n" width="178"> 68 <!--{$info.title|escape}--> 69 </td> 70 <td bgcolor="#ffffff" class="fs12n"> 71 <!--{$info.value|escape|nl2br}--> 72 </td> 73 </tr> 74 <!--{/foreach}--> 75 </table> 76 77 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 78 <tr> 79 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td> 80 </tr> 81 </table> 82 83 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 84 <tr> 85 <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td> 86 </tr> 87 <tr> 88 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 89 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->PHP情報</span></td> 54 90 <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td> 55 91 </tr> -
branches/version-2/data/class/pages/admin/system/LC_Page_Admin_System_System.php
r17325 r17332 85 85 } 86 86 87 $this->arrSystemInfo = $this->getSystemInfo(); 87 88 88 89 $objView->assignobj($this); … … 98 99 parent::destroy(); 99 100 } 101 102 /** 103 * システム情報を取得する 104 * 105 * @return array 106 */ 107 function getSystemInfo() { 108 $objDB = SC_DB_DBFactory::getInstance(); 109 110 $arrSystemInfo = array( 111 array('title' => 'EC-CUBE', 'value' => ECCUBE_VERSION), 112 array('title' => 'OS', 'value' => php_uname()), 113 array('title' => 'DBサーバ', 'value' => $objDB->sfGetDBVersion()), 114 array('title' => 'WEBサーバ', 'value' => $_SERVER['SERVER_SOFTWARE']), 115 array('title' => 'PHP', 'value' => phpversion()), 116 array('title' => 'GD', 'value' => extension_loaded('GD') ? 'Loaded' : '--'), 117 ); 118 119 return $arrSystemInfo; 120 } 100 121 }
Note: See TracChangeset
for help on using the changeset viewer.