All pastes #614138 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-11 11:40 UTC
rendered paste body
<?php

// Grab the url from 'q' and split it on '/'s
$urlargs = explode('/',$_GET['q']);

// $urlargs[0] will be the first path element ('images')
if($urlargs[0] == "image"){
  $links = array(
    l(t('about'), 'about'),
    l(t('bios'), 'about/bios'),
  );
  drupal_set_breadcrumb($links);
}

?>