Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch ($item->browserNav) :
- default:
- case 0:
- ?><a <?php echo $class; ?>href="<?php echo $flink; ?>" <?php echo $title; ?>><?php echo $linktype; ?></a><?php
- break;
- case 1:
- // _blank
- ?><a <?php echo $class; ?>href="<?php echo $flink; ?>" target="_blank" <?php echo $title; ?>><?php echo $linktype; ?></a><?php
- break;
- case 2:
- // window.open
- $options = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,'.$params->get('window_open');
- ?><a <?php echo $class; ?>href="<?php echo $flink; ?>" onclick="window.open(this.href,'targetWindow','<?php echo $options;?>');return false;" <?php echo $title; ?>><?php echo $linktype; ?></a><?php
- break;
- endswitch;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement