$value) { if ($key == "photoDynamicShow" OR $key == "enableURL" OR $key == "startAutoPlay" OR $key == "screenfullButton" OR $key == "Enableoutsideborder" OR $key == "EnablephotoTitle" OR $key == "Enablephotorotation") $module['ext_datas'][$key] = ($value ? "true" : "false"); } $module['ext_datas']['DbackgroundColor'] = str_replace("#", "0x", $module['ext_datas']['DbackgroundColor']); $module['ext_datas']['BbackgroundColor'] = str_replace("#", "0x", $module['ext_datas']['BbackgroundColor']); $module['ext_datas']['photoBackColor'] = str_replace("#", "0x", $module['ext_datas']['photoBackColor']); $module['ext_datas']['outsidebordercolor'] = str_replace("#", "0x", $module['ext_datas']['outsidebordercolor']); $module['ext_datas']['photoButtonColor'] = str_replace("#", "0x", $module['ext_datas']['photoButtonColor']); $module['ext_datas']['photoTitleColor'] = str_replace("#", "0x", $module['ext_datas']['photoTitleColor']); ?>