Projekt

Allgemein

Profil

GX-Task #45158 » honeygrid_bearbeiten_wenn_Eyecandy_aktiv.txt

Tobias Link, 16.02.2016 16:24

 
1
in die includes/application_top.php
2

    
3

    
4
if( isset( $_SESSION['customers_status']['customers_status_id'] ) && $_SESSION['customers_status']['customers_status_id'] == 0 && $_GET['honeygrid'] == '1' || $_SESSION["tpl"] == 'honeygrid')
5
{
6
   $c_template = 'honeygrid';
7
}
8

    
9
else
10
{
11
   $c_template = $c_default_template;
12
   $c_mobile_template_active = 'false';
13
}
14

    
15
if( isset( $_SESSION['customers_status']['customers_status_id'] ) && $_SESSION['customers_status']['customers_status_id'] == 0 && $_GET['honeygrid'] == '1' || $_SESSION["tpl"] == 'honeygrid')
16
{
17
   $c_template = 'honeygrid';
18
}
19

    
20
if( $coo_mobile_control != false )
21
{
22
   // TEMPLATE SWITCHER
23
   $c_is_mobile_device = $coo_mobile_control->is_mobile_device();
24
   if( $c_mobile_template_active == 'false' && $c_is_mobile_device == 'true' && $c_mobile_template != 'false' )
25
   {
26
      $coo_text_mgr = MainFactory::create_object('LanguageTextManager', array('mobile_template', $_SESSION['languages_id']));
27
      $t_current_url = xtc_href_link( basename( $_SERVER["SCRIPT_NAME"] ), 'tpl=' . $c_mobile_template . '&' . xtc_get_all_get_params( array( 'tpl' ) ) );
28
      $c_template_switcher = '' . $coo_text_mgr->get_text('mobile_view') . '
29

    
30
';
31
   }
32
}
    (1-1/1)