function wpjobads_rss($args) { $wpjobads_rss_url = wpjobads_get_permalink('jobfeed=rss2'); ?> <li><a href="<?php echo attribute_escape($wpjobads_rss_url); ?> " title="<?php echo attribute_escape(__('Syndicate this site using RSS 2.0')); ?> "><?php _e('Jobs <abbr title="Really Simple Syndication">RSS</abbr>'); ?> </a></li> <?php }
function wpjobads_template_random_ad($args) { extract($args); ?> <div class="postmetadata alt" style="text-align:center;"> <small> <a href="<?php echo wpjobads_get_permalink('job_id=' . attribute_escape($job->id)); ?> "><?php echo sprintf(__('%1$s is looking for a %2$s', 'wpjobads'), attribute_escape($job->company_name), attribute_escape($job->title)); ?> </a> <br/> <a href="<?php echo wpjobads_get_permalink(); ?> "><?php _e('Looking for a job? Got a position to fill? Check out the Job Board.', 'wpjobads'); ?> </a> </small> </div> <?php }