It looks like that will let me include an entire file, but I don't see how it lets me include a single variable.
Another issue is that the $headline variable can change multiple times within the script:
PHP Code:
switch ($action) {
case add:
$headline = "Add Item";
break;
case delete:
$headline = "Delete Item";
break;
case edit:
$headline = "Edit Item";
break;
}
Would the above be possible with plugins?