<tr><td> <form action="<?php echo getStringFromServer('PHP_SELF'); ?> " method="post"> <input type="hidden" name="action" value="delete" /> <input type="hidden" name="group_id" value="<?php print $row_grp['group_id']; ?> " /> <?php echo _('Canned responses'); ?> <br /> <?php print get_canned_responses(); ?> <a href="responses_admin.php"><?php echo _('(manage responses)'); ?> </a> <br /><br /> <?php echo _('Custom response title and text'); ?> <br /> <input type="text" name="response_title" size="30" maxlength="25" /><br /> <textarea name="response_text" rows="10" cols="50"></textarea> <input type="checkbox" name="add_to_can" value="<?php echo _('yes'); ?>
site_admin_header(array('title' => _('Site Admin: Edit Rejection Responses'))); function check_select_value($value, $type) { if ($value == "100") { print "<span class=\"important\">" . sprintf(_('You can\'t %1$s \\"None\\"!'), $GLOBALS['type']) . "</span><br />\n"; } } ?> <form method="post" action="<?php echo getStringFromServer('PHP_SELF'); ?> "> <?php echo _('Existing Responses:'); echo get_canned_responses(); ?> <!-- Reinhard Spisser: commenting localization, since otherwise it will not work --> <!-- <input name="action" type="submit" value="<?php echo _('Edit'); ?> "/> <input name="action" type="submit" value="<?php echo _('Delete'); ?> " /> ---> <input name="action" type="submit" value="Edit"/> <input name="action" type="submit" value="Delete" /> <input type="checkbox" name="sure" value="<?php