|
@@ -282,7 +282,7 @@ function JQueryJson(url, data, callback_success)
|
282
|
282
|
{
|
283
|
283
|
if (response.status == 'mustbeconnected')
|
284
|
284
|
{
|
285
|
|
- $(location).attr('href', url_index);
|
|
285
|
+ $(location).attr('href', url_home);
|
286
|
286
|
}
|
287
|
287
|
|
288
|
288
|
callback_success(response);
|
|
@@ -361,7 +361,7 @@ $(document).ready(function(){
|
361
|
361
|
$.getJSON(url_get_favorites_tags, function(response) {
|
362
|
362
|
if (response.status == 'mustbeconnected')
|
363
|
363
|
{
|
364
|
|
- $(location).attr('href', url_index);
|
|
364
|
+ $(location).attr('href', url_home);
|
365
|
365
|
}
|
366
|
366
|
|
367
|
367
|
var tags = [];
|
|
@@ -541,7 +541,7 @@ $(document).ready(function(){
|
541
|
541
|
$.getJSON($(this).attr('href'), function(response) {
|
542
|
542
|
if (response.status == 'mustbeconnected')
|
543
|
543
|
{
|
544
|
|
- $(location).attr('href', url_index);
|
|
544
|
+ $(location).attr('href', url_home);
|
545
|
545
|
}
|
546
|
546
|
|
547
|
547
|
var img = link.find('img');
|
|
@@ -616,7 +616,7 @@ $(document).ready(function(){
|
616
|
616
|
success: function(response) {
|
617
|
617
|
if (response.status == 'mustbeconnected')
|
618
|
618
|
{
|
619
|
|
- $(location).attr('href', url_index);
|
|
619
|
+ $(location).attr('href', url_home);
|
620
|
620
|
}
|
621
|
621
|
|
622
|
622
|
if (response.count)
|
|
@@ -662,7 +662,7 @@ $(document).ready(function(){
|
662
|
662
|
|
663
|
663
|
if (response.status == 'mustbeconnected')
|
664
|
664
|
{
|
665
|
|
- $(location).attr('href', url_index);
|
|
665
|
+ $(location).attr('href', url_home);
|
666
|
666
|
}
|
667
|
667
|
|
668
|
668
|
$('ul.elements').html(response.html);
|
|
@@ -699,7 +699,7 @@ $(document).ready(function(){
|
699
|
699
|
$.getJSON(link.attr('href'), function(response){
|
700
|
700
|
if (response.status == 'mustbeconnected')
|
701
|
701
|
{
|
702
|
|
- $(location).attr('href', url_index);
|
|
702
|
+ $(location).attr('href', url_home);
|
703
|
703
|
}
|
704
|
704
|
|
705
|
705
|
if (response.status == 'success')
|
|
@@ -742,7 +742,7 @@ $(document).ready(function(){
|
742
|
742
|
$.getJSON(link.attr('href'), function(response){
|
743
|
743
|
if (response.status == 'mustbeconnected')
|
744
|
744
|
{
|
745
|
|
- $(location).attr('href', url_index);
|
|
745
|
+ $(location).attr('href', url_home);
|
746
|
746
|
}
|
747
|
747
|
|
748
|
748
|
if (response.status == 'success')
|
|
@@ -776,7 +776,7 @@ $(document).ready(function(){
|
776
|
776
|
|
777
|
777
|
if (response.status == 'mustbeconnected')
|
778
|
778
|
{
|
779
|
|
- $(location).attr('href', url_index);
|
|
779
|
+ $(location).attr('href', url_home);
|
780
|
780
|
}
|
781
|
781
|
|
782
|
782
|
// On prépare le tagBox
|
|
@@ -802,7 +802,7 @@ $(document).ready(function(){
|
802
|
802
|
|
803
|
803
|
if (response.status == 'mustbeconnected')
|
804
|
804
|
{
|
805
|
|
- $(location).attr('href', url_index);
|
|
805
|
+ $(location).attr('href', url_home);
|
806
|
806
|
}
|
807
|
807
|
|
808
|
808
|
var li = $('li#'+response.dom_id);
|
|
@@ -908,7 +908,7 @@ $(document).ready(function(){
|
908
|
908
|
// success: function(data) {
|
909
|
909
|
// if (data.status == 'mustbeconnected')
|
910
|
910
|
// {
|
911
|
|
- // $(location).attr('href', url_index);
|
|
911
|
+ // $(location).attr('href', url_home);
|
912
|
912
|
// }
|
913
|
913
|
//
|
914
|
914
|
// // Ce contrôle permet de ne pas continuer si une requete
|
|
@@ -1062,7 +1062,7 @@ $(document).ready(function(){
|
1062
|
1062
|
//
|
1063
|
1063
|
// if (response.status == 'mustbeconnected')
|
1064
|
1064
|
// {
|
1065
|
|
- // $(location).attr('href', url_index);
|
|
1065
|
+ // $(location).attr('href', url_home);
|
1066
|
1066
|
// }
|
1067
|
1067
|
//
|
1068
|
1068
|
// if (response.status == 'success')
|
|
@@ -1347,7 +1347,7 @@ $(document).ready(function(){
|
1347
|
1347
|
//
|
1348
|
1348
|
// if (response.status == 'mustbeconnected')
|
1349
|
1349
|
// {
|
1350
|
|
-// $(location).attr('href', url_index);
|
|
1350
|
+// $(location).attr('href', url_home);
|
1351
|
1351
|
// }
|
1352
|
1352
|
//
|
1353
|
1353
|
// if (response.status == 'success')
|
|
@@ -1420,7 +1420,7 @@ $(document).ready(function(){
|
1420
|
1420
|
{
|
1421
|
1421
|
if (response.status == 'mustbeconnected')
|
1422
|
1422
|
{
|
1423
|
|
- $(location).attr('href', url_index);
|
|
1423
|
+ $(location).attr('href', url_home);
|
1424
|
1424
|
}
|
1425
|
1425
|
|
1426
|
1426
|
if (response.status == 'success')
|
|
@@ -1600,7 +1600,7 @@ $(document).ready(function(){
|
1600
|
1600
|
|
1601
|
1601
|
if (response.status == 'mustbeconnected')
|
1602
|
1602
|
{
|
1603
|
|
- $(location).attr('href', url_index);
|
|
1603
|
+ $(location).attr('href', url_home);
|
1604
|
1604
|
}
|
1605
|
1605
|
|
1606
|
1606
|
$('ul.elements').html(response.html);
|
|
@@ -1753,7 +1753,7 @@ $(document).ready(function(){
|
1753
|
1753
|
//
|
1754
|
1754
|
// if (response.status == 'mustbeconnected')
|
1755
|
1755
|
// {
|
1756
|
|
-// $(location).attr('href', url_index);
|
|
1756
|
+// $(location).attr('href', url_home);
|
1757
|
1757
|
// }
|
1758
|
1758
|
//
|
1759
|
1759
|
// if (response.status == 'success' && response.count)
|
|
@@ -1792,7 +1792,7 @@ $(document).ready(function(){
|
1792
|
1792
|
|
1793
|
1793
|
if (response.status == 'mustbeconnected')
|
1794
|
1794
|
{
|
1795
|
|
- $(location).attr('href', url_index);
|
|
1795
|
+ $(location).attr('href', url_home);
|
1796
|
1796
|
}
|
1797
|
1797
|
|
1798
|
1798
|
if (response.status == 'success')
|
|
@@ -1820,7 +1820,7 @@ $(document).ready(function(){
|
1820
|
1820
|
//
|
1821
|
1821
|
// if (response.status == 'mustbeconnected')
|
1822
|
1822
|
// {
|
1823
|
|
-// $(location).attr('href', url_index);
|
|
1823
|
+// $(location).attr('href', url_home);
|
1824
|
1824
|
// }
|
1825
|
1825
|
//
|
1826
|
1826
|
// if (response.status == 'success')
|
|
@@ -1917,7 +1917,7 @@ $(document).ready(function(){
|
1917
|
1917
|
li_element.find('form.add_comment').ajaxForm(function(response) {
|
1918
|
1918
|
if (response.status == 'mustbeconnected')
|
1919
|
1919
|
{
|
1920
|
|
- $(location).attr('href', url_index);
|
|
1920
|
+ $(location).attr('href', url_home);
|
1921
|
1921
|
}
|
1922
|
1922
|
|
1923
|
1923
|
li_element.find('img.comments_loader').hide();
|
|
@@ -1998,7 +1998,7 @@ $(document).ready(function(){
|
1998
|
1998
|
|
1999
|
1999
|
if (response.status == 'mustbeconnected')
|
2000
|
2000
|
{
|
2001
|
|
- $(location).attr('href', url_index);
|
|
2001
|
+ $(location).attr('href', url_home);
|
2002
|
2002
|
}
|
2003
|
2003
|
|
2004
|
2004
|
if (response.status == 'success')
|
|
@@ -2041,7 +2041,7 @@ $(document).ready(function(){
|
2041
|
2041
|
|
2042
|
2042
|
if (response.status == 'mustbeconnected')
|
2043
|
2043
|
{
|
2044
|
|
- $(location).attr('href', url_index);
|
|
2044
|
+ $(location).attr('href', url_home);
|
2045
|
2045
|
}
|
2046
|
2046
|
|
2047
|
2047
|
li.html(response.html);
|
|
@@ -2059,7 +2059,7 @@ $(document).ready(function(){
|
2059
|
2059
|
|
2060
|
2060
|
if (response.status == 'mustbeconnected')
|
2061
|
2061
|
{
|
2062
|
|
- $(location).attr('href', url_index);
|
|
2062
|
+ $(location).attr('href', url_home);
|
2063
|
2063
|
}
|
2064
|
2064
|
|
2065
|
2065
|
if (response.status == 'success')
|
|
@@ -2125,7 +2125,7 @@ $(document).ready(function(){
|
2125
|
2125
|
|
2126
|
2126
|
if (response.status == 'mustbeconnected')
|
2127
|
2127
|
{
|
2128
|
|
- $(location).attr('href', url_index);
|
|
2128
|
+ $(location).attr('href', url_home);
|
2129
|
2129
|
}
|
2130
|
2130
|
});
|
2131
|
2131
|
|
|
@@ -2159,7 +2159,7 @@ $(document).ready(function(){
|
2159
|
2159
|
|
2160
|
2160
|
if (response.status == 'mustbeconnected')
|
2161
|
2161
|
{
|
2162
|
|
- $(location).attr('href', url_index);
|
|
2162
|
+ $(location).attr('href', url_home);
|
2163
|
2163
|
}
|
2164
|
2164
|
|
2165
|
2165
|
if (response.status == 'success')
|
|
@@ -2261,7 +2261,7 @@ $(document).ready(function(){
|
2261
|
2261
|
|
2262
|
2262
|
if (response.status == 'mustbeconnected')
|
2263
|
2263
|
{
|
2264
|
|
- $(location).attr('href', url_index);
|
|
2264
|
+ $(location).attr('href', url_home);
|
2265
|
2265
|
}
|
2266
|
2266
|
|
2267
|
2267
|
if (response.status == 'success')
|
|
@@ -2327,7 +2327,7 @@ $(document).ready(function(){
|
2327
|
2327
|
|
2328
|
2328
|
if (response.status == 'mustbeconnected')
|
2329
|
2329
|
{
|
2330
|
|
- $(location).attr('href', url_index);
|
|
2330
|
+ $(location).attr('href', url_home);
|
2331
|
2331
|
}
|
2332
|
2332
|
|
2333
|
2333
|
if (response.status == 'success')
|
|
@@ -2355,7 +2355,7 @@ $(document).ready(function(){
|
2355
|
2355
|
|
2356
|
2356
|
// if (response.status === 'mustbeconnected')
|
2357
|
2357
|
// {
|
2358
|
|
-// $(location).attr('href', url_index);
|
|
2358
|
+// $(location).attr('href', url_home);
|
2359
|
2359
|
// }
|
2360
|
2360
|
|
2361
|
2361
|
|
|
@@ -2380,7 +2380,7 @@ $(document).ready(function(){
|
2380
|
2380
|
|
2381
|
2381
|
if (response.status == 'mustbeconnected')
|
2382
|
2382
|
{
|
2383
|
|
- $(location).attr('href', url_index);
|
|
2383
|
+ $(location).attr('href', url_home);
|
2384
|
2384
|
}
|
2385
|
2385
|
|
2386
|
2386
|
li.find('img.element_loader').hide();
|
|
@@ -2407,7 +2407,7 @@ $(document).ready(function(){
|
2407
|
2407
|
|
2408
|
2408
|
if (response.status == 'mustbeconnected')
|
2409
|
2409
|
{
|
2410
|
|
- $(location).attr('href', url_index);
|
|
2410
|
+ $(location).attr('href', url_home);
|
2411
|
2411
|
}
|
2412
|
2412
|
|
2413
|
2413
|
li.find('img.element_loader').hide();
|
|
@@ -2433,7 +2433,7 @@ $(document).ready(function(){
|
2433
|
2433
|
|
2434
|
2434
|
if (response.status == 'mustbeconnected')
|
2435
|
2435
|
{
|
2436
|
|
- $(location).attr('href', url_index);
|
|
2436
|
+ $(location).attr('href', url_home);
|
2437
|
2437
|
}
|
2438
|
2438
|
|
2439
|
2439
|
li.find('img.element_loader').hide();
|
|
@@ -2498,7 +2498,7 @@ $(document).ready(function(){
|
2498
|
2498
|
|
2499
|
2499
|
if (response.status == 'mustbeconnected')
|
2500
|
2500
|
{
|
2501
|
|
- $(location).attr('href', url_index);
|
|
2501
|
+ $(location).attr('href', url_home);
|
2502
|
2502
|
}
|
2503
|
2503
|
|
2504
|
2504
|
// On affiche l'élément que si on voit que le formulaire est sur la page
|
|
@@ -2745,7 +2745,7 @@ $(document).ready(function(){
|
2745
|
2745
|
|
2746
|
2746
|
if (response.status == 'mustbeconnected')
|
2747
|
2747
|
{
|
2748
|
|
- $(location).attr('href', url_index);
|
|
2748
|
+ $(location).attr('href', url_home);
|
2749
|
2749
|
}
|
2750
|
2750
|
|
2751
|
2751
|
if (response.status == 'success')
|
|
@@ -2797,7 +2797,7 @@ $(document).ready(function(){
|
2797
|
2797
|
|
2798
|
2798
|
if (response.status == 'mustbeconnected')
|
2799
|
2799
|
{
|
2800
|
|
- $(location).attr('href', url_index);
|
|
2800
|
+ $(location).attr('href', url_home);
|
2801
|
2801
|
}
|
2802
|
2802
|
|
2803
|
2803
|
if (response.status == 'success')
|
|
@@ -2825,7 +2825,7 @@ $(document).ready(function(){
|
2825
|
2825
|
|
2826
|
2826
|
if (response.status == 'mustbeconnected')
|
2827
|
2827
|
{
|
2828
|
|
- $(location).attr('href', url_index);
|
|
2828
|
+ $(location).attr('href', url_home);
|
2829
|
2829
|
}
|
2830
|
2830
|
|
2831
|
2831
|
if (response.status == 'error')
|
|
@@ -2879,7 +2879,7 @@ $(document).ready(function(){
|
2879
|
2879
|
|
2880
|
2880
|
if (response.status == 'mustbeconnected')
|
2881
|
2881
|
{
|
2882
|
|
- $(location).attr('href', url_index);
|
|
2882
|
+ $(location).attr('href', url_home);
|
2883
|
2883
|
}
|
2884
|
2884
|
|
2885
|
2885
|
if (response.status == 'success')
|