Changeset 6140
- Timestamp:
- 06/02/07 20:56:06 (1 year ago)
- Files:
-
- trunk/midcom/midcom.admin.folder/folder_management.php (modified) (2 diffs)
- trunk/midcom/midcom.admin.folder/static/folder.css (modified) (2 diffs)
- trunk/midcom/midcom.admin.folder/style/midcom-admin-show-component-list.php (modified) (1 diff)
- trunk/midcom/midcom.core/midcom/core/manifest.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.admin.folder/folder_management.php
r5715 r6140 217 217 218 218 // Skip components beginning with midcom or midgard 219 if (ereg('^(midcom|midgard)\.', $manifest->name)) 219 if ( ereg('^(midcom|midgard)\.', $manifest->name) 220 && $manifest->name != 'midcom.helper.search') 220 221 { 221 222 continue; … … 237 238 $description = ''; 238 239 } 239 240 240 241 $components[$manifest->name] = array 241 242 ( 242 'name' => $manifest->get_name_translated(),243 'name' => $manifest->get_name_translated(), 243 244 'description' => $description, 245 'state' => $manifest->state, 246 'version' => $manifest->version, 244 247 ); 245 248 } trunk/midcom/midcom.admin.folder/static/folder.css
r5715 r6140 18 18 div.midcom_admin_content_componentlist dl 19 19 { 20 height: 250px;20 height: 300px; 21 21 overflow-x: auto; 22 22 border: 1px #f0f0f0 solid; 23 23 padding: 6px; 24 24 margin-top: 0px; 25 font-size: smaller; 25 26 } 26 27 … … 28 29 { 29 30 margin-bottom: 6px; 31 margin-left: 22px; 32 margin-top: 2px; 33 } 34 35 div.midcom_admin_content_componentlist dl dt.devel, 36 div.midcom_admin_content_componentlist dl dd.devel, 37 div.midcom_admin_content_componentlist dl dt.alpha, 38 div.midcom_admin_content_componentlist dl dd.alpha 39 40 { 41 color: #c0c0c0; 30 42 } 31 43 trunk/midcom/midcom.admin.folder/style/midcom-admin-show-component-list.php
r5074 r6140 13 13 } 14 14 ?> 15 <dt ><label><input type="radio" name="f_type" value="&(path:h);"&(selected:h); /><strong>&(information['name']:h);</strong> (&(path:h);)</label></dt>15 <dt class="&(information['state']:h);"><label><input type="radio" name="f_type" value="&(path:h);"&(selected:h); /><strong>&(information['name']:h);</strong> <span class="component">(&(path:h); <span class="version">&(information['version']:h);</span>)</span></label></dt> 16 16 <?php 17 17 if (array_key_exists('description', $information)) 18 18 { 19 19 ?> 20 <dd >&(information['description']:h);</dd>20 <dd class="&(information['state']:h);">&(information['description']:h);</dd> 21 21 <?php 22 22 } trunk/midcom/midcom.core/midcom/core/manifest.php
r5535 r6140 233 233 234 234 /** 235 * Old version number of the components, currently specified as integer. Not really 236 * used within the system, but you may (actually should) use it for your own versioning. 237 * 238 * Note, that this is now a string (was formerly an int) since the PEAR transition. This 239 * change should not affect anything as I do not know any component actually making use 240 * of this member yet. You should now use version_compare in context with this member 241 * always. 235 * Version number of the components. 242 236 * 243 237 * @var string 244 238 */ 245 var $version = 0; 239 var $version = '0.0.1'; 240 241 /** 242 * State of the components. 243 * 244 * @var string 245 */ 246 var $state = 'devel'; 246 247 247 248 /** … … 325 326 $this->version = $this->_raw_data['version']; 326 327 } 328 if (array_key_exists('state', $this->_raw_data)) 329 { 330 $this->state = $this->_raw_data['state']; 331 } 327 332 if (array_key_exists('privileges', $this->_raw_data)) 328 333 {
