Exemple #1
0
            <label for="wpl_location_name"><?php 
echo __('Name', WPL_TEXTDOMAIN);
?>
</label>
            <input class="text_box" type="text" id="wpl_location_name" value="<?php 
echo wpl_global::isset_object('name', $this->location_data);
?>
" autocomplete="off" />
        </div>
        <div class="fanc-row">
            <label for="wpl_location_abbr"><?php 
echo __('Abbreviation', WPL_TEXTDOMAIN);
?>
</label>
            <input class="text_box" type="text" id="wpl_location_abbr" value="<?php 
echo wpl_global::isset_object('abbr', $this->location_data);
?>
" autocomplete="off" />
        </div>
        <div class="fanc-row fanc-button-row">
            <?php 
if ($this->location_id) {
    ?>
                <input type="hidden" id="wpl_location_id" value="<?php 
    $this->location_id;
    ?>
" />
                <input class="wpl-button button-1" type="submit" id="wpl_submit" value="<?php 
    echo __('Save', WPL_TEXTDOMAIN);
    ?>
" onclick="wpl_ajax_modify_location('<?php