getInfo(); $info['id']=$canned->getId(); $qs += array('id' => $canned->getId()); // Replace cid: scheme with downloadable URL for inline images $info['response'] = $canned->getResponseWithImages(); $info['notes'] = Format::viewableImages($info['notes']); }else { $title=__('Add New Canned Response'); $action='create'; $submit_text=__('Add Response'); $info['isenabled']=isset($info['isenabled'])?$info['isenabled']:1; $qs += array('a' => $_REQUEST['a']); } $info=Format::htmlchars(($errors && $_POST)?$_POST:$info, true); ?>