1
Шаблоны XSLT / Помогите с каптчей
« : 11 Сентября 2013, 13:56:42 »
Привет.
вывожу каптчу
Шаблон
картинка не выводится, в чем косяк?
вывожу каптчу
Код: [Выделить]
<xsl:apply-templates select="document('udata://system/captcha')/udata[url]" />
Шаблон
Код: [Выделить]
<xsl:template match="udata[@method='captcha']">
<label for="captcha" id="for_captcha" title="Защитный код" class="required">
<span>Код:</span>
<input type="text" name="captcha" id="captcha"/>
<img src="/captcha.php?{@random_string}" />
</label>
</xsl:template>
картинка не выводится, в чем косяк?