Resolves #45692: Move static template to Configuration directory
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 21 Feb 2013 01:13:49 +0000 (01:13 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 21 Feb 2013 01:13:49 +0000 (01:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/static_info_tables/trunk@71374 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Configuration/TypoScript/constants.txt [new file with mode: 0644]
Configuration/TypoScript/setup.txt [new file with mode: 0644]
doc/manual.sxw
ext_tables.php
static/static_info_tables/constants.txt [deleted file]
static/static_info_tables/setup.txt [deleted file]

index b30866e..00f627e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@
        * Follow up to #45684: Add autoloading
        * Fixed issue #45686: Remove reference to static_info_tables_markets
        * Resolves #45688: Always keep tables utf-8-encoded
+       * Resolves #45692: Move static template to Configuration directory
 
 2013-02-19  Stanislas Rolland  <typo3@sjbr.ca>
 
diff --git a/Configuration/TypoScript/constants.txt b/Configuration/TypoScript/constants.txt
new file mode 100644 (file)
index 0000000..32ae7e9
--- /dev/null
@@ -0,0 +1,21 @@
+plugin.tx_staticinfotables_pi1 {
+
+    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default currency: ISO alpha-3 code of the default currency used to format an amount.
+   currencyCode = EUR
+
+    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default country: ISO alpha-3 code of the default selected country in the drop-down selector.
+   countryCode =
+
+    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Allowed countries: ISO alpha-3 code of the countries which are allowed in the drop-down selector. The order of the countries will remain in the output.
+   countriesAllowed =
+
+    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default country zone: Code of the default selected country zone in drop-down selector.
+   countryZoneCode =
+
+    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default language: ISO alpha-2 code of the default selected language in drop-down selector.
+   languageCode =
+
+    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Onchange attribute : Value of onchange attribute of drop-down selectors, when present.
+   onChangeAttribute = javascript:this.form.submit();
+
+}
\ No newline at end of file
diff --git a/Configuration/TypoScript/setup.txt b/Configuration/TypoScript/setup.txt
new file mode 100644 (file)
index 0000000..82294db
--- /dev/null
@@ -0,0 +1,41 @@
+plugin.tx_staticinfotables_pi1 {
+
+   countryCode = {$plugin.tx_staticinfotables_pi1.countryCode}
+   countriesAllowed = {$plugin.tx_staticinfotables_pi1.countriesAllowed}
+   countryZoneCode = {$plugin.tx_staticinfotables_pi1.countryZoneCode}
+   currencyCode = {$plugin.tx_staticinfotables_pi1.currencyCode}
+   languageCode = {$plugin.tx_staticinfotables_pi1.languageCode}
+   onChangeAttribute = {$plugin.tx_staticinfotables_pi1.onChangeAttribute}
+
+   addressFormat {
+## See www.upu.int
+## Semi-colon (;)-separated address lines
+## Examples of address format 1: Austria, Denmark, France, Germany, Russia
+      1 = %street;%zip  %city;%countryName
+
+## Examples of address format 2: India
+      2 = %street;%city %zip;%countryName
+
+## Examples of address format 3: Australia, USA
+      3 = %street;%city %countrySubdivisionCode  %zip;%countryName
+
+## Example of address format 4: Canada
+      4 = %street;%city (%countrySubdivisionName) %zip;%countryName
+
+## Example of address format 5: Great Britain
+      5 = %street;%city;%zip%countryName
+
+## Example of address format 6: Mexico
+      6 = %street;%zip %city, %countrySubdivisionCode;%countryName
+
+## Example of address format 7: Italy
+      7 = %street;%zip %city %countrySubdivisionCode;%countryName
+
+## Example of address format 8: Spain
+      8 = %street;%zip %city (%countrySubdivisionName);%countryName
+
+## Example of address format 9: Brazil
+      9 = %street;%city - %countrySubdivisionCode;%zip;%countryName
+   }
+}
+
index 57acfd1..71e854f 100644 (file)
Binary files a/doc/manual.sxw and b/doc/manual.sxw differ
index 32f21f8..9b45eaf 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 if (!defined ('TYPO3_MODE'))   die ('Access denied.');
 
-t3lib_extMgm::addStaticFile(STATIC_INFO_TABLES_EXTkey, 'static/static_info_tables/', 'Static Info tables');
+t3lib_extMgm::addStaticFile(STATIC_INFO_TABLES_EXTkey, 'Configuration/TypoScript/', 'Static Info tables');
 
 $TCA['static_territories'] = array(
        'ctrl' => array(
diff --git a/static/static_info_tables/constants.txt b/static/static_info_tables/constants.txt
deleted file mode 100644 (file)
index 32ae7e9..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-plugin.tx_staticinfotables_pi1 {
-
-    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default currency: ISO alpha-3 code of the default currency used to format an amount.
-   currencyCode = EUR
-
-    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default country: ISO alpha-3 code of the default selected country in the drop-down selector.
-   countryCode =
-
-    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Allowed countries: ISO alpha-3 code of the countries which are allowed in the drop-down selector. The order of the countries will remain in the output.
-   countriesAllowed =
-
-    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default country zone: Code of the default selected country zone in drop-down selector.
-   countryZoneCode =
-
-    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Default language: ISO alpha-2 code of the default selected language in drop-down selector.
-   languageCode =
-
-    # cat=plugin.tx_staticinfotables_pi1//; type=string; label= Onchange attribute : Value of onchange attribute of drop-down selectors, when present.
-   onChangeAttribute = javascript:this.form.submit();
-
-}
\ No newline at end of file
diff --git a/static/static_info_tables/setup.txt b/static/static_info_tables/setup.txt
deleted file mode 100644 (file)
index 82294db..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-plugin.tx_staticinfotables_pi1 {
-
-   countryCode = {$plugin.tx_staticinfotables_pi1.countryCode}
-   countriesAllowed = {$plugin.tx_staticinfotables_pi1.countriesAllowed}
-   countryZoneCode = {$plugin.tx_staticinfotables_pi1.countryZoneCode}
-   currencyCode = {$plugin.tx_staticinfotables_pi1.currencyCode}
-   languageCode = {$plugin.tx_staticinfotables_pi1.languageCode}
-   onChangeAttribute = {$plugin.tx_staticinfotables_pi1.onChangeAttribute}
-
-   addressFormat {
-## See www.upu.int
-## Semi-colon (;)-separated address lines
-## Examples of address format 1: Austria, Denmark, France, Germany, Russia
-      1 = %street;%zip  %city;%countryName
-
-## Examples of address format 2: India
-      2 = %street;%city %zip;%countryName
-
-## Examples of address format 3: Australia, USA
-      3 = %street;%city %countrySubdivisionCode  %zip;%countryName
-
-## Example of address format 4: Canada
-      4 = %street;%city (%countrySubdivisionName) %zip;%countryName
-
-## Example of address format 5: Great Britain
-      5 = %street;%city;%zip%countryName
-
-## Example of address format 6: Mexico
-      6 = %street;%zip %city, %countrySubdivisionCode;%countryName
-
-## Example of address format 7: Italy
-      7 = %street;%zip %city %countrySubdivisionCode;%countryName
-
-## Example of address format 8: Spain
-      8 = %street;%zip %city (%countrySubdivisionName);%countryName
-
-## Example of address format 9: Brazil
-      9 = %street;%city - %countrySubdivisionCode;%zip;%countryName
-   }
-}
-