plonetheme.imioapps 2.54__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. plonetheme/imioapps/Extensions/Install.py +38 -0
  2. plonetheme/imioapps/Extensions/__init__.py +1 -0
  3. plonetheme/imioapps/__init__.py +10 -0
  4. plonetheme/imioapps/browser/__init__.py +0 -0
  5. plonetheme/imioapps/browser/configure.zcml +64 -0
  6. plonetheme/imioapps/browser/overrides.py +30 -0
  7. plonetheme/imioapps/browser/static/skin.js +37 -0
  8. plonetheme/imioapps/browser/templates/empty.pt +5 -0
  9. plonetheme/imioapps/browser/templates/help.pt +9 -0
  10. plonetheme/imioapps/browser/templates/viewlet_workflowstate.pt +6 -0
  11. plonetheme/imioapps/browser/viewlets.py +50 -0
  12. plonetheme/imioapps/configure.zcml +42 -0
  13. plonetheme/imioapps/interfaces.py +23 -0
  14. plonetheme/imioapps/locales/eea.pot +20 -0
  15. plonetheme/imioapps/locales/en/LC_MESSAGES/eea.po +22 -0
  16. plonetheme/imioapps/locales/en/LC_MESSAGES/plone.po +21 -0
  17. plonetheme/imioapps/locales/fr/LC_MESSAGES/eea.po +22 -0
  18. plonetheme/imioapps/locales/fr/LC_MESSAGES/plone.po +25 -0
  19. plonetheme/imioapps/locales/plone.pot +23 -0
  20. plonetheme/imioapps/mk_sync_locales.sh +85 -0
  21. plonetheme/imioapps/profiles/default/cssregistry.xml +32 -0
  22. plonetheme/imioapps/profiles/default/jsregistry.xml +12 -0
  23. plonetheme/imioapps/profiles/default/metadata.xml +7 -0
  24. plonetheme/imioapps/profiles/default/registry.xml +16 -0
  25. plonetheme/imioapps/profiles/default/skins.xml +19 -0
  26. plonetheme/imioapps/profiles/default/viewlets.xml +7 -0
  27. plonetheme/imioapps/profiles/dmsmailskin/cssregistry.xml +8 -0
  28. plonetheme/imioapps/profiles/dmsmailskin/dmsmailskin_marker.txt +4 -0
  29. plonetheme/imioapps/profiles/dmsmailskin/import_steps.xml +11 -0
  30. plonetheme/imioapps/profiles/dmsmailskin/metadata.xml +7 -0
  31. plonetheme/imioapps/profiles/dmsmailskin/skins.xml +23 -0
  32. plonetheme/imioapps/profiles/dmsmailskin/viewlets.xml +23 -0
  33. plonetheme/imioapps/profiles/plonemeetingskin/cssregistry.xml +8 -0
  34. plonetheme/imioapps/profiles/plonemeetingskin/import_steps.xml +11 -0
  35. plonetheme/imioapps/profiles/plonemeetingskin/metadata.xml +7 -0
  36. plonetheme/imioapps/profiles/plonemeetingskin/plonemeetingskin_marker.txt +4 -0
  37. plonetheme/imioapps/profiles/plonemeetingskin/skins.xml +23 -0
  38. plonetheme/imioapps/profiles/plonemeetingskin/viewlets.xml +27 -0
  39. plonetheme/imioapps/profiles/pstskin/cssregistry.xml +8 -0
  40. plonetheme/imioapps/profiles/pstskin/import_steps.xml +11 -0
  41. plonetheme/imioapps/profiles/pstskin/metadata.xml +7 -0
  42. plonetheme/imioapps/profiles/pstskin/pstskin_marker.txt +4 -0
  43. plonetheme/imioapps/profiles/pstskin/skins.xml +23 -0
  44. plonetheme/imioapps/profiles/pstskin/viewlets.xml +12 -0
  45. plonetheme/imioapps/profiles/testing/metadata.xml +7 -0
  46. plonetheme/imioapps/profiles/to_123/skins.xml +18 -0
  47. plonetheme/imioapps/profiles/uninstall/import_steps.xml +9 -0
  48. plonetheme/imioapps/profiles/uninstall/skins.xml +52 -0
  49. plonetheme/imioapps/profiles/uninstall/uninstall_marker.txt +4 -0
  50. plonetheme/imioapps/profiles/urbanskin/cssregistry.xml +8 -0
  51. plonetheme/imioapps/profiles/urbanskin/import_steps.xml +11 -0
  52. plonetheme/imioapps/profiles/urbanskin/metadata.xml +7 -0
  53. plonetheme/imioapps/profiles/urbanskin/skins.xml +23 -0
  54. plonetheme/imioapps/profiles/urbanskin/urbanskin_marker.txt +4 -0
  55. plonetheme/imioapps/profiles/urbanskin/viewlets.xml +15 -0
  56. plonetheme/imioapps/profiles.zcml +136 -0
  57. plonetheme/imioapps/setuphandlers.py +12 -0
  58. plonetheme/imioapps/skins/dmsmailskin_images/favicon.ico +0 -0
  59. plonetheme/imioapps/skins/dmsmailskin_images/logo.png +0 -0
  60. plonetheme/imioapps/skins/dmsmailskin_styles/dmsmailskin.css.dtml +151 -0
  61. plonetheme/imioapps/skins/imioapps_images/exclamation.gif +0 -0
  62. plonetheme/imioapps/skins/imioapps_images/filtre_add.png +0 -0
  63. plonetheme/imioapps/skins/imioapps_images/filtre_sous.png +0 -0
  64. plonetheme/imioapps/skins/imioapps_images/header-bg.gif +0 -0
  65. plonetheme/imioapps/skins/imioapps_images/help.png +0 -0
  66. plonetheme/imioapps/skins/imioapps_images/search_button_icon.png +0 -0
  67. plonetheme/imioapps/skins/imioapps_images/search_local.png +0 -0
  68. plonetheme/imioapps/skins/imioapps_images/search_local_check.png +0 -0
  69. plonetheme/imioapps/skins/imioapps_images/spinner.gif +0 -0
  70. plonetheme/imioapps/skins/imioapps_images/spinner_small.gif +0 -0
  71. plonetheme/imioapps/skins/imioapps_styles/imioapps.css.dtml +1813 -0
  72. plonetheme/imioapps/skins/imioapps_styles/imioapps_IEFixes.css.dtml +19 -0
  73. plonetheme/imioapps/skins/imioapps_styles/imioapps_ckeditor_moonolisa.css.dtml +34 -0
  74. plonetheme/imioapps/skins/imioapps_styles/imioapps_properties.props +43 -0
  75. plonetheme/imioapps/skins/imioapps_styles/livesearch_reply.py +192 -0
  76. plonetheme/imioapps/skins/imioapps_styles/ploneCustom.css.dtml +18 -0
  77. plonetheme/imioapps/skins/plonemeetingskin_images/CONTENT.txt +2 -0
  78. plonetheme/imioapps/skins/plonemeetingskin_images/backTo.png +0 -0
  79. plonetheme/imioapps/skins/plonemeetingskin_images/backToValidatedForInput.png +0 -0
  80. plonetheme/imioapps/skins/plonemeetingskin_images/favicon.ico +0 -0
  81. plonetheme/imioapps/skins/plonemeetingskin_images/logo.png +0 -0
  82. plonetheme/imioapps/skins/plonemeetingskin_images/pm_config.png +0 -0
  83. plonetheme/imioapps/skins/plonemeetingskin_images/pm_home.png +0 -0
  84. plonetheme/imioapps/skins/plonemeetingskin_images/pm_preferences.png +0 -0
  85. plonetheme/imioapps/skins/plonemeetingskin_images/pm_search.png +0 -0
  86. plonetheme/imioapps/skins/plonemeetingskin_images/treeCollapsed.gif +0 -0
  87. plonetheme/imioapps/skins/plonemeetingskin_images/treeExpanded.gif +0 -0
  88. plonetheme/imioapps/skins/plonemeetingskin_styles/CONTENT.txt +2 -0
  89. plonetheme/imioapps/skins/plonemeetingskin_styles/plonemeetingskin.css.dtml +353 -0
  90. plonetheme/imioapps/skins/pstskin_images/favicon.ico +0 -0
  91. plonetheme/imioapps/skins/pstskin_images/logo.png +0 -0
  92. plonetheme/imioapps/skins/pstskin_styles/pstskin.css.dtml +109 -0
  93. plonetheme/imioapps/skins/urbanskin_images/Applicant.png +0 -0
  94. plonetheme/imioapps/skins/urbanskin_images/Architect.png +0 -0
  95. plonetheme/imioapps/skins/urbanskin_images/Article127.png +0 -0
  96. plonetheme/imioapps/skins/urbanskin_images/Article127.png.metadata +2 -0
  97. plonetheme/imioapps/skins/urbanskin_images/AskOpinionEventType.gif +0 -0
  98. plonetheme/imioapps/skins/urbanskin_images/BuildLicence.png +0 -0
  99. plonetheme/imioapps/skins/urbanskin_images/BuildLicence.png.metadata +2 -0
  100. plonetheme/imioapps/skins/urbanskin_images/CODT_Article127.png +0 -0
  101. plonetheme/imioapps/skins/urbanskin_images/CODT_BuildLicence.png +0 -0
  102. plonetheme/imioapps/skins/urbanskin_images/CODT_CommercialLicence.png +0 -0
  103. plonetheme/imioapps/skins/urbanskin_images/CODT_Inquiry.png +0 -0
  104. plonetheme/imioapps/skins/urbanskin_images/CODT_IntegratedLicence.png +0 -0
  105. plonetheme/imioapps/skins/urbanskin_images/CODT_NotaryLetter.png +0 -0
  106. plonetheme/imioapps/skins/urbanskin_images/CODT_ParcelOutLicence.png +0 -0
  107. plonetheme/imioapps/skins/urbanskin_images/CODT_UniqueLicence.png +0 -0
  108. plonetheme/imioapps/skins/urbanskin_images/CODT_UniqueLicenceInquiry.png +0 -0
  109. plonetheme/imioapps/skins/urbanskin_images/CODT_UrbanCertificateOne.png +0 -0
  110. plonetheme/imioapps/skins/urbanskin_images/CODT_UrbanCertificateTwo.png +0 -0
  111. plonetheme/imioapps/skins/urbanskin_images/City.png +0 -0
  112. plonetheme/imioapps/skins/urbanskin_images/City.png.metadata +2 -0
  113. plonetheme/imioapps/skins/urbanskin_images/Contact.png +0 -0
  114. plonetheme/imioapps/skins/urbanskin_images/Contact.png.metadata +2 -0
  115. plonetheme/imioapps/skins/urbanskin_images/Corporation.png +0 -0
  116. plonetheme/imioapps/skins/urbanskin_images/Corporation.png.metadata +2 -0
  117. plonetheme/imioapps/skins/urbanskin_images/Declaration.png +0 -0
  118. plonetheme/imioapps/skins/urbanskin_images/Declaration.png.metadata +2 -0
  119. plonetheme/imioapps/skins/urbanskin_images/Division.png +0 -0
  120. plonetheme/imioapps/skins/urbanskin_images/Division.png.metadata +2 -0
  121. plonetheme/imioapps/skins/urbanskin_images/EnvClassBordering.png +0 -0
  122. plonetheme/imioapps/skins/urbanskin_images/EnvClassOne.png +0 -0
  123. plonetheme/imioapps/skins/urbanskin_images/EnvClassOne.png.metadata +2 -0
  124. plonetheme/imioapps/skins/urbanskin_images/EnvClassThree.png +0 -0
  125. plonetheme/imioapps/skins/urbanskin_images/EnvClassThree.png.metadata +2 -0
  126. plonetheme/imioapps/skins/urbanskin_images/EnvClassTwo.png +0 -0
  127. plonetheme/imioapps/skins/urbanskin_images/EnvClassTwo.png.metadata +2 -0
  128. plonetheme/imioapps/skins/urbanskin_images/EnvironmentBase.png +0 -0
  129. plonetheme/imioapps/skins/urbanskin_images/EnvironmentBase.png.metadata +2 -0
  130. plonetheme/imioapps/skins/urbanskin_images/EnvironmentClassThree.png +0 -0
  131. plonetheme/imioapps/skins/urbanskin_images/EnvironmentClassThree.png.metadata +2 -0
  132. plonetheme/imioapps/skins/urbanskin_images/EnvironmentLicence.gif +0 -0
  133. plonetheme/imioapps/skins/urbanskin_images/EnvironmentLicence.png +0 -0
  134. plonetheme/imioapps/skins/urbanskin_images/EnvironmentLicence.png.metadata +2 -0
  135. plonetheme/imioapps/skins/urbanskin_images/EnvironmentRubricTerm.png +0 -0
  136. plonetheme/imioapps/skins/urbanskin_images/EnvironmentRubricTerm.png.metadata +2 -0
  137. plonetheme/imioapps/skins/urbanskin_images/Equipment.png +0 -0
  138. plonetheme/imioapps/skins/urbanskin_images/EventConfig.png +0 -0
  139. plonetheme/imioapps/skins/urbanskin_images/EventConfig.png.metadata +2 -0
  140. plonetheme/imioapps/skins/urbanskin_images/ExplosivesPossession.png +0 -0
  141. plonetheme/imioapps/skins/urbanskin_images/FolderManager.png +0 -0
  142. plonetheme/imioapps/skins/urbanskin_images/FolderManager.png.metadata +2 -0
  143. plonetheme/imioapps/skins/urbanskin_images/FollowUpEventConfig.png +0 -0
  144. plonetheme/imioapps/skins/urbanskin_images/FollowUpEventType.png +0 -0
  145. plonetheme/imioapps/skins/urbanskin_images/GenericLicence.png +0 -0
  146. plonetheme/imioapps/skins/urbanskin_images/GenericLicence.png.metadata +2 -0
  147. plonetheme/imioapps/skins/urbanskin_images/Geometrician.png +0 -0
  148. plonetheme/imioapps/skins/urbanskin_images/Housing.png +0 -0
  149. plonetheme/imioapps/skins/urbanskin_images/Inquiry.png +0 -0
  150. plonetheme/imioapps/skins/urbanskin_images/Inquiry.png.metadata +2 -0
  151. plonetheme/imioapps/skins/urbanskin_images/Inspection.png +0 -0
  152. plonetheme/imioapps/skins/urbanskin_images/IntegratedLicence.png +0 -0
  153. plonetheme/imioapps/skins/urbanskin_images/Layer.png +0 -0
  154. plonetheme/imioapps/skins/urbanskin_images/Layer.png.metadata +2 -0
  155. plonetheme/imioapps/skins/urbanskin_images/LicenceConfig.png +0 -0
  156. plonetheme/imioapps/skins/urbanskin_images/LicenceConfig.png.metadata +2 -0
  157. plonetheme/imioapps/skins/urbanskin_images/Locality.png +0 -0
  158. plonetheme/imioapps/skins/urbanskin_images/Locality.png.metadata +2 -0
  159. plonetheme/imioapps/skins/urbanskin_images/Lot.png +0 -0
  160. plonetheme/imioapps/skins/urbanskin_images/MiscDemand.png +0 -0
  161. plonetheme/imioapps/skins/urbanskin_images/MiscDemand.png.metadata +2 -0
  162. plonetheme/imioapps/skins/urbanskin_images/Notary.png +0 -0
  163. plonetheme/imioapps/skins/urbanskin_images/NotaryLetter.png +0 -0
  164. plonetheme/imioapps/skins/urbanskin_images/OpinionEventConfig.png +0 -0
  165. plonetheme/imioapps/skins/urbanskin_images/OpinionRequestEventType.gif +0 -0
  166. plonetheme/imioapps/skins/urbanskin_images/OpinionRequestEventType.png +0 -0
  167. plonetheme/imioapps/skins/urbanskin_images/OpinionRequestEventType.png.metadata +2 -0
  168. plonetheme/imioapps/skins/urbanskin_images/OrganisationTerm.png +0 -0
  169. plonetheme/imioapps/skins/urbanskin_images/OrganisationTerm.png.metadata +2 -0
  170. plonetheme/imioapps/skins/urbanskin_images/Parcel.png +0 -0
  171. plonetheme/imioapps/skins/urbanskin_images/ParcelOutLicence.png +0 -0
  172. plonetheme/imioapps/skins/urbanskin_images/ParcelOutLicence.png.metadata +2 -0
  173. plonetheme/imioapps/skins/urbanskin_images/Parcelling.png +0 -0
  174. plonetheme/imioapps/skins/urbanskin_images/ParcellingTerm.png +0 -0
  175. plonetheme/imioapps/skins/urbanskin_images/ParcellingTerm.png.metadata +2 -0
  176. plonetheme/imioapps/skins/urbanskin_images/PatrimonyCertificate.png +0 -0
  177. plonetheme/imioapps/skins/urbanskin_images/PcaTerm.png +0 -0
  178. plonetheme/imioapps/skins/urbanskin_images/PcaTerm.png.metadata +2 -0
  179. plonetheme/imioapps/skins/urbanskin_images/PersonTitleTerm.png +0 -0
  180. plonetheme/imioapps/skins/urbanskin_images/PersonTitleTerm.png.metadata +2 -0
  181. plonetheme/imioapps/skins/urbanskin_images/PortionOut.png +0 -0
  182. plonetheme/imioapps/skins/urbanskin_images/PortionOut.png.metadata +2 -0
  183. plonetheme/imioapps/skins/urbanskin_images/PreliminaryNotice.png +0 -0
  184. plonetheme/imioapps/skins/urbanskin_images/ProjectMeeting.png +0 -0
  185. plonetheme/imioapps/skins/urbanskin_images/Proprietary.png +0 -0
  186. plonetheme/imioapps/skins/urbanskin_images/Recipient.png +0 -0
  187. plonetheme/imioapps/skins/urbanskin_images/Recipient.png.metadata +2 -0
  188. plonetheme/imioapps/skins/urbanskin_images/RecipientCadastre.png +0 -0
  189. plonetheme/imioapps/skins/urbanskin_images/RecipientCadastre.png.metadata +2 -0
  190. plonetheme/imioapps/skins/urbanskin_images/Report.png +0 -0
  191. plonetheme/imioapps/skins/urbanskin_images/RoadDecree.png +0 -0
  192. plonetheme/imioapps/skins/urbanskin_images/SpecificFeatureTerm.png +0 -0
  193. plonetheme/imioapps/skins/urbanskin_images/SpecificFeatureTerm.png.metadata +2 -0
  194. plonetheme/imioapps/skins/urbanskin_images/Street.png +0 -0
  195. plonetheme/imioapps/skins/urbanskin_images/Street.png.metadata +2 -0
  196. plonetheme/imioapps/skins/urbanskin_images/TextConfig.gif +0 -0
  197. plonetheme/imioapps/skins/urbanskin_images/Ticket.png +0 -0
  198. plonetheme/imioapps/skins/urbanskin_images/UniqueLicence.png +0 -0
  199. plonetheme/imioapps/skins/urbanskin_images/UrbanCertificateBase.png +0 -0
  200. plonetheme/imioapps/skins/urbanskin_images/UrbanCertificateBase.png.metadata +2 -0
  201. plonetheme/imioapps/skins/urbanskin_images/UrbanCertificateOne.png +0 -0
  202. plonetheme/imioapps/skins/urbanskin_images/UrbanCertificateTwo.png +0 -0
  203. plonetheme/imioapps/skins/urbanskin_images/UrbanCertificateTwo.png.metadata +2 -0
  204. plonetheme/imioapps/skins/urbanskin_images/UrbanConfigurationValue.gif +0 -0
  205. plonetheme/imioapps/skins/urbanskin_images/UrbanConfigurationValue.png +0 -0
  206. plonetheme/imioapps/skins/urbanskin_images/UrbanConfigurationValue.png.metadata +2 -0
  207. plonetheme/imioapps/skins/urbanskin_images/UrbanDelay.png +0 -0
  208. plonetheme/imioapps/skins/urbanskin_images/UrbanDelay.png.metadata +2 -0
  209. plonetheme/imioapps/skins/urbanskin_images/UrbanDoc.gif +0 -0
  210. plonetheme/imioapps/skins/urbanskin_images/UrbanDoc.png +0 -0
  211. plonetheme/imioapps/skins/urbanskin_images/UrbanDoc.png.metadata +2 -0
  212. plonetheme/imioapps/skins/urbanskin_images/UrbanEvent.png +0 -0
  213. plonetheme/imioapps/skins/urbanskin_images/UrbanEvent.png.metadata +2 -0
  214. plonetheme/imioapps/skins/urbanskin_images/UrbanEventAcknowledgment.png +0 -0
  215. plonetheme/imioapps/skins/urbanskin_images/UrbanEventAnnouncement.png +0 -0
  216. plonetheme/imioapps/skins/urbanskin_images/UrbanEventCollege.png +0 -0
  217. plonetheme/imioapps/skins/urbanskin_images/UrbanEventInquiry.png +0 -0
  218. plonetheme/imioapps/skins/urbanskin_images/UrbanEventInquiry.png.metadata +2 -0
  219. plonetheme/imioapps/skins/urbanskin_images/UrbanEventMayor.png +0 -0
  220. plonetheme/imioapps/skins/urbanskin_images/UrbanEventNotificationCollege.png +0 -0
  221. plonetheme/imioapps/skins/urbanskin_images/UrbanEventOpinionRequest.png +0 -0
  222. plonetheme/imioapps/skins/urbanskin_images/UrbanEventOpinionRequest.png.metadata +2 -0
  223. plonetheme/imioapps/skins/urbanskin_images/UrbanEventType.png +0 -0
  224. plonetheme/imioapps/skins/urbanskin_images/UrbanEventType.png.metadata +2 -0
  225. plonetheme/imioapps/skins/urbanskin_images/UrbanTool.png +0 -0
  226. plonetheme/imioapps/skins/urbanskin_images/UrbanTool.png.metadata +2 -0
  227. plonetheme/imioapps/skins/urbanskin_images/UrbanVocabularyTerm.png +0 -0
  228. plonetheme/imioapps/skins/urbanskin_images/UrbanVocabularyTerm.png.metadata +2 -0
  229. plonetheme/imioapps/skins/urbanskin_images/WorkLocation.png +0 -0
  230. plonetheme/imioapps/skins/urbanskin_images/accept.png +0 -0
  231. plonetheme/imioapps/skins/urbanskin_images/assign.png +0 -0
  232. plonetheme/imioapps/skins/urbanskin_images/attachment.png +0 -0
  233. plonetheme/imioapps/skins/urbanskin_images/close.png +0 -0
  234. plonetheme/imioapps/skins/urbanskin_images/copytoclaymants.png +0 -0
  235. plonetheme/imioapps/skins/urbanskin_images/coring.png +0 -0
  236. plonetheme/imioapps/skins/urbanskin_images/duplicate_licence.png +0 -0
  237. plonetheme/imioapps/skins/urbanskin_images/engrenage.png +0 -0
  238. plonetheme/imioapps/skins/urbanskin_images/getemails.png +0 -0
  239. plonetheme/imioapps/skins/urbanskin_images/goback.png +0 -0
  240. plonetheme/imioapps/skins/urbanskin_images/icon_add.gif +0 -0
  241. plonetheme/imioapps/skins/urbanskin_images/icon_add_big.png +0 -0
  242. plonetheme/imioapps/skins/urbanskin_images/inacceptable.png +0 -0
  243. plonetheme/imioapps/skins/urbanskin_images/iscomplete.png +0 -0
  244. plonetheme/imioapps/skins/urbanskin_images/isincomplete.png +0 -0
  245. plonetheme/imioapps/skins/urbanskin_images/linkedfolders.png +0 -0
  246. plonetheme/imioapps/skins/urbanskin_images/linkedhistoricfolders.png +0 -0
  247. plonetheme/imioapps/skins/urbanskin_images/lock.png +0 -0
  248. plonetheme/imioapps/skins/urbanskin_images/logo.png +0 -0
  249. plonetheme/imioapps/skins/urbanskin_images/old.png +0 -0
  250. plonetheme/imioapps/skins/urbanskin_images/parcelhistoric.png +0 -0
  251. plonetheme/imioapps/skins/urbanskin_images/question-mark.gif +0 -0
  252. plonetheme/imioapps/skins/urbanskin_images/refuse.png +0 -0
  253. plonetheme/imioapps/skins/urbanskin_images/reopen.png +0 -0
  254. plonetheme/imioapps/skins/urbanskin_images/retire.png +0 -0
  255. plonetheme/imioapps/skins/urbanskin_images/schedule.png +0 -0
  256. plonetheme/imioapps/skins/urbanskin_images/urban-sprite.png +0 -0
  257. plonetheme/imioapps/skins/urbanskin_images/viewlet-firefox.png +0 -0
  258. plonetheme/imioapps/skins/urbanskin_images/warning.png +0 -0
  259. plonetheme/imioapps/skins/urbanskin_images/xml.png +0 -0
  260. plonetheme/imioapps/skins/urbanskin_styles/urbanskin.css.dtml +475 -0
  261. plonetheme/imioapps/skins.zcml +28 -0
  262. plonetheme/imioapps/testing.py +20 -0
  263. plonetheme/imioapps/testing.zcml +18 -0
  264. plonetheme/imioapps/tests/__init__.py +0 -0
  265. plonetheme/imioapps/tests/test_example.py +25 -0
  266. plonetheme/imioapps/upgrades.py +8 -0
  267. plonetheme.imioapps-2.54-py3.12-nspkg.pth +1 -0
  268. plonetheme_imioapps-2.54.dist-info/METADATA +786 -0
  269. plonetheme_imioapps-2.54.dist-info/RECORD +273 -0
  270. plonetheme_imioapps-2.54.dist-info/WHEEL +5 -0
  271. plonetheme_imioapps-2.54.dist-info/entry_points.txt +2 -0
  272. plonetheme_imioapps-2.54.dist-info/namespace_packages.txt +1 -0
  273. plonetheme_imioapps-2.54.dist-info/top_level.txt +1 -0
