Skip to content

Commit

Permalink
remove some misc code
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruner committed Oct 26, 2010
1 parent ffca092 commit 642e940
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions library/functions/company-functions.php
Expand Up @@ -577,34 +577,6 @@ function rolo_save_company_info($field_name, $post_id) {
}
}


/**
* Setup function for company tags
*
* @global array $company_fields List of company fields
* @param string $field_name Field Name to be shown
* @param <type> $rolo_tab_index
* @since 1.5
*/
function rolo_setup_company_post_tags($fieldname, $tabidx, $cid ) {
$post_tags = wp_get_post_terms($cid, 'post_tag');
$tag_list = '';
$i = 0;
foreach ( $post_tags as $tag ) {
$tag_list .= $tag->name;
if ( $i+1<sizeof($post_tags) )
$tag_list .= ', ';
}
?>
<div class="ctrlHolder">
<label for="rolo_company_post_tag">
Tags </label>
<input type="text" class="textInput post_tag" tabindex="1003" size="55" value="<?php echo $tag_list; ?>" name="rolo_company_post_tag" autocomplete="off">
</div>
<?php
}


/**
* callback function for inline company edits
* @since 0.1
Expand Down

0 comments on commit 642e940

Please sign in to comment.