Changeset 22765
- Timestamp:
- 07/02/09 11:42:55 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ragnaroek/midcom/org.maemo.packages/config/mgdschema.xml
r22756 r22765 52 52 <description>Required QA score before promotion will be unlocked.</description> 53 53 </property> 54 <property name="disabledownload" type="bool"> 55 <description>Disable direct downloads for this repository</description> 56 </property> 54 57 </type> 55 58 branches/ragnaroek/midcom/org.maemo.packages/config/schemadb_repository_default.inc
r22756 r22765 227 227 'widget' => 'text', 228 228 ), 229 'disabledownload' => Array 230 ( 231 'title' => 'Do not allow direct file downloads from this repository', 232 'storage' => 'disabledownload', 233 'required' => false, 234 'type' => 'boolean', 235 'widget' => 'checkbox', 236 ), 229 237 230 238 ), branches/ragnaroek/midcom/org.maemo.packages/style/package_instance_view.php
r22757 r22765 166 166 <div class="size"><div class="st">Size:</div><div class="stt"><?php echo $package_instance["size"]; ?></div></div> 167 167 <div class="md5sum"><div class="st">MD5sum:</div><div class="stt"><?php echo $package_instance["md5sum"]; ?></div></div> 168 <?php 169 if ($repository_object->disabledownload) 170 { 171 ?> 168 172 <div class="file"><div class="ft">File:</div><div class="ftt"><a href="<?php echo $repository["url"] . $package_instance["location"]; ?>"><?php echo $loc[count($loc) -1]; ?></a></div></div> 173 <?php 174 } 175 ?> 169 176 <div class="status"><div class="st">Status:</div><div class="stt"><?php echo $package_instance["status"]; ?></div></div> 170 177
