PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
wyz-toolkit
/
businesses-and-offers
/
businesses
<?php /** * Businesses's gallery add image form. * * @package wyz */ /** * Display the form * * @param boolean $has_images tells wheather the business already has images or not. */ function wyz_add_images( $has_images ) { ob_start(); ?> <div class="head fix"> <div class="col-lg-6 col-md-6 col-xs-12"> <h3 class="row"><?php echo sprintf( esc_html__( "%s photos", 'wyzi-business-finder' ), get_the_title() );?></h3> </div> <form method="post" enctype="multipart/form-data"> <input id="upload-button" type="button" value="<?php esc_html_e( 'add/remove images', 'wyzi-business-finder' );?>" /> <input name="bus-img-id" type="hidden" value="<?php echo esc_attr( get_the_ID() ); ?>"/> <?php if ( $has_images ) {?> <input type="submit" name="delete-bus-gal" value="<?php esc_html_e( 'Remove All Images', 'wyzi-business-finder' );?>" onclick="return confirm('<?php esc_html_e( 'are you sure you want to delete all your images?', 'wyzi-business-finder' );?>');"/> <?php }?> </form> </div> <?php return ob_get_clean(); } ?>
[+]
..
[+]
featured-business
[-] business-wall-display.php
[edit]
[+]
ratings
[-] front-end-business-submission.php
[edit]
[-] contact-mail-handler.php
[edit]
[-] business-display.php
[edit]
[-] single-business-post.php
[edit]
[+]
images
[-] admin-publish.php
[edit]
[+]
map-icons
[-] error-check.php
[edit]
[-] initialize-businesses.php
[edit]
[-] class-business-data.php
[edit]
[+]
templates
[+]
forms
[+]
Tax-meta-class
[-] add-images.php
[edit]
[+]
js
[+]
css
[-] default-settings.php
[edit]
[+]
image-resize
[-] ajax-handlers.php
[edit]
[-] edit-business.php
[edit]
[+]
private-messages
[-] business-archive.php
[edit]
[-] single-business.php
[edit]
[-] business-post.php
[edit]