Update inc/template.php

changed nonexistant actionOk to actionOK