Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
common
modules
shoppingcart
widgets
views
ShoppingCartNavigateWidget.php
1
<?php
2
/**
3
* Gentics Portal.Node PHP
4
* Author & Copyright (c) by Gentics Software GmbH
5
* sales@gentics.com
6
* http://www.gentics.com
7
* Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8
* You must not use this software without a valid license agreement.
9
*
10
*/
11
?>
12
<div
class
=
"navigation"
>
13
<?php $shoppingcart_link = substr($_SERVER[
'REDIRECT_URL'
],1); ?>
14
<?php
for
($s = 1; $s <= $stepsCount; $s++): ?>
15
<div
class
=
'<?php if($s == $step)echo " active"; if(Yii::app()->user->getState('
step_
'.$s)==true)echo " passed" ?>'
>
16
<a href=
"<?php if($s!=$step){
17
echo Yii::app()->createUrl($shoppingcart_link)."
?step=$s
";
18
}
19
?>"
>
20
<?php echo
ShoppingcartModule::t
(
'Step'
).
' '
.$s; ?>
21
</a>
22
</div>
23
<?php endfor; ?>
24
</div>
Generated on Thu Feb 6 2014 15:47:54 for Gentics Portal.Node PHP API by
1.8.1.2