[ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 $Id: languages.php 3 2006-05-27 04:59:07Z user $ 4 5 osCMax Power E-Commerce 6 http://oscdox.com 7 8 Copyright 2006 osCMax 9 10 Released under the GNU General Public License 11 */ 12 13 // Most of this file is changed or moved to BTS - Basic Template System - format. 14 15 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { 16 ?> 17 <!-- languages //--> 18 <?php 19 $boxHeading = BOX_HEADING_LANGUAGES; 20 $corner_left = 'square'; 21 $corner_right = 'square'; 22 $boxContent_attributes = ' align="center"'; 23 $box_base_name = 'languages'; // for easy unique box template setup (added BTSv1.2) 24 $box_id = $box_base_name . 'Box'; // for CSS styling paulm (editted BTSv1.2) 25 26 if (!isset($lng) || (isset($lng) && !is_object($lng))) { 27 include (DIR_WS_CLASSES . 'language.php'); 28 $lng = new language; 29 } 30 31 $boxContent = ''; 32 reset($lng->catalog_languages); 33 while (list($key, $value) = each($lng->catalog_languages)) { 34 $boxContent .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> '; 35 } 36 37 38 39 40 41 include (bts_select('boxes', $box_base_name)); // BTS 1.5 42 $boxContent_attributes = ''; 43 } 44 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |