Exemple #1
0
 static function checkClasses()
 {
     $classes = '';
     $cl_name = func_get_args();
     while (list($num, $val) = each($cl_name)) {
         if (!ormClasses::get($val)) {
             $classes .= '<li>' . $val . '</li>';
         }
     }
     if (!empty($classes)) {
         $modul = lang::module(system::url(0));
         if (empty($modul)) {
             $modul = system::url(0);
         }
         ui::$stop = true;
         ui::MessageBox(str_replace('%name%', $modul, lang::get('TEXT_CLASS_NOT_FOUND')), lang::get('TEXT_CLASS_NOT_FOUND2') . '<ul>' . $classes . '</ul>');
     }
 }