{intl l="Create New Account"}

- {form name=""} - + {form name="thelia.customer.creation"} +
@@ -26,48 +26,78 @@
-
- + {form_field form=$form field="firstname"} +
+
- - Available input! + + {if $error } + {$message} + {elseif $value != "" && !$error} + + {/if}
+ {/form_field} + {form_field form=$form field="lastname"} +
+ +
+ + {if $error } + {$message} + {elseif $value != "" && !$error} + + {/if} +
+
+ {/form_field} + {form_field form=$form field="email"} +
+ -
-
- - Invalid input! -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- + + {if $error } + {$message} + {elseif $value != "" && !$error} + + {/if}
+ {/form_field} + {form_field form=$form field="phone"} +
+ +
+ + {if $error } + {$message} + {elseif $value != "" && !$error} + + {/if} +
+
+ {/form_field} + {form_field form=$form field="cellphone"} +
+ +
+ + {if $error } + {$message} + {elseif $value != "" && !$error} + + {/if} +
+
+ {/form_field}
- 2. Delivery Informations + 2. {intl l="Delivery Informations"}
diff --git a/templates/default_save/address.html b/templates/default_save/address.html index afae59197..f02dc7689 100644 --- a/templates/default_save/address.html +++ b/templates/default_save/address.html @@ -26,7 +26,7 @@ @@ -78,7 +78,7 @@ diff --git a/templates/default_save/address_edit.html b/templates/default_save/address_edit.html index 22e70289a..c6cf1b120 100644 --- a/templates/default_save/address_edit.html +++ b/templates/default_save/address_edit.html @@ -27,7 +27,7 @@ @@ -79,7 +79,7 @@ diff --git a/templates/default_save/address_list.html b/templates/default_save/address_list.html index 88a483e23..6dc1d5378 100644 --- a/templates/default_save/address_list.html +++ b/templates/default_save/address_list.html @@ -4,7 +4,7 @@
    {loop type="address" name="customer_list" customer="current"} -
  • {#LABEL} - {#FIRSTNAME} {#LASTNAME} - edit
  • +
  • {$LABEL} - {$FIRSTNAME} {$LASTNAME} - edit
  • {/loop}
diff --git a/templates/default_save/cart.html b/templates/default_save/cart.html index a503e3bd4..38e3e7716 100755 --- a/templates/default_save/cart.html +++ b/templates/default_save/cart.html @@ -3,7 +3,7 @@

{intl l='cart'}

    {loop name="cart" type="cart"} -
  • Item {$LOOP_COUNT}/{$LOOP_TOTAL} : #ITEM_ID #TITLE - quantity : #QUANTITY
  • +
  • Item {$LOOP_COUNT}/{$LOOP_TOTAL} : {$ITEM_ID} {$TITLE} - quantity : {$QUANTITY}
  • {/loop}
@@ -16,7 +16,7 @@ and passed back to the form plugin through the ParserContext. *} - {if #form_error}
#form_error_message
{/if} + {if $form_error}
{$form_error_message}
{/if} {form_hidden_fields form=$form} diff --git a/templates/default_save/category.html b/templates/default_save/category.html index a888605ff..0a8e04460 100755 --- a/templates/default_save/category.html +++ b/templates/default_save/category.html @@ -1,9 +1,3 @@ - - - {debugbar_renderHead} - - -

Category page

@@ -12,13 +6,13 @@ {loop name="category0" type="category" parent="0" order="manual"}
-

CATEGORY : #TITLE (#LOOP_COUNT / #LOOP_TOTAL)

+

CATEGORY : {$TITLE} ({$LOOP_COUNT} / {$LOOP_TOTAL})

{ifloop rel="prod_ass_cont"}
Associated Content
    - {loop name="prod_ass_cont" type="associated_content" category="#ID" order="associated_content"} -
  • #TITLE
  • + {loop name="prod_ass_cont" type="associated_content" category="$ID" order="associated_content"} +
  • {$TITLE}
  • {/loop}
{/ifloop} @@ -26,23 +20,23 @@
No associated content
{/elseloop} - {loop name="product" type="product" category="#ID"} + {loop name="product" type="product" category="$ID"}
-

PRODUCT #ID : #REF (#LOOP_COUNT / #LOOP_TOTAL)

-

#TITLE

-

#DESCRIPTION

+

PRODUCT {$ID} : {$REF} ({$LOOP_COUNT} / {$LOOP_TOTA}L)

+

{$TITLE}

+

{$DESCRIPTION}

-

Starting by #BEST_PRICE € HT (TAX : #BEST_PRICE_TAX ; #BEST_TAXED_PRICE € TTC)

+

Starting by {$BEST_PRICE} € HT (TAX : {$BEST_PRICE_TAX} ; {$BEST_TAXED_PRICE} € TTC)

{ifloop rel="ft"}
Features
    - {assign var=current_product value=#ID} - {loop name="ft" type="feature" order="manual" product="#ID"} + {assign var=current_product value=$ID} + {loop name="ft" type="feature" order="manual" product="$ID"}
  • - #TITLE : - {loop name="ft_v" type="feature_value" product="{$current_product}" feature="#ID"} - #TITLE / #PERSONAL_VALUE + {$TITLE} : + {loop name="ft_v" type="feature_value" product="{$current_product}" feature="{$ID}"} + {$TITLE} / {$PERSONAL_VALUE} {/loop}
  • {/loop} @@ -53,15 +47,15 @@ {/elseloop}
{/loop} - {loop name="catgory1" type="category" parent="#ID"} + {loop name="catgory1" type="category" parent="$ID"}
-

SUBCATEGORY : #TITLE (#LOOP_COUNT / #LOOP_TOTAL)

+

SUBCATEGORY : {$TITLE} ({$LOOP_COUNT} / {$LOOP_TOTAL})

{ifloop rel="prod_ass_cont"}
Associated Content
    - {loop name="prod_ass_cont" type="associated_content" category="#ID" order="associated_content"} -
  • #TITLE
  • + {loop name="prod_ass_cont" type="associated_content" category="$ID" order="associated_content"} +
  • {$TITLE}
  • {/loop}
{/ifloop} @@ -69,22 +63,22 @@
No associated content
{/elseloop} - {loop name="product" type="product" category="#ID"} + {loop name="product" type="product" category="$ID"}
-

PRODUCT #ID : #REF (#LOOP_COUNT / #LOOP_TOTAL)

-

#TITLE

-

#DESCRIPTION

+

PRODUCT {$ID} : {$REF} ({$LOOP_COUNT} / {$LOOP_TOTAL})

+

{$TITLE}

+

{$DESCRIPTION}

{ifloop rel="ft"}
Features
    - {assign var=current_product value=#ID} - {loop name="ft" type="feature" order="manual" product="#ID"} + {assign var=current_product value=$ID} + {loop name="ft" type="feature" order="manual" product="$ID"}
  • - #TITLE : - {loop name="ft_v" type="feature_value" product="{$current_product}" feature="#ID"} - #TITLE / #PERSONAL_VALUE + {$TITLE} : + {loop name="ft_v" type="feature_value" product="{$current_product}" feature="$ID"} + {$TITLE} / {$PERSONAL_VALUE} {/loop}
  • {/loop} @@ -109,10 +103,10 @@
      {loop name="ft" type="feature" order="manual"}
    • - #TITLE + {$TITLE}
        - {loop name="ftav" type="feature_availability" order="manual" feature="#ID"} -
      • #TITLE
      • + {loop name="ftav" type="feature_availability" order="manual" feature="$ID"} +
      • {$TITLE}
      • {/loop}
    • @@ -126,10 +120,10 @@
        {loop name="attr" type="attribute" order="manual"}
      • - #TITLE + {$TITLE}
          - {loop name="attrav" type="attribute_availability" order="manual" attribute="#ID"} -
        • #TITLE
        • + {loop name="attrav" type="attribute_availability" order="manual" attribute="$ID"} +
        • {$TITLE}
        • {/loop}
      • @@ -143,13 +137,9 @@
          {loop name="cur" type="currency"}
        • - #NAME (#SYMBOL) + {$NAME} ({$SYMBOL})
        • {/loop}
        -
- - {debugbar_render} - - \ No newline at end of file +
\ No newline at end of file diff --git a/templates/default_save/connexion.html b/templates/default_save/connexion.html index b3867782f..3c52d1a53 100755 --- a/templates/default_save/connexion.html +++ b/templates/default_save/connexion.html @@ -27,7 +27,7 @@ and passed back to the form plugin through the ParserContext. *} - {if #form_error}
#form_error_message
{/if} + {if $form_error}
{$form_error_message}
{/if} {form_hidden_fields form=$form} @@ -132,28 +132,28 @@ {form_field form=$form field="email"} {form_error form=$form field="email"} - {#message} + {$message} {/form_error}
{/form_field} {form_field form=$form field="email_confirm"} {form_error form=$form field="email_confirm"} - {#message} + {$message} {/form_error}
{/form_field} {form_field form=$form field="password"} {form_error form=$form field="password"} - {#message} + {$message} {/form_error}
{/form_field} {form_field form=$form field="password_confirm"} {form_error form=$form field="password_confirm"} - {#message} + {$message} {/form_error}
{/form_field} diff --git a/templates/default_save/customer.html b/templates/default_save/customer.html index 02e7104f9..a4d79ca33 100755 --- a/templates/default_save/customer.html +++ b/templates/default_save/customer.html @@ -7,43 +7,43 @@ - + - + - + - + - + - + - + - +
ID#ID{$ID}
Réference#REF{$REF}
Title - {loop name="title" type="title" id="#TITLE"} - #LONG (#SHORT) + {loop name="title" type="title" id="$TITLE"} + {$LONG} ({$SHORT}) {/loop}
Firstname#FIRSTNAME{$FIRSTNAME}
Lastname#LASTNAME{$LASTNAME}
Email#EMAIL{$EMAIL}
Is reseller#RESELLER{$RESELLER}
Sponsor#SPONSOR{$SPONSOR}
Discount#DISCOUNT %{$DISCOUNT} %
@@ -56,20 +56,20 @@ - + - + - + - + - + - + - + - + - + - +
ID#ID{$ID}
Name#NAME{$NAME}
Title
    - {assign var=current_title value=#TITLE} + {assign var=current_title value=$TITLE} {loop name="title" type="title"} -
  • - #LONG (#SHORT) +
  • + {$LONG} ({$SHORT})
  • {/loop}
@@ -77,36 +77,36 @@
Company#COMPANY{$COMPANY}
Firstname#FIRSTNAME{$FIRSTNAME}
Lastname#LASTNAME{$LASTNAME}
Address#ADDRESS1
#ADDRESS2
#ADDRESS3
{$ADDRESS1}
{$ADDRESS2}
{$ADDRESS3}
Zipcode#ZIPCODE{$ZIPCODE}
City#CITY{$CITY}
Country @@ -114,11 +114,11 @@
Phone#PHONE{$PHONE}
Cellphone#CELLPHONE{$CELLPHONE}
diff --git a/templates/default_save/delivery_list.html b/templates/default_save/delivery_list.html index 2ea3cc166..a652af31b 100644 --- a/templates/default_save/delivery_list.html +++ b/templates/default_save/delivery_list.html @@ -4,9 +4,9 @@ {loop type="delivery" name="delivery.list"}
    • -
    • id : {#ID}
    • -
    • prix : {#PRICE}
    • -
    • Choisir : Choisir
    • +
    • id : {$ID}
    • +
    • prix : {$PRICE}
    • +
    • Choisir : Choisir
  • {/loop} diff --git a/templates/default_save/folder.html b/templates/default_save/folder.html index 7d12036f9..7d6abb147 100755 --- a/templates/default_save/folder.html +++ b/templates/default_save/folder.html @@ -1,13 +1,13 @@ {loop name="folder0" type="folder" parent="0" order="alpha_reverse"}
    -

    FOLDER : #TITLE

    - {loop name="folder1" type="folder" parent="#ID"} +

    FOLDER : {$TITLE}

    + {loop name="folder1" type="folder" parent="$ID"}
    -

    SUBFOLDER : #TITLE (#LOOP_COUNT / #LOOP_TOTAL)

    - {loop name="content" type="content" folder="#ID"} +

    SUBFOLDER : {$TITLE} ({$LOOP_COUNT} / {$LOOP_TOTAL})

    + {loop name="content" type="content" folder="$ID"}
    -

    CONTENT : #TITLE

    -

    #DESCRIPTION

    +

    CONTENT : {$TITLE}

    +

    {$DESCRIPTION}

    {/loop}
    diff --git a/templates/default_save/images.html b/templates/default_save/images.html index c72beaecd..cd6834f9f 100755 --- a/templates/default_save/images.html +++ b/templates/default_save/images.html @@ -5,22 +5,22 @@

    Category Images

      {loop type="category" name="jsvdfk"} -
    • Category id #ID: #TITLE

      +
    • Category id {$ID}: {$TITLE}

      • - {loop type="image" name="image_test" category="#ID" width="200" height="100" resize_mode="borders"} -

        Processed file URL: #IMAGE_URL

        -

        Original file URL: #ORIGINAL_IMAGE_URL

        - + {loop type="image" name="image_test" category="$ID" width="200" height="100" resize_mode="borders"} +

        Processed file URL: {$IMAGE_URL}

        +

        Original file URL: {$ORIGINAL_IMAGE_URL}

        + {/loop} - {loop type="image" name="image_test" category="#ID"} -

        Full size file URL: #IMAGE_URL

        - + {loop type="image" name="image_test" category="$ID"} +

        Full size file URL: {$IMAGE_URL}

        + {/loop} - {loop type="image" name="image_test" source="category" source_id="#ID"} -

        source="category" source_id="x" argument style: Processed file URL: #IMAGE_URL

        + {loop type="image" name="image_test" source="category" source_id="$ID"} +

        source="category" source_id="x" argument style: Processed file URL: {$IMAGE_URL}

        {/loop}
      @@ -34,27 +34,27 @@

      Product Images

        {loop type="product" name="jsvdfk"} -
      • Product id #ID: #TITLE

        +
      • Product id {$ID}: {$TITLE}

        • - {loop type="image" name="image_test" product="#ID" width="200" height="100" resize_mode="borders" effects="gamma:0.7" background_color="#cc8000"} -

          Processed file URL: #IMAGE_URL

          -

          Original file URL: #ORIGINAL_IMAGE_URL

          + {loop type="image" name="image_test" product="$ID" width="200" height="100" resize_mode="borders" effects="gamma:0.7" background_color="#cc8000"} +

          Processed file URL: {$IMAGE_URL}

          +

          Original file URL: {$ORIGINAL_IMAGE_URL}

          Images:

          - + {/loop} - {loop type="image" name="image_test" product="#ID" width="200" height="100" resize_mode="crop"} - + {loop type="image" name="image_test" product="$ID" width="200" height="100" resize_mode="crop"} + {/loop} - {loop type="image" name="image_test" product="#ID" width="100" height="200" resize_mode="borders" background_color="#cc8000"} - + {loop type="image" name="image_test" product="$ID" width="100" height="200" resize_mode="borders" background_color="#cc8000"} + {/loop} - {loop type="image" name="image_test" product="#ID" width="100" rotation="-20" background_color="#facabe"} - + {loop type="image" name="image_test" product="$ID" width="100" rotation="-20" background_color="#facabe"} + {/loop} - {loop type="image" name="image_test" product="#ID" width="200" height="100" resize_mode="borders" background_color="#facabe" effects="negative"} - + {loop type="image" name="image_test" product="$ID" width="200" height="100" resize_mode="borders" background_color="#facabe" effects="negative"} + {/loop}

        • @@ -67,13 +67,13 @@

          Folder Images

            {loop type="folder" name="jsvdfk"} -
          • Folder id #ID: #TITLE

            +
          • Folder id {$ID}: {$TITLE}

            • - {loop type="image" name="image_test" folder="#ID" width="200" height="100" resize_mode="borders"} -

              Processed file URL: #IMAGE_URL

              -

              Original file URL: #ORIGINAL_IMAGE_URL

              - + {loop type="image" name="image_test" folder="$ID" width="200" height="100" resize_mode="borders"} +

              Processed file URL: {$IMAGE_URL}

              +

              Original file URL: {$ORIGINAL_IMAGE_URL}

              + {/loop}
            @@ -86,13 +86,13 @@

            Content Images

              {loop type="content" name="jsvdfk"} -
            • Content id #ID: #TITLE

              +
            • Content id {$ID}: {$TITLE}

              • - {loop type="image" name="image_test" content="#ID" width="200" height="100" resize_mode="borders"} -

                Processed file URL: #IMAGE_URL

                -

                Original file URL: #ORIGINAL_IMAGE_URL

                - + {loop type="image" name="image_test" content="$ID" width="200" height="100" resize_mode="borders"} +

                Processed file URL: {$IMAGE_URL}

                +

                Original file URL: {$ORIGINAL_IMAGE_URL}

                + {/loop}
              diff --git a/templates/default_save/included.html b/templates/default_save/included.html index 93581ff7f..0d0df5c14 100755 --- a/templates/default_save/included.html +++ b/templates/default_save/included.html @@ -1,12 +1,12 @@ {loop name="included0" type="category" parent="0"} -

              Out before - CATEGORY : #TITLE (#LOOP_COUNT / #LOOP_TOTAL)

              - {loop name="category1" type="category" parent="#ID"} -

              Inner - SUBCATEGORY : #TITLE (#LOOP_COUNT / #LOOP_TOTAL)

              +

              Out before - CATEGORY : {$TITLE} ({$LOOP_COUNT} / {$LOOP_TOTAL})

              + {loop name="category1" type="category" parent="$ID"} +

              Inner - SUBCATEGORY : {$TITLE} ({$LOOP_COUNT} / {$LOOP_TOTAL})

              {/loop} - {loop name="category2" type="category" parent="#ID"} -

              Inner 2 - SUBCATEGORY : #TITLE (#LOOP_COUNT / #LOOP_TOTAL)

              + {loop name="category2" type="category" parent="$ID"} +

              Inner 2 - SUBCATEGORY : {$TITLE} ({$LOOP_COUNT} / {$LOOP_TOTAL})

              {/loop} -

              Out after - CATEGORY : #TITLE (#LOOP_COUNT / #LOOP_TOTAL)

              +

              Out after - CATEGORY : {$TITLE} ({$LOOP_COUNT} / {$LOOP_TOTAL})


              {/loop} \ No newline at end of file diff --git a/templates/default_save/includes/footer.html b/templates/default_save/includes/footer.html index 2f14e2fd8..0b876c3ac 100755 --- a/templates/default_save/includes/footer.html +++ b/templates/default_save/includes/footer.html @@ -13,6 +13,7 @@ }); }); - {debugbar_render} + {debugbar_renderjs} + {debugbar_renderresult} \ No newline at end of file diff --git a/templates/default_save/includes/header.html b/templates/default_save/includes/header.html index b605ecbb7..7161145a5 100755 --- a/templates/default_save/includes/header.html +++ b/templates/default_save/includes/header.html @@ -7,7 +7,7 @@ {stylesheets file='../assets/css/*' filters='less,cssembed'} {/stylesheets} - {debugbar_renderHead} + {debugbar_rendercss}
              diff --git a/templates/default_save/login.html b/templates/default_save/login.html index 702f0a710..61232e481 100755 --- a/templates/default_save/login.html +++ b/templates/default_save/login.html @@ -25,12 +25,12 @@ and passed back to the form plugin through the ParserContext. *} - {if #form_error}
              #form_error_message
              {/if} + {if $0form_error}
              {$form_error_message}
              {/if} {form_hidden_fields form=$form} {form_field form=$form field="email"} - {if #error}{#message}{/if} + {if $error}{$message}{/if}
              {/form_field} diff --git a/templates/default_save/pagination.html b/templates/default_save/pagination.html index cb06db66b..8f60b6b37 100755 --- a/templates/default_save/pagination.html +++ b/templates/default_save/pagination.html @@ -7,7 +7,7 @@
              {loop name="cat" type="category" page="{$category_current_page}" limit="2"} -

              #LOOP_COUNT - #TITLE

              +

              {$LOOP_COUNT} - {$TITLE}

              Products :

              @@ -17,23 +17,23 @@ {assign var=product_current_page value={$smarty.get.$this_product_getter|default:1}}
                - {loop name="prod" type="product" category="#ID" page="{$product_current_page}" limit="2"} + {loop name="prod" type="product" category="$ID" page="{$product_current_page}" limit="2"}
              • - #ID:#REF + {$ID}:{$REF}
              • {/loop}
              -

              #TITLE page choice

              +

              {$TITLE} page choice

              {pageloop rel="prod"} - {if ${PAGE} != {$product_current_page}} - #PAGE + {if $PAGE != $product_current_page} + {$PAGE} {else} - { #PAGE } + {$PAGE} {/if} - {if {$PAGE} != {$LAST}} + {if $PAGE != $LAST} - {/if} {/pageloop} @@ -44,12 +44,12 @@

              categories page choice

              {pageloop rel="cat"} -{if ${PAGE} != {$category_current_page}} - #PAGE +{if $PAGE != $category_current_page} + {$PAGE} {else} - { #PAGE } + {$PAGE} {/if} -{if {$PAGE} != {$LAST}} +{if $PAGE != $LAST} - {/if} {/pageloop} @@ -62,18 +62,18 @@ Pagination before loop {capture name="prod2"} {loop name="prod2" type="product" page="{$product_current_page}" limit="2"}
            • - #ID:#REF + {$ID}:{$REF}
            • {/loop} {/capture} {pageloop rel="prod2"} {if ${PAGE} != {$product_current_page}} - #PAGE + {$PAGE} {else} - { #PAGE } + {$PAGE} {/if} - {if {$PAGE} != {$LAST}} + {if $PAGE != $LAST} - {/if} {/pageloop} @@ -82,11 +82,11 @@ Pagination before loop {pageloop rel="prod2"} {if ${PAGE} != {$product_current_page}} - #PAGE + {$PAGE} {else} - { #PAGE } + {$PAGE} {/if} - {if {$PAGE} != {$LAST}} + {if $PAGE != $LAST} - {/if} {/pageloop} diff --git a/templates/default_save/product.html b/templates/default_save/product.html index 4280fc88c..cde8b61eb 100755 --- a/templates/default_save/product.html +++ b/templates/default_save/product.html @@ -1,3 +1,5 @@ +{*include file="includes/header.html"*} + Here you are : {navigate to="current"}
              From : {navigate to="return_to"}
              Index : {navigate to="index"}
              @@ -9,17 +11,17 @@ Index : {navigate to="index"}
              {loop type="product" name="product" current="true"}
              -

              PRODUCT (#ID) : #REF

              -

              #TITLE

              -

              #DESCRIPTION

              +

              PRODUCT ({$ID}) : {$REF}

              +

              {$TITLE}

              +

              {$DESCRIPTION}

              -

              Starting by #BEST_PRICE € HT (TAX : #BEST_PRICE_TAX ; #BEST_TAXED_PRICE € TTC)

              +

              Starting by {$BEST_PRICE} {currency attr="symbol"} HT (TAX : {$BEST_PRICE_TAX} ; {$BEST_TAXED_PRICE} {currency attr="symbol"} TTC)

              {ifloop rel="acc"}

              Accessories

                - {loop name="acc" type="accessory" product="#ID" order="accessory"} -
              • #REF
              • + {loop name="acc" type="accessory" product="$ID" order="accessory"} +
              • {$REF}
              • {/loop}
              {/ifloop} @@ -30,8 +32,8 @@ Index : {navigate to="index"}
              {ifloop rel="prod_ass_cont"}

              Associated Content

                - {loop name="prod_ass_cont" type="associated_content" product="#ID" order="associated_content"} -
              • #TITLE
              • + {loop name="prod_ass_cont" type="associated_content" product="$ID" order="associated_content"} +
              • {$TITLE}
              • {/loop}
              {/ifloop} @@ -42,12 +44,12 @@ Index : {navigate to="index"}
              {ifloop rel="ft"}

              Features

                - {assign var=current_product value=#ID} - {loop name="ft" type="feature" order="manual" product="#ID"} + {assign var=current_product value=$ID} + {loop name="ft" type="feature" order="manual" product="$ID"}
              • - #TITLE : - {loop name="ft_v" type="feature_value" product="{$current_product}" feature="#ID"} - #TITLE / #PERSONAL_VALUE + {$TITLE} : + {loop name="ft_v" type="feature_value" product="{$current_product}" feature="$ID"} + {$TITLE} / {$PERSONAL_VALUE} {/loop}
              • {/loop} @@ -59,18 +61,18 @@ Index : {navigate to="index"}

                Product sale elements

                - {assign var=current_product value=#ID} - {loop name="pse" type="product_sale_elements" product="#ID"} + {assign var=current_product value=$ID} + {loop name="pse" type="product_sale_elements" product="$ID" order="promo,min_price"}
                - {loop name="combi" type="attribute_combination" product_sale_elements="#ID"} - #ATTRIBUTE_TITLE = #ATTRIBUTE_AVAILABILITY_TITLE
                + {loop name="combi" type="attribute_combination" product_sale_elements="$ID"} + {$ATTRIBUTE_TITLE} = {$ATTRIBUTE_AVAILABILITY_TITLE}
                {/loop} -
                #WEIGHT g -
                {if #IS_PROMO == 1} #PROMO_PRICE € HT // TAX : #PROMO_PRICE_TAX ; #TAXED_PROMO_PRICE € TTC (instead of #PRICE HT // TAX : #PRICE_TAX ; #TAXED_PRICE € TTC){else} #PRICE € HT // TAX : #PRICE_TAX ; #TAXED_PRICE € TTC{/if} +
                {$WEIGHT} g +
                {if $IS_PROMO == 1} {$PROMO_PRICE} {currency attr="symbol"} HT // TAX : {$PROMO_PRICE_TAX} ; {$TAXED_PROMO_PRICE} {currency attr="symbol"} TTC (instead of {$PRICE_HT} // TAX : {$PRICE_TAX} ; {$TAXED_PRICE} {currency attr="symbol"} TTC){else} {$PRICE} {currency attr="symbol"} HT // TAX : {$PRICE_TAX} ; {$TAXED_PRICE} {currency attr="symbol"} TTC{/if}

                Add @@ -87,4 +89,6 @@ Index : {navigate to="index"}
                {elseloop rel="product"}

                Produit introuvable !

                -{/elseloop} \ No newline at end of file +{/elseloop} + +{*include file="includes/footer.html"*} \ No newline at end of file diff --git a/templates/default_save/tester.html b/templates/default_save/tester.html index b53396d3f..658339d50 100755 --- a/templates/default_save/tester.html +++ b/templates/default_save/tester.html @@ -2,8 +2,8 @@ {loop name="car" type="category"}
                • - {loop name="product" type="product" category="#ID"} -
                • #REF
                • + {loop name="product" type="product" category="$ID"} +
                • {$REF}
                • {/loop}
              • diff --git a/web/index_dev.php b/web/index_dev.php index 587631466..bb90e6ab0 100755 --- a/web/index_dev.php +++ b/web/index_dev.php @@ -32,19 +32,20 @@ $env = 'dev'; require __DIR__ . '/../core/bootstrap.php'; // List of allowed IP -//$trustedIp = array( -// '::1', -// '127.0.0.1' -//); +$trustedIp = array( + '::1', + '127.0.0.1', + '192.168.56.1' +); $request = Request::createFromGlobals(); $thelia = new Thelia("dev", true); -//if ( false === in_array($request->getClientIp(), $trustedIp)) { -// // Redirect 401 Unauthorized -// $response = new Response('Unauthorized', 401); -// $thelia->terminate($request, $response); -//} +if ( false === in_array($request->getClientIp(), $trustedIp)) { + // Redirect 401 Unauthorized + $response = new Response('Unauthorized', 401); + $thelia->terminate($request, $response); +} $response = $thelia->handle($request)->prepare($request)->send();