Merge branch 'master' of linz:/srv/git/git-kairo
[php-utility-classes.git] / testbed / ua_list.php
index 9781fbf042b4fd55e1990007dafa510c61fb9583..3b417afd30053ccb5a604cd721e05b179fddb10e 100644 (file)
@@ -23,6 +23,7 @@ if (count($ualist)) {
   print('  <th>Brand</th>'."\n");
   print('  <th>Version</th>'."\n");
   print('  <th>Bot</th>'."\n");
+  print('  <th>Mob</th>'."\n");
   print('  <th>Engine</th>'."\n");
   print('  <th>eVer</th>'."\n");
   print('  <th>OS</th>'."\n");
@@ -35,7 +36,7 @@ if (count($ualist)) {
     if (substr($uastring, 0, 1) == '#') {
       // comment
       print(' <tr>'."\n");
-      print('  <td colspan="9" class="comment">'.substr($uastring, 1).'</td>'."\n");
+      print('  <td colspan="10" class="comment">'.substr($uastring, 1).'</td>'."\n");
       print(' </tr>'."\n");
     }
     else {
@@ -45,6 +46,7 @@ if (count($ualist)) {
       print('  <td>'.$ua->getBrand().'</td>'."\n");
       print('  <td>'.$ua->getVersion().'</td>'."\n");
       print('  <td>'.($ua->isBot()?'x':'-').'</td>'."\n");
+      print('  <td>'.($ua->isMobile()?'x':'-').'</td>'."\n");
       print('  <td>'.$ua->getEngine().'</td>'."\n");
       print('  <td>'.$ua->getEngineVersion().'</td>'."\n");
       print('  <td>'.$ua->getOS().'</td>'."\n");