Lines Matching refs:title

472   function internallink_old($link, $title = NULL) {  argument
473 $this->putent('[['.$link.'|'.$title.']]');
505 function externallink($link, $title = NULL) { argument
506 $title_org = $title;
507 $title = $this->_getLinkTitle($title, $link, $isImage);
509 $this->put($title);
511 if ( $title ) {
513 'title' => $title)));
523 function interwikilink($link, $title = NULL, $wikiName, $wikiUri) { argument
524 if (is_array($title)) {
529 $title['caption'] = $url.$wikiUri;
531 $linkname = $this->_getLinkTitle($title, $wikiUri, $isImage);
570 function filelink($link, $title = NULL) { argument
571 array_push($this->dokulinks, array('id' => $link, 'name' => $title, 'type' => 'filelink'));
572 $this->unformatted('[['.$link.'|'.$title.']]');
576 function windowssharelink($link, $title = NULL) { argument
577 $this->unformatted('[['.$link.'|'.$title.']]');
580 function emaillink($address, $title = NULL) { argument
586 $src,$title=NULL,$align=NULL,$width=NULL,$height=NULL,$cache=NULL argument
593 $src,$title=NULL,$align=NULL,$width=NULL,$height=NULL,$cache=NULL argument
595 if ( $title ) {
596 $this->doc .= '{{'.$src.'|'.$title.'}}';
1208 function mediatops($filename, $title=NULL, $align=NULL, $width=NULL, argument
1211 if ((is_null($align) || $align == 'center') || !is_null($title)) {
1212 return $this->mediatops_old($filename, $title, $align, $width, $height,
1249 if (isset($title)) {
1251 if (substr($title, 0, 5) == 'http:')
1252 $this->_formatLink(array('url' => $title,
1253 'title' => $title,
1256 $this->putent($title, -1);
1264 function mediatops_old($filename, $title=NULL, $align=NULL, $width=NULL, argument
1266 if (!empty($align) || !empty($title)) {
1293 if (!empty($title)) {
1295 if (substr($title, 0, 5) == 'http:')
1296 $this->_formatLink(array('url' => $title,
1297 'title' => $title,
1300 $this->putent($title, -1);
1303 if (!empty($align) || !empty($title)) {
1313 function internalmedia ($src, $title=NULL, $align=NULL, $width=NULL, argument
1321 $img = $this->mediatops($filename, $title, $align, $width,
1326 if ($title == NULL)
1327 $title = basename($filename);
1328 array_push($this->dokulinks, array('id' => $filename , 'name' => $title, 'type' => 'file'));
1332 $this->putent($title);
1391 function externalmedia ($src, $title=NULL, $align=NULL, $width=NULL, argument
1403 $img = $this->mediatops($filename, $title, $align, $width,
1425 function _getLinkTitle($title, $default, & $isImage, $id=NULL) { argument
1429 if ( is_null($title) ) {
1437 } else if ( is_string($title) ) {
1438 return $this->_latexEntities($title);
1439 } else if ( is_array($title) ) {
1441 if (isset($title['caption'])) {
1442 $title['title'] = $title['caption'];
1444 $title['title'] = $default;
1446 $title['align'] = 'center';
1447 return $this->_imageTitle($title);
1473 * @param string $title The headline title
1477 function _headerToLink($title,$create=false) { argument
1478 $title = str_replace(':','',cleanID($title,true)); //force ASCII
1479 $title = ltrim($title,'0123456789._-');
1480 if(empty($title)) $title='section';
1485 while(in_array($title.$num,$this->headers)) {
1488 $title = $title.$num;
1489 $this->headers[] = $title;
1492 return $title;
1501 function _media_test ($src, $title=NULL, $align=NULL, $width=NULL, argument
1509 } elseif(!is_null($title)) {
1511 $ret .= $this->_xmlEntities($title);
1519 function _media($src, $title=NULL, $align=NULL, $width=NULL, argument
1532 $ret .= $this->mediatops_old($filename, $title, $align, $width,
1542 }elseif(!is_null($title)) {
1544 $ret .= $this->_latexEntities($title);
1554 function _media_xhtml ($src, $title=NULL, $align=NULL, $width=NULL, argument
1565 if (!is_null($title)) {
1566 $ret .= ' title="'.$this->_xmlEntities($title).'"';
1567 $ret .= ' alt="'.$this->_xmlEntities($title).'"';
1605 }elseif(!is_null($title)) {
1607 $ret .= $this->_xmlEntities($title);