Lines Matching refs:action
39 $action = (isset($_REQUEST['action']) ? preg_replace('/[^\w\d\s_]/', '', $_REQUEST['action']) : ''); variable
43 if (!$action) {
420 if (preg_match("/^(.+)\\s+(\\d+)\$/", $action, $m)) {
421 $action = $m[1]; $id = $m[2]; variable
425 $action = $_GET['action']; variable
429 switch($action) {
549 $action_taken = ($action == "reject" ? "rejected" : "deleted");
557 if ($action == 'reject') {
564 header('Location: user-notes.php?id=' . $id . '&was=' . $action);
578 if (!isset($note) || $action == 'preview') {
587 if (isset($note) && $action == "edit") {
598 header('Location: user-notes.php?id=' . $id . '&was=' . $action);
605 if ($action == "preview") {
656 if ($action == 'resetall' && isset($_POST['resetall'])) {
659 } elseif ($action == 'resetup' && isset($_POST['resetup'])) {
662 } elseif ($action == 'resetdown' && isset($_POST['resetdown'])) {
665 header('Location: user-notes.php?id=' . urlencode($id) . '&was=' . urlencode($action));
676 if ($action == 'resetall') {
681 } elseif ($action == 'resetup') {
686 } elseif ($action == 'resetdown') {
718 header('Location: user-notes.php?id=1&view=notes&was=' . urlencode($action) .
795 echo "<p>'$action' is not a recognized action, or no id was specified.</p>";