Changeset 2129493
- Timestamp:
- 07/27/2019 04:38:31 PM (7 years ago)
- Location:
- spartan-gallery/trunk
- Files:
-
- 22 deleted
- 9 edited
-
admin/class-spartan-gallery-admin.php (modified) (1 diff)
-
admin/class-spartan-gallery-metaboxes.php (modified) (2 diffs)
-
admin/exopite-simple-options/assets (deleted)
-
banner-1544×500.png (deleted)
-
banner-772x250.png (deleted)
-
icon-128x128.png (deleted)
-
icon-256x256.png (deleted)
-
includes/class-spartan-gallery-loader.php (modified) (6 diffs)
-
includes/class-spartan-gallery.php (modified) (3 diffs)
-
public/class-spartan-gallery-public.php (modified) (2 diffs)
-
public/css/gallery-styles.css (deleted)
-
public/custom-columns.php (modified) (1 diff)
-
public/html-cointainer-outputs/class-3d-slider-html-container.php (modified) (2 diffs)
-
public/html-cointainer-outputs/class-hexagon-html-container.php (modified) (1 diff)
-
public/js/freewall-options.js (deleted)
-
public/js/hexagon-tweenmax.js (deleted)
-
public/js/spartan-gallery-public.js (modified) (2 diffs)
-
public/spartan-gallery-function.php (deleted)
-
public/spartan-gallery-shortcode.php (deleted)
-
screenshot-1.jpg (deleted)
-
screenshot-10.png (deleted)
-
screenshot-11.png (deleted)
-
screenshot-12.png (deleted)
-
screenshot-2.jpg (deleted)
-
screenshot-3.jpg (deleted)
-
screenshot-4.jpg (deleted)
-
screenshot-5.png (deleted)
-
screenshot-6.png (deleted)
-
screenshot-7.png (deleted)
-
screenshot-8.png (deleted)
-
screenshot-9.png (deleted)
Legend:
- Unmodified
- Added
- Removed
-
spartan-gallery/trunk/admin/class-spartan-gallery-admin.php
r2036461 r2129493 28 28 } 29 29 30 30 31 31 class Spartan_Gallery_Admin { 32 32 -
spartan-gallery/trunk/admin/class-spartan-gallery-metaboxes.php
r2036461 r2129493 37 37 <tr><td> 38 38 39 <span style="color:#183691;" ><code>[spartan_gallery page_id="<span style="color:green;" ><?php print_r(get_the_ID()); ?></span>"]</code><span style="color:#A71D5D;" ></span>40 </span> 39 <p><code style="color:#A71D5D;" >[spartan_gallery id='<?php print_r(get_the_ID()); ?>']</code></p> 40 41 41 </td> 42 42 <td width="50px" style="align:right;"> 43 44 45 43 46 44 </td></tr> … … 56 54 <table width="100%"> 57 55 <tr><td> 58 59 <span style="color:#183691;" ><span style="color:#A71D5D;"><?php</span> <span style="color:red;">echo do_shortcode("</span>[spartan_gallery page_id="<span style="color:green;" ><?php print_r(get_the_ID()); ?></span>"]<span style="color:#A71D5D;" ></span><span style="color:red;">");</span> <span style="color:#A71D5D;">?></span> 60 </span> 61 56 <p><code style="color:#A71D5D;" >echo do_shortcode("[spartan_gallery id='<?php print_r(get_the_ID()); ?>']");</code></p> 62 57 </td> 63 58 <td width="50px" style="align:right;"> -
spartan-gallery/trunk/includes/class-spartan-gallery-loader.php
r2036461 r2129493 27 27 * The array of actions registered with WordPress. 28 28 * 29 * @since 1.0.030 * @access protected31 * @var array $actionsThe actions registered with WordPress to fire when the plugin loads.29 * @since 1.0.0 30 * @access protected 31 * @var array $actions The actions registered with WordPress to fire when the plugin loads. 32 32 */ 33 33 protected $actions; … … 36 36 * The array of filters registered with WordPress. 37 37 * 38 * @since 1.0.039 * @access protected40 * @var array $filtersThe filters registered with WordPress to fire when the plugin loads.38 * @since 1.0.0 39 * @access protected 40 * @var array $filters The filters registered with WordPress to fire when the plugin loads. 41 41 */ 42 42 protected $filters; 43 43 44 44 /** 45 * 46 * @since 1.0.0 47 * @access private 48 * @var object|Spartan_Gallery_Loader 49 */ 50 private static $instance; 51 52 /** 45 53 * Initialize the collections used to maintain the actions and filters. 46 54 * 47 * @since 1.0.055 * @since 1.0.0 48 56 */ 49 57 public function __construct() { … … 57 65 * Add a new action to the collection to be registered with WordPress. 58 66 * 59 * @since 1.0.060 * @param string $hookThe name of the WordPress action that is being registered.61 * @param object $componentA reference to the instance of the object on which the action is defined.62 * @param string $callbackThe name of the function definition on the $component.63 * @param int $priority Optional. The priority at which the function should be fired. Default is 10.64 * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1.67 * @since 1.0.0 68 * @param string $hook The name of the WordPress action that is being registered. 69 * @param object $component A reference to the instance of the object on which the action is defined. 70 * @param string $callback The name of the function definition on the $component. 71 * @param int Optional $priority The priority at which the function should be fired. 72 * @param int Optional $accepted_args The number of arguments that should be passed to the $callback. 65 73 */ 66 74 public function add_action( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) { … … 71 79 * Add a new filter to the collection to be registered with WordPress. 72 80 * 73 * @since 1.0.074 * @param string $hookThe name of the WordPress filter that is being registered.75 * @param object $componentA reference to the instance of the object on which the filter is defined.76 * @param string $callbackThe name of the function definition on the $component.77 * @param int $priority Optional. The priority at which the function should be fired. Default is 10.78 * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 181 * @since 1.0.0 82 * @param string $hook The name of the WordPress filter that is being registered. 83 * @param object $component A reference to the instance of the object on which the filter is defined. 84 * @param string $callback The name of the function definition on the $component. 85 * @param int Optional $priority The priority at which the function should be fired. 86 * @param int Optional $accepted_args The number of arguments that should be passed to the $callback. 79 87 */ 80 88 public function add_filter( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) { … … 86 94 * collection. 87 95 * 88 * @since 1.0.089 * @access private90 * @param array $hooksThe collection of hooks that is being registered (that is, actions or filters).91 * @param string $hookThe name of the WordPress filter that is being registered.92 * @param object $componentA reference to the instance of the object on which the filter is defined.93 * @param string $callbackThe name of the function definition on the $component.94 * @param int $priorityThe priority at which the function should be fired.95 * @param int $accepted_argsThe number of arguments that should be passed to the $callback.96 * @return arrayThe collection of actions and filters registered with WordPress.96 * @since 1.0.0 97 * @access private 98 * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). 99 * @param string $hook The name of the WordPress filter that is being registered. 100 * @param object $component A reference to the instance of the object on which the filter is defined. 101 * @param string $callback The name of the function definition on the $component. 102 * @param int Optional $priority The priority at which the function should be fired. 103 * @param int Optional $accepted_args The number of arguments that should be passed to the $callback. 104 * @return type The collection of actions and filters registered with WordPress. 97 105 */ 98 106 private function add( $hooks, $hook, $component, $callback, $priority, $accepted_args ) { 99 107 100 $hooks[ ] = array(108 $hooks[ $this->hook_index( $hook, $component, $callback ) ] = array( 101 109 'hook' => $hook, 102 110 'component' => $component, … … 111 119 112 120 /** 121 * Get an instance of this class 122 * 123 * @since 1.0.0 124 * @return object|\Plugin_Name_Loader 125 */ 126 public static function get_instance() { 127 if( is_null( self::$instance ) ) { 128 self::$instance = new Now_Hiring_Loader(); 129 } 130 return self::$instance; 131 } 132 133 /** 134 * Utility function for indexing $this->hooks 135 * 136 * @since 1.0.0 137 * @access protected 138 * @param string $hook The name of the WordPress filter that is being registered. 139 * @param object $component A reference to the instance of the object on which the filter is defined. 140 * @param string $callback The name of the function definition on the $component. 141 * 142 * @return string 143 */ 144 protected function hook_index( $hook, $component, $callback ) { 145 return md5( $hook . get_class( $component ) . $callback ); 146 } 147 148 /** 149 * Remove a hook. 150 * 151 * Hook must have been added by this class for this remover to work. 152 * 153 * Usage Plugin_Name_Loader::get_instance()->remove( $hook, $component, $callback ); 154 * 155 * @since 1.0.0 156 * @param string $hook The name of the WordPress filter that is being registered. 157 * @param object $component A reference to the instance of the object on which the filter is defined. 158 * @param string $callback The name of the function definition on the $component. 159 */ 160 public function remove( $hook, $component, $callback ) { 161 162 $index = $this->hook_index( $hook, $component, $callback ); 163 164 if( isset( $this->filters[ $index ] ) ) { 165 remove_filter( $this->filters[ $index ][ 'hook' ], array( $this->filters[ $index ][ 'component' ], $this->filters[ $index ][ 'callback' ] ) ); 166 } 167 168 if( isset( $this->actions[ $index ] ) ) { 169 remove_action( $this->filters[ $index ][ 'hook' ], array( $this->filters[ $index ][ 'component' ], $this->filters[ $index ][ 'callback' ] ) ); 170 } 171 172 } 173 174 /** 113 175 * Register the filters and actions with WordPress. 114 176 * 115 * @since 1.0.0177 * @since 1.0.0 116 178 */ 117 179 public function run() { -
spartan-gallery/trunk/includes/class-spartan-gallery.php
r2036461 r2129493 145 145 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-spartan-gallery-welcome-dashboard.php'; 146 146 147 /**148 * The class responsible for defining all actions that occur in the public-facing149 * side of the site.150 */151 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/spartan-gallery-shortcode.php';152 147 153 148 /** … … 156 151 */ 157 152 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-spartan-gallery-public.php'; 158 159 /**160 * The class responsible for defining all actions that occur in the public-facing161 * side of the site.162 */163 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/spartan-gallery-function.php';164 153 165 154 /** … … 291 280 $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' ); 292 281 $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' ); 282 $this->loader->add_action( 'init', $plugin_public, 'register_shortcodes' ); 283 $this->loader->add_action( 'spartan_gallery', $plugin_public, 'spartan_gallery_shortcode' ); 284 293 285 294 286 } -
spartan-gallery/trunk/public/class-spartan-gallery-public.php
r2036461 r2129493 27 27 } 28 28 29 29 30 30 class Spartan_Gallery_Public { 31 31 … … 130 130 } 131 131 132 133 /** 134 * Register the JavaScript for the public-facing side of the site. 135 * 136 * @since 1.0.0 137 */ 138 public function spartan_gallery_post_type( $id ) 139 { 140 141 //$loop_args = array( 'post_type' => 'spartan_gallery_type', /*'posts_per_page' => -1,*/ 'page_id' => $id ); 142 //$loop = new WP_Query( $loop_args ); 143 //while ( $loop->have_posts() ) : $loop->the_post(); 144 145 $args = array( 146 'post_type' => 'attachment', 147 'posts_per_page' => -1, 148 'post_parent' => $id, 149 'post_status' => 'inherit', 150 'meta_query' => array( 151 array( 152 'key' => 'spartan_gallery', 153 'compare' => '=' 154 ) 155 ) 156 157 ); 158 159 //endwhile; 160 161 return $args; 162 163 } 164 165 166 /** 167 * Register the JavaScript for the public-facing side of the site. 168 * 169 * @since 1.0.0 170 */ 171 public function spartan_gallery_shortcode($atts = [], $content = null, $tag = '') 172 { 173 174 175 // normalize attribute keys, lowercase 176 $atts = array_change_key_case((array)$atts, CASE_LOWER); 177 178 // override default attributes with user attributes 179 $wporg_atts = shortcode_atts( [ 'id' => '' ], $atts, $tag ); 180 181 // start output 182 $shortcode_container = ''; 183 184 185 $shortcode_container .= '<div class="spartan-gallery-box">'; 186 187 $spartan_gallery_post_type = $this->spartan_gallery_post_type( $wporg_atts['id'] ); 188 189 $attachments = get_posts( $spartan_gallery_post_type ); 190 191 $my_meta_options = get_post_meta( $attachments[0]->post_parent , 'spartan-gallery-meta', true ); // array 192 //print_r( $attachment ); 193 194 switch ( $my_meta_options['image_layout_select'] ) { 195 case 'value-1': 196 $shortcode_container .= Freewall_Chaotic_Container::display_chaotic_html_container( $attachments ); 197 break; 198 case 'value-2': 199 $shortcode_container .= Freewall_Random_Container::display_random_container( $attachments ); 200 break; 201 case 'value-3': 202 $shortcode_container .= Freewall_Fixed_Img_Container::display_fixed_img_container( $attachments ); 203 break; 204 case 'value-4': 205 $shortcode_container .= Freewall_Pinterest_Container::display_pinterest_container( $attachments ); 206 break; 207 case 'value-5': 208 $shortcode_container .= Spartan_Gallery_Hexagon::hexagon_html_container( $attachments ); 209 break; 210 case 'value-6': 211 $shortcode_container .= ThreeD_Image_Slider::ThreeDImageSlidet_Html_container( $attachments ); 212 break; 213 } 214 215 // end box 216 $shortcode_container .= '</div>'; 217 218 // return output 219 return $shortcode_container; 220 221 } 222 223 224 225 /** 226 * Registers all shortcodes at once 227 * 228 * @return [type] [description] 229 */ 230 public function register_shortcodes() 231 { 232 233 add_shortcode( 'spartan_gallery', array( $this, 'spartan_gallery_shortcode' ) ); 234 235 } 236 237 238 132 239 } -
spartan-gallery/trunk/public/custom-columns.php
r2036461 r2129493 72 72 <tr><td> 73 73 74 <span style="color:#183691;" ><code>[spartan_gallery page_id="<span style="color:green;" ><?php print_r(get_the_ID()); ?></span>"]</code><span style="color:#A71D5D;" ></span>74 <span style="color:#183691;" ><code>[spartan_gallery id="<code style="color:green;" ><?php print_r(get_the_ID()); ?></code>"]</code><code style="color:#A71D5D;" ></code> 75 75 </span> 76 76 </td> -
spartan-gallery/trunk/public/html-cointainer-outputs/class-3d-slider-html-container.php
r2036461 r2129493 14 14 15 15 16 echo '<div class="spartan-gallery-wrapper w-gallery">'; 17 echo '<section id="responsiveGallery-container" class="responsiveGallery-container">'; 18 echo '<a class="responsiveGallery-btn responsiveGallery-btn_prev" href="javascript:void(0);"></a>'; 19 echo '<a class="responsiveGallery-btn responsiveGallery-btn_next" href="javascript:void(0);"></a>'; 20 echo '<ul class="responsiveGallery-wrapper">'; 16 $output = ''; 17 $output .= '<div class="spartan-gallery-wrapper w-gallery">'; 18 $output .= '<section id="responsiveGallery-container" class="responsiveGallery-container">'; 19 $output .= '<a class="responsiveGallery-btn responsiveGallery-btn_prev" href="javascript:void(0);"></a>'; 20 $output .= '<a class="responsiveGallery-btn responsiveGallery-btn_next" href="javascript:void(0);"></a>'; 21 $output .= '<ul class="responsiveGallery-wrapper">'; 22 if ( isset( $attachments ) && ! empty( $attachments ) ) 23 { 21 24 foreach ( $attachments as $attachments_id => $attachment_val ) { 22 25 … … 25 28 $image_attributes = wp_get_attachment_image_src( $attachment_val->ID , $size = $image_options['thumbnail_size'] ); 26 29 27 echo'<li href="'.$attachment_val->guid.'" class="js-img-viwer img-true-location responsiveGallery-item" data-caption="" data-id="'.$attachments_id.'">';30 $output .= '<li href="'.$attachment_val->guid.'" class="js-img-viwer img-true-location responsiveGallery-item" data-caption="" data-id="'.$attachments_id.'">'; 28 31 29 32 if ( $image_options['display_original'] == 'on' and $image_options['thumbnail_options'] == 'off' ) { 30 echo'<a href="#" class="responsivGallery-link">';31 echo'<img style="height:'.$image_options['image_height'].''.$image_options['image_measure_value'].'; width:'.$image_options['image_width'].''.$image_options['image_measure_value'].';" src="'.$attachment_val->guid.'" />';32 echo'</a>';33 $output .= '<a href="#" class="responsivGallery-link">'; 34 $output .= '<img style="height:'.$image_options['image_height'].''.$image_options['image_measure_value'].'; width:'.$image_options['image_width'].''.$image_options['image_measure_value'].';" src="'.$attachment_val->guid.'" />'; 35 $output .= '</a>'; 33 36 } elseif ( $image_options['thumbnail_options'] == 'on' and $image_options['display_original'] == 'off' ) { 34 echo'<a href="#" class="responsivGallery-link">';35 echo'<img style="height:'.$image_options['image_height'].''.$image_options['image_measure_value'].'; width:'.$image_options['image_width'].''.$image_options['image_measure_value'].';" src="'.$image_attributes[0].'" />';36 echo'</a>';37 $output .= '<a href="#" class="responsivGallery-link">'; 38 $output .= '<img style="height:'.$image_options['image_height'].''.$image_options['image_measure_value'].'; width:'.$image_options['image_width'].''.$image_options['image_measure_value'].';" src="'.$image_attributes[0].'" />'; 39 $output .= '</a>'; 37 40 } else 38 41 { 39 $ text= '<p>Image Options => "Display Original Size Image" or "Display Thumnail Size" settings are turned on or off same time</p>';40 print $text;41 return; 42 $output .= '<p>Image Options => "Display Original Size Image" or "Display Thumnail Size" settings are turned on or off same time</p>'; 43 //print $text; 44 42 45 } 43 echo'<div style="color: black;" class="w-responsivGallery-info">';46 $output .= '<div style="color: black;" class="w-responsivGallery-info">'; 44 47 if( ! empty( implode(get_post_meta( get_the_ID(),"imgtitle" . $attachment_val->ID))) ) { 45 echo'<h4 class="text spartan-gallery-img-title" >'.esc_html(implode(get_post_meta( get_the_ID(),"imgtitle" . $attachment_val->ID) ) ).'</h4>';48 $output .= '<h4 class="text spartan-gallery-img-title" >'.esc_html(implode(get_post_meta( get_the_ID(),"imgtitle" . $attachment_val->ID) ) ).'</h4>'; 46 49 } 47 50 if( ! empty( implode(get_post_meta( get_the_ID(),"imgdescription" . $attachment_val->ID)))) { 48 echo'<p class="text spartan-gallery-img-description" >'.esc_html(implode(get_post_meta( get_the_ID(),"imgdescription" . $attachment_val->ID) ) ).'</p>';51 $output .= '<p class="text spartan-gallery-img-description" >'.esc_html(implode(get_post_meta( get_the_ID(),"imgdescription" . $attachment_val->ID) ) ).'</p>'; 49 52 } 50 53 if( ! empty( implode(get_post_meta( get_the_ID(),"button_url_buttonurl" . $attachment_val->ID))) ) { 51 echo('<td colspan="3" style="background-color:#005673; text-align:right; padding: 4px 0px;">54 $output .= ('<td colspan="3" style="background-color:#005673; text-align:right; padding: 4px 0px;"> 52 55 <button class="spartan-gallery-img-button text" onclick="parent.open(\'' . esc_url(implode(get_post_meta( get_the_ID(),"button_url_buttonurl" . $attachment_val->ID))) . '\')" >'.esc_html(implode(get_post_meta( get_the_ID(),"button_url_buttontitle" . $attachment_val->ID) ) ).'</button></td>'); 53 56 } 54 echo'</div>';55 echo'</li>';57 $output .= '</div>'; 58 $output .= '</li>'; 56 59 57 60 } 61 } 62 $output .= '</ul>'; 63 $output .= '</section>'; 64 $output .= '</div>'; 58 65 59 echo '</ul>'; 60 echo '</section>'; 61 echo '</div>'; 66 return $output; 62 67 63 68 -
spartan-gallery/trunk/public/html-cointainer-outputs/class-hexagon-html-container.php
r2036461 r2129493 13 13 14 14 15 16 echo'<div class="spartan-gallery-wrapper" style="position: relative;width: 100%;" >';17 echo'<div class="masonary" >';18 echo '<ul>';15 $output = ''; 16 $output .= '<div class="spartan-gallery-wrapper" style="position: relative;width: 100%;" >'; 17 $output .= '<div class="masonary" >'; 18 $output .= '<ul>'; 19 19 foreach ( $attachments as $attachments_id => $attachments_val ) { 20 20 $img_size = array( '120', '160', '180', '240', '280', '320' ); 21 21 $image_options = get_post_meta( $attachments_val->post_parent , 'spartan-gallery-meta', true ); // array 22 22 $image_attributes = wp_get_attachment_image_src( $attachments_val->ID , $size = $image_options['thumbnail_size'] ); 23 echo'<li class="hex">';24 echo'<a class="js-img-viwer hexIn" data-caption="Title" data-id="'.$attachments_id.'" href="'.$attachments_val->guid.'">';23 $output .= '<li class="hex">'; 24 $output .= '<a class="js-img-viwer hexIn" data-caption="Title" data-id="'.$attachments_id.'" href="'.$attachments_val->guid.'">'; 25 25 if ( $image_options['display_original'] == 'on' and $image_options['thumbnail_options'] == 'off' ) { 26 26 27 echo'<img style="height:100%; width:100%;" src="'.$attachments_val->guid.'" />';27 $output .= '<img style="height:100%; width:100%;" src="'.$attachments_val->guid.'" />'; 28 28 29 29 } elseif ( $image_options['thumbnail_options'] == 'on' and $image_options['display_original'] == 'off' ) { 30 30 31 echo'<img style="height:100%; width:100%;" src="'.$image_attributes[0].'" />';31 $output .= '<img style="height:100%; width:100%;" src="'.$image_attributes[0].'" />'; 32 32 33 33 } else 34 34 { 35 $text = '<p>Image Options => "Display Original Size Image" or "Display Thumnail Size" settings are turned on or off same time</p>'; 36 print $text; 37 return; 35 $output .= '<p>Image Options => "Display Original Size Image" or "Display Thumnail Size" settings are turned on or off same time</p>'; 36 38 37 } 39 38 if( ! empty( implode(get_post_meta( get_the_ID(),"imgtitle" . $attachments_val->ID))) ) { 40 echo'<h1 >'.esc_html(implode(get_post_meta( get_the_ID(),"imgtitle" . $attachments_val->ID) ) ).'</h1>';39 $output .= '<h1 >'.esc_html(implode(get_post_meta( get_the_ID(),"imgtitle" . $attachments_val->ID) ) ).'</h1>'; 41 40 } 42 41 43 42 if( ! empty( implode(get_post_meta( get_the_ID(),"imgdescription" . $attachments_val->ID)))) { 44 echo'<p >'.esc_html(implode(get_post_meta( get_the_ID(),"imgdescription" . $attachments_val->ID) ) ).'</p>';43 $output .= '<p >'.esc_html(implode(get_post_meta( get_the_ID(),"imgdescription" . $attachments_val->ID) ) ).'</p>'; 45 44 } 46 45 47 46 if( ! empty( implode(get_post_meta( get_the_ID(),"button_url_buttonurl" . $attachments_val->ID))) ) { 48 echo('<td colspan="3" style="background-color:#005673; text-align:right; padding: 4px 0px;">47 $output .=('<td colspan="3" style="background-color:#005673; text-align:right; padding: 4px 0px;"> 49 48 <button class="spartan-gallery-img-button text" onclick="parent.open(\'' . esc_url(implode(get_post_meta( get_the_ID(),"button_url_buttonurl" . $attachments_val->ID))) . '\')" >'.esc_html(implode(get_post_meta( get_the_ID(),"button_url_buttontitle" . $attachments_val->ID) ) ).'</button></td>'); 50 49 } 51 50 52 echo'</a>';53 echo'</li>';51 $output .= '</a>'; 52 $output .= '</li>'; 54 53 } 55 echo '</ul>'; 56 echo '</div>'; 57 echo '</div>'; 54 $output .= '</ul>'; 55 $output .= '</div>'; 56 $output .= '<script>'; 57 $output .= ''; 58 58 59 59 60 $output .= '</script>'; 61 $output .= '</div>'; 62 63 return $output; 60 64 61 65 } -
spartan-gallery/trunk/public/js/spartan-gallery-public.js
r2036461 r2129493 3 3 4 4 $(".js-img-viwer").SmartPhoto(); 5 6 5 7 6 $('.responsiveGallery-wrapper').responsiveGallery({ … … 11 10 }); 12 11 13 14 12 });
Note: See TracChangeset
for help on using the changeset viewer.