Пример #1
0
    ?>
    	<span class="contactName">
		<?php 
    echo CHtml::encode($contact['name']);
    ?>
		</span>
		<br/>
		<span class="contact">
		<?php 
    if ($contact['phone']) {
        ?>
		<?php 
        echo CHtml::encode($contact['phone']);
        ?>
		<?php 
    } else {
        ?>
		<?php 
        echo CHTML::encode($contact['email']);
        ?>
		<?php 
    }
    ?>
		<span>
    </a>
  </div>
<?php 
}
?>
</div>
 public function getAdminForm()
 {
     $allowedTags = CHTML::encode(implode(', ', $this->messageAllowedTags));
     return array('title' => sprintf('%s %s.</p>', Yii::t('admin', '<p>If enabled, an access warning is presented to visitors the first time they visit your web store during a given browser session.' . 'If a customer closes their browser and then opens a new browser session, the access warning will appear again the next time they visit your web store.</p>' . '<p>You can customize the message to suit your needs.</p>' . '<p>The following HTML tags are supported for use in the message: '), $allowedTags), 'elements' => array('message' => array('type' => 'textarea', 'maxlength' => 1000, 'rows' => 5, 'class' => 'row-fluid narrow'), 'button_caption' => array('type' => 'text', 'maxlength' => 36, 'class' => 'row-fluid')));
 }
Пример #3
0
    ?>
	</div>
	<div class="Totales_Carrito">
			<br/>
			<?php 
    echo CHTML::encode('Total Productos (21% IVA incluido):   ');
    ?>
			<?php 
    echo CHTML::encode(number_format($basePrecio, 2, ',', '.') . "€");
    ?>
	
			<br/>
			<?php 
    echo CHTML::encode('Gastos de Envío (21% IVA incluido):   ');
    ?>
			<?php 
    echo CHTML::encode(number_format(3.55, 2, ',', '.') . "€");
    ?>
			<br/><br/>
			<?php 
    echo CHTML::encode('Importe Total del Pedido:   ');
    ?>
			<?php 
    echo CHTML::encode(number_format($basePrecio + 3.55, 2, ',', '.') . "€");
    ?>
			<br/>
	</div>
	<?php 
} else {
    echo "<h3>El Carrito esta vacio</h3>";
}