Changeset 17935
- Timestamp:
- 10/05/08 21:12:56 (2 months ago)
- Files:
-
- trunk/midcom/org.openpsa.projects/handler/project/list.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/handler/task/list.php (modified) (2 diffs)
- trunk/midcom/org.openpsa.projects/style/show-project-list-status-item.php (modified) (1 diff)
- trunk/midcom/org.openpsa.projects/style/show-task_table-item.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/org.openpsa.projects/handler/project/list.php
r17565 r17935 270 270 { 271 271 // Locate Contacts node for linking 272 $this->_request_data['contacts_node'] = midcom_helper_find_node_by_component('org.openpsa.contacts'); 272 $structure = new org_openpsa_core_structure(); 273 $this->_request_data['contacts_url'] = $structure->get_node_url('org.openpsa.contacts'); 273 274 274 275 if ($this->_request_data['view'] == 'all') trunk/midcom/org.openpsa.projects/handler/task/list.php
r17904 r17935 79 79 $this->_request_data['tasks'] = Array(); 80 80 81 $this->_request_data['contacts_node'] = midcom_helper_find_node_by_component('org.openpsa.contacts'); 81 $structure = new org_openpsa_core_structure(); 82 $this->_request_data['contacts_url'] = $structure->get_node_url('org.openpsa.contacts'); 82 83 $this->_request_data['sales_node'] = midcom_helper_find_node_by_component('org.openpsa.sales'); 83 84 $this->_request_data['prefix'] = $_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX); … … 546 547 { 547 548 $customer = new org_openpsa_contacts_group($task->customer); 548 $customer_url = "{$data['contacts_ node'][MIDCOM_NAV_FULLURL]}group/{$customer->guid}";549 $customer_url = "{$data['contacts_url']}group/{$customer->guid}"; 549 550 $html = "<a href='{$customer_url}'>{$customer->official}</a>"; 550 551 } trunk/midcom/org.openpsa.projects/style/show-project-list-status-item.php
r5048 r17935 14 14 <td><?php echo $manager_card->show_inline(); ?></td> 15 15 <td><?php 16 if ($data['contacts_ node'])16 if ($data['contacts_url']) 17 17 { 18 echo "<a href=\"{$data['contacts_ node'][MIDCOM_NAV_FULLURL]}group/{$customer->guid}/\">{$customer->official}</a>";18 echo "<a href=\"{$data['contacts_url']}group/{$customer->guid}/\">{$customer->official}</a>"; 19 19 } 20 20 else trunk/midcom/org.openpsa.projects/style/show-task_table-item.php
r17668 r17935 2 2 //$data =& $_MIDCOM->get_custom_context_data('request_data'); 3 3 4 $contacts_node =& $data['contacts_node'];5 4 $sales_node =& $data['sales_node']; 6 5
