@@ 2223-2230 (lines=8) @@ | ||
2220 | "active_btn"=>"", |
|
2221 | ); |
|
2222 | //normal_btn |
|
2223 | if($menuItemInfo->normal_btn) |
|
2224 | { |
|
2225 | $originFile = FileHandler::getRealPath($menuItemInfo->normal_btn); |
|
2226 | $targetFile = $this->_changeMenuItemSrlInButtonPath($menuItemInfo->normal_btn, $insertedMenuSrl, $insertedMenuItemSrl, 'normal'); |
|
2227 | ||
2228 | FileHandler::copyFile($originFile, $targetFile); |
|
2229 | $copied_info['normal_btn'] = $targetFile; |
|
2230 | } |
|
2231 | ||
2232 | //hover_btn |
|
2233 | if($menuItemInfo->hover_btn) |
|
@@ 2233-2240 (lines=8) @@ | ||
2230 | } |
|
2231 | ||
2232 | //hover_btn |
|
2233 | if($menuItemInfo->hover_btn) |
|
2234 | { |
|
2235 | $originFile = FileHandler::getRealPath($menuItemInfo->hover_btn); |
|
2236 | $targetFile = $this->_changeMenuItemSrlInButtonPath($menuItemInfo->hover_btn, $insertedMenuSrl, $insertedMenuItemSrl, 'hover'); |
|
2237 | ||
2238 | FileHandler::copyFile($originFile, $targetFile); |
|
2239 | $copied_info['hover_btn'] = $targetFile; |
|
2240 | } |
|
2241 | ||
2242 | //active_btn |
|
2243 | if($menuItemInfo->active_btn) |
|
@@ 2243-2250 (lines=8) @@ | ||
2240 | } |
|
2241 | ||
2242 | //active_btn |
|
2243 | if($menuItemInfo->active_btn) |
|
2244 | { |
|
2245 | $originFile = FileHandler::getRealPath($menuItemInfo->active_btn); |
|
2246 | $targetFile = $this->_changeMenuItemSrlInButtonPath($menuItemInfo->active_btn, $insertedMenuSrl, $insertedMenuItemSrl, 'active'); |
|
2247 | ||
2248 | FileHandler::copyFile($originFile, $targetFile); |
|
2249 | $copied_info['active_btn'] = $targetFile; |
|
2250 | } |
|
2251 | return $copied_info; |
|
2252 | } |
|
2253 |