Permalink
Browse files

Add short description of each .tpl file's usage. Closes #1.

  • Loading branch information...
1 parent 8aaebac commit 4cd94c6133c60591de0f70b313b830abd4c717f3 @markahesketh committed Jun 23, 2012
Showing with 355 additions and 1,396 deletions.
  1. +6 −24 404.tpl
  2. +5 −24 address.tpl
  3. +5 −24 addresses.tpl
  4. +5 −24 authentication.tpl
  5. +6 −25 best-sales.tpl
  6. +5 −24 breadcrumb.tpl
  7. +5 −24 category-cms-tree-branch.tpl
  8. +6 −24 category-count.tpl
  9. +5 −24 category-tree-branch.tpl
  10. +5 −24 category.tpl
  11. +6 −24 cms.tpl
  12. +5 −24 contact-form.tpl
  13. +35 −2 css/global.css
  14. +6 −24 discount.tpl
  15. +5 −24 errors.tpl
  16. +6 −24 footer.tpl
  17. +5 −24 guest-tracking.tpl
  18. +6 −24 header.tpl
  19. +5 −24 history.tpl
  20. +5 −24 identity.tpl
  21. +5 −24 index.tpl
  22. +5 −24 layout.tpl
  23. +6 −24 maintenance.tpl
  24. +5 −24 manufacturer-list.tpl
  25. +5 −24 manufacturer.tpl
  26. +5 −24 my-account.tpl
  27. +5 −24 nbr-product-page.tpl
  28. +5 −24 new-products.tpl
  29. +7 −24 order-address-multishipping-products.tpl
  30. +5 −24 order-address-multishipping.tpl
  31. +6 −24 order-address-product-line.tpl
  32. +5 −24 order-address.tpl
  33. +6 −24 order-carrier.tpl
  34. +6 −24 order-confirmation.tpl
  35. +5 −24 order-detail.tpl
  36. +5 −24 order-follow.tpl
  37. +7 −0 order-opc-new-account.tpl
  38. +5 −24 order-opc.tpl
  39. +5 −24 order-payment.tpl
  40. +7 −24 order-return.tpl
  41. +5 −24 order-slip.tpl
  42. +6 −24 order-steps.tpl
  43. +5 −24 pagination.tpl
  44. +5 −24 password.tpl
  45. +5 −24 prices-drop.tpl
  46. +5 −24 product-compare.tpl
  47. +5 −24 product-list.tpl
  48. +5 −24 product-sort.tpl
  49. +5 −24 product.tpl
  50. +5 −24 products-comparison.tpl
  51. +6 −24 restricted-country.tpl
  52. +7 −24 scenes.tpl
  53. +5 −24 search.tpl
  54. +5 −24 shopping-cart-product-line.tpl
  55. +5 −24 shopping-cart.tpl
  56. +6 −25 sitemap.tpl
  57. +7 −24 store_infos.tpl
  58. +6 −24 stores.tpl
  59. +5 −24 supplier-list.tpl
  60. +5 −24 supplier.tpl
View
30 404.tpl
@@ -1,28 +1,10 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= 404 Page not found =======================================
+ *
+ * Displayed when a page or product cannot be found.
+ * ==============================================================
+ *}
+
<div class="pagenotfound">
<h1>{l s='Page not available'}</h1>
View
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6753 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Address ==================================================
+ *
+ * Add/Edit customer address during checkout and My Account.
+ * ==============================================================
+ *}
<script type="text/javascript">
// <![CDATA[
View
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6664 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Addresses ================================================
+ *
+ * Display customer's addresses in My Account.
+ * ==============================================================
+ *}
{*
** Retro compatibility for PrestaShop version < 1.4.2.5 with a recent theme
View
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Address ==================================================
+ *
+ * Login / Register during checkout and My Account.
+ * ==============================================================
+ *}
{capture name=path}{l s='Login'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
View
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Product List - Best Sellers ==============================
+ *
+ * List of most popular products.
+ * ==============================================================
+ *}
{capture name=path}{l s='Top sellers'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
@@ -37,4 +18,4 @@
{include file="$tpl_dir./pagination.tpl"}
{else}
<p class="warning">{l s='No top sellers.'}</p>
-{/if}
+{/if}
View
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Breadcrumb ===============================================
+ *
+ * Navigation trail shown at the top of most pages.
+ * ==============================================================
+ *}
<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Sitemap Branch - CMS =====================================
+ *
+ * List of CMS pages to be shown in the store's sitemap.
+ * ==============================================================
+ *}
<li {if isset($last) && $last == 'true'}class="last"{/if}>
<strong><a href="{$node.link|escape:'htmlall':'UTF-8'}" title="{$node.name|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a></strong>
View
@@ -1,28 +1,10 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 15230 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Product Count ============================================
+ *
+ * Number of products in current category.
+ * ==============================================================
+ *}
+
{if $category->id == 1 OR $nb_products == 0}
{l s='There are no products.'}
{else}
View
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Sitemap Branch - Categories ==============================
+ *
+ * List of categories to be shown in the store's sitemap.
+ * ==============================================================
+ *}
<li {if isset($last) && $last == 'true'}class="last"{/if}>
<a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a>
View
@@ -1,28 +1,9 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6844 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= Product List - By Category ===============================
+ *
+ * Show subcategories and products of current category.
+ * ==============================================================
+ *}
{include file="$tpl_dir./breadcrumb.tpl"}
{include file="$tpl_dir./errors.tpl"}
View
30 cms.tpl
@@ -1,28 +1,10 @@
{*
-* 2007-2012 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA <contact@prestashop.com>
-* @copyright 2007-2012 PrestaShop SA
-* @version Release: $Revision: 6594 $
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
+ * =|= CMS ======================================================
+ *
+ * Displays CMS content and categories.
+ * ==============================================================
+ *}
+
{if isset($cms) && ($content_only == 0)}
{include file="$tpl_dir./breadcrumb.tpl"}
{/if}
Oops, something went wrong.

0 comments on commit 4cd94c6

Please sign in to comment.