Changeset 11109 for trunk/wp-admin/import/livejournal.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/livejournal.php
r11081 r11109 185 185 <p><?php _e( 'It looks like you attempted to import your LiveJournal posts previously and got interrupted.' ) ?></p> 186 186 <p class="submit"> 187 <input type="submit" class="button-primary" value="<?php echo attr ibute_escape( __( 'Continue previous import' ) ) ?>" />187 <input type="submit" class="button-primary" value="<?php echo attr( __( 'Continue previous import' ) ) ?>" /> 188 188 </p> 189 <p class="submitbox"><a href="<?php echo clean_url($_SERVER['PHP_SELF'] . '?import=livejournal&step=-1&_wpnonce=' . wp_create_nonce( 'lj-api-import' ) . '&_wp_http_referer=' . attr ibute_escape( $_SERVER['REQUEST_URI'] )) ?>" class="deletion submitdelete"><?php _e( 'Cancel & start a new import' ) ?></a></p>189 <p class="submitbox"><a href="<?php echo clean_url($_SERVER['PHP_SELF'] . '?import=livejournal&step=-1&_wpnonce=' . wp_create_nonce( 'lj-api-import' ) . '&_wp_http_referer=' . attr( $_SERVER['REQUEST_URI'] )) ?>" class="deletion submitdelete"><?php _e( 'Cancel & start a new import' ) ?></a></p> 190 190 <p> 191 191 <?php else : ?> … … 224 224 225 225 <p class="submit"> 226 <input type="submit" class="button-primary" value="<?php echo attr ibute_escape( __( 'Connect to LiveJournal and Import' ) ) ?>" />226 <input type="submit" class="button-primary" value="<?php echo attr( __( 'Connect to LiveJournal and Import' ) ) ?>" /> 227 227 </p> 228 228 … … 725 725 ?> 726 726 <p><?php _e( 'Please enter your LiveJournal username <em>and</em> password so we can download your posts and comments.' ) ?></p> 727 <p><a href="<?php echo clean_url($_SERVER['PHP_SELF'] . '?import=livejournal&step=-1&_wpnonce=' . wp_create_nonce( 'lj-api-import' ) . '&_wp_http_referer=' . attr ibute_escape( str_replace( '&step=1', '', $_SERVER['REQUEST_URI'] ) ) ) ?>"><?php _e( 'Start again' ) ?></a></p>727 <p><a href="<?php echo clean_url($_SERVER['PHP_SELF'] . '?import=livejournal&step=-1&_wpnonce=' . wp_create_nonce( 'lj-api-import' ) . '&_wp_http_referer=' . attr( str_replace( '&step=1', '', $_SERVER['REQUEST_URI'] ) ) ) ?>"><?php _e( 'Start again' ) ?></a></p> 728 728 <?php 729 729 return false; … … 737 737 ?> 738 738 <p><?php _e( 'Logging in to LiveJournal failed. Check your username and password and try again.' ) ?></p> 739 <p><a href="<?php echo clean_url($_SERVER['PHP_SELF'] . '?import=livejournal&step=-1&_wpnonce=' . wp_create_nonce( 'lj-api-import' ) . '&_wp_http_referer=' . attr ibute_escape( str_replace( '&step=1', '', $_SERVER['REQUEST_URI'] ) ) ) ?>"><?php _e( 'Start again' ) ?></a></p>739 <p><a href="<?php echo clean_url($_SERVER['PHP_SELF'] . '?import=livejournal&step=-1&_wpnonce=' . wp_create_nonce( 'lj-api-import' ) . '&_wp_http_referer=' . attr( str_replace( '&step=1', '', $_SERVER['REQUEST_URI'] ) ) ) ?>"><?php _e( 'Start again' ) ?></a></p> 740 740 <?php 741 741 return false; … … 817 817 <?php wp_nonce_field( 'lj-api-import' ) ?> 818 818 <input type="hidden" name="step" id="step" value="1" /> 819 <p><input type="submit" class="button-primary" value="<?php echo attr ibute_escape( __( 'Import the next batch' ) ) ?>" /> <span id="auto-message"></span></p>819 <p><input type="submit" class="button-primary" value="<?php echo attr( __( 'Import the next batch' ) ) ?>" /> <span id="auto-message"></span></p> 820 820 </form> 821 821 <?php $this->auto_ajax( 'ljapi-auto-repost', 'auto-message', 0 ); ?> … … 867 867 <?php wp_nonce_field( 'lj-api-import' ) ?> 868 868 <input type="hidden" name="step" id="step" value="2" /> 869 <p><input type="submit" class="button-primary" value="<?php echo attr ibute_escape( __( 'Import the next batch' ) ) ?>" /> <span id="auto-message"></span></p>869 <p><input type="submit" class="button-primary" value="<?php echo attr( __( 'Import the next batch' ) ) ?>" /> <span id="auto-message"></span></p> 870 870 </form> 871 871 <?php $this->auto_ajax( 'ljapi-auto-repost', 'auto-message', 0 ); ?> … … 943 943 $str .= wp_referer_field( false ); 944 944 $str .= '<input type="hidden" name="step" id="step" value="' . $next_step . '" />'; 945 $str .= '<p><input type="submit" class="button-primary" value="' . attr ibute_escape( $label ) . '" /> <span id="auto-message"></span></p>';945 $str .= '<p><input type="submit" class="button-primary" value="' . attr( $label ) . '" /> <span id="auto-message"></span></p>'; 946 946 $str .= '</form>'; 947 947
Note: See TracChangeset
for help on using the changeset viewer.