getArg('action'); if ($page->exists()) { if (empty($revision)) { $revision = $page->getCurrentRevision(false); } if (($action == 'edit') && $page->get('locked') && !$user->isAdmin()) { ?>

isCurrent()) { if ($revision->hasDefaultContents()) { ?>