diff --git a/classes/GDE/Acontecimento.inc.php b/classes/GDE/Acontecimento.inc.php index 1d61dfc..a1a9ae0 100644 --- a/classes/GDE/Acontecimento.inc.php +++ b/classes/GDE/Acontecimento.inc.php @@ -137,9 +137,9 @@ public function getFoto($th = true) { if($this->getOrigem() !== null) return $this->getOrigem()->getFoto(true, $th); elseif($this->tipo == self::TIPO_GDE) - return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "../web/images/gde.gif"; + return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "web/images/gde.gif"; elseif($this->tipo == 'gc') - return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "../web/images/gde.gif"; + return ($th) ? CONFIG_URL . "web/images/gde_th.gif" : "web/images/gde.gif"; } public function Pode_Responder(Usuario $Usuario) { @@ -201,9 +201,9 @@ public function Listar_Respostas(Usuario $Usuario = null) { // Soh usada para Us */ public static function TrataURL($url) { if(preg_match('/(?:http:\/\/)?(?:www.|)youtube.com\/watch?(?:.*?)v=([a-z0-9_\-]+)(?:.*?)(&hd=1|).*/i', $url)) - return preg_replace('/(?:http:\/\/)?(?:www.|)youtube.com\/watch?(?:.*?)v=([a-z0-9_\-]+)(?:.*?)(&hd=1|).*/i', '
YouTube', $url); + return preg_replace('/(?:http:\/\/)?(?:www.|)youtube.com\/watch?(?:.*?)v=([a-z0-9_\-]+)(?:.*?)(&hd=1|).*/i', '
YouTube', $url); if(preg_match('/(?:http:\/\/)?(?:www.|)youtu.be\/([a-z0-9_\-]+)(?:.*?)(\?hd=1|).*/i', $url)) - return preg_replace('/(?:http:\/\/)?(?:www.|)youtu.be\/([a-z0-9_\-]+)(?:.*?)(\?hd=1|).*/i', '
YouTube', $url); + return preg_replace('/(?:http:\/\/)?(?:www.|)youtu.be\/([a-z0-9_\-]+)(?:.*?)(\?hd=1|).*/i', '
YouTube', $url); if(preg_match('/(http\:\/\/i.ytimg.com\/vi\/.*\/default.jpg)/i', $url)) return $url; diff --git a/classes/GDE/Arvore.inc.php b/classes/GDE/Arvore.inc.php index b3b5414..21a59fb 100644 --- a/classes/GDE/Arvore.inc.php +++ b/classes/GDE/Arvore.inc.php @@ -710,12 +710,12 @@ public function Inicializa_Mostra($meu = true) { $div = "arquivo."\" border=\"0\" width=\"".$largura."\" height=\"".$altura."\" alt=\"Arvore\" />
-
\"\"
largura."\" height=\"".$this->altura."\" alt=\"\" />
+
\"\"
largura."\" height=\"".$this->altura."\" alt=\"\" />
arquivo."\" class=\"img_arvore\" usemap=\"#mapa\" border=\"0\" alt=\"Arvore\" />
"; } else { - $div = "
\"\"
largura."\" height=\"".$this->altura."\" alt=\"\" />
arquivo."\" id=\"img_arvore\" border=\"0\" alt=\"Arvore\" />"; + $div = "
\"\"
largura."\" height=\"".$this->altura."\" alt=\"\" />
arquivo."\" id=\"img_arvore\" border=\"0\" alt=\"Arvore\" />"; } $div .= " ".$this->Mapa($meu)." diff --git a/classes/GDE/Usuario.inc.php b/classes/GDE/Usuario.inc.php index 19bcf7e..4be5aaa 100644 --- a/classes/GDE/Usuario.inc.php +++ b/classes/GDE/Usuario.inc.php @@ -607,7 +607,7 @@ public function getChat_Status($icone = false, $puro = false) { if(!$icone) return $status; else - return ''.$status.''; + return ''.$status.''; } /** diff --git a/views/cadastro.php b/views/cadastro.php index b635e7e..f1f9b29 100644 --- a/views/cadastro.php +++ b/views/cadastro.php @@ -121,7 +121,7 @@ } ?> - +