Public feed #722486

Unnamed

public text v1 · immutable
Raw Edit
·published 2007-10-02 01:15 UTC
rendered paste body
<?php
   
    return l($item['title'], $link_item['path'], isset($item['description']) ?
    array('title' => $item['description'],
             'onclick' => 'MyWindow=window.open(\'ma/\',\'FullScreen\',\'toolbar=no,location=no,
                                                    directories=no,status=no,menubar=no,
                                                    scrollbars=yes,resizable=yes\'); return false;') :
     array('target' => 'MyWindow=window.open(\'YHG/FS3.html\',\'FullScreen\',\'toolbar=no,
                                                    location=no,directories=no,status=no,menubar=no,
                                                    scrollbars=yes,resizable=yes\'); return false;'));
?>

--------------------------------------------------------------------------------------------------------------

function ourbrisbane_menu($may_cache) {
  $items = array();
  
  if ($may_cache) {
    
    $items[] = array(
      'path' => 'webmail',
      'title' => t('Webmail'),
      'description' => t('Access your ourbrisbane.com webmail'),
      'type' => MENU_NORMAL_ITEM,
      'access' => user_access('access webmail')
    );
  }
  
  return $items;
}