home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / AIMP2 / aimp_2.61.583.exe / $TEMP / YandexPackSetup.msi / fil7724C0AF83AE5707AB8AEFE95A976F42 < prev    next >
Extensible Markup Language  |  2010-07-12  |  2KB  |  42 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE stylesheet SYSTEM "chrome://yasearch/locale/bookmarks/bookmarks.dtd">
  3.  
  4. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:html="http://www.w3.org/1999/xhtml"
  6.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7. >
  8.  
  9. <xsl:output method="xml" encoding="UTF-8" indent="no"/>
  10.  
  11. <xsl:template match="ok[@yaru_link]">
  12.   <xsl:variable name="domain"
  13.                 select="substring-before(@yaru_link, substring-after(substring-after(@yaru_link,'//'), '/'))"/>
  14.   
  15.   <html:ul id="yasearch-livewindow-post-props">
  16.     <html:li class="on-journal-create">
  17.       <html:a href="http://wow.ya.ru/faq.xml"
  18.               yaLinkAction="1945">&yasearch.livewindow.actions.yarufaq.label;</html:a>
  19.     </html:li>
  20.     <html:li class="on-journal-create">
  21.       <html:a href="{$domain}options_profile.xml"
  22.               yaLinkAction="1950">&yasearch.livewindow.actions.profile.label;</html:a>
  23.     </html:li>
  24.     <html:li class="on-journal-create">
  25.       <html:a href="{$domain}posts_add_friend.xml"
  26.               yaLinkAction="1955">&yasearch.livewindow.actions.findfriends.label;</html:a>
  27.     </html:li>
  28.     <html:li>
  29.       <html:a href="{@yaru_link}"
  30.               yaLinkAction="1925">&yasearch.livewindow.actions.viewpost.label;</html:a>
  31.     </html:li>
  32.     <xsl:if test="@yaru_edit_link">
  33.       <html:li>
  34.         <html:a href="{@yaru_edit_link}"
  35.                 yaLinkAction="1930">&yasearch.livewindow.actions.editpost.label;</html:a>
  36.       </html:li>
  37.     </xsl:if>
  38.   </html:ul>
  39.  
  40. </xsl:template>
  41.  
  42. </xsl:stylesheet>