@@ -0,0 +1,38 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # File: Install.py
4
+ #
5
+ # Copyright (c) 2013 by Imio.be
6
+ #
7
+ # GNU General Public License (GPL)
8
+ #
9
+ # This program is free software; you can redistribute it and/or
10
+ # modify it under the terms of the GNU General Public License
11
+ # as published by the Free Software Foundation; either version 2
12
+ # of the License, or (at your option) any later version.
13
+ #
14
+ # This program is distributed in the hope that it will be useful,
15
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ # GNU General Public License for more details.
18
+ #
19
+ # You should have received a copy of the GNU General Public License
20
+ # along with this program; if not, write to the Free Software
21
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22
+ # 02110-1301, USA.
23
+ #
24
+
25
+ __author__ = """Gauthier BASTIEN <gauthier.bastien@imio.be>, Stéphan Geulette <stephan.geulette@imio.be>"""
26
+ __docformat__ = 'plaintext'
27
+
28
+ from Products.CMFCore.utils import getToolByName
29
+
30
+
31
+ def uninstall(self, reinstall=False):
32
+ """
33
+ Uninstall step needed to call uninstall profile !
34
+ """
35
+ if not reinstall:
36
+ setup_tool = getToolByName(self, 'portal_setup')
37
+ setup_tool.runAllImportStepsFromProfile('profile-plonetheme.imioapps:uninstall')
38
+ return "Ran all uninstall steps."
@@ -0,0 +1 @@
1
+ # i'am a python package
@@ -0,0 +1,10 @@
1
+ # -*- extra stuff goes here -*-
2
+
3
+ from zope.i18nmessageid import MessageFactory
4
+
5
+
6
+ def initialize(context):
7
+ """Initializer called when used as a Zope 2 product."""
8
+
9
+
10
+ PloneMessageFactory = MessageFactory('plone')
File without changes
@@ -0,0 +1,64 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:browser="http://namespaces.zope.org/browser"
4
+ xmlns:plone="http://namespaces.plone.org/plone"
5
+ i18n_domain="plonetheme.imioapps">
6
+
7
+ <!-- Publish static files -->
8
+ <browser:resourceDirectory
9
+ name="plonetheme.imioapps"
10
+ directory="static" />
11
+
12
+ <configure package="collective.messagesviewlet.browser">
13
+ <browser:viewlet
14
+ for="*"
15
+ layer="plonetheme.imioapps.interfaces.IThemeSpecific"
16
+ name="message-viewlet"
17
+ manager="plone.app.layout.viewlets.interfaces.IPortalTop"
18
+ class="collective.messagesviewlet.browser.messagesviewlet.GlobalMessagesViewlet"
19
+ template="messagesviewlet.pt"
20
+ permission="zope2.View" />
21
+ </configure>
22
+
23
+ <browser:viewlet
24
+ for="*"
25
+ layer="plonetheme.imioapps.interfaces.IThemeSpecific"
26
+ name="empty-viewlet"
27
+ manager="plone.app.layout.viewlets.interfaces.IPortalTop"
28
+ class=".viewlets.EmptyViewlet"
29
+ permission="zope2.View" />
30
+
31
+ <browser:viewlet
32
+ name="plonetheme.imioapps.help"
33
+ manager="plone.app.layout.viewlets.interfaces.IPortalHeader"
34
+ class=".viewlets.HelpViewlet"
35
+ permission="zope2.View"
36
+ />
37
+
38
+ <browser:page
39
+ name="plone_context_state"
40
+ for="*"
41
+ permission="zope.Public"
42
+ class=".overrides.ImioContextState"
43
+ allowed_interface="plone.app.layout.globals.interfaces.IContextState"
44
+ layer="plonetheme.imioapps.interfaces.IThemeSpecific" />
45
+
46
+ <!-- Override @@search -->
47
+ <configure package="plone.app.search">
48
+ <browser:page
49
+ name="search"
50
+ class="plonetheme.imioapps.browser.overrides.ImioSearch"
51
+ permission="zope2.View"
52
+ for="*"
53
+ template="search.pt"
54
+ layer="plonetheme.imioapps.interfaces.IThemeSpecific" />
55
+ <browser:page
56
+ name="updated_search"
57
+ class="plonetheme.imioapps.browser.overrides.ImioSearch"
58
+ permission="zope2.View"
59
+ for="Products.CMFCore.interfaces.IFolderish"
60
+ template="updated_search.pt"
61
+ layer="plonetheme.imioapps.interfaces.IThemeSpecific" />
62
+ </configure>
63
+
64
+ </configure>
@@ -0,0 +1,30 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from plone.app.layout.globals.context import ContextState
4
+ from plone.app.search.browser import Search
5
+
6
+
7
+ class ImioContextState(ContextState):
8
+ """ """
9
+
10
+ def canonical_object_url(self):
11
+ """Do not include portal_factory in URL."""
12
+ url = super(ImioContextState, self).canonical_object_url()
13
+ if 'portal_factory' in url:
14
+ portal_factory_index = url.index('portal_factory')
15
+ url = url[:portal_factory_index]
16
+ return url
17
+
18
+
19
+ class ImioSearch(Search):
20
+ """Manage the "*" automatically to hide this from users and
21
+ to be coherent with dashboards."""
22
+
23
+ def filter_query(self, query):
24
+ # query may sometimes be None
25
+ query = super(ImioSearch, self).filter_query(query) or {}
26
+ text = query.get('SearchableText', '')
27
+ if not text.endswith('*'):
28
+ text = text + '*'
29
+ query['SearchableText'] = text
30
+ return query
@@ -0,0 +1,37 @@
1
+ // function launched when empty viewlet is loaded (before complete document ready)
2
+ function initPlonethemeImioapps() {
3
+ resizeHeader();
4
+ highlightTest();
5
+ }
6
+
7
+ // as header is fixed, we need to compute emptyviewlet height dynamically
8
+ // in case header is two lines high
9
+ // generate CSS for the faceted table header as sticky behavior needs a fixed "top" value in px
10
+ function resizeHeader() {
11
+ portal_header_height = $("#portal-header").height();
12
+ $("#emptyviewlet").height(portal_header_height);
13
+ var sheet = document.createElement('style');
14
+ sheet.innerHTML = "table.faceted-table-results th {top: " + portal_header_height - 1 + "px;}";
15
+ document.body.appendChild(sheet);
16
+ }
17
+ $(window).resize(resizeHeader);
18
+
19
+ // when using a imio-test/imio-acceptation instance, highlight header in red
20
+ function highlightTest() {
21
+ var url = $("link[rel='canonical']").attr('href');
22
+ if (url.includes('.imio-test.be') || url.includes('.imio-acceptation.be')) {
23
+ $("div#portal-header")[0].style.background = "#d00";
24
+ }
25
+ }
26
+
27
+ var isChrome = /chrom/.test(navigator.userAgent.toLowerCase());
28
+ var isFirefox = /firefox/.test(navigator.userAgent.toLowerCase());
29
+
30
+ $(document).ready(function () {
31
+ if (isChrome) {
32
+ document.body.classList.add('using-chrome');
33
+ }
34
+ if (isFirefox) {
35
+ document.body.classList.add('using-firefox');
36
+ }
37
+ });
@@ -0,0 +1,5 @@
1
+ <div id="emptyviewlet">
2
+ <script>
3
+ initPlonethemeImioapps();
4
+ </script>
5
+ </div>
@@ -0,0 +1,9 @@
1
+ <a id="imioapp-help"
2
+ title="Help"
3
+ accesskey="H"
4
+ tal:define="help_url python: view.help_url"
5
+ tal:attributes="href help_url"
6
+ tal:condition="help_url"
7
+ i18n:domain="plone">
8
+ <img tal:attributes="src string:${view/portal_url}/help.png" alt=""/>
9
+ </a>
@@ -0,0 +1,6 @@
1
+ <div class="viewlet_workflowstate" i18n:domain="plone">
2
+ <span i18n:translate="label_state"></span>&nbsp;
3
+ <span tal:define="state_infos view/state_infos"
4
+ tal:content="state_infos/state_title"
5
+ tal:attributes="class string:state-${state_infos/state_name}"></span>
6
+ </div>
@@ -0,0 +1,50 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (c) 2015 by Imio.be
4
+ #
5
+ # GNU General Public License (GPL)
6
+ #
7
+ # This program is free software; you can redistribute it and/or
8
+ # modify it under the terms of the GNU General Public License
9
+ # as published by the Free Software Foundation; either version 2
10
+ # of the License, or (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU General Public License
18
+ # along with this program; if not, write to the Free Software
19
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
+ # 02110-1301, USA.
21
+ #
22
+
23
+ from imio.helpers.workflow import get_state_infos
24
+ from plone import api
25
+ from plone.app.layout.viewlets import ViewletBase
26
+ from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
27
+
28
+
29
+ class EmptyViewlet(ViewletBase):
30
+ """This will display an empty viewlet, it is used to be able to define CSS
31
+ arbitrary between existing viewlets."""
32
+ render = ViewPageTemplateFile('./templates/empty.pt')
33
+
34
+
35
+ class WorkflowState(ViewletBase):
36
+ '''This viewlet displays the workflow state.'''
37
+
38
+ def state_infos(self):
39
+ return get_state_infos(self.context)
40
+
41
+ index = ViewPageTemplateFile("templates/viewlet_workflowstate.pt")
42
+
43
+
44
+ class HelpViewlet(ViewletBase):
45
+ index = ViewPageTemplateFile('templates/help.pt')
46
+
47
+ def update(self):
48
+ super(HelpViewlet, self).update()
49
+ self.help_url = api.portal.get_registry_record(
50
+ 'plonetheme.imioapps.interfaces.IPlonethemeImioappsSettings.help_url', default='')
@@ -0,0 +1,42 @@
1
+ <configure
2
+ xmlns="http://namespaces.zope.org/zope"
3
+ xmlns:browser="http://namespaces.zope.org/browser"
4
+ xmlns:five="http://namespaces.zope.org/five"
5
+ xmlns:i18n="http://namespaces.zope.org/i18n"
6
+ xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
7
+ i18n_domain="plonetheme.imioapps">
8
+
9
+ <five:registerPackage package="." initialize=".initialize" />
10
+ <i18n:registerTranslations directory="locales" />
11
+ <include file="profiles.zcml" />
12
+ <include file="skins.zcml" />
13
+ <include package=".browser" />
14
+
15
+ <!-- Zope 3 browser layer, this is needed so the skins are correctly considered as IDefaultPloneLayer skins -->
16
+ <interface
17
+ interface=".interfaces.IThemeSpecific"
18
+ type="zope.publisher.interfaces.browser.IBrowserSkinType"
19
+ name="imioapps"
20
+ />
21
+ <interface
22
+ interface=".interfaces.IThemeSpecific"
23
+ type="zope.publisher.interfaces.browser.IBrowserSkinType"
24
+ name="dmsmailskin"
25
+ />
26
+ <interface
27
+ interface=".interfaces.IThemeSpecific"
28
+ type="zope.publisher.interfaces.browser.IBrowserSkinType"
29
+ name="plonemeetingskin"
30
+ />
31
+ <interface
32
+ interface=".interfaces.IThemeSpecific"
33
+ type="zope.publisher.interfaces.browser.IBrowserSkinType"
34
+ name="pstskin"
35
+ />
36
+ <interface
37
+ interface=".interfaces.IThemeSpecific"
38
+ type="zope.publisher.interfaces.browser.IBrowserSkinType"
39
+ name="urbanskin"
40
+ />
41
+
42
+ </configure>
@@ -0,0 +1,23 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from collective.messagesviewlet.interfaces import ICollectiveMessagesviewletLayer
4
+ from plonetheme.imioapps import PloneMessageFactory as _
5
+ from zope import schema
6
+ from zope.interface import Interface
7
+
8
+
9
+ class IThemeSpecific(ICollectiveMessagesviewletLayer):
10
+ """Marker interface that defines a Zope browser layer.
11
+ Make it inherits from the collective.messagesviewlet layer so we are able
12
+ to easily redefine the collective.messagesviewlet viewlet.
13
+ """
14
+
15
+
16
+ class IPlonethemeImioappsSettings(Interface):
17
+ """ """
18
+ help_url = schema.ASCIILine(
19
+ title=_(u"Help icon url"),
20
+ description=_(u"Set the url of the help icon here"),
21
+ default='',
22
+ required=False,
23
+ )
@@ -0,0 +1,20 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: eea\n"
4
+ "POT-Creation-Date: 2012-10-19 19:40+0000\n"
5
+ "PO-Revision-Date: 2012-08-21 22:00+0100\n"
6
+ "Language-Team: French <plone-fr@lists.plone.org>\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
11
+ "Language-Code: \n"
12
+ "Language-Name: \n"
13
+ "Preferred-Encodings: utf-8 latin1\n"
14
+ "Domain: eea\n"
15
+
16
+ msgid "More filters"
17
+ msgstr ""
18
+
19
+ msgid "Less filters"
20
+ msgstr ""
@@ -0,0 +1,22 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2012-10-19 19:40+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: en\n"
13
+ "Language-Name: English\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: eea\n"
16
+ "X-is-fallback-for: en-au en-ca en-gb en-us\n"
17
+
18
+ msgid "Less filters"
19
+ msgstr ""
20
+
21
+ msgid "More filters"
22
+ msgstr ""
@@ -0,0 +1,21 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2012-10-19 19:40+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: en\n"
13
+ "Language-Name: English\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: plone\n"
16
+ "X-is-fallback-for: en-au en-ca en-gb en-us\n"
17
+
18
+ #. Default: "only in current section"
19
+ #: plone.app.layout/plone/app/layout/viewlets/searchbox.pt:42
20
+ msgid "label_searchbox_currentfolder_only"
21
+ msgstr ""
@@ -0,0 +1,22 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2012-10-19 19:40+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: fr\n"
13
+ "Language-Name: French\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: eea\n"
16
+ "X-is-fallback-for: fr-fr fr-be fr-ca\n"
17
+
18
+ msgid "Less filters"
19
+ msgstr "Recherche avancée"
20
+
21
+ msgid "More filters"
22
+ msgstr "Recherche avancée"
@@ -0,0 +1,25 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PACKAGE VERSION\n"
4
+ "POT-Creation-Date: 2012-10-19 19:40+0000\n"
5
+ "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
6
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7
+ "Language-Team: LANGUAGE <LL@li.org>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "Plural-Forms: nplurals=1; plural=0\n"
12
+ "Language-Code: fr\n"
13
+ "Language-Name: French\n"
14
+ "Preferred-Encodings: utf-8 latin1\n"
15
+ "Domain: plone\n"
16
+ "X-is-fallback-for: fr-fr fr-be fr-ca\n"
17
+
18
+ #. Default: "only in current section"
19
+ #: plone.app.layout/plone/app/layout/viewlets/searchbox.pt:42
20
+ msgid "label_searchbox_currentfolder_only"
21
+ msgstr "Localement"
22
+
23
+ #. Default: "Advances search and show full results"
24
+ msgid "label_advanced_search_full_results"
25
+ msgstr "Recherche avancée, avec tous les résultats"
@@ -0,0 +1,23 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: plone-fr\n"
4
+ "POT-Creation-Date: 2012-10-19 19:40+0000\n"
5
+ "PO-Revision-Date: 2012-08-21 22:00+0100\n"
6
+ "Language-Team: French <plone-fr@lists.plone.org>\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
11
+ "Language-Code: fr\n"
12
+ "Language-Name: French\n"
13
+ "Preferred-Encodings: utf-8 latin1\n"
14
+ "Domain: plone\n"
15
+
16
+ #. Default: "only in current section"
17
+ #: plone.app.layout/plone/app/layout/viewlets/searchbox.pt:42
18
+ msgid "label_searchbox_currentfolder_only"
19
+ msgstr ""
20
+
21
+ #. Default: "Advances search and show full results"
22
+ msgid "label_advanced_search_full_results"
23
+ msgstr ""
@@ -0,0 +1,85 @@
1
+ #!/bin/bash
2
+ #
3
+ # Shell script to manage locales, languages, .po files...
4
+ #
5
+ # Run this file in your product folder
6
+ # E.g. : in yourproduct.name/yourproduct/name
7
+ #
8
+
9
+ CATALOGNAME="plonetheme.imioapps"
10
+
11
+ # List of languages used for po initialization (no mandatory update for syncing)
12
+ # Ex LANGUAGES="en|English|en-au;en-ca;en-gb;en-us fr|French|fr-fr;fr-be;fr-ca nl|Dutch|nl-be;nl-nl"
13
+ LANGUAGES="en|English|en-au;en-ca;en-gb;en-us fr|French|fr-fr;fr-be;fr-ca"
14
+
15
+ # Create locales folder structure for languages
16
+ install -d locales
17
+
18
+ # Rebuild .pot
19
+ echo "Rebuilding locales/generated.pot"
20
+ i18ndude rebuild-pot --pot locales/generated.pot --create $CATALOGNAME .
21
+
22
+ #creating the first pot
23
+ if ! test -f locales/$CATALOGNAME.pot; then
24
+ echo "Copying locales/generated.pot to locales/$CATALOGNAME.pot"
25
+ cp locales/generated.pot locales/$CATALOGNAME.pot
26
+ fi
27
+
28
+ #merging new messages
29
+ if [ `svn diff locales/generated.pot |grep "^\+[^+]" |wc -l` -le "1" ]; then
30
+ svn revert locales/generated.pot
31
+ else
32
+ i18ndude merge --pot locales/$CATALOGNAME.pot --merge locales/generated.pot 2>/dev/null
33
+ fi
34
+
35
+ if ! test -f locales/plone.pot || [ "$1" == "rebuild-plone" ]; then
36
+ echo "Rebuilding locales/plone.pot"
37
+ i18ndude rebuild-pot --pot locales/plone.pot --create plone profiles/default/workflows
38
+ fi
39
+
40
+ # Finding pot files
41
+ for pot in $(find locales -mindepth 1 -maxdepth 1 -type f -name "*.pot" ! -name generated.pot); do
42
+ #finding pot basename as catalog
43
+ catalog=`basename $pot .pot`
44
+ echo "=> Found pot $pot"
45
+ # First initialization of po files with base languages if po doesn't exist
46
+ for language in $LANGUAGES; do
47
+ arr=(`echo $language | cut -d "|" --output-delimiter=" " -f 1-`)
48
+ langcode=${arr[0]}
49
+ install -d locales/$langcode/LC_MESSAGES
50
+
51
+ PO=locales/$langcode/LC_MESSAGES/$catalog.po
52
+ # Create po file if not exists and modify header
53
+ if ! test -f $PO; then
54
+ touch $PO
55
+ echo " -> Syncing $PO"
56
+ i18ndude sync --pot $pot $PO
57
+ sed -i -e "/^\\\"Domain: DOMAIN/ s/DOMAIN/$catalog/" $PO
58
+ sed -i -e "/^\\\"Language-Code: en/ s/en/$langcode/" $PO
59
+ langname=${arr[1]}
60
+ if [ -n "$langname" ]; then
61
+ sed -i -e "/^\\\"Language-Name: English/ s/English/$langname/" $PO
62
+ fi
63
+ fallbackstr=${arr[2]}
64
+ if [ -n "$fallbackstr" ]; then
65
+ fallbacklist=`echo $fallbackstr | cut -d ";" --output-delimiter=" " -f 1-`
66
+ echo $fallbacklist
67
+ sed -i -e "/^\\\"Language-Name:/ a\"X-is-fallback-for: $fallbacklist\\\n\"" $PO
68
+ fi
69
+ fi
70
+ done
71
+ # Sync po files
72
+ for lang in $(find locales -mindepth 1 -maxdepth 1 -type d); do
73
+ if test -d $lang/LC_MESSAGES; then
74
+ PO=$lang/LC_MESSAGES/$catalog.po
75
+ # Sync po file
76
+ echo " -> Syncing $PO"
77
+ i18ndude sync --pot $pot $PO
78
+
79
+ # Compile .po to .mo
80
+ MO=$lang/LC_MESSAGES/$catalog.mo
81
+ #echo " -> Compiling $MO"
82
+ #msgfmt -o $MO $lang/LC_MESSAGES/$catalog.po
83
+ fi
84
+ done
85
+ done
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0"?>
2
+ <object name="portal_css" meta_type="Stylesheets Registry">
3
+
4
+ <stylesheet title=""
5
+ cacheable="True"
6
+ compression="safe"
7
+ cookable="True"
8
+ enabled="1"
9
+ expression=""
10
+ id="imioapps.css"
11
+ media="screen"
12
+ rel="stylesheet"
13
+ rendering="import"
14
+ insert-before="ploneCustom.css"/>
15
+
16
+ <stylesheet title=""
17
+ cacheable="True"
18
+ compression="safe"
19
+ cookable="True"
20
+ enabled="1"
21
+ expression="python: here.portal_properties.ckeditor_properties.skin == 'moono-lisa'"
22
+ id="imioapps_ckeditor_moonolisa.css"
23
+ media="screen"
24
+ rel="stylesheet"
25
+ rendering="import"
26
+ insert-before="ploneCustom.css"/>
27
+
28
+ <stylesheet id="imioapps_IEFixes.css"
29
+ conditionalcomment="IE"
30
+ insert-before="ploneCustom.css" />
31
+
32
+ </object>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0"?>
2
+ <object name="portal_javascripts" meta_type="JavaScripts Registry">
3
+
4
+ <javascript cacheable="True"
5
+ compression="safe"
6
+ cookable="False"
7
+ enabled="True"
8
+ expression=""
9
+ inline="False"
10
+ id="++resource++plonetheme.imioapps/skin.js"/>
11
+
12
+ </object>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0"?>
2
+ <metadata>
3
+ <version>2500</version>
4
+ <dependencies>
5
+ <dependency>profile-collective.fontawesome:default</dependency>
6
+ </dependencies>
7
+ </metadata>
@@ -0,0 +1,16 @@
1
+ <registry>
2
+ <record interface="Products.ResourceRegistries.interfaces.settings.IResourceRegistriesSettings"
3
+ field="resourceBundlesForThemes">
4
+ <value purge="true">
5
+ <element key="(default)" purge="true">
6
+ <element>jquery</element>
7
+ <element>default</element>
8
+ <element>jqueryui</element>
9
+ <element>faceted-view</element>
10
+ <element>faceted-edit</element>
11
+ </element>
12
+ </value>
13
+ </record>
14
+ <records interface="plonetheme.imioapps.interfaces.IPlonethemeImioappsSettings">
15
+ </records>
16
+ </registry>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0"?>
2
+ <object name="portal_skins" allow_any="False" cookie_persistence="False"
3
+ default_skin="imioapps">
4
+
5
+ <object name="imioapps_images"
6
+ meta_type="Filesystem Directory View"
7
+ directory="plonetheme.imioapps:skins/imioapps_images"/>
8
+ <object name="imioapps_styles"
9
+ meta_type="Filesystem Directory View"
10
+ directory="plonetheme.imioapps:skins/imioapps_styles"/>
11
+
12
+ <skin-path name="imioapps" based-on="Sunburst Theme">
13
+ <layer name="imioapps_images"
14
+ insert-after="custom"/>
15
+ <layer name="imioapps_styles"
16
+ insert-after="imioapps_images"/>
17
+ </skin-path>
18
+
19
+ </object>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0"?>
2
+ <object>
3
+ <!-- hide default collective.messagesviewlet in plone.portalheader... -->
4
+ <hidden manager="plone.portalheader" skinname="*">
5
+ <viewlet name="message-viewlet" />
6
+ </hidden>
7
+ </object>