Plugin Directory

Changeset 639359


Ignore:
Timestamp:
12/14/2012 08:08:03 PM (13 years ago)
Author:
dpereyra
Message:

fixed an issue with the last update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dp-maintenance-mode-lite/trunk/templates/default/index.php

    r638961 r639359  
    276276               
    277277                <div class="contactContent">
     278                    <?php
     279                    if($dpMaintenance['your_name'] == "") {
     280                        $dpMaintenance['your_name'] = "Your Name";
     281                    }
     282                    ?>
    278283                    <form onsubmit="$('#btn_contact').trigger('click'); return false;">
    279                         <input type="text" value="<?php _e("Your name")?>" name="name" id="name" onfocus="if(this.value == '<?php _e("Your name")?>') { this.value = ''; }" onblur="if(this.value == '') { this.value = '<?php _e("Your name")?>'; }" class="text" />
     284                        <input type="text" value="<?php echo $dpMaintenance['your_name']?>" name="name" id="name" onfocus="if(this.value == '<?php echo $dpMaintenance['your_name']?>') { this.value = ''; }" onblur="if(this.value == '') { this.value = '<?php echo $dpMaintenance['your_name']?>'; }" class="text" />
    280285                       
    281286                        <input type="text" value="mail@mail.com" name="email" id="email" onfocus="if(this.value == 'mail@mail.com') { this.value = ''; }" onblur="if(this.value == '') { this.value = 'mail@mail.com'; }" class="text" />
Note: See TracChangeset for help on using the changeset viewer.