Making WordPress.org


Ignore:
Timestamp:
10/21/2016 04:10:02 PM (8 years ago)
Author:
iandunn
Message:

WordCamp Site Cloner: Convert to REST/Backbone to improve scalability

See #1112
Props prettyboymp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/templates/site-control.php

    r1715 r4280  
    1 <?php defined( 'WPINC' ) or die(); ?>
     1<?php
    22
    3 <div id="wcsc-site-<?php echo esc_attr( $this->site_id ); ?>" class="wcscSite" data-preview-url="<?php echo esc_url( $preview_url ); ?>">
    4     <div class="wcsc-site-screenshot">
    5         <img src="<?php echo esc_url( $this->screenshot_url ); ?>" alt="<?php echo esc_attr( $this->site_name ); ?>" />
    6     </div>
     3/**
     4 * Top level template for the output of the Site Cloner Customizer Control
     5 */
    76
    8     <h3 class="wcsc-site-name">
    9         <?php echo esc_html( $this->site_name ); ?>
     7namespace WordCamp\Site_Cloner;
     8defined( 'WPINC' ) or die();
     9
     10?>
     11
     12<div id="wcsc-cloner">
     13    <h3>
     14        <?php esc_html_e( 'WordCamp Sites', 'wordcamporg' ); ?>
     15        <span id="wcsc-sites-count" class="title-count wcsc-sites-count"></span>
    1016    </h3>
    1117
    12     <span id="live-preview-label-<?php echo esc_attr( $this->site_id ); ?>" class="wcsc-live-preview-label">
    13         <?php _e( 'Live Preview', 'wordcamporg' ); ?>
    14     </span>
     18    <div class="filters"></div>
     19
     20    <div class="wcsc-search">
     21        <ul id="wcsc-results"></ul>
     22    </div>
    1523</div>
Note: See TracChangeset for help on using the changeset viewer.