- onclick="document.getElementById('submit').action='
-<?php
- echo $cfg['web_root'] . '/f.php?h=' . $link_name . '&bp=1';
- if (!empty($crypt_key))
- echo '&k=' . urlencode($crypt_key);
-?>';
- document.getElementById('submit_preview').submit ();"/><?php
+ onclick="document.getElementById('submit_post').action='
+ <?php
+ echo $cfg['web_root'] . '/f.php?h=' . $link_name . '&p=1';
+ if (!empty($crypt_key))
+ echo '&k=' . urlencode($crypt_key);
+ ?>';
+ document.getElementById('submit_preview').submit ();"/><?php