PluginProbe
Timed Content / 2.70
Timed Content v2.70
2.99 trunk 1.0 1.1 1.2 2.0 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.10 2.11 2.12 2.15 2.2 2.3 2.3.1 2.4 2.5 2.5.1 2.50 2.51 2.52 All 67 releases
← All changes | tinymce_plugin/dialog.php +4 -5 2.502.70 View file →
@@ -20,9 +20,9 @@
20 20 }
21 21 </style>
22 22 <?php wp_print_scripts(); ?>
23 23 <script type="text/javascript">
24 - <?php echo $this->__getRulesJS(); ?>
24 + <?php echo $this->getRulesJS(); ?>
25 25 var tags = { 'client': '<?php echo TIMED_CONTENT_SHORTCODE_CLIENT; ?>',
26 26 'server': '<?php echo TIMED_CONTENT_SHORTCODE_SERVER; ?>',
27 27 'rule': '<?php echo TIMED_CONTENT_SHORTCODE_RULE; ?>' };
28 28 var errorMessages = { 'clientNoShow': '<?php _e( 'When using the Show action, the Show time must be at least 1 second.', 'timed-content' ); ?>',
@@ -132,10 +132,9 @@
132 132 <label
133 133 for="server_debug"><?php _ex( 'Add debugging messages (Only logged-in users who can edit this Post/Page will see them)', 'TinyMCE Dialog - Server debugging label', 'timed-content' ); ?> </label>
134 134 </p>
135 135
136 - <p><?php _e('Current Date/Time:', 'timed-content' ); ?>
137 - <?php echo date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), current_time( 'timestamp', 0 ) ); ?></p>
136 + <p><?php _e('Current Date/Time:', 'timed-content' ); ?> <?php echo strftime( '%Y-%m-%d %H:%M', current_time('timestamp', 0)); ?></p>
138 137 <fieldset>
139 138 <legend>
140 139 <input name="do_server_show" type="checkbox" id="do_server_show" value="show"/>
141 140 <label
@@ -168,9 +167,9 @@
168 167 <?php _ex( 'Timezone', 'TinyMCE Dialog - Timezone fieldset label', 'timed-content' ); ?>
169 168 </legend>
170 169 <p><?php _ex( 'Select a city whose timezone you wish to use:', 'TinyMCE Dialog - Timezone <select> HTML label', 'timed-content' ); ?>
171 170 <select name="server_tz" id="server_tz" style="width: auto;">
172 - <?php echo customFieldsInterface::__generateTimezoneSelectOptions(get_option('timezone_string')); ?>
171 + <?php echo customFieldsInterface::generateTimezoneSelectOptions(get_option('timezone_string')); ?>
173 172 </select>
174 173 </p>
175 174
176 175 <p><?php _e('Wordpress Timezone:', 'timed-content' ); ?> <?php echo get_option('timezone_string'); ?></p>
@@ -191,9 +190,9 @@
191 190 <p><?php _ex( 'Select the Timed Content Rule you wish to use. Only rules without any warnings will appear below.', 'TinyMCE Dialog - Timed Content Rules tab instructions', 'timed-content' ); ?> </p>
192 191
193 192 <p><?php _ex( 'Rule:', 'TinyMCE Dialog - Timed Content Rules <select> HTML label', 'timed-content' ); ?>
194 193 <select name="rules_list" id="rules_list" style="width: auto;">
195 - <!-- options list generated using $this->__getRulesJS() above and TimedContentDialog.init JS function in /tinymce_plugin/js/dialog.js -->
194 + <!-- options list generated using $this->getRulesJS() above and TimedContentDialog.init JS function in /tinymce_plugin/js/dialog.js -->
196 195 </select>
197 196 </p>
198 197 <fieldset>
199 198 <legend>