<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[richiamare un'immagine su una nuova funzione]]></title><description><![CDATA[<p dir="auto">Salve a tutti ragazzi, volevo un consiglio su come poter aggiungere un pezzo di condi ad una funzione...in pratica ho questa funzione:</p>
<p dir="auto">$info_box_contents[] = array('text' =&gt;</p>
<p dir="auto">tep_image(DIR_WS_IMAGES. 'pointer.gif') . ' &lt;a href="' . tep_href_link(FILENAME_ABOUT) . '"&gt;' . BOX_INFORMATION_ABOUT . '&lt;/a&gt;&lt;br&gt;' .</p>
<p dir="auto">tep_image(DIR_WS_IMAGES. 'pointer.gif') . ' &lt;a href="' . tep_href_link(FILENAME_CONTACT_US) . '"&gt;' . BOX_INFORMATION_CONTACT . '&lt;/a&gt;');</p>
<p dir="auto">new infoBox($info_box_contents);</p>
<p dir="auto">dove <strong>tep_image(DIR_WS_IMAGES. 'pointer.gif') . '</strong>  serve per richiamare un'immagine a triangolo (più uno spazio dal testo) per ogni voce del menù, ora vorrei fare la stessa cosa anche per un altro file ma onestamente non so come aggiungere questo pezzo per richiamare la stessa immagine (in quest'altra funzione le voci di menù vengono create automaticamente:</p>
<p dir="auto">if($page['intorext'] == 1)  {<br />
$page_list .= '&lt;tr&gt;&lt;td class="infoBoxContents"&gt;&lt;a target="'.$target.'" href="' . $page['externallink'] . '"&gt;' . $page['pages_title'] . '&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;';<br />
}<br />
else {<br />
$page_list .= '&lt;tr&gt;&lt;td class="infoBoxContents"&gt;&lt;a target="'.$target.'" href="' . tep_href_link(FILENAME_PAGES, 'pages_id=' .$page['pages_id'], 'NONSSL') . '"&gt;' . $page['pages_title'] . '&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;';<br />
}</p>
<p dir="auto">...come e dove potrei mettere quel pezzetto di codice per richiamare "pointer.gif'" anche per le voci (di menù) questa altra funzione? ho fatti vari tentativi ma mi dava sempre errore... <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=2190ae3dadd" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://dev.connect.gt/topic/85761/richiamare-un-immagine-su-una-nuova-funzione</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 04:03:38 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/85761.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Oct 2008 14:54:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to richiamare un'immagine su una nuova funzione on Sun, 26 Oct 2008 14:12:16 GMT]]></title><description><![CDATA[<p dir="auto">Ciao <em><strong>AndrewLupin</strong></em>,<br />
se ci dici che errore ti da, possiamo aiutarti decisamente meglio...</p>
<p dir="auto">Comunque, direi di provare a fare la modifica in <strong>rosso</strong> sotto riportata:</p>
<p dir="auto"><strong>if($page['intorext'] == 1) {</strong><br />
<strong>$page_list .= '&lt;tr&gt;&lt;td class="infoBoxContents"&gt;'.tep_image(DIR_WS_IMAGES. 'pointer.gif').' &lt;a target="'.$target.'" href="' . $page['externallink'] . '"&gt;' . $page['pages_title'] . '&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;';</strong><br />
<strong>}</strong><br />
<strong>else {</strong><br />
<strong>$page_list .= '&lt;tr&gt;&lt;td class="infoBoxContents"&gt;'.tep_image(DIR_WS_IMAGES. 'pointer.gif').' &lt;a target="'.$target.'" href="' . tep_href_link(FILENAME_PAGES, 'pages_id=' .$page['pages_id'], 'NONSSL') . '"&gt;' . $page['pages_title'] . '&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;';</strong><br />
<strong>}</strong></p>
<p dir="auto">Facci sapere se risolvi!<br />
<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/54a3bffb-5e4a-4eb8-81dc-99b2072e5d05-175.gif?v=2190ae3dadd" class="not-responsive emoji emoji-customizations emoji--ciauz" style="height:1.4em;width:auto;vertical-align:middle" title=":ciauz:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/774617</link><guid isPermaLink="true">https://dev.connect.gt/post/774617</guid><dc:creator><![CDATA[ceccus]]></dc:creator><pubDate>Sun, 26 Oct 2008 14:12:16 GMT</pubDate></item></channel></rss>