Subversion Repositories wimsdev

Rev

Rev 10642 | Rev 11999 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! options :
  2. !! wims_ariane_home = no ==> don't use $wims_home_items
  3. !! wims_ariane_self = no ==> don't generate automatically : home / module
  4. !if $wims_ariane_home=no and $wims_ariane_self=no and $wims_ariane=$empty
  5.   !exit
  6. !endif
  7.  
  8. !read themes/_procs/ariane.proc
  9. <!-- _widgets/ariane.phtml -->
  10. <nav aria-label="You are here:">
  11.   <ul class="breadcrumbs">
  12.   !for i_=1 to $wims_ariane_cnt
  13.     !set 1_=!line $i_ of $wims_ariane_list
  14.     !if " notin $(1_[1]) and * notin $(1_[1])
  15.      !set wims_ref_class = !word 1 of $(1_[1])
  16.    !endif
  17.    !if $wims_ref_class!=$empty
  18.      !set css_class = class="$wims_ref_class menuitem"
  19.    !endif
  20.    <li $css_class>
  21.     !read $(path)oneitem.phtml $1_
  22.     !if $i_=$wims_ariane_cnt
  23.       <span class="show-for-sr">(Current)</span>
  24.     !endif
  25.    </li>
  26.    !reset css_class
  27.  !next
  28.  </ul>
  29. </nav>
  30. !exit
  31. !endif
  32. <!-- _widgets/ariane.phtml -->
  33. !!reset wims_ariane_home wims_ariane_self
  34.