Changeset 49


Ignore:
Timestamp:
Jan 4, 2006 11:49:08 PM (18 years ago)
Author:
scdev
Message:

${1}

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/RecordVersion.inc.php

    r48 r49  
    294294                ");
    295295            } else {
    296                 // Delete versions older than min_days, while still keeping record_version_min_qty.
     296                // Delete versions older than min_days, while still keeping min_qty.
    297297                $qid = DB::query("
    298298                    SELECT version_id FROM " . $this->getParam('db_table') . "
  • trunk/lib/Upload.inc.php

    r48 r49  
    328328            $file_path_name = '';
    329329
    330             if ('' == trim($files['tmp_name'][$i])) {
     330            if ('' == trim($files['name'][$i])) {
    331331                // User may not have attached a file.
    332332                continue;
  • trunk/lib/Utilities.inc.php

    r48 r49  
    111111function fancyTxt($txt)
    112112{
    113     return $txt; /// FIXME.
     113//     return $txt; /// FIXME.
    114114   
    115115    $search = array();
  • trunk/services/templates/versions_list.ihtml

    r48 r49  
    3030?>
    3131</table>
    32 <div class="help"><?php printf(_("When there are more than %s versions, those over %s days old are deleted."), $version->record_version_min_qty, $version->record_version_min_days); ?></div>
     32<div class="help"><?php printf(_("When there are more than %s versions, those over %s days old are deleted."), $version->getParam('min_qty'), $version->getParam('min_days')); ?></div>
    3333<input type="submit" name="op" value="<?php echo _("Cancel"); ?>" />
    3434</form>
  • trunk/services/templates/versions_view.ihtml

    r48 r49  
    1313    ?>
    1414    <tr>
    15         <td class="padleft nowrap"<?php echo $style; ?>><label><?php echo $k; ?></label></td>
     15        <td class="padleft nowrap"><label><?php echo $k; ?></label></td>
    1616        <td class="padleft"><?php echo $v_d; ?></td>
    1717    </tr>
Note: See TracChangeset for help on using the changeset viewer.