1.17 kiriwrite_template_delete

kiriwrite_template_delete deletes a template from the template database. If no confirm value is given then a form asking if the template should be deleted. If no template filename is given then an error is returned.

kiriwrite_template_delete will return data that is intended for kiriwrite_output_page.

Parameters:

kiriwrite_template_delete(filename, confirm);

Usage:

$pagedata = kiriwrite_template_delete(“template.html”);
$pagedata = kiriwrite_template_delete(“template.html”, 1);

filename
Specifies the filename of the template to delete.

confirm
Specifies if the action to delete a template should be confirmed by passing a '1'.