Changeset 13871


Ignore:
Timestamp:
Apr 3, 2012, 8:15:04 PM (13 years ago)
Author:
flop25
Message:

orthographic correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r13240 r13871  
    550550  function func_define_derivative($params, &$smarty)
    551551  {
    552     !empty($params['name']) or fatal_error('define_derviative missing name');
     552    !empty($params['name']) or fatal_error('define_derivative missing name');
    553553    if (isset($params['type']))
    554554    {
     
    557557      return;
    558558    }
    559     !empty($params['width']) or fatal_error('define_derviative missing width');
    560     !empty($params['height']) or fatal_error('define_derviative missing height');
     559    !empty($params['width']) or fatal_error('define_derivative missing width');
     560    !empty($params['height']) or fatal_error('define_derivative missing height');
    561561
    562562    $w = intval($params['width']);
     
    580580      {
    581581        $minw = empty($params['min_width']) ? $w : intval($params['min_width']);
    582         $minw <= $w or fatal_error('define_derviative invalid min_width');
     582        $minw <= $w or fatal_error('define_derivative invalid min_width');
    583583        $minh = empty($params['min_height']) ? $h : intval($params['min_height']);
    584         $minh <= $h or fatal_error('define_derviative invalid min_height');
     584        $minh <= $h or fatal_error('define_derivative invalid min_height');
    585585      }
    586586    }
Note: See TracChangeset for help on using the changeset viewer.