Update inc/template.php

changed nonexistant actionOk to actionOK
Merge pull request #188 from arbrk1/patch-1

Change function call from actionOk into actionOK (correct name)