Rev 411 | Rev 473 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 411 | Rev 429 | ||
---|---|---|---|
Line 127... | Line 127... | ||
127 | 127 | ||
128 | // The following functionalities are only available for page plugins |
128 | // The following functionalities are only available for page plugins |
129 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.2.1 |
129 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.2.1 |
130 | foreach ((array)$xmldata->css->file as $css_file) { |
130 | foreach ((array)$xmldata->css->file as $css_file) { |
131 | $file = dirname($filename).'/'.$css_file; |
131 | $file = dirname($filename).'/'.$css_file; |
132 | if (!file_exists($file)) continue; |
132 | //if (!file_exists($file)) continue; |
133 | $this->cssFiles[] = $file; |
133 | $this->cssFiles[] = $file; |
134 | } |
134 | } |
135 | foreach ((array)$xmldata->js->file as $js_file) { |
135 | foreach ((array)$xmldata->js->file as $js_file) { |
136 | $file = dirname($filename).'/'.$js_file; |
136 | $file = dirname($filename).'/'.$js_file; |
137 | if (!file_exists($file)) continue; |
137 | //if (!file_exists($file)) continue; |
138 | $this->jsFiles[] = $file; |
138 | $this->jsFiles[] = $file; |
139 | } |
139 | } |
140 | 140 | ||
141 | // The following functionalities are only available for database plugins |
141 | // The following functionalities are only available for database plugins |
142 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.2.6 |
142 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.2.6 |
143 | foreach ((array)$xmldata->cssSetup->file as $css_file) { |
143 | foreach ((array)$xmldata->cssSetup->file as $css_file) { |
144 | $file = dirname($filename).'/'.$css_file; |
144 | $file = dirname($filename).'/'.$css_file; |
145 | if (!file_exists($file)) continue; |
145 | //if (!file_exists($file)) continue; |
146 | $this->cssFilesSetup[] = $file; |
146 | $this->cssFilesSetup[] = $file; |
147 | } |
147 | } |
148 | foreach ((array)$xmldata->jsSetup->file as $js_file) { |
148 | foreach ((array)$xmldata->jsSetup->file as $js_file) { |
149 | $file = dirname($filename).'/'.$js_file; |
149 | $file = dirname($filename).'/'.$js_file; |
150 | if (!file_exists($file)) continue; |
150 | //if (!file_exists($file)) continue; |
151 | $this->jsFilesSetup[] = $file; |
151 | $this->jsFilesSetup[] = $file; |
152 | } |
152 | } |
153 | 153 | ||
154 | // The following functionalities are only available for language plugins |
154 | // The following functionalities are only available for language plugins |
155 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.3.1 |
155 | // XML Schema urn:oid:1.3.6.1.4.1.37476.2.5.2.5.3.1 |