Changeset 4925
- Timestamp:
- 08/23/07 01:47:06 (6 years ago)
- Files:
-
- modules/branches/2.2 (modified) (1 prop)
- modules/branches/2.2/miscapps/functions.inc.php (modified) (2 diffs)
- modules/branches/2.2/miscapps/module.xml (modified) (2 diffs)
- modules/branches/2.2/miscapps/page.miscapps.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.2
- Property svnmerge-integrated changed from /modules/branches/2.1:1-2166,2289,2414,2419,2424,2430,2449,2458,2462,2476 /modules/branches/2.3:1-3256,4102,4227,4232,4251,4312,4390,4570,4574,4579,4583,4587,4595,4600,4751 to /modules/branches/2.1:1-2166,2289,2414,2419,2424,2430,2449,2458,2462,2476 /modules/branches/2.3:1-3256,4102,4227,4232,4251,4312,4390,4570,4574,4579,4583,4587,4595,4600,4751,4921,4923
modules/branches/2.2/miscapps/functions.inc.php
r4596 r4925 112 112 } 113 113 114 function miscapps_edit($miscapps_id, $description, $ext, $dest ) {114 function miscapps_edit($miscapps_id, $description, $ext, $dest, $enabled=true) { 115 115 global $db; 116 116 $sql = "UPDATE miscapps SET ". … … 127 127 $fc->setDescription($description); 128 128 $fc->setDefault($ext, true); 129 $fc->setEnabled($enabled); 129 130 $fc->update(); 130 131 } modules/branches/2.2/miscapps/module.xml
r4598 r4925 2 2 <rawname>miscapps</rawname> 3 3 <name>Misc Applications</name> 4 <version>0.2.0. 3</version>4 <version>0.2.0.4</version> 5 5 <type>setup</type> 6 6 <category>Internal Options & Configuration</category> … … 9 9 </description> 10 10 <changelog> 11 *0.2.0.4* #2305 Feature Status broken 11 12 *0.2.0.3* #2177: removed apparently corrupted newline at end of file 12 13 *0.2.0.2* added proper uninstall, removes any feature codes and then table modules/branches/2.2/miscapps/page.miscapps.php
r3485 r4925 35 35 break; 36 36 case 'edit': 37 miscapps_edit($miscapp_id, $description, $ext, $dest );37 miscapps_edit($miscapp_id, $description, $ext, $dest, $enabled); 38 38 needreload(); 39 39 redirect_standard('extdisplay'); … … 98 98 <td><a href="#" class="info"><?php echo _("Feature Status")?>:<span><?php echo _("If this code is enabled or not.")?></span></a></td> 99 99 <td><select name="enabled"> 100 <option value="1" <?php if ($enabled) echo " checked"; ?>>Enabled</option>101 <option value="0" <?php if (!$enabled) echo " checked"; ?>>Disabled</option>100 <option value="1" <?php if ($enabled) echo "SELECTED"; ?>>Enabled</option> 101 <option value="0" <?php if (!$enabled) echo "SELECTED"; ?>>Disabled</option> 102 102 </select></td> 103 103 </tr>
