if ($cobj->getCollectionID() != HOME_CID && !$cobj->isGeneratedCollection()) { ?> <div style="margin-left: 30px;"> <strong><?php echo t('Slug'); ?> </strong> <br /> <br /> <?php echo $form->text('collection_handle', $cobj->getCollectionHandle(), array('title' => $cID, 'class' => 'collectionHandle')); ?> <br /> <?php Page::rescanCollectionPath($cID); $path = $cobj->getCollectionPath(); $tokens = explode('/', $path); $lastkey = array_pop(array_keys($tokens)); $tokens[$lastkey] = '<strong class="collectionPath">' . $tokens[$lastkey] . '</strong>'; $untokens = implode('/', $tokens); ?> <a class="help-inline url-path" href="<?php echo $nh->getLinkToCollection($cobj); ?> " target="_blank"><?php echo BASE_URL . DIR_REL . $untokens; ?> </a><?php ?> </div>