echo"The following custom templates were found:\n\n";
echoimplode("\n",$found_templates)."\n\n";
$answer=$inst->simple_query('Do you want to rename these conf-custom templates now so the default templates are used?',array('yes','no'),$default_prompt,'rename_custom_templates');
$client=$app->db->queryOneRecord("SELECT client.limit_client FROM sys_user, client WHERE sys_user.userid = ? AND sys_user.client_id = client.client_id",$userid);