Subversion Repositories Applications.projet

Rev

Rev 456 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 456 Rev 457
Line 55... Line 55...
55
GEN_modifierMetaProperty('og:title', 'Projet : ' . $projet->getTitre());
55
GEN_modifierMetaProperty('og:title', 'Projet : ' . $projet->getTitre());
Line 56... Line 56...
56
 
56
 
Line 57... Line 57...
57
$laius_inscription = PROJET_VOUS_N_ETES_PAS_INSCRIT;
57
$laius_inscription = PROJET_VOUS_N_ETES_PAS_INSCRIT;
-
 
58
 
-
 
59
$wiki_res = '' ;
-
 
60
 
-
 
61
if (!$loggue) {
-
 
62
	$script_wiki = 	'$(document).ready(function() {
-
 
63
					$(\'#projet_lien_inscription\').bind(\'click\', function() {
-
 
64
						$(\'#projet_bloc_inscription\').toggle();
-
 
65
						return false;
-
 
66
					});
-
 
67
				});';
58
 
68
	GEN_stockerCodeScript($script_wiki);
Line 59... Line 69...
59
$wiki_res = '' ;
69
}
60
// Les wikinis associes au projet
70
// Les wikinis associes au projet
61
 
71
 
Line 91... Line 101...
91
 
101
 
92
				} else {
102
				} else {
93
					$wiki_res .= PROJET_VOUS_N_ETES_PAS_INSCRIT;
103
					$wiki_res .= PROJET_VOUS_N_ETES_PAS_INSCRIT;
94
				}
104
				}
95
			} else {
105
			} else {
96
				if($_SERVER['REMOTE_ADDR'] == "162.38.234.16") {
106
				$bouton_s_inscrire = '<span id="laius_inscription">'.$laius_inscription.'</span> '.
97
					echo "test de poulet en bouteille ";
-
 
98
				}
107
					'<div id="projet_lien_inscription">'.
99
				GEN_stockerFichierScript('jquery', 'api/js/jquery/jquery.js');
-
 
100
				GEN_stockerFichierScript('animatedcollapse', 'api/js/jquery/animatedcollapse.js');
-
 
101
				GEN_stockerCodeScript('animatedcollapse.addDiv(\'projet_bloc_inscription\', \'fade=1, height="100px"\');' ."\n".
-
 
102
						'animatedcollapse.init();' ."\n");
108
					'<a href="'.$lien_inscription.'">'.$label_url_inscription.'</a>'.
103
				$lien_login = '#';
-
 
104
				$lien_inscription = 'javascript:animatedcollapse.toggle(\'projet_bloc_inscription\');';
109
					'</div>';
105
				$loggue = false;
110
				$loggue = false;
106
				$wiki_res .= PROJET_TEXTE_NON_IDENTIFIE;
111
				$wiki_res .= PROJET_TEXTE_NON_IDENTIFIE;
107
			}
112
			}
108
		} else {
113
		} else {