| Autore |
Messaggio |
samu
Nuovo entrato

Registrato: 14 Nov 2007
Messaggi: 4
Utente
Status: Offline
|
Inviato:
04 Ago 2008 - 18:45 |
|
| Oggetto: Modifica advanced_search.php |
Ciao, mi piacerebbe modificare la parte di ricerca aggiustando la dimenzioni che attualmente sembrano un po messe a casaccio..
ho provado a dare un occhiata al css ma non mi sembra ci sia nulla di utile..
il codice incriminato dovrebbe essere il seguente:
| Codice:
|
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => HEADING_SEARCH_CRITERIA);
new infoBoxHeading($info_box_contents, true, true);
$info_box_contents = array();
$info_box_contents[] = array('text' => tep_draw_input_field('keywords', '', 'style="width: 100%"'));
$info_box_contents[] = array('align' => 'right', 'text' => tep_draw_checkbox_field('search_in_description', '1') . ' ' . TEXT_SEARCH_IN_DESCRIPTION);
new infoBox($info_box_contents);
?></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="smallText"><?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_SEARCH_HELP) . '\')">' . TEXT_SEARCH_HELP_LINK . '</a>'; ?></td>
<td class="smallText" align="right"><?php echo tep_image_submit('button_search.gif', IMAGE_BUTTON_SEARCH); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="fieldKey"><?php echo ENTRY_CATEGORIES; ?></td>
<td class="fieldValue"><?php echo tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)))); ?></td>
</tr>
<tr>
<td class="fieldKey"> </td>
<td class="smallText"><?php echo tep_draw_checkbox_field('inc_subcat', '1', true) . ' ' . ENTRY_INCLUDE_SUBCATEGORIES; ?></td>
</tr>
<tr>
<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td class="fieldKey"><?php echo ENTRY_MANUFACTURERS; ?></td>
<td class="fieldValue"><?php echo tep_draw_pull_down_menu('manufacturers_id', tep_get_manufacturers(array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)))); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td class="fieldKey"><?php echo ENTRY_PRICE_FROM; ?></td>
<td class="fieldValue"><?php echo tep_draw_input_field('pfrom'); ?></td>
</tr>
<tr>
<td class="fieldKey"><?php echo ENTRY_PRICE_TO; ?></td>
<td class="fieldValue"><?php echo tep_draw_input_field('pto'); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td class="fieldKey"><?php echo ENTRY_DATE_FROM; ?></td>
<td class="fieldValue"><?php echo tep_draw_input_field('dfrom', DOB_FORMAT_STRING, 'onFocus="RemoveFormatString(this, \'' . DOB_FORMAT_STRING . '\')"'); ?></td>
</tr>
<tr>
<td class="fieldKey"><?php echo ENTRY_DATE_TO; ?></td>
<td class="fieldValue"><?php echo tep_draw_input_field('dto', DOB_FORMAT_STRING, 'onFocus="RemoveFormatString(this, \'' . DOB_FORMAT_STRING . '\')"'); ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></form></td>
</tr>
</table>
|
ed attualmente ha il seguente aspetto:
Cerca come e' adesso
vorrei che invece diventasse cosi (modificato con photoshop):
Cerca come vorrei diventasse
qualcuno che mastica php meglio di me potrebbe darmi qualche dritta? ^^
Grazie 1000 |
|
|
|
 |
samu
Nuovo entrato

Registrato: 14 Nov 2007
Messaggi: 4
Utente passivo
Status: Offline
|
 Inviato:
05 Ago 2008 - 04:00 |
|
|
ops.. mi sa che ci sono problemi con l'hosting dove avevo messo le immagini...
sperando che possano essere utili le riuppo...
com'e' adesso:
come vorrei diventasse:
:) ok... stavota dovrebbero vedersi correttamente.. |
|
|
|
 |
capretta
Moderatore


Registrato: 01 Gen 1970
Messaggi: 3405
Località: Val d
Status: Offline
|
 Inviato:
29 Ago 2008 - 14:00 |
|
|
ciao,
devi cambiare l'html non il php e spostare o togliere gli oggetti del form che non ti servono.
ciao |
|
|
 |
 |
|
|
Powered by MDForum 2.0.8© 2003-2007 MAXdev Tema grafico by subRebel del sito ktauber modificato e ottimizzato per MDForum da TiMax Supporto italiano by Open Italia |
| |