Changeset 1536
- Timestamp:
- 03/01/08 13:53:02 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/punbb-1.3-dev/upload/include/functions.php
r1533 r1536 590 590 { 591 591 if ($i < ($num_crumbs - 1)) 592 $crumbs .= '<span class="crumb'.(($i == 0) ? ' crumbfirst' : '').'"> <span>'.(($i >= 1) ? $lang_common['Crumb separator'] : '').$lang_common['Back to'].' </span>'.(is_array($pun_page['crumbs'][$i]) ? '<a href="'.$pun_page['crumbs'][$i][1].'">'.pun_htmlencode($pun_page['crumbs'][$i][0]).'</a>' : pun_htmlencode($pun_page['crumbs'][$i])).'</span>';592 $crumbs .= '<span class="crumb'.(($i == 0) ? ' crumbfirst' : '').'">'.(($i >= 1) ? '<span>'.$lang_common['Crumb separator'].'</span> ' : '').(is_array($pun_page['crumbs'][$i]) ? '<a href="'.$pun_page['crumbs'][$i][1].'"><span>'.$lang_common['Back to'].' </span>'.pun_htmlencode($pun_page['crumbs'][$i][0]).'</a>' : pun_htmlencode($pun_page['crumbs'][$i])).'</span>'; 593 593 else 594 $crumbs .= '<s trong class="crumb crumblast'.(($i == 0) ? ' crumbfirst' : '').'"><span>'.(($i >= 1) ? $lang_common['Crumb separator'] : '').$lang_common['You are here'].' </span>'.(is_array($pun_page['crumbs'][$i]) ? '<a href="'.$pun_page['crumbs'][$i][1].'">'.pun_htmlencode($pun_page['crumbs'][$i][0]).'</a>' : pun_htmlencode($pun_page['crumbs'][$i])).'</strong>';594 $crumbs .= '<span class="crumb crumblast'.(($i == 0) ? ' crumbfirst' : '').'">'.(($i >= 1) ? '<span>'.$lang_common['Crumb separator'].'</span> ' : '').(is_array($pun_page['crumbs'][$i]) ? '<a href="'.$pun_page['crumbs'][$i][1].'"><span>'.$lang_common['You are here'].' </span>'.pun_htmlencode($pun_page['crumbs'][$i][0]).'</a>' : '<span>'.$lang_common['You are here'].'</span> '.pun_htmlencode($pun_page['crumbs'][$i])).'</span>'; 595 595 } 596 596 } … … 1792 1792 1793 1793 // 1794 // A helper function for csrf_confirm_form. It takes a multi-dimensional array and returns it as a 1794 // A helper function for csrf_confirm_form. It takes a multi-dimensional array and returns it as a 1795 1795 // single-dimensional array suitable for use in hidden fields. 1796 1796 // … … 1988 1988 // $target_url should be an absolute URL and it should be exactly the URL that the user is going to 1989 1989 // Alternately, if the form token is going to be used in GET (which would mean the token is going to be 1990 // a part of the URL itself), $target_url may be a plain string containing information related to the URL. 1990 // a part of the URL itself), $target_url may be a plain string containing information related to the URL. 1991 1991 // 1992 1992 function generate_form_token($target_url)
