Changeset 52 for branches/old/global.php


Ignore:
Timestamp:
Feb 20, 2015, 9:31:53 AM (10 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/old/global.php

    r50 r52  
    1212include_once('types.php');
    1313include_once('classes.php');
     14include_once('Common/PrefixMultiplier.php');
     15$PrefixMultiplier = new PrefixMultiplier();
    1416include_once('stat_functions.php');
    1517$Database = new Database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']);
     
    7981    switch($Item['Type'])
    8082    {
    81       case 'Boolean':       
     83      case 'Boolean':
    8284        if($Values[$Index] == 0) $Checked = ''; else $Checked = ' checked="yes"';
    8385        $Edit = '<input type="checkbox" name="'.$Index.'"'.$Checked.'>';
    8486        break;
    85       case 'String': 
     87      case 'String':
    8688        $Edit = '<input type="text" name="'.$Index.'" value="'.$Values[$Index].'">';
    8789        break;
    88       case 'Integer': 
     90      case 'Integer':
    8991        $Edit = '<input type="text" name="'.$Index.'" value="'.$Values[$Index].'">';
    9092        break;
     
    9597  }
    9698  $Output = '<h3>Tabulka '.$ClassName.'</h3>'.Table($Table).MakeLink('?Operation=Add2', 'Přidat');
    97   return($Output); 
     99  return($Output);
    98100}
Note: See TracChangeset for help on using the changeset viewer.