Plugin Directory

Changeset 193095


Ignore:
Timestamp:
01/12/2010 11:00:43 AM (16 years ago)
Author:
frekel
Message:

Fixes Popup error box: errorbox 'error_upload_email' not found! and adds polish language

Location:
wp-photocontest/trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • wp-photocontest/trunk/play.php

    r192823 r193095  
    403403                                    <input type="hidden" name="post_id" value="<?php echo $post_id; ?>" />
    404404                                    <table class="sTable">
    405                                         <?php
    406                                         if ( (ROLE_UPLOAD != '') || ($current_user->user_email != '') )
    407                                         {
    408                                             ?>
    409                                             <input type="hidden" name="upload_email" id="upload_email" value="<?php echo $current_user->user_email; ?>" />
    410                                             <?php
    411                                         }
    412                                         else
    413                                         {
    414                                             ?>
    415                                             <tr>
    416                                                 <td class="firstCol"><?php _e('Email', 'wp-photocontest');?>:</td>
    417                                                 <td class="secondCol">&nbsp;</td>
    418                                                 <td class="otherCol">
    419                                                 <div class="feedback hidden" id="error_upload_email"><?php _e('Error:', 'wp-photocontest');?> <?php _e("No email provided", 'wp-photocontest');?></div>
    420                                                 <input type="text" name="upload_email" id="upload_email" value="" />
    421                                                 </td>
    422                                             </tr>                                       
    423                                             <?
    424                                         }
    425                                         ?>
    426 
     405                                        <tr>
     406                                            <td class="firstCol"><?php _e('Email', 'wp-photocontest');?>:</td>
     407                                            <td class="secondCol">&nbsp;</td>
     408                                            <td class="otherCol">
     409                                            <div class="feedback hidden" id="error_upload_email"><?php _e('Error:', 'wp-photocontest');?> <?php _e("No email provided", 'wp-photocontest');?></div>
     410                                            <input type="text" name="upload_email" id="upload_email" value="<?php echo $current_user->user_email; ?>" />
     411                                            </td>
     412                                        </tr>
    427413                                        <tr>
    428414                                            <td class="firstCol"><?php _e('File', 'wp-photocontest');?>:</td>
Note: See TracChangeset for help on using the changeset viewer.