Working Copy
authorwunschtacho <wunschtacho@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 16 Oct 2012 16:17:11 +0000 (16:17 +0000)
committerwunschtacho <wunschtacho@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 16 Oct 2012 16:17:11 +0000 (16:17 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/powermail_cond/trunk@67139 735d13b6-9817-0410-8766-e36946ffe9aa

.idea/workspace.xml
Configuration/TypoScript/setup.txt [new file with mode: 0644]
Resources/Public/Js/PowermailCond.js [new file with mode: 0644]
ext_localconf.php
ext_tables.php
oldFiles/js/powermail_cond.js
oldFiles/static/setup.txt

index f2c6d8a..48a3a6b 100644 (file)
@@ -2,9 +2,15 @@
 <project version="4">\r
   <component name="ChangeListManager">\r
     <list default="true" readonly="true" id="500e5988-e13b-4ba1-8a60-e63a97f737a1" name="Default" comment="">\r
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Configuration/TypoScript" />\r
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Resources/Public/Js" />\r
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Configuration/TypoScript/setup.txt" />\r
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js" />\r
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />\r
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Classes/Utility/FieldlistingBackend.php" afterPath="$PROJECT_DIR$/Classes/Utility/FieldlistingBackend.php" />\r
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Configuration/TCA/Rule.php" afterPath="$PROJECT_DIR$/Configuration/TCA/Rule.php" />\r
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/ext_localconf.php" afterPath="$PROJECT_DIR$/ext_localconf.php" />\r
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/ext_tables.php" afterPath="$PROJECT_DIR$/ext_tables.php" />\r
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/oldFiles/js/powermail_cond.js" afterPath="$PROJECT_DIR$/oldFiles/js/powermail_cond.js" />\r
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/oldFiles/static/setup.txt" afterPath="$PROJECT_DIR$/oldFiles/static/setup.txt" />\r
     </list>\r
     <ignored path="powermail_cond@powermailt347.in2code.de.iws" />\r
     <ignored path=".idea/workspace.xml" />\r
   </component>\r
   <component name="FileEditorManager">\r
     <leaf>\r
-      <file leaf-file-name="FieldlistingBackend.php" pinned="false" current="true" current-in-tab="true">\r
-        <entry file="file://$PROJECT_DIR$/Classes/Utility/FieldlistingBackend.php">\r
+      <file leaf-file-name="class.tx_powermailcond_ajaxFieldList_eid.php" pinned="false" current="false" current-in-tab="false">\r
+        <entry file="file://$PROJECT_DIR$/oldLib/class.tx_powermailcond_ajaxFieldList_eid.php">\r
           <provider selected="true" editor-type-id="text-editor">\r
-            <state line="65" column="32" selection-start="2522" selection-end="2522" vertical-scroll-proportion="0.70614034">\r
-              <folding>\r
-                <element signature="e#987#1189#0" expanded="false" />\r
-              </folding>\r
+            <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.0">\r
+              <folding />\r
             </state>\r
           </provider>\r
         </entry>\r
       </file>\r
-      <file leaf-file-name="ext_tables.sql" pinned="false" current="false" current-in-tab="false">\r
-        <entry file="file://$PROJECT_DIR$/ext_tables.sql">\r
+      <file leaf-file-name="class.tx_powermailcond_div.php" pinned="false" current="true" current-in-tab="true">\r
+        <entry file="file://$PROJECT_DIR$/oldLib/class.tx_powermailcond_div.php">\r
           <provider selected="true" editor-type-id="text-editor">\r
-            <state line="3" column="52" selection-start="87" selection-end="126" vertical-scroll-proportion="0.0">\r
+            <state line="33" column="51" selection-start="1266" selection-end="1266" vertical-scroll-proportion="0.2269188">\r
               <folding />\r
             </state>\r
           </provider>\r
         </entry>\r
       </file>\r
-      <file leaf-file-name="Rule.php" pinned="false" current="false" current-in-tab="false">\r
-        <entry file="file://$PROJECT_DIR$/Configuration/TCA/Rule.php">\r
+      <file leaf-file-name="ext_localconf.php" pinned="false" current="false" current-in-tab="false">\r
+        <entry file="file://$PROJECT_DIR$/ext_localconf.php">\r
           <provider selected="true" editor-type-id="text-editor">\r
-            <state line="43" column="35" selection-start="1404" selection-end="1422" vertical-scroll-proportion="-18.307692">\r
+            <state line="22" column="0" selection-start="920" selection-end="920" vertical-scroll-proportion="-14.384615">\r
+              <folding />\r
+            </state>\r
+          </provider>\r
+        </entry>\r
+      </file>\r
+      <file leaf-file-name="PowermailCond.js" pinned="false" current="false" current-in-tab="false">\r
+        <entry file="file://$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js">\r
+          <provider selected="true" editor-type-id="text-editor">\r
+            <state line="33" column="60" selection-start="1123" selection-end="1123" vertical-scroll-proportion="0.0">\r
               <folding />\r
             </state>\r
           </provider>\r
   <component name="IdeDocumentHistory">\r
     <option name="changedFiles">\r
       <list>\r
-        <option value="$PROJECT_DIR$/ext_localconf.php" />\r
-        <option value="$PROJECT_DIR$/ext_emconf.php" />\r
-        <option value="$PROJECT_DIR$/tca.php" />\r
-        <option value="$PROJECT_DIR$/Resources/Private/Language/locallang_csh_tx_powermail_domain_model_condition.xml" />\r
         <option value="$PROJECT_DIR$/Resources/Private/Language/locallang_csh_tx_powermailcond_domain_model_condition.xml" />\r
         <option value="$PROJECT_DIR$/Resources/Private/Language/locallang_csh_tx_powermailcond_domain_model_rule.xml" />\r
         <option value="$PROJECT_DIR$/Configuration/TCA/Rules.php" />\r
         <option value="$PROJECT_DIR$/Configuration/TCA/Conditions.php" />\r
         <option value="$PROJECT_DIR$/ext_tables.sql" />\r
-        <option value="$PROJECT_DIR$/ext_tables.php" />\r
         <option value="$PROJECT_DIR$/Configuration/TCA/Condition.php" />\r
         <option value="$PROJECT_DIR$/Resources/Private/Language/locallang_db.xml" />\r
         <option value="$PROJECT_DIR$/Configuration/TCA/Rule.php" />\r
         <option value="$PROJECT_DIR$/Classes/Utility/FieldlistingBackend.php" />\r
+        <option value="$PROJECT_DIR$/oldFiles/js/powermail_cond.js" />\r
+        <option value="$PROJECT_DIR$/Configuration/TypoScript/PowermailCond.js" />\r
+        <option value="$PROJECT_DIR$/oldFiles/static/setup.txt" />\r
+        <option value="$PROJECT_DIR$/ext_tables.php" />\r
+        <option value="$PROJECT_DIR$/Configuration/TypoScript/setup.txt" />\r
+        <option value="$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js" />\r
+        <option value="$PROJECT_DIR$/ext_localconf.php" />\r
       </list>\r
     </option>\r
   </component>\r
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
             </PATH_ELEMENT>\r
             <PATH_ELEMENT>\r
+              <option name="myItemId" value="Resources" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Public" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Js" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Resources" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Public" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Icons" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Resources" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="oldLib" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="oldFiles" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="static" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="oldFiles" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="js" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="Configuration" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="TypoScript" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+          </PATH>\r
+          <PATH>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
+              <option name="myItemId" value="powermail_cond@powermailt347.in2code.de" />\r
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
+            </PATH_ELEMENT>\r
+            <PATH_ELEMENT>\r
               <option name="myItemId" value="Configuration" />\r
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />\r
             </PATH_ELEMENT>\r
   </component>\r
   <component name="RecentsManager">\r
     <key name="MoveFile.RECENT_KEYS">\r
+      <recent name="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\Resources\Public\Js" />\r
       <recent name="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\Resources\Public\Icons" />\r
       <recent name="C:\Users\einpraegsam\PhpstormProjects\powermail_cond@powermailt347.in2code.de\Resources\Private" />\r
     </key>\r
       <created>1350401058102</created>\r
       <updated>1350401058102</updated>\r
     </task>\r
-    <option name="localTasksCounter" value="3" />\r
+    <task id="LOCAL-00003" summary="Working Copy">\r
+      <created>1350402759102</created>\r
+      <updated>1350402759102</updated>\r
+    </task>\r
+    <option name="localTasksCounter" value="4" />\r
     <servers />\r
   </component>\r
   <component name="ToolWindowManager">\r
     <breakpoint-manager />\r
   </component>\r
   <component name="editorHistoryManager">\r
-    <entry file="file://D:/SVN/powermail@forge/Configuration/TCA/Pages.php">\r
+    <entry file="file://D:/SVN/powermail@forge/Configuration/TCA/Fields.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">\r
+        <state line="199" column="14" selection-start="7056" selection-end="7106" vertical-scroll-proportion="0.567297">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://D:/SVN/powermail@forge/Resources/Private/Language/locallang_csh_tx_powermail_domain_model_forms.xml">\r
+    <entry file="file://$PROJECT_DIR$/Resources/Private/Language/locallang_db.xml">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="12" column="22" selection-start="0" selection-end="992" vertical-scroll-proportion="0.21748401">\r
+        <state line="51" column="85" selection-start="3753" selection-end="3753" vertical-scroll-proportion="0.22068231">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://D:/SVN/powermail@forge/Resources/Private/Language/locallang_db.xml">\r
+    <entry file="file://$PROJECT_DIR$/Configuration/TCA/Condition.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="10" column="41" selection-start="0" selection-end="26641" vertical-scroll-proportion="0.18123667">\r
+        <state line="100" column="139" selection-start="3240" selection-end="3240" vertical-scroll-proportion="0.6429366">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Resources/Private/Language/locallang_csh_tx_powermailcond_domain_model_condition.xml">\r
+    <entry file="file://D:/SVN/powermail@forge/ext_tables.sql">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="12" column="91" selection-start="0" selection-end="628" vertical-scroll-proportion="0.21748401">\r
+        <state line="3" column="44" selection-start="79" selection-end="110" vertical-scroll-proportion="-0.054371003">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Resources/Private/Language/locallang_csh_tx_powermailcond_domain_model_rule.xml">\r
+    <entry file="file://$PROJECT_DIR$/Classes/Utility/FieldlistingBackend.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="12" column="87" selection-start="556" selection-end="556" vertical-scroll-proportion="0.21748401">\r
-          <folding />\r
+        <state line="65" column="32" selection-start="2522" selection-end="2522" vertical-scroll-proportion="0.7083333">\r
+          <folding>\r
+            <element signature="e#987#1189#0" expanded="false" />\r
+          </folding>\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://D:/SVN/powermail@forge/Configuration/TCA/Answers.php">\r
+    <entry file="file://$PROJECT_DIR$/ext_tables.sql">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">\r
+        <state line="3" column="52" selection-start="87" selection-end="126" vertical-scroll-proportion="0.054371003">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://D:/SVN/powermail@forge/Configuration/FlexForms/flexform_pi1.xml">\r
+    <entry file="file://$PROJECT_DIR$/Configuration/TCA/Rule.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="25" column="251" selection-start="735" selection-end="933" vertical-scroll-proportion="0.45945945">\r
+        <state line="43" column="35" selection-start="1404" selection-end="1422" vertical-scroll-proportion="0.5294772">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/ext_tables.php">\r
+    <entry file="file://$PROJECT_DIR$/oldLib/class.tx_powermailcond_pidContainer.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="36" column="6" selection-start="1512" selection-end="1512" vertical-scroll-proportion="0.5997807">\r
+        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://D:/SVN/powermail@forge/ext_tables.php">\r
+    <entry file="file://$PROJECT_DIR$/Configuration/TypoScript/setup.txt">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="163" column="10" selection-start="5883" selection-end="5930" vertical-scroll-proportion="0.74561405">\r
+        <state line="6" column="93" selection-start="300" selection-end="300" vertical-scroll-proportion="0.13456464">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://D:/SVN/powermail@forge/Configuration/TCA/Fields.php">\r
+    <entry file="file://$PROJECT_DIR$/oldFiles/static/setup.txt">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="199" column="14" selection-start="7056" selection-end="7106" vertical-scroll-proportion="0.567297">\r
+        <state line="4" column="39" selection-start="0" selection-end="300" vertical-scroll-proportion="0.089709766">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Resources/Private/Language/locallang_db.xml">\r
+    <entry file="file://$PROJECT_DIR$/ext_tables.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="51" column="85" selection-start="3753" selection-end="3753" vertical-scroll-proportion="0.22068231">\r
+        <state line="11" column="63" selection-start="318" selection-end="318" vertical-scroll-proportion="0.26008344">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Configuration/TCA/Condition.php">\r
+    <entry file="file://$PROJECT_DIR$/oldFiles/js/powermail_cond.js">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="100" column="139" selection-start="3240" selection-end="3240" vertical-scroll-proportion="0.6429366">\r
+        <state line="54" column="27" selection-start="2261" selection-end="2261" vertical-scroll-proportion="-0.108742006">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://D:/SVN/powermail@forge/ext_tables.sql">\r
+    <entry file="file://$PROJECT_DIR$/Resources/Public/Js/PowermailCond.js">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="3" column="44" selection-start="79" selection-end="110" vertical-scroll-proportion="-0.054371003">\r
+        <state line="33" column="60" selection-start="1123" selection-end="1123" vertical-scroll-proportion="0.0">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Configuration/TCA/Rule.php">\r
+    <entry file="file://$PROJECT_DIR$/ext_localconf.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="43" column="35" selection-start="1404" selection-end="1422" vertical-scroll-proportion="-18.307692">\r
+        <state line="22" column="0" selection-start="920" selection-end="920" vertical-scroll-proportion="-14.384615">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/ext_tables.sql">\r
+    <entry file="file://$PROJECT_DIR$/oldLib/class.tx_powermailcond_ajaxFieldList_eid.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="3" column="52" selection-start="87" selection-end="126" vertical-scroll-proportion="0.0">\r
+        <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">\r
           <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
-    <entry file="file://$PROJECT_DIR$/Classes/Utility/FieldlistingBackend.php">\r
+    <entry file="file://$PROJECT_DIR$/oldLib/class.tx_powermailcond_div.php">\r
       <provider selected="true" editor-type-id="text-editor">\r
-        <state line="65" column="32" selection-start="2522" selection-end="2522" vertical-scroll-proportion="0.70614034">\r
-          <folding>\r
-            <element signature="e#987#1189#0" expanded="false" />\r
-          </folding>\r
+        <state line="33" column="51" selection-start="1266" selection-end="1266" vertical-scroll-proportion="0.2269188">\r
+          <folding />\r
         </state>\r
       </provider>\r
     </entry>\r
diff --git a/Configuration/TypoScript/setup.txt b/Configuration/TypoScript/setup.txt
new file mode 100644 (file)
index 0000000..f737824
--- /dev/null
@@ -0,0 +1,7 @@
+page.headerData.3131 = TEXT
+page.headerData.3131.value (
+       <meta http-equiv="expires" content="0" />
+       <meta http-equiv="cache-control" content="no-cache" />
+       <meta http-equiv="pragma" content="no-cache" />
+)
+page.includeJSFooter.powermail_cond = EXT:powermail_cond/Resources/Public/Js/PowermailCond.js
\ No newline at end of file
diff --git a/Resources/Public/Js/PowermailCond.js b/Resources/Public/Js/PowermailCond.js
new file mode 100644 (file)
index 0000000..dd3c952
--- /dev/null
@@ -0,0 +1,49 @@
+jQuery(document).ready(function() {
+       base = $('base').attr('href');
+       if ($('form.powermail_form').length > 0) { // only if the powermail form is on the page (not for confirmation page)
+               checkConditions(0); // check if something should be changed
+       }
+});
+
+/**
+ * Main function to check conditions and do something (if necessary)
+ *
+ * @param      integer uid: Field uid (if available)
+ * @return     void
+ */
+function checkConditions(uid) {
+       var url = base + '/index.php';
+       var params = '';
+       if (uid > 0) {
+               params += '&tx_powermailcond_pi1[uid]=' + uid;
+       }
+       $.ajax({
+               type: 'GET', // type
+               url: url, // send to this url
+               data: 'eID=' + 'powermailcond_getFieldStatus' + params, // add params
+               cache: false, // disable cache (for ie)
+               beforeSend: function() {
+                       document.body.style.cursor = 'progress'; // change cursor to busy
+               },
+               complete: function() {
+                       document.body.style.cursor = 'auto'; // normal cursor
+               },
+               success: function(data) { // return values
+//                     if (data != 'nochange') {
+//                             $('.powermail_select option').show(); // show all options at the beginning
+//                             $('.powermail_select option').removeAttr('disabled'); // enable all options at the beginning
+//                             if (data != '') { // if there is a response
+//                                     if (data.length < 500) { // stop if wrong result (maybe complete t3 page)
+//                                             doAction(data); // hide all given fields
+//                                     }
+//                             } else { // if there is no response
+//                                     $('.tx_powermail_pi1_fieldwrap_html').show(); // show all fields
+//                                     $('.tx-powermail-pi1_fieldset').show(); // show all fieldsets at the beginning
+//                             }
+//                     }
+               },
+               error: function() {
+                       $('form.powermail_form').append('Error in PowermailCond.js in checkCondtions function by opening the given url');
+               }
+       });
+}
\ No newline at end of file
index 933d783..7c7e8e6 100644 (file)
@@ -13,12 +13,12 @@ $TYPO3_CONF_VARS['EXTCONF']['cms']['db_layout']['addTables']['tx_powermailcond_c
 ##### EID Services #####
 
 // EID for storing values in the session (via AJAX)
-$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['powermailcond_saveToSession'] = 'EXT:powermail_cond/lib/class.tx_powermailcond_ajaxWriteInSession_eid.php';
+//$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['powermailcond_saveToSession'] = 'EXT:powermail_cond/lib/class.tx_powermailcond_ajaxWriteInSession_eid.php';
 
 // EID for telling jQuery which values are allowed and which not (via AJAX)
 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['powermailcond_getFieldStatus'] = 'EXT:powermail_cond/lib/class.tx_powermailcond_ajaxFieldList_eid.php';
 
 // Hook to add a pid container
-$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['powermail']['PM_FormWrapMarkerHook'][] = 'EXT:powermail_cond/lib/class.tx_powermailcond_pidContainer.php:tx_powermailcond_pidContainer';
+//$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['powermail']['PM_FormWrapMarkerHook'][] = 'EXT:powermail_cond/lib/class.tx_powermailcond_pidContainer.php:tx_powermailcond_pidContainer';
 
 ?>
\ No newline at end of file
index 3fe1a68..6d1f587 100644 (file)
@@ -9,7 +9,7 @@ if (TYPO3_MODE == 'BE') {
 }
 
 // Add TypoScript Static Template
-t3lib_extMgm::addStaticFile($_EXTKEY, 'files/static/', 'Main TypoScript');
+t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Main TypoScript');
 
 // Configuration for Conditions
 t3lib_extMgm::addLLrefForTCAdescr('tx_powermailcond_domain_model_condition', 'EXT:powermail_cond/Resources/Private/Language/locallang_csh_tx_powermailcond_domain_model_condition.xml');
index 2d09b8f..8a33d72 100644 (file)
@@ -1,4 +1,4 @@
-$(document).ready(function() {
+jQuery(document).ready(function() {
        var fieldsOnChange = '.powermail_text, .powermail_textarea, .powermail_select, .powermail_radio, .powermail_check'; // all fields with events
        if ($('form.tx_powermail_pi1_form').length > 0) { // only if the powermail form is on the page (not for confirmation page)
                checkConditions(0); // check if something should be changed
index 716786c..f737824 100644 (file)
@@ -4,4 +4,4 @@ page.headerData.3131.value (
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="pragma" content="no-cache" />
 )
-page.includeJSFooter.powermail_cond = EXT:powermail_cond/files/js/powermail_cond.js
\ No newline at end of file
+page.includeJSFooter.powermail_cond = EXT:powermail_cond/Resources/Public/Js/PowermailCond.js
\ No newline at end of file