Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Added for seating chart addon
- */
- if (defined('ESPRESSO_SEATING_CHART')) {
- if (seating_chart::check_event_has_seating_chart($_REQUEST['event_id']) !== false) {
- $htm .= '<p>';
- $htm .= '<label>' . __('Select a Seat:', 'event_espresso') . '</label>';
- ?>
- <script type="text/javascript">
- function myClick<?php echo $x; ?>( test)
- {
- test = test.replace("click_id","myFocusField_");
- document.getElementById(test).click();
- }
- </script>
- <?php
- $htm .= "<a id=\"click_id[\' + attendee_num + \']\" class=\"helpLink\" onclick=\"javascript:myClick(this.id);\" >Sitzplatz erste Person</a><br>";
- $htm .= '<input id=\"myFocusField_[\' + attendee_num + \']\" type="text" name="x_seat_id[\' + attendee_num + \']" value="" class="ee_s_select_seat" event_id="' . $_REQUEST['event_id'] . '" readonly="readonly" />';
- $htm .= '<br/>[' . __('If you do not select a seat this attendee will not be added', 'event_espresso') . ']';
- $htm .= '</p>';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement