|
|
|
|
@ -644,13 +644,13 @@ foreach ($categories as $item) { |
|
|
|
|
/* Export */ |
|
|
|
|
if ($details['lp_type'] == 1) { |
|
|
|
|
$dsp_disk = Display::url( |
|
|
|
|
Display::return_icon('cd.png', get_lang('Export')), |
|
|
|
|
Display::return_icon('cd.png', get_lang('ExportShort')), |
|
|
|
|
api_get_self()."?".api_get_cidreq() |
|
|
|
|
."&action=export&lp_id=$id" |
|
|
|
|
); |
|
|
|
|
} elseif ($details['lp_type'] == 2) { |
|
|
|
|
$dsp_disk = Display::url( |
|
|
|
|
Display::return_icon('cd.png', get_lang('Export')), |
|
|
|
|
Display::return_icon('cd.png', get_lang('ExportShort')), |
|
|
|
|
api_get_self()."?".api_get_cidreq() |
|
|
|
|
."&action=export&lp_id=$id&export_name=" |
|
|
|
|
.api_replace_dangerous_char($name).".zip" |
|
|
|
|
@ -658,7 +658,7 @@ foreach ($categories as $item) { |
|
|
|
|
} else { |
|
|
|
|
$dsp_disk = Display::return_icon( |
|
|
|
|
'cd_na.png', |
|
|
|
|
get_lang('Export') |
|
|
|
|
get_lang('ExportShort') |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|