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