Conjunto de cambios d7a822e en sipes para cord/modules/forum


Ignorar:
Fecha y hora:
23/05/2016 15:48:25 (hace 8 años)
Autor:
José Gregorio Puentes <jpuentes@…>
Branches:
stable, version-3.0
Children:
6f9ddf1
Parents:
b354002
Mensaje:

se agrego el directorio del cord

Ubicación:
cord/modules/forum
Ficheros:
2 editados

Leyenda

No modificado
Añadido
Eliminado
  • cord/modules/forum/forum.info

    rb354002 rd7a822e  
    77core = 6.x
    88
    9 ; Information added by drupal.org packaging script on 2011-05-25
    10 version = "6.22"
     9; Information added by  packaging script on 2013-11-20
     10version = "6.29"
    1111project = "drupal"
    12 datestamp = "1306357015"
     12datestamp = "1384980946"
    1313
  • cord/modules/forum/forum.module

    rb354002 rd7a822e  
    166166 * Implementation of hook_nodeapi().
    167167 */
    168 function forum_nodeapi(&$node, $op, $teaser, $page) {
     168function forum_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
    169169  // We are going to return if $node->type is not one of the node
    170170  // types assigned to the forum vocabulary.  If forum_nav_vocabulary
     
    691691      if (node_access('create', $type)) {
    692692        // Fetch the "General" name of the content type;
    693         // Push the link with title and url to the array.
     693        // Push the link with title and URL to the array.
    694694        $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']);
    695695      }
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.