Lines Matching refs:if
12 if (!defined('DOKU_INC')) die();
14 if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC . 'lib/plugins/');
44 if ($state == DOKU_LEXER_ENTER){
93 if (!file_exists($chem.".")) mkdir($chem);
98 if($mode == 'xhtml') {
109 if ($param) $url=$param[0];
115 if (isset($param[1])) $options=$param[1];
118 if (preg_match("/!/",$options)) {
123 if ($options) $options=explode("x",$options);
124 if ($options[0]) $larg=$options[0]*1;
125 if ($options[1]) $haut=$options[1]*1;
127 if (!$larg && !$haut) {
131 else if (!$larg) $larg=round($haut*$imFactor,0);
132 else if (!$haut) $haut=round($larg/$imFactor,0);
134 if ($larg>$maxLarg) $larg=$maxLarg;
135 if ($haut>$maxHaut) $haut=$maxHaut;
137 if (!preg_match('/^http:\/\//',$param)) {
141 if (!$pagelist) {
151 if (!$titrePage) $titrePage = str_replace('_', ' ', noNS($param));
161 if ($url==$param) $image="web_".rawurlencode($param);
167 … if (file_exists($imagePath)) list($imLarg, $imHaut, $imType, $imAttr) = getimagesize($imagePath);
170 if (!$checkCache ||
183 if (!$fp) {
197 if (file_exists($imagePath)) {
201 …if ($url==$param) $renderer->doc .= "<a href=\"$url\" title=\"$param$titrePage\" target=\"_new\">";