PluginProbe
Import Social Events / 1.4.0
Import Social Events v1.4.0
1.9.1 1.9.0 trunk 1.0.0 1.0.1 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 All 61 releases
import-facebook-events / templates / import-tec-facebook-events.php

import-tec-facebook-events.php in Import Social Events 1.4.0, at templates/import-tec-facebook-events.php

82 lines 3.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // If this file is called directly, abort.
3 if ( ! defined( 'ABSPATH' ) ) exit;
4 global $importfbevents;
5 ?>
6 <div class="ife_container">
7 <div class="ife_row">
8 <div class="wpea-column ife_well">
9 <h3><?php esc_attr_e( 'Facebook Import', 'import-facebook-events' ); ?></h3>
10 <form method="post" id="ife_facebook_form">
11
12 <table class="form-table">
13 <tbody>
14 <tr>
15 <th scope="row">
16 <?php esc_attr_e( 'Import by','import-facebook-events' ); ?> :
17 </th>
18 <td>
19 <select name="facebook_import_by" id="facebook_import_by">
20 <option value="facebook_event_id"><?php esc_attr_e( 'Facebook Event ID','import-facebook-events' ); ?></option>
21 <option value="facebook_organization"><?php esc_attr_e( 'Facebook Organization or Page','import-facebook-events' ); ?></option>
22 </select>
23 <span class="ife_small">
24 <?php _e( 'Select Event source. 1. by Facebook Event ID, 2. Facebook Organization or Page ( import events belonging to a Facebook organization or a Facebook page ).', 'import-facebook-events' ); ?>
25 </span>
26 </td>
27 </tr>
28
29 <tr class="facebook_eventid_wrapper">
30 <th scope="row">
31 <?php esc_attr_e( 'Facebook Event IDs','import-facebook-events' ); ?> :
32 </th>
33 <td>
34 <textarea name="facebook_event_ids" class="facebook_event_ids" rows="5" cols="50"></textarea>
35 <span class="ife_small">
36 <?php _e( 'One event ID per line, ( Eg. Event ID for https://www.facebook.com/events/123456789/ is "123456789" ).', 'import-facebook-events' ); ?>
37 </span>
38 </td>
39 </tr>
40
41 <tr class="facebook_page_wrapper">
42 <th scope="row">
43 <?php esc_attr_e( 'Organization and page username / ID to fetch events from','import-facebook-events' ); ?> :
44 </th>
45 <td>
46 <input class="ife_text" name="facebook_page_username" class="facebook_page_username" type="text" disabled="disabled" />
47 <span class="ife_small">
48 <?php _e( ' Eg. username for https://www.facebook.com/xylusinfo/ is "xylusinfo".', 'import-facebook-events' ); ?>
49 </span>
50 <?php do_action( 'ife_render_pro_notice'); ?>
51 </td>
52 </tr>
53
54 <tr class="import_type_wrapper">
55 <th scope="row">
56 <?php esc_attr_e( 'Import type','import-facebook-events' ); ?> :
57 </th>
58 <td>
59 <?php ife_render_import_type(); ?>
60 </td>
61 </tr>
62
63 <?php
64 ife_render_eventstatus_input();
65 ife_render_tec_category_input();
66 ?>
67
68
69 </tbody>
70 </table>
71
72 <div class="ife_element">
73 <input type="hidden" name="import_origin" value="facebook_tec" />
74 <input type="hidden" name="ife_action" value="ife_import_submit" />
75 <?php wp_nonce_field( 'ife_import_form_nonce_action', 'ife_import_form_nonce' ); ?>
76 <input type="submit" class="button-primary ife_submit_button" style="" value="<?php esc_attr_e( 'Import Event', 'import-facebook-events' ); ?>" />
77 </div>
78 </form>
79 </div>
80 </div>
81 </div>
82