Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3262 | Rev 3349 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3262 Rev 3298
Línea 5... Línea 5...
5
namespace LeadersLinked;
5
namespace LeadersLinked;
Línea 6... Línea 6...
6
 
6
 
7
use Laminas\Router\Http\Literal;
7
use Laminas\Router\Http\Literal;
Línea 8... Línea -...
8
use Laminas\Router\Http\Segment;
-
 
9
 
-
 
10
/*
-
 
11
 <ul class="navLinksContainer__ul--YwrCR">
-
 
12
    <li class="navLinksContainer__ul__li--HGs2x"><a href="/">INICIO</a></li>
-
 
13
    <li class="navLinksContainer__ul__li--HGs2x"><a href="/profile/my-profiles">PERFIL</a>
-
 
14
        <nav class="navLinkDropdown--dB4zr">
-
 
15
            <ul>
-
 
16
                <li><a href="/profile/my-profiles">Mis perfiles</a></li>
-
 
17
                <li><a href="/profile/microlearning">Micro Aprendizaje</a></li>
-
 
18
                <li><a href="/job/applied-jobs">Empleos que he aplicado</a></li>
-
 
19
                <li><a href="/job/saved-jobs">Empleos guardados</a></li>
-
 
20
                <li><a href="/profile/people-viewed-profile">Quién ha visto mi perfil</a></li>
-
 
21
                <li><a href="/profile/self-evaluation">Auto evaluación</a></li>
-
 
22
                <li><a href="/profile/performance-evaluation">Evaluación de desempeño</a></li>
-
 
23
            </ul>
-
 
24
        </nav>
-
 
25
    </li>
-
 
26
    <li class="navLinksContainer__ul__li--HGs2x"><a href="/connection/my-connections">RELACIONES</a>
-
 
27
        <nav class="navLinkDropdown--dB4zr">
-
 
28
            <ul>
-
 
29
                <li><a href="/connection/my-connections">Mis relaciones</a></li>
-
 
30
                <li><a href="/connection/invitations-sent">Invitaciones enviadas</a></li>
-
 
31
                <li><a href="/connection/invitations-received">Invitaciones recibidas</a></li>
-
 
32
                <li><a href="/connection/people-you-may-know">Personas que puede conocer</a></li>
-
 
33
                <li><a href="/connection/people-blocked">Personas bloqueadas</a></li>
-
 
34
            </ul>
-
 
35
        </nav>
-
 
36
     </li>
-
 
37
     <li class="navLinksContainer__ul__li--HGs2x"><a href="/company/my-companies">EMPRESAS</a>
-
 
38
        <nav class="navLinkDropdown--dB4zr">
-
 
39
            <ul>
-
 
40
                <li><a href="/company/my-companies">Mis empresas</a></li>
-
 
41
                <li><a href="/company/following-companies">Empresas que sigo</a></li>
-
 
42
                <li><a href="/company/i-work-with">Empresas donde trabajo</a></li>
-
 
43
                <li><a href="/company/requests-sent">Solicitudes Enviadas</a></li>
-
 
44
                <li><a href="/company/invitations-received">Solicitudes Recibidas</a></li>
-
 
45
            </ul>
-
 
46
        </nav>
-
 
47
      </li>
-
 
48
      <li class="navLinksContainer__ul__li--HGs2x"><a href="/group/my-groups">GRUPOS</a>
-
 
49
        <nav class="navLinkDropdown--dB4zr">
-
 
50
            <ul>
-
 
51
                <li><a href="/group/my-groups">Mis grupos</a></li>
-
 
52
                <li><a href="/group/joined-groups">Grupos unidos</a></li>
-
 
53
                <li><a href="/group/requests-sent">Solicitudes enviadas</a></li>
-
 
54
                <li><a href="/group/invitations-received">Invitaciones recibidas</a></li>
-
 
55
            </ul>
-
 
56
        </nav>
-
 
57
       </li>
-
 
58
       <li class="navLinksContainer__ul__li--HGs2x"><a href="/marketplace">MARKETPLACE</a>
-
 
59
            <nav class="navLinkDropdown--dB4zr">
-
 
60
                <ul>
-
 
61
                    <li><a href="/marketplace?entity=capsules">Cápsulas</a></li>
-
 
62
                </ul>
-
 
63
            </nav>
-
 
64
        </li>
-
 
65
     </ul>
-
 
Línea 66... Línea 8...
66
     */
8
use Laminas\Router\Http\Segment;
67
 
9
 
68
 
10
 
69
return [
11
return [
Línea 244... Línea 186...
244
                      'controller' => '\LeadersLinked\Controller\AuthController',
186
                      'controller' => '\LeadersLinked\Controller\AuthController',
245
                      'action' => 'test',
187
                      'action' => 'test',
246
                      ],
188
                      ],
247
                      ],
189
                      ],
248
                      ], */
190
                      ], */
-
 
191
 
249
                    'facebook' => [
192
                    'facebook' => [
250
                        'type' => Literal::class,
193
                        'type' => Literal::class,
251
                        'options' => [
194
                        'options' => [
252
                            'route' => '/facebook',
195
                            'route' => '/facebook',
253
                            'defaults' => [
196
                            'defaults' => [
Línea 363... Línea 306...
363
                        'controller' => '\LeadersLinked\Controller\HomeController',
306
                        'controller' => '\LeadersLinked\Controller\HomeController',
364
                        'action' => 'index'
307
                        'action' => 'index'
365
                    ]
308
                    ]
366
                ]
309
                ]
367
            ],
310
            ],
-
 
311
            'share' => [
-
 
312
                'type' => Segment::class,
-
 
313
                'options' => [
-
 
314
                    'route' => '/share/type/:type/code/:code',
-
 
315
                    'constraints' => [
-
 
316
                        'type' => 'feed|post',
-
 
317
                        'code' => '[A-Za-z0-9\-]+\=*',
-
 
318
                    ],
-
 
319
                    'defaults' => [
-
 
320
                        'controller' => '\LeadersLinked\Controller\HomeController',
-
 
321
                        'action' => 'share',
-
 
322
                    ],
-
 
323
                ],
-
 
324
            ],
-
 
325
            'share-callback' => [
-
 
326
                'type' => Segment::class,
-
 
327
                'options' => [
-
 
328
                    'route' => '/share-callback/type/:type/code/:code',
-
 
329
                    'constraints' => [
-
 
330
                        'type' => 'feed|post',
-
 
331
                        'code' => '[A-Za-z0-9\-]+\=*',
-
 
332
                    ],
-
 
333
                    'defaults' => [
-
 
334
                        'controller' => '\LeadersLinked\Controller\HomeController',
-
 
335
                        'action' => 'shareCallback',
-
 
336
                    ],
-
 
337
                ],
-
 
338
            ],
368
            'post' => [
339
            'post' => [
369
                'type' => Segment::class,
340
                'type' => Segment::class,
370
                'options' => [
341
                'options' => [
371
                    'route' => '/post/:id',
342
                    'route' => '/post/:id',
372
                    'constraints' => [
343
                    'constraints' => [
Línea 2649... Línea 2620...
2649
                    ],
2620
                    ],
2650
                    'groups-suggestion' => [
2621
                    'groups-suggestion' => [
2651
                        'type' => Literal::class,
2622
                        'type' => Literal::class,
2652
                        'options' => [
2623
                        'options' => [
2653
                            'route' => '/groups-suggestion',
2624
                            'route' => '/groups-suggestion',
2654
 
-
 
2655
                            
-
 
2656
                           /* 'route' => '/groups-suggestion[/:group_id]',
-
 
2657
                            'constraints' => [
-
 
2658
                                'group_id' => '[A-Za-z0-9\-]+\=*'
-
 
2659
                            ],*/
-
 
2660
                            'defaults' => [
2625
                            'defaults' => [
2661
                                'controller' => '\LeadersLinked\Controller\HelperController',
2626
                                'controller' => '\LeadersLinked\Controller\HelperController',
2662
                                'action' => 'groupsSuggestion'
2627
                                'action' => 'groupsSuggestion'
2663
                            ]
2628
                            ]
2664
                        ]
2629
                        ]
2665
                    ],
2630
                    ],
-
 
2631
                    'my-groups' => [
-
 
2632
                        'type' => Literal::class,
-
 
2633
                        'options' => [
-
 
2634
                            'route' => '/my-groups',
-
 
2635
                            'defaults' => [
-
 
2636
                                'controller' => '\LeadersLinked\Controller\HelperController',
-
 
2637
                                'action' => 'myGroups'
-
 
2638
                            ]
-
 
2639
                        ]
-
 
2640
                    ],
2666
                    'footer' => [
2641
                    'footer' => [
2667
                        'type' => Literal::class,
2642
                        'type' => Literal::class,
2668
                        'options' => [
2643
                        'options' => [
2669
                            'route' => '/footer',
2644
                            'route' => '/footer',
2670
                            'defaults' => [
2645
                            'defaults' => [