Questo è il codice della scheda di sobi2:
/* Please do not remove this line */
defined( '_SOBI2_' ) || ( trigger_error("Restricted access", E_USER_ERROR) && exit() );
/* ------------------------------------------------------------------------------
* This is the template for the V-Card View
* ------------------------------------------------------------------------------
*/
/* Don't remove this line! */
function sobi2VCview($id, $style, $ico, $img, $title, $fieldsObjects, $fieldsFormatted, $plugins, $editButton = null, $deleteButton = null)
{
// For advanced templating comment in the next line if you need to access other sobi2 object proporties
// $mySobi = new sobi2( $id );
// $config =& sobi2Config::getInstance();
// $waySearchLink = HTML_SOBI::createWaySearchUrl( $id );
?>
<!-- here starts the template -->
<td <?php echo $style; ?>>
<?php echo $title; ?>
<?php echo $img; ?>
<?php echo $ico; ?>
<?php echo $editButton; ?>
<?php echo $deleteButton; ?>
<!-- here ends the template -->
<!-- Don't remove these lines! -->
</td><?php
}
?>
Questo il codice del plugin:
({num_votes} #LANG_VOTES, #LANG_AVERAGE {num_average} #LANG_OUTOF)
Come li combino?