Subversion Repositories wimsdev

Rev

Rev 10620 | Rev 11994 | 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.    !set css_class = $wims_ref_class menuitem
  18.    <li class="$css_class">
  19.     !read $(path)oneitem.phtml $1_
  20.     !if $i_=$wims_ariane_cnt
  21.       <span class="show-for-sr">(Current)</span>
  22.     !endif
  23.    </li>
  24.  !next
  25.  </ul>
  26. </nav>
  27. !exit
  28. !endif
  29. <!-- _widgets/ariane.phtml -->
  30. !!reset wims_ariane_home wims_ariane_self
  31.