discourse-legacysite-perl/site/roadshow/wiki_buttons.php

21 lines
819 B
PHP
Raw Normal View History

2024-06-17 12:42:14 +00:00
<?PHP
if (eregi("wiki_buttons.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php"); die();
}
?>
<p>
<form method="post" action="wiki_validate_X.php" style="display: inline;">
<input type="hidden" name="validate[]" value="<? echo($row[edit_id]); ?>" />
<input type="submit" value="Validate This Edit" class="btn" onclick="return confirm('Are you sure you want to VALIDATE this <? echo ($local_singular_lc); ?>?');" />
</form>
<form method="post" action="wiki_validate_X.php" style="display: inline;">
<input type="hidden" name="delete[]" value="<? echo($row[edit_id]); ?>" />
<input type="submit" value="Delete This Edit" class="btn" onclick="return confirm('Are you sure you want to DELETE this <? echo ($local_singular_lc); ?>?');" />
</form>
</p>