예제 #1
0
파일: job.php 프로젝트: jomuji/mojobs-1
        ?>
                <?php 
    } elseif ($value->conf("type") == "ui-input-file") {
        ?>
                    <?php 
        foreach ($job->file->{$value->name} as $file) {
            ?>
                    <a href="<?php 
            esc_attr_e($file->url);
            ?>
" rel="nofollow"><?php 
            esc_html_e($file->basename);
            ?>
</a>
                    <?php 
            echo wpjb_format_bytes($file->size);
            ?>
<br/>
                    <?php 
        }
        ?>
                <?php 
    } else {
        ?>
                    <?php 
        esc_html_e(join(", ", (array) $value->values()));
        ?>
                <?php 
    }
    ?>
            </div>
예제 #2
0
    _e("Attached Files", "wpjobboard");
    ?>
            </div>
            <div class="wpjb-col-65">
                <?php 
    foreach ($application->getFiles() as $file) {
        ?>
                <a href="<?php 
        echo esc_attr($file->url);
        ?>
"><?php 
        echo esc_html($file->basename);
        ?>
</a>
                ~ <?php 
        echo esc_html(wpjb_format_bytes($file->size));
        ?>
                <br/>
                <?php 
    }
    ?>
            </div>
        </div>   
        <?php 
}
?>
    </div>
    
    <div class="wpjb-text-box">

        <h3><?php