/** * */ private function render_translation_element() { ?> <div class="metabox-holder" id="icl-translation-job-elements-<?php echo $this->current_element_index; ?> "> <div class="postbox-container icl-tj-postbox-container-<?php echo $this->current_element->field_type; ?> "> <div class="meta-box-sortables ui-sortable" id="icl-translation-job-sortables-<?php echo $this->current_element_index; ?> "> <div class="postbox" id="icl-translation-job-element-<?php echo $this->current_element_index; ?> "> <?php echo $this->editor_object->get_click_to_toggle_html(); $this->init_current_field_attributes(); echo $this->editor_object->get_post_box_header($this->current_element_field_type); ?> <div class="inside"> <?php $this->render_current_field_description(); $this->init_current_element_content(); echo $this->editor_object->get_translated_content_paragraph($this->current_element->field_type, true); $this->render_current_element_field(); $multiple = $this->current_element->field_format == 'csv_base64'; echo $this->editor_object->get_finished_checkbox_html($this->current_element->field_finished, $multiple, $this->current_element->field_type); ?> <br/> <?php echo $this->editor_object->get_original_content_paragraph(); $this->render_current_element_field_original_content(); ?> <input type="hidden" name="fields[<?php echo esc_attr($this->current_element->field_type); ?> ][format]" value="<?php echo $this->current_element->field_format; ?> "/> <input type="hidden" name="fields[<?php echo esc_attr($this->current_element->field_type); ?> ][tid]" value="<?php echo $this->current_element->tid; ?> "/> <?php $this->render_current_element_diff(); ?> </div> </div> </div> </div> </div> <?php }