Plugin Directory

Changeset 1519241


Ignore:
Timestamp:
10/21/2016 12:38:22 PM (9 years ago)
Author:
reviewbuilder
Message:

Minor bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • review-builder/trunk/com/layouts/Review/save.php

    r1519229 r1519241  
    1 <?php 
     1<?php
    22    global $sgrb;
    33    $sgrb->includeStyle('page/styles/jquery-ui-dialog');
     
    3636                            <div class="sgrb-main-template-wrapper"><?php echo (@$sgrbDataArray['template'] != 'post_review') ? @$res : '';?></div>
    3737<!-- Post review template -->
     38<?php if (SGRB_PRO_VERSION) :?>
    3839                            <div class="sgrb-post-template-wrapper"<?php echo (@$sgrbDataArray['template'] == 'post_review') ? '' : ' style="display:none;"';?>>
    3940                                <div class="sg-row">
     
    9192                                                        <?php $checked = '';?>
    9293                                                        <?php $disabled = '';?>
    93                                                        
     94
    9495                                                        <?php $categoryClass = 'sgrb-selected-categories';?>
    9596                                                        <?php if (@$termsArray['id'][$i] == @$sgrbDataArray['woo-category'][$j]) :?>
     
    150151                            </div>
    151152<!-- end-->
     153<?php endif ;?>
    152154                        </div>
    153155                    </div>
     
    202204                                </div>
    203205                            </div>
    204                             </div> 
     206                            </div>
    205207                            <div class="sgrb-skin-color"<?php echo (@$sgrbDataArray['rate-type'] == SGRB_RATE_TYPE_POINT) ? ' style="display:none;"' : '' ;?>>
    206208                                <p><b><?php echo _e('Rate Skin color', 'sgrb');?>: </b></p>
     
    237239                            </div>
    238240                        <?php endif;?>
    239                            
     241
    240242                            <div class="sgrb-total-color-options">
    241243                                <input type="hidden" class="sgrb-show-total" value="<?php echo (@$sgrbDataArray['total-rate']) ? 1 : 0;?>">
     
    331333                                </div>
    332334                                </div>
    333                                
     335
    334336                            <?php endif;?>
    335337                        </div>
    336338                    </div>
    337                    
     339
    338340                </div>
    339341
     
    364366                                </div>
    365367                                <div class="sgrb-require-options-fields">
    366                                     <p><label for=""><input id="" class="sgrb-email-notification-checkbox" value="true" type="checkbox"><?php echo _e('Notify for new comments to this email:', 'sgrb');?></label> 
     368                                    <p><label for=""><input id="" class="sgrb-email-notification-checkbox" value="true" type="checkbox"><?php echo _e('Notify for new comments to this email:', 'sgrb');?></label>
    367369                                    <input class="sgrb-email-notification"></p>
    368370                                    <p><label for="sgrb-required-login-checkbox"><input id="sgrb-required-login-checkbox" class="sgrb-email-notification-checkbox" type="checkbox"><?php echo _e('Require login for new comments', 'sgrb');?></label>
     
    389391                            </div>
    390392                            <div class="sgrb-require-options-fields">
    391                                 <p><label for="sgrb-email-checkbox"><input id="sgrb-email-checkbox" class="sgrb-email-notification-checkbox sgrb-email-hide-show-js" value="true" type="checkbox" name="email-notification-checkbox"<?php echo (@$sgrbDataArray['notify']) ? ' checked' : '';?><?php echo (@$sgrbRevId != 0) ? '' : ' checked';?>><?php echo _e('Notify for new comments to this email:', 'sgrb');?></label> 
     393                                <p><label for="sgrb-email-checkbox"><input id="sgrb-email-checkbox" class="sgrb-email-notification-checkbox sgrb-email-hide-show-js" value="true" type="checkbox" name="email-notification-checkbox"<?php echo (@$sgrbDataArray['notify']) ? ' checked' : '';?><?php echo (@$sgrbRevId != 0) ? '' : ' checked';?>><?php echo _e('Notify for new comments to this email:', 'sgrb');?></label>
    392394                                <input class="sgrb-email-notification" type="email" value="<?php echo (@$sgrbRevId != 0) ? @$sgrbDataArray['notify'] : get_option('admin_email');?>" name="email-notification"></p>
    393395                                <input class="sgrb-admin-email" type="hidden" value="<?php echo get_option('admin_email') ;?>">
Note: See TracChangeset for help on using the changeset viewer.