Guest User

WPML - menu post

a guest
Jul 12th, 2013
10
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php $this->noscript_notice() ?>
  2.  
  3. <?php if(get_post_meta($post->ID, '_icl_lang_duplicate_of', true)): ?>
  4. <div class="icl_cyan_box"><?php
  5.     printf(__('This document is a duplicate of %s and it is maintained by WPML.', 'sitepress'),
  6.         '<a href="'.get_edit_post_link($translations[$this->get_default_language()]->element_id).'">' .
  7.         $translations[$this->get_default_language()]->post_title . '</a>');
  8. ?>    
  9.     <p><input id="icl_translate_independent" class="button-secondary" type="button" value="<?php _e('Translate independently', 'sitepress') ?>" /></p>
  10.     <?php wp_nonce_field('reset_duplication_nonce', '_icl_nonce_rd') ?>
  11.     <i><?php printf(__('WPML will no longer synchronize this %s with the original content.', 'sitepress'), $post->post_type); ?></i>
  12. </div>
RAW Paste Data