|
@@ 2194-2201 (lines=8) @@
|
| 2191 |
|
"active_btn"=>"", |
| 2192 |
|
); |
| 2193 |
|
//normal_btn |
| 2194 |
|
if($menuItemInfo->normal_btn) |
| 2195 |
|
{ |
| 2196 |
|
$originFile = FileHandler::getRealPath($menuItemInfo->normal_btn); |
| 2197 |
|
$targetFile = $this->_changeMenuItemSrlInButtonPath($menuItemInfo->normal_btn, $insertedMenuSrl, $insertedMenuItemSrl, 'normal'); |
| 2198 |
|
|
| 2199 |
|
FileHandler::copyFile($originFile, $targetFile); |
| 2200 |
|
$copied_info['normal_btn'] = $targetFile; |
| 2201 |
|
} |
| 2202 |
|
|
| 2203 |
|
//hover_btn |
| 2204 |
|
if($menuItemInfo->hover_btn) |
|
@@ 2204-2211 (lines=8) @@
|
| 2201 |
|
} |
| 2202 |
|
|
| 2203 |
|
//hover_btn |
| 2204 |
|
if($menuItemInfo->hover_btn) |
| 2205 |
|
{ |
| 2206 |
|
$originFile = FileHandler::getRealPath($menuItemInfo->hover_btn); |
| 2207 |
|
$targetFile = $this->_changeMenuItemSrlInButtonPath($menuItemInfo->hover_btn, $insertedMenuSrl, $insertedMenuItemSrl, 'hover'); |
| 2208 |
|
|
| 2209 |
|
FileHandler::copyFile($originFile, $targetFile); |
| 2210 |
|
$copied_info['hover_btn'] = $targetFile; |
| 2211 |
|
} |
| 2212 |
|
|
| 2213 |
|
//active_btn |
| 2214 |
|
if($menuItemInfo->active_btn) |
|
@@ 2214-2221 (lines=8) @@
|
| 2211 |
|
} |
| 2212 |
|
|
| 2213 |
|
//active_btn |
| 2214 |
|
if($menuItemInfo->active_btn) |
| 2215 |
|
{ |
| 2216 |
|
$originFile = FileHandler::getRealPath($menuItemInfo->active_btn); |
| 2217 |
|
$targetFile = $this->_changeMenuItemSrlInButtonPath($menuItemInfo->active_btn, $insertedMenuSrl, $insertedMenuItemSrl, 'active'); |
| 2218 |
|
|
| 2219 |
|
FileHandler::copyFile($originFile, $targetFile); |
| 2220 |
|
$copied_info['active_btn'] = $targetFile; |
| 2221 |
|
} |
| 2222 |
|
return $copied_info; |
| 2223 |
|
} |
| 2224 |
|
|