Conjunto de cambios d7a822e en sipes para cord/modules/forum
- Fecha y hora:
- 23/05/2016 15:48:25 (hace 8 años)
- Branches:
- stable, version-3.0
- Children:
- 6f9ddf1
- Parents:
- b354002
- Ubicación:
- cord/modules/forum
- Ficheros:
-
- 2 editados
Leyenda
- No modificado
- Añadido
- Eliminado
-
cord/modules/forum/forum.info
rb354002 rd7a822e 7 7 core = 6.x 8 8 9 ; Information added by drupal.org packaging script on 2011-05-2510 version = "6.2 2"9 ; Information added by packaging script on 2013-11-20 10 version = "6.29" 11 11 project = "drupal" 12 datestamp = "13 06357015"12 datestamp = "1384980946" 13 13 -
cord/modules/forum/forum.module
rb354002 rd7a822e 166 166 * Implementation of hook_nodeapi(). 167 167 */ 168 function forum_nodeapi(&$node, $op, $teaser , $page) {168 function forum_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) { 169 169 // We are going to return if $node->type is not one of the node 170 170 // types assigned to the forum vocabulary. If forum_nav_vocabulary … … 691 691 if (node_access('create', $type)) { 692 692 // Fetch the "General" name of the content type; 693 // Push the link with title and urlto the array.693 // Push the link with title and URL to the array. 694 694 $forum_types[$type] = array('title' => t('Post new @node_type', array('@node_type' => node_get_types('name', $type))), 'href' => 'node/add/'. str_replace('_', '-', $type) .'/'. $variables['tid']); 695 695 }
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.