Lines Matching refs:act
172 $act = $event->data;
174 if ($act != 'dokutranslate_review') {
175 $act = act_clean($act);
176 $act = act_permcheck($act);
181 if (@file_exists(metaFN($ID, '.translate')) && in_array($act, array('draft', 'recover'))) {
183 $ACT = $act = 'edit';
186 if ($act == 'save') {
210 $ACT = act_save($act);
257 $ACT = act_save($act);
268 } else if ($act == 'revert') {
283 $ACT = act_revert($act);
293 } else if (in_array($act, array('edit', 'preview'))) {
316 } else if ($act == 'dokutranslate_review') {
354 $act = $event->data['preact'];
356 if ($act != 'dokutranslate_review') {
357 $act = act_clean($act);
360 …if (($act == 'save' || $act == 'draftdel') && @file_exists(metaFN($event->data['id'], '.translate'…