Sobi2
Use of Templates
V-Card Template | V-Card Template | | Print | |
|
Default content of the V-Card Template. <?php /** * @version $Id: sobi2.vc.tmpl.php 5462 2010-08-18 08:25:37Z Sigrid Suski $ * @package: Sigsiu Online Business Index 2 (Sobi2) * =================================================== * @author * Name: Sigrid & Radek Suski, Sigsiu.NET GmbH * Email: sobi[at]sigsiu.net * Url: http://www.sigsiu.net * =================================================== * @copyright Copyright (C) 2006 - 2010 Sigsiu.NET GmbH (http://www.sigsiu.net). * All rights reserved. * @license see http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL. * You can use, redistribute this file and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation. */ /* Please do not remove this line */ defined( '_SOBI2_' ) || exit("Restricted access"); /* ------------------------------------------------------------------------------ * 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 properties // $mySobi = new sobi2( $id ); // $waySearchLink = HTML_SOBI::createWaySearchUrl( $id ); ?> <!-- here starts the template --> <td <?php echo $style; ?>> <?php echo $editButton; ?> <?php echo $deleteButton; ?> <?php echo $ico; ?> <?php echo $img; ?> <?php echo $title; ?> <?php echo HTML_SOBI::customFieldsData($fieldsFormatted);?> <!-- here ends the template --> <!-- Do not remove these lines! --< </td><?php } ?> |
Visitors: