easybeau Posted June 26, 2006 Share Posted June 26, 2006 Hi, I wanna remve drop menu in header and post currencies like this: EUR CHF Somebody could help me? thanks, Isabelle http://www.keepintouch-store.com Link to comment Share on other sites More sharing options...
easybeau Posted June 26, 2006 Author Share Posted June 26, 2006 Here is my code in currencies.php: <tr> <td align="right" valign="top" class="plainBox" width="120"> <?php $info_box_contents = array(); //$info_box_contents[] = array('text' => BOX_HEADING_CURRENCIES); new plainBox($info_box_contents, false, false); reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); } $hidden_get_variables = ''; reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) { $hidden_get_variables .= tep_draw_hidden_field($key, $value); } } $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get'), 'align' => 'center', 'text' => tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" style="width: 100%"') . $hidden_get_variables . tep_hide_session_id()); new plainBox($info_box_contents); ?> </td> </tr> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.