diff --git a/app/Classes/LDAP/Server.php b/app/Classes/LDAP/Server.php index 206405f..d673837 100644 --- a/app/Classes/LDAP/Server.php +++ b/app/Classes/LDAP/Server.php @@ -100,37 +100,4 @@ class Server ($key == 'desc' ? 'No description available, can you help with one?' : ($key == 'title' ? $oid : NULL)) ); } - - public static function icon(Entry $dn): string - { - $objectclasses = array_map('strtolower',$dn->objectclass); - - // Return icon based upon objectClass value - if (in_array('person',$objectclasses) || - in_array('organizationalperson',$objectclasses) || - in_array('inetorgperson',$objectclasses) || - in_array('account',$objectclasses) || - in_array('posixaccount',$objectclasses)) - - return 'fas fa-user'; - - elseif (in_array('organization',$objectclasses)) - return 'fas fa-university'; - - elseif (in_array('organizationalunit',$objectclasses)) - return 'fas fa-object-group'; - - elseif (in_array('dcobject',$objectclasses) || - in_array('domainrelatedobject',$objectclasses) || - in_array('domain',$objectclasses) || - in_array('builtindomain',$objectclasses)) - - return 'fas fa-network-wired'; - - elseif (in_array('country',$objectclasses)) - return sprintf('flag %s',strtolower(Arr::get($dn->c,0))); - - // Default - return 'fa-fw fas fa-cog'; - } } diff --git a/app/Http/Controllers/APIController.php b/app/Http/Controllers/APIController.php index 45913dc..fe28970 100644 --- a/app/Http/Controllers/APIController.php +++ b/app/Http/Controllers/APIController.php @@ -12,26 +12,6 @@ use App\Classes\LDAP\Server; class APIController extends Controller { - /** - * Get the LDAP server BASE DNs - * - * @return array|null - */ - public function bases(): Collection - { - return (new Server()) - ->getBaseDN() - ->transform(function($item) { - return [ - 'title'=>$item, - 'item'=>Crypt::encryptString($item), - 'lazy'=>TRUE, - 'icon'=>'fa-fw fas fa-sitemap', - 'tooltip'=>$item, - ]; - }); - } - /** * @param Request $request * @return Collection @@ -48,7 +28,7 @@ class APIController extends Controller return [ 'title'=>$item->getRdn(), 'item'=>Crypt::encryptString($item->getDn()), - 'icon'=>'fa-fw fas fa-sitemap', + 'icon'=>$item->icon(), 'lazy'=>Arr::get($item->getAttribute('hassubordinates'),0) == 'TRUE', 'tooltip'=>$item->getDn(), ]; diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 40cf490..1dbb7b6 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -17,17 +17,14 @@ class HomeController extends Controller { public function home() { - $base = (new Entry)->baseDN(); - - if (! $base) - $base = collect(); + $base = (new Entry)->baseDN() ?: collect(); return view('home') ->with('server',config('ldap.connections.default.name')) ->with('bases',$base->transform(function($item) { return [ - 'title'=>$item, - 'item'=>Crypt::encryptString($item), + 'title'=>$item->getRdn(), + 'item'=>Crypt::encryptString($item->getDn()), 'lazy'=>TRUE, 'icon'=>'fa-fw fas fa-sitemap', 'tooltip'=>$item, diff --git a/app/Ldap/Entry.php b/app/Ldap/Entry.php index d5a1eeb..94cc0bc 100644 --- a/app/Ldap/Entry.php +++ b/app/Ldap/Entry.php @@ -2,6 +2,7 @@ namespace App\Ldap; +use Illuminate\Support\Arr; use Illuminate\Support\Collection; use LdapRecord\Models\Model; use LdapRecord\Models\ModelNotFoundException; @@ -34,7 +35,75 @@ class Entry extends Model ->whereHas('objectclass') ->firstOrFail(); - return $base->namingcontexts ? collect($base->namingcontexts) : NULL; + $result = collect(); + foreach ($base->namingcontexts as $dn) { + $result->push((new self)->findOrFail($dn)); + } + + return $result; + } + + /** + * Return an icon for a DN based on objectClass + * + * @return string + */ + public function icon(): string + { + $objectclasses = array_map('strtolower',$this->objectclass); + + // Return icon based upon objectClass value + if (in_array('person',$objectclasses) || + in_array('organizationalperson',$objectclasses) || + in_array('inetorgperson',$objectclasses) || + in_array('account',$objectclasses) || + in_array('posixaccount',$objectclasses)) + + return 'fas fa-user'; + + elseif (in_array('organization',$objectclasses)) + return 'fas fa-university'; + + elseif (in_array('organizationalunit',$objectclasses)) + return 'fas fa-object-group'; + + elseif (in_array('posixgroup',$objectclasses) || + in_array('groupofnames',$objectclasses) || + in_array('groupofuniquenames',$objectclasses) || + in_array('group',$objectclasses)) + + return 'fas fa-users'; + + elseif (in_array('dcobject',$objectclasses) || + in_array('domainrelatedobject',$objectclasses) || + in_array('domain',$objectclasses) || + in_array('builtindomain',$objectclasses)) + + return 'fas fa-network-wired'; + + elseif (in_array('alias',$objectclasses)) + return 'fas fa-theater-masks'; + + elseif (in_array('country',$objectclasses)) + return sprintf('flag %s',strtolower(Arr::get($this->c,0))); + + elseif (in_array('device',$objectclasses)) + return 'fas fa-mobile-alt'; + + elseif (in_array('document',$objectclasses)) + return 'fas fa-file-alt'; + + elseif (in_array('iphost',$objectclasses)) + return 'fas fa-wifi'; + + elseif (in_array('room',$objectclasses)) + return 'fas fa-door-open'; + + elseif (in_array('server',$objectclasses)) + return 'fas fa-server'; + + // Default + return 'fa-fw fas fa-cog'; } /** diff --git a/htdocs/images/countries/af.png b/htdocs/images/countries/af.png deleted file mode 100644 index cda88b0..0000000 Binary files a/htdocs/images/countries/af.png and /dev/null differ diff --git a/htdocs/images/countries/al.png b/htdocs/images/countries/al.png deleted file mode 100644 index 5925b27..0000000 Binary files a/htdocs/images/countries/al.png and /dev/null differ diff --git a/htdocs/images/countries/am.png b/htdocs/images/countries/am.png deleted file mode 100644 index 45cd749..0000000 Binary files a/htdocs/images/countries/am.png and /dev/null differ diff --git a/htdocs/images/countries/an.png b/htdocs/images/countries/an.png deleted file mode 100644 index 2d4d3a7..0000000 Binary files a/htdocs/images/countries/an.png and /dev/null differ diff --git a/htdocs/images/countries/ao.png b/htdocs/images/countries/ao.png deleted file mode 100644 index 9463d24..0000000 Binary files a/htdocs/images/countries/ao.png and /dev/null differ diff --git a/htdocs/images/countries/ar.png b/htdocs/images/countries/ar.png deleted file mode 100644 index bd73382..0000000 Binary files a/htdocs/images/countries/ar.png and /dev/null differ diff --git a/htdocs/images/countries/at.png b/htdocs/images/countries/at.png deleted file mode 100644 index 2a58c49..0000000 Binary files a/htdocs/images/countries/at.png and /dev/null differ diff --git a/htdocs/images/countries/au.png b/htdocs/images/countries/au.png deleted file mode 100644 index b20b048..0000000 Binary files a/htdocs/images/countries/au.png and /dev/null differ diff --git a/htdocs/images/countries/aw.png b/htdocs/images/countries/aw.png deleted file mode 100644 index 411977e..0000000 Binary files a/htdocs/images/countries/aw.png and /dev/null differ diff --git a/htdocs/images/countries/az.png b/htdocs/images/countries/az.png deleted file mode 100644 index ced5af0..0000000 Binary files a/htdocs/images/countries/az.png and /dev/null differ diff --git a/htdocs/images/countries/ba.png b/htdocs/images/countries/ba.png deleted file mode 100644 index fb7d190..0000000 Binary files a/htdocs/images/countries/ba.png and /dev/null differ diff --git a/htdocs/images/countries/bb.png b/htdocs/images/countries/bb.png deleted file mode 100644 index 9c07e14..0000000 Binary files a/htdocs/images/countries/bb.png and /dev/null differ diff --git a/htdocs/images/countries/bd.png b/htdocs/images/countries/bd.png deleted file mode 100644 index 56bba0b..0000000 Binary files a/htdocs/images/countries/bd.png and /dev/null differ diff --git a/htdocs/images/countries/be.png b/htdocs/images/countries/be.png deleted file mode 100644 index 9312218..0000000 Binary files a/htdocs/images/countries/be.png and /dev/null differ diff --git a/htdocs/images/countries/bf.png b/htdocs/images/countries/bf.png deleted file mode 100644 index 1019379..0000000 Binary files a/htdocs/images/countries/bf.png and /dev/null differ diff --git a/htdocs/images/countries/bg.png b/htdocs/images/countries/bg.png deleted file mode 100644 index 0f64f7d..0000000 Binary files a/htdocs/images/countries/bg.png and /dev/null differ diff --git a/htdocs/images/countries/bh.png b/htdocs/images/countries/bh.png deleted file mode 100644 index 236693d..0000000 Binary files a/htdocs/images/countries/bh.png and /dev/null differ diff --git a/htdocs/images/countries/bi.png b/htdocs/images/countries/bi.png deleted file mode 100644 index 7fa236a..0000000 Binary files a/htdocs/images/countries/bi.png and /dev/null differ diff --git a/htdocs/images/countries/bj.png b/htdocs/images/countries/bj.png deleted file mode 100644 index 290016a..0000000 Binary files a/htdocs/images/countries/bj.png and /dev/null differ diff --git a/htdocs/images/countries/bm.png b/htdocs/images/countries/bm.png deleted file mode 100644 index 96fb4dc..0000000 Binary files a/htdocs/images/countries/bm.png and /dev/null differ diff --git a/htdocs/images/countries/bn.png b/htdocs/images/countries/bn.png deleted file mode 100644 index 53460dc..0000000 Binary files a/htdocs/images/countries/bn.png and /dev/null differ diff --git a/htdocs/images/countries/bo.png b/htdocs/images/countries/bo.png deleted file mode 100644 index 5025e7f..0000000 Binary files a/htdocs/images/countries/bo.png and /dev/null differ diff --git a/htdocs/images/countries/br.png b/htdocs/images/countries/br.png deleted file mode 100644 index 734ace9..0000000 Binary files a/htdocs/images/countries/br.png and /dev/null differ diff --git a/htdocs/images/countries/bs.png b/htdocs/images/countries/bs.png deleted file mode 100644 index 36c4cbe..0000000 Binary files a/htdocs/images/countries/bs.png and /dev/null differ diff --git a/htdocs/images/countries/bt.png b/htdocs/images/countries/bt.png deleted file mode 100644 index 3e10663..0000000 Binary files a/htdocs/images/countries/bt.png and /dev/null differ diff --git a/htdocs/images/countries/bw.png b/htdocs/images/countries/bw.png deleted file mode 100644 index bd8e293..0000000 Binary files a/htdocs/images/countries/bw.png and /dev/null differ diff --git a/htdocs/images/countries/by.png b/htdocs/images/countries/by.png deleted file mode 100644 index 8f5b849..0000000 Binary files a/htdocs/images/countries/by.png and /dev/null differ diff --git a/htdocs/images/countries/bz.png b/htdocs/images/countries/bz.png deleted file mode 100644 index fb1bd5a..0000000 Binary files a/htdocs/images/countries/bz.png and /dev/null differ diff --git a/htdocs/images/countries/ca.png b/htdocs/images/countries/ca.png deleted file mode 100644 index d06843f..0000000 Binary files a/htdocs/images/countries/ca.png and /dev/null differ diff --git a/htdocs/images/countries/cf.png b/htdocs/images/countries/cf.png deleted file mode 100644 index 35e6b47..0000000 Binary files a/htdocs/images/countries/cf.png and /dev/null differ diff --git a/htdocs/images/countries/cg.png b/htdocs/images/countries/cg.png deleted file mode 100644 index f2db518..0000000 Binary files a/htdocs/images/countries/cg.png and /dev/null differ diff --git a/htdocs/images/countries/ch.png b/htdocs/images/countries/ch.png deleted file mode 100644 index 9899d78..0000000 Binary files a/htdocs/images/countries/ch.png and /dev/null differ diff --git a/htdocs/images/countries/ci.png b/htdocs/images/countries/ci.png deleted file mode 100644 index d536e9b..0000000 Binary files a/htdocs/images/countries/ci.png and /dev/null differ diff --git a/htdocs/images/countries/ck.png b/htdocs/images/countries/ck.png deleted file mode 100644 index 271f568..0000000 Binary files a/htdocs/images/countries/ck.png and /dev/null differ diff --git a/htdocs/images/countries/cl.png b/htdocs/images/countries/cl.png deleted file mode 100644 index 97db9ec..0000000 Binary files a/htdocs/images/countries/cl.png and /dev/null differ diff --git a/htdocs/images/countries/cm.png b/htdocs/images/countries/cm.png deleted file mode 100644 index febecad..0000000 Binary files a/htdocs/images/countries/cm.png and /dev/null differ diff --git a/htdocs/images/countries/cn.png b/htdocs/images/countries/cn.png deleted file mode 100644 index f3f36da..0000000 Binary files a/htdocs/images/countries/cn.png and /dev/null differ diff --git a/htdocs/images/countries/co.png b/htdocs/images/countries/co.png deleted file mode 100644 index 2781663..0000000 Binary files a/htdocs/images/countries/co.png and /dev/null differ diff --git a/htdocs/images/countries/cr.png b/htdocs/images/countries/cr.png deleted file mode 100644 index 09bb72d..0000000 Binary files a/htdocs/images/countries/cr.png and /dev/null differ diff --git a/htdocs/images/countries/cu.png b/htdocs/images/countries/cu.png deleted file mode 100644 index 9be2138..0000000 Binary files a/htdocs/images/countries/cu.png and /dev/null differ diff --git a/htdocs/images/countries/cv.png b/htdocs/images/countries/cv.png deleted file mode 100644 index 6204e60..0000000 Binary files a/htdocs/images/countries/cv.png and /dev/null differ diff --git a/htdocs/images/countries/cy.png b/htdocs/images/countries/cy.png deleted file mode 100644 index 14b2deb..0000000 Binary files a/htdocs/images/countries/cy.png and /dev/null differ diff --git a/htdocs/images/countries/cz.png b/htdocs/images/countries/cz.png deleted file mode 100644 index 36313b4..0000000 Binary files a/htdocs/images/countries/cz.png and /dev/null differ diff --git a/htdocs/images/countries/de.png b/htdocs/images/countries/de.png deleted file mode 100644 index 67e1bd5..0000000 Binary files a/htdocs/images/countries/de.png and /dev/null differ diff --git a/htdocs/images/countries/dk.png b/htdocs/images/countries/dk.png deleted file mode 100644 index 9404cf0..0000000 Binary files a/htdocs/images/countries/dk.png and /dev/null differ diff --git a/htdocs/images/countries/dz.png b/htdocs/images/countries/dz.png deleted file mode 100644 index 26919b1..0000000 Binary files a/htdocs/images/countries/dz.png and /dev/null differ diff --git a/htdocs/images/countries/ec.png b/htdocs/images/countries/ec.png deleted file mode 100644 index 961e5cd..0000000 Binary files a/htdocs/images/countries/ec.png and /dev/null differ diff --git a/htdocs/images/countries/ee.png b/htdocs/images/countries/ee.png deleted file mode 100644 index e0a902e..0000000 Binary files a/htdocs/images/countries/ee.png and /dev/null differ diff --git a/htdocs/images/countries/eg.png b/htdocs/images/countries/eg.png deleted file mode 100644 index f81b276..0000000 Binary files a/htdocs/images/countries/eg.png and /dev/null differ diff --git a/htdocs/images/countries/er.png b/htdocs/images/countries/er.png deleted file mode 100644 index f96b315..0000000 Binary files a/htdocs/images/countries/er.png and /dev/null differ diff --git a/htdocs/images/countries/es.png b/htdocs/images/countries/es.png deleted file mode 100644 index c85447d..0000000 Binary files a/htdocs/images/countries/es.png and /dev/null differ diff --git a/htdocs/images/countries/et.png b/htdocs/images/countries/et.png deleted file mode 100644 index 48ff7b1..0000000 Binary files a/htdocs/images/countries/et.png and /dev/null differ diff --git a/htdocs/images/countries/fi.png b/htdocs/images/countries/fi.png deleted file mode 100644 index d408743..0000000 Binary files a/htdocs/images/countries/fi.png and /dev/null differ diff --git a/htdocs/images/countries/fj.png b/htdocs/images/countries/fj.png deleted file mode 100644 index 6818444..0000000 Binary files a/htdocs/images/countries/fj.png and /dev/null differ diff --git a/htdocs/images/countries/fo.png b/htdocs/images/countries/fo.png deleted file mode 100644 index 1e12376..0000000 Binary files a/htdocs/images/countries/fo.png and /dev/null differ diff --git a/htdocs/images/countries/fr.png b/htdocs/images/countries/fr.png deleted file mode 100644 index 39bed1a..0000000 Binary files a/htdocs/images/countries/fr.png and /dev/null differ diff --git a/htdocs/images/countries/ga.png b/htdocs/images/countries/ga.png deleted file mode 100644 index 8337ab9..0000000 Binary files a/htdocs/images/countries/ga.png and /dev/null differ diff --git a/htdocs/images/countries/gb.png b/htdocs/images/countries/gb.png deleted file mode 100644 index 30035dd..0000000 Binary files a/htdocs/images/countries/gb.png and /dev/null differ diff --git a/htdocs/images/countries/ge.png b/htdocs/images/countries/ge.png deleted file mode 100644 index da1ab41..0000000 Binary files a/htdocs/images/countries/ge.png and /dev/null differ diff --git a/htdocs/images/countries/gi.png b/htdocs/images/countries/gi.png deleted file mode 100644 index afb539b..0000000 Binary files a/htdocs/images/countries/gi.png and /dev/null differ diff --git a/htdocs/images/countries/gl.png b/htdocs/images/countries/gl.png deleted file mode 100644 index 66cd000..0000000 Binary files a/htdocs/images/countries/gl.png and /dev/null differ diff --git a/htdocs/images/countries/gp.png b/htdocs/images/countries/gp.png deleted file mode 100644 index e4a6159..0000000 Binary files a/htdocs/images/countries/gp.png and /dev/null differ diff --git a/htdocs/images/countries/gr.png b/htdocs/images/countries/gr.png deleted file mode 100644 index 1fb9d52..0000000 Binary files a/htdocs/images/countries/gr.png and /dev/null differ diff --git a/htdocs/images/countries/gt.png b/htdocs/images/countries/gt.png deleted file mode 100644 index 7d63cb8..0000000 Binary files a/htdocs/images/countries/gt.png and /dev/null differ diff --git a/htdocs/images/countries/gu.png b/htdocs/images/countries/gu.png deleted file mode 100644 index 4282438..0000000 Binary files a/htdocs/images/countries/gu.png and /dev/null differ diff --git a/htdocs/images/countries/gy.png b/htdocs/images/countries/gy.png deleted file mode 100644 index a5d0e8e..0000000 Binary files a/htdocs/images/countries/gy.png and /dev/null differ diff --git a/htdocs/images/countries/hk.png b/htdocs/images/countries/hk.png deleted file mode 100644 index e5fa24f..0000000 Binary files a/htdocs/images/countries/hk.png and /dev/null differ diff --git a/htdocs/images/countries/hr.png b/htdocs/images/countries/hr.png deleted file mode 100644 index fda7328..0000000 Binary files a/htdocs/images/countries/hr.png and /dev/null differ diff --git a/htdocs/images/countries/ht.png b/htdocs/images/countries/ht.png deleted file mode 100644 index d058c3b..0000000 Binary files a/htdocs/images/countries/ht.png and /dev/null differ diff --git a/htdocs/images/countries/hu.png b/htdocs/images/countries/hu.png deleted file mode 100644 index dc4eef1..0000000 Binary files a/htdocs/images/countries/hu.png and /dev/null differ diff --git a/htdocs/images/countries/id.png b/htdocs/images/countries/id.png deleted file mode 100644 index 95e9ce3..0000000 Binary files a/htdocs/images/countries/id.png and /dev/null differ diff --git a/htdocs/images/countries/ie.png b/htdocs/images/countries/ie.png deleted file mode 100644 index 1943e6b..0000000 Binary files a/htdocs/images/countries/ie.png and /dev/null differ diff --git a/htdocs/images/countries/il.png b/htdocs/images/countries/il.png deleted file mode 100644 index a9161bb..0000000 Binary files a/htdocs/images/countries/il.png and /dev/null differ diff --git a/htdocs/images/countries/in.png b/htdocs/images/countries/in.png deleted file mode 100644 index 1e404ac..0000000 Binary files a/htdocs/images/countries/in.png and /dev/null differ diff --git a/htdocs/images/countries/iq.png b/htdocs/images/countries/iq.png deleted file mode 100644 index 1374301..0000000 Binary files a/htdocs/images/countries/iq.png and /dev/null differ diff --git a/htdocs/images/countries/ir.png b/htdocs/images/countries/ir.png deleted file mode 100644 index a6f4903..0000000 Binary files a/htdocs/images/countries/ir.png and /dev/null differ diff --git a/htdocs/images/countries/is.png b/htdocs/images/countries/is.png deleted file mode 100644 index 9ce9864..0000000 Binary files a/htdocs/images/countries/is.png and /dev/null differ diff --git a/htdocs/images/countries/it.png b/htdocs/images/countries/it.png deleted file mode 100644 index 4a4ba95..0000000 Binary files a/htdocs/images/countries/it.png and /dev/null differ diff --git a/htdocs/images/countries/jm.png b/htdocs/images/countries/jm.png deleted file mode 100644 index 4274119..0000000 Binary files a/htdocs/images/countries/jm.png and /dev/null differ diff --git a/htdocs/images/countries/jo.png b/htdocs/images/countries/jo.png deleted file mode 100644 index 17e4481..0000000 Binary files a/htdocs/images/countries/jo.png and /dev/null differ diff --git a/htdocs/images/countries/jp.png b/htdocs/images/countries/jp.png deleted file mode 100644 index 8b52fa8..0000000 Binary files a/htdocs/images/countries/jp.png and /dev/null differ diff --git a/htdocs/images/countries/ke.png b/htdocs/images/countries/ke.png deleted file mode 100644 index 7bc3858..0000000 Binary files a/htdocs/images/countries/ke.png and /dev/null differ diff --git a/htdocs/images/countries/kg.png b/htdocs/images/countries/kg.png deleted file mode 100644 index b176e4f..0000000 Binary files a/htdocs/images/countries/kg.png and /dev/null differ diff --git a/htdocs/images/countries/kh.png b/htdocs/images/countries/kh.png deleted file mode 100644 index 9c94193..0000000 Binary files a/htdocs/images/countries/kh.png and /dev/null differ diff --git a/htdocs/images/countries/ki.png b/htdocs/images/countries/ki.png deleted file mode 100644 index fdc58fe..0000000 Binary files a/htdocs/images/countries/ki.png and /dev/null differ diff --git a/htdocs/images/countries/kp.png b/htdocs/images/countries/kp.png deleted file mode 100644 index 405332c..0000000 Binary files a/htdocs/images/countries/kp.png and /dev/null differ diff --git a/htdocs/images/countries/kr.png b/htdocs/images/countries/kr.png deleted file mode 100644 index 0df561a..0000000 Binary files a/htdocs/images/countries/kr.png and /dev/null differ diff --git a/htdocs/images/countries/ky.png b/htdocs/images/countries/ky.png deleted file mode 100644 index ae2ba3e..0000000 Binary files a/htdocs/images/countries/ky.png and /dev/null differ diff --git a/htdocs/images/countries/kz.png b/htdocs/images/countries/kz.png deleted file mode 100644 index eb7b9be..0000000 Binary files a/htdocs/images/countries/kz.png and /dev/null differ diff --git a/htdocs/images/countries/lb.png b/htdocs/images/countries/lb.png deleted file mode 100644 index 44f9e1b..0000000 Binary files a/htdocs/images/countries/lb.png and /dev/null differ diff --git a/htdocs/images/countries/lc.png b/htdocs/images/countries/lc.png deleted file mode 100644 index 6b0389a..0000000 Binary files a/htdocs/images/countries/lc.png and /dev/null differ diff --git a/htdocs/images/countries/lk.png b/htdocs/images/countries/lk.png deleted file mode 100644 index 2f2c48b..0000000 Binary files a/htdocs/images/countries/lk.png and /dev/null differ diff --git a/htdocs/images/countries/lt.png b/htdocs/images/countries/lt.png deleted file mode 100644 index c6252ce..0000000 Binary files a/htdocs/images/countries/lt.png and /dev/null differ diff --git a/htdocs/images/countries/lu.png b/htdocs/images/countries/lu.png deleted file mode 100644 index 6a80e6e..0000000 Binary files a/htdocs/images/countries/lu.png and /dev/null differ diff --git a/htdocs/images/countries/lv.png b/htdocs/images/countries/lv.png deleted file mode 100644 index 925ae28..0000000 Binary files a/htdocs/images/countries/lv.png and /dev/null differ diff --git a/htdocs/images/countries/ly.png b/htdocs/images/countries/ly.png deleted file mode 100644 index 8741c4c..0000000 Binary files a/htdocs/images/countries/ly.png and /dev/null differ diff --git a/htdocs/images/countries/ma.png b/htdocs/images/countries/ma.png deleted file mode 100644 index a5d9234..0000000 Binary files a/htdocs/images/countries/ma.png and /dev/null differ diff --git a/htdocs/images/countries/mc.png b/htdocs/images/countries/mc.png deleted file mode 100644 index 8dd6d29..0000000 Binary files a/htdocs/images/countries/mc.png and /dev/null differ diff --git a/htdocs/images/countries/md.png b/htdocs/images/countries/md.png deleted file mode 100644 index 9d9d278..0000000 Binary files a/htdocs/images/countries/md.png and /dev/null differ diff --git a/htdocs/images/countries/mg.png b/htdocs/images/countries/mg.png deleted file mode 100644 index e93f20e..0000000 Binary files a/htdocs/images/countries/mg.png and /dev/null differ diff --git a/htdocs/images/countries/mn.png b/htdocs/images/countries/mn.png deleted file mode 100644 index 9ce7bc9..0000000 Binary files a/htdocs/images/countries/mn.png and /dev/null differ diff --git a/htdocs/images/countries/mo.png b/htdocs/images/countries/mo.png deleted file mode 100644 index 21497e9..0000000 Binary files a/htdocs/images/countries/mo.png and /dev/null differ diff --git a/htdocs/images/countries/mp.png b/htdocs/images/countries/mp.png deleted file mode 100644 index 9523df6..0000000 Binary files a/htdocs/images/countries/mp.png and /dev/null differ diff --git a/htdocs/images/countries/ms.png b/htdocs/images/countries/ms.png deleted file mode 100644 index f92b84d..0000000 Binary files a/htdocs/images/countries/ms.png and /dev/null differ diff --git a/htdocs/images/countries/mt.png b/htdocs/images/countries/mt.png deleted file mode 100644 index 7f35e82..0000000 Binary files a/htdocs/images/countries/mt.png and /dev/null differ diff --git a/htdocs/images/countries/mx.png b/htdocs/images/countries/mx.png deleted file mode 100644 index 5d481f0..0000000 Binary files a/htdocs/images/countries/mx.png and /dev/null differ diff --git a/htdocs/images/countries/my.png b/htdocs/images/countries/my.png deleted file mode 100644 index 9fa6f81..0000000 Binary files a/htdocs/images/countries/my.png and /dev/null differ diff --git a/htdocs/images/countries/mz.png b/htdocs/images/countries/mz.png deleted file mode 100644 index 5e6e87b..0000000 Binary files a/htdocs/images/countries/mz.png and /dev/null differ diff --git a/htdocs/images/countries/na.png b/htdocs/images/countries/na.png deleted file mode 100644 index 83d63cf..0000000 Binary files a/htdocs/images/countries/na.png and /dev/null differ diff --git a/htdocs/images/countries/nc.png b/htdocs/images/countries/nc.png deleted file mode 100644 index 32eb190..0000000 Binary files a/htdocs/images/countries/nc.png and /dev/null differ diff --git a/htdocs/images/countries/nf.png b/htdocs/images/countries/nf.png deleted file mode 100644 index efdc438..0000000 Binary files a/htdocs/images/countries/nf.png and /dev/null differ diff --git a/htdocs/images/countries/nl.png b/htdocs/images/countries/nl.png deleted file mode 100644 index 99b5e13..0000000 Binary files a/htdocs/images/countries/nl.png and /dev/null differ diff --git a/htdocs/images/countries/no.png b/htdocs/images/countries/no.png deleted file mode 100644 index 0199b30..0000000 Binary files a/htdocs/images/countries/no.png and /dev/null differ diff --git a/htdocs/images/countries/np.png b/htdocs/images/countries/np.png deleted file mode 100644 index 254744a..0000000 Binary files a/htdocs/images/countries/np.png and /dev/null differ diff --git a/htdocs/images/countries/nr.png b/htdocs/images/countries/nr.png deleted file mode 100644 index 7f45229..0000000 Binary files a/htdocs/images/countries/nr.png and /dev/null differ diff --git a/htdocs/images/countries/nz.png b/htdocs/images/countries/nz.png deleted file mode 100644 index 841bb97..0000000 Binary files a/htdocs/images/countries/nz.png and /dev/null differ diff --git a/htdocs/images/countries/om.png b/htdocs/images/countries/om.png deleted file mode 100644 index ad114e3..0000000 Binary files a/htdocs/images/countries/om.png and /dev/null differ diff --git a/htdocs/images/countries/pa.png b/htdocs/images/countries/pa.png deleted file mode 100644 index 26d5b1a..0000000 Binary files a/htdocs/images/countries/pa.png and /dev/null differ diff --git a/htdocs/images/countries/pe.png b/htdocs/images/countries/pe.png deleted file mode 100644 index 41794a0..0000000 Binary files a/htdocs/images/countries/pe.png and /dev/null differ diff --git a/htdocs/images/countries/pf.png b/htdocs/images/countries/pf.png deleted file mode 100644 index cf744fa..0000000 Binary files a/htdocs/images/countries/pf.png and /dev/null differ diff --git a/htdocs/images/countries/ph.png b/htdocs/images/countries/ph.png deleted file mode 100644 index 24007ab..0000000 Binary files a/htdocs/images/countries/ph.png and /dev/null differ diff --git a/htdocs/images/countries/pk.png b/htdocs/images/countries/pk.png deleted file mode 100644 index ff220ee..0000000 Binary files a/htdocs/images/countries/pk.png and /dev/null differ diff --git a/htdocs/images/countries/pl.png b/htdocs/images/countries/pl.png deleted file mode 100644 index e275d90..0000000 Binary files a/htdocs/images/countries/pl.png and /dev/null differ diff --git a/htdocs/images/countries/pm.png b/htdocs/images/countries/pm.png deleted file mode 100644 index 6f9bf90..0000000 Binary files a/htdocs/images/countries/pm.png and /dev/null differ diff --git a/htdocs/images/countries/pr.png b/htdocs/images/countries/pr.png deleted file mode 100644 index 0671638..0000000 Binary files a/htdocs/images/countries/pr.png and /dev/null differ diff --git a/htdocs/images/countries/pt.png b/htdocs/images/countries/pt.png deleted file mode 100644 index 8d32759..0000000 Binary files a/htdocs/images/countries/pt.png and /dev/null differ diff --git a/htdocs/images/countries/py.png b/htdocs/images/countries/py.png deleted file mode 100644 index bac8948..0000000 Binary files a/htdocs/images/countries/py.png and /dev/null differ diff --git a/htdocs/images/countries/qa.png b/htdocs/images/countries/qa.png deleted file mode 100644 index 6cf12f1..0000000 Binary files a/htdocs/images/countries/qa.png and /dev/null differ diff --git a/htdocs/images/countries/ro.png b/htdocs/images/countries/ro.png deleted file mode 100644 index 8d36c04..0000000 Binary files a/htdocs/images/countries/ro.png and /dev/null differ diff --git a/htdocs/images/countries/ru.png b/htdocs/images/countries/ru.png deleted file mode 100644 index 2b7093c..0000000 Binary files a/htdocs/images/countries/ru.png and /dev/null differ diff --git a/htdocs/images/countries/sa.png b/htdocs/images/countries/sa.png deleted file mode 100644 index f7982cc..0000000 Binary files a/htdocs/images/countries/sa.png and /dev/null differ diff --git a/htdocs/images/countries/sb.png b/htdocs/images/countries/sb.png deleted file mode 100644 index 37f5c89..0000000 Binary files a/htdocs/images/countries/sb.png and /dev/null differ diff --git a/htdocs/images/countries/sd.png b/htdocs/images/countries/sd.png deleted file mode 100644 index 32398df..0000000 Binary files a/htdocs/images/countries/sd.png and /dev/null differ diff --git a/htdocs/images/countries/se.png b/htdocs/images/countries/se.png deleted file mode 100644 index df1775d..0000000 Binary files a/htdocs/images/countries/se.png and /dev/null differ diff --git a/htdocs/images/countries/sg.png b/htdocs/images/countries/sg.png deleted file mode 100644 index 51dc5a8..0000000 Binary files a/htdocs/images/countries/sg.png and /dev/null differ diff --git a/htdocs/images/countries/si.png b/htdocs/images/countries/si.png deleted file mode 100644 index e8f8743..0000000 Binary files a/htdocs/images/countries/si.png and /dev/null differ diff --git a/htdocs/images/countries/sk.png b/htdocs/images/countries/sk.png deleted file mode 100644 index d605271..0000000 Binary files a/htdocs/images/countries/sk.png and /dev/null differ diff --git a/htdocs/images/countries/sl.png b/htdocs/images/countries/sl.png deleted file mode 100644 index beafb9f..0000000 Binary files a/htdocs/images/countries/sl.png and /dev/null differ diff --git a/htdocs/images/countries/so.png b/htdocs/images/countries/so.png deleted file mode 100644 index d087512..0000000 Binary files a/htdocs/images/countries/so.png and /dev/null differ diff --git a/htdocs/images/countries/sr.png b/htdocs/images/countries/sr.png deleted file mode 100644 index e06354f..0000000 Binary files a/htdocs/images/countries/sr.png and /dev/null differ diff --git a/htdocs/images/countries/sy.png b/htdocs/images/countries/sy.png deleted file mode 100644 index be08e92..0000000 Binary files a/htdocs/images/countries/sy.png and /dev/null differ diff --git a/htdocs/images/countries/tc.png b/htdocs/images/countries/tc.png deleted file mode 100644 index e24e1ff..0000000 Binary files a/htdocs/images/countries/tc.png and /dev/null differ diff --git a/htdocs/images/countries/tg.png b/htdocs/images/countries/tg.png deleted file mode 100644 index 74ed93c..0000000 Binary files a/htdocs/images/countries/tg.png and /dev/null differ diff --git a/htdocs/images/countries/th.png b/htdocs/images/countries/th.png deleted file mode 100644 index 5e15d0e..0000000 Binary files a/htdocs/images/countries/th.png and /dev/null differ diff --git a/htdocs/images/countries/tn.png b/htdocs/images/countries/tn.png deleted file mode 100644 index f05f134..0000000 Binary files a/htdocs/images/countries/tn.png and /dev/null differ diff --git a/htdocs/images/countries/to.png b/htdocs/images/countries/to.png deleted file mode 100644 index b53e46f..0000000 Binary files a/htdocs/images/countries/to.png and /dev/null differ diff --git a/htdocs/images/countries/tp.png b/htdocs/images/countries/tp.png deleted file mode 100644 index f8b4dca..0000000 Binary files a/htdocs/images/countries/tp.png and /dev/null differ diff --git a/htdocs/images/countries/tr.png b/htdocs/images/countries/tr.png deleted file mode 100644 index 0ecd06c..0000000 Binary files a/htdocs/images/countries/tr.png and /dev/null differ diff --git a/htdocs/images/countries/tt.png b/htdocs/images/countries/tt.png deleted file mode 100644 index 927700c..0000000 Binary files a/htdocs/images/countries/tt.png and /dev/null differ diff --git a/htdocs/images/countries/tv.png b/htdocs/images/countries/tv.png deleted file mode 100644 index 433deec..0000000 Binary files a/htdocs/images/countries/tv.png and /dev/null differ diff --git a/htdocs/images/countries/tw.png b/htdocs/images/countries/tw.png deleted file mode 100644 index 2e82e66..0000000 Binary files a/htdocs/images/countries/tw.png and /dev/null differ diff --git a/htdocs/images/countries/tz.png b/htdocs/images/countries/tz.png deleted file mode 100644 index c668335..0000000 Binary files a/htdocs/images/countries/tz.png and /dev/null differ diff --git a/htdocs/images/countries/ua.png b/htdocs/images/countries/ua.png deleted file mode 100644 index db85d97..0000000 Binary files a/htdocs/images/countries/ua.png and /dev/null differ diff --git a/htdocs/images/countries/ug.png b/htdocs/images/countries/ug.png deleted file mode 100644 index 5c87b92..0000000 Binary files a/htdocs/images/countries/ug.png and /dev/null differ diff --git a/htdocs/images/countries/us.png b/htdocs/images/countries/us.png deleted file mode 100644 index 652cb3e..0000000 Binary files a/htdocs/images/countries/us.png and /dev/null differ diff --git a/htdocs/images/countries/uy.png b/htdocs/images/countries/uy.png deleted file mode 100644 index aec1979..0000000 Binary files a/htdocs/images/countries/uy.png and /dev/null differ diff --git a/htdocs/images/countries/va.png b/htdocs/images/countries/va.png deleted file mode 100644 index 0fc5b5f..0000000 Binary files a/htdocs/images/countries/va.png and /dev/null differ diff --git a/htdocs/images/countries/ve.png b/htdocs/images/countries/ve.png deleted file mode 100644 index 0a90e47..0000000 Binary files a/htdocs/images/countries/ve.png and /dev/null differ diff --git a/htdocs/images/countries/vg.png b/htdocs/images/countries/vg.png deleted file mode 100644 index 1ff7ca1..0000000 Binary files a/htdocs/images/countries/vg.png and /dev/null differ diff --git a/htdocs/images/countries/vi.png b/htdocs/images/countries/vi.png deleted file mode 100644 index c7e8572..0000000 Binary files a/htdocs/images/countries/vi.png and /dev/null differ diff --git a/htdocs/images/countries/vn.png b/htdocs/images/countries/vn.png deleted file mode 100644 index 31af3d5..0000000 Binary files a/htdocs/images/countries/vn.png and /dev/null differ diff --git a/htdocs/images/countries/ws.png b/htdocs/images/countries/ws.png deleted file mode 100644 index 654b842..0000000 Binary files a/htdocs/images/countries/ws.png and /dev/null differ diff --git a/htdocs/images/countries/ye.png b/htdocs/images/countries/ye.png deleted file mode 100644 index 4c547cc..0000000 Binary files a/htdocs/images/countries/ye.png and /dev/null differ diff --git a/htdocs/images/countries/yu.png b/htdocs/images/countries/yu.png deleted file mode 100644 index 9947f62..0000000 Binary files a/htdocs/images/countries/yu.png and /dev/null differ diff --git a/htdocs/images/countries/za.png b/htdocs/images/countries/za.png deleted file mode 100644 index f9745fa..0000000 Binary files a/htdocs/images/countries/za.png and /dev/null differ diff --git a/htdocs/images/countries/zw.png b/htdocs/images/countries/zw.png deleted file mode 100644 index 7e69c9e..0000000 Binary files a/htdocs/images/countries/zw.png and /dev/null differ diff --git a/lib/functions.php b/lib/functions.php index a632a52..2cafc17 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -1627,70 +1627,15 @@ function get_icon($server_id,$dn,$object_classes=array()) { if (in_array('sambaaccount',$object_classes)) return 'nt_user.png'; - elseif (in_array('person',$object_classes) || - in_array('organizationalperson',$object_classes) || - in_array('inetorgperson',$object_classes) || - in_array('account',$object_classes) || - in_array('posixaccount',$object_classes)) - - return 'ldap-user.png'; - - elseif (in_array('organization',$object_classes)) - return 'ldap-o.png'; - - elseif (in_array('organizationalunit',$object_classes)) - return 'ldap-ou.png'; - elseif (in_array('organizationalrole',$object_classes)) return 'ldap-uid.png'; - elseif (in_array('dcobject',$object_classes) || - in_array('domainrelatedobject',$object_classes) || - in_array('domain',$object_classes) || - in_array('builtindomain',$object_classes)) - - return 'ldap-dc.png'; - - elseif (in_array('alias',$object_classes)) - return 'ldap-alias.png'; - - elseif (in_array('room',$object_classes)) - return 'door.png'; - - elseif (in_array('iphost',$object_classes)) - return 'host.png'; - - elseif (in_array('device',$object_classes)) - return 'device.png'; - - elseif (in_array('document',$object_classes)) - return 'document.png'; - - elseif (in_array('country',$object_classes)) { - $tmp = pla_explode_dn($dn); - $cval = explode('=',$tmp[0],2); - $cval = isset($cval[1]) ? $cval[1] : false; - if ($cval && false === strpos($cval,'..') && - file_exists(realpath(sprintf('%s/../countries/%s.png',IMGDIR,strtolower($cval))))) - - return sprintf('../countries/%s.png',strtolower($cval)); - - else - return 'country.png'; - } - elseif (in_array('jammvirtualdomain',$object_classes)) return 'mail.png'; elseif (in_array('locality',$object_classes)) return 'locality.png'; - elseif (in_array('posixgroup',$object_classes) || - in_array('groupofnames',$object_classes) || - in_array('group',$object_classes)) - - return 'ldap-ou.png'; - elseif (in_array('applicationprocess',$object_classes)) return 'process.png'; @@ -1703,9 +1648,6 @@ function get_icon($server_id,$dn,$object_classes=array()) { elseif (in_array('ndspkikeymaterial',$object_classes)) return 'lock.png'; - elseif (in_array('server',$object_classes)) - return 'server-small.png'; - elseif (in_array('volume',$object_classes)) return 'hard-drive.png'; diff --git a/public/css/flags16-both.css b/public/css/flags16-both.css new file mode 100644 index 0000000..2be171c --- /dev/null +++ b/public/css/flags16-both.css @@ -0,0 +1,258 @@ +.f16 .flag {display:inline-block;height:16px;width:16px;vertical-align:text-top;line-height:16px;padding:0;margin:0;background:url(flags16.png) no-repeat;} +.f16 ._African_Union {background-position: 0 -16px;} +.f16 ._Arab_League {background-position: 0 -32px;} +.f16 ._ASEAN {background-position: 0 -48px;} +.f16 ._CARICOM {background-position: 0 -64px;} +.f16 ._CIS {background-position: 0 -80px;} +.f16 ._Commonwealth {background-position: 0 -96px;} +.f16 ._England {background-position: 0 -112px;} +.f16 ._European_Union, .f16 .eu {background-position: 0 -128px;} +.f16 ._Islamic_Conference {background-position: 0 -144px;} +.f16 ._Kosovo {background-position: 0 -160px;} +.f16 ._NATO {background-position: 0 -176px;} +.f16 ._Northern_Cyprus {background-position: 0 -192px;} +.f16 ._Northern_Ireland {background-position: 0 -208px;} +.f16 ._Olimpic_Movement {background-position: 0 -224px;} +.f16 ._OPEC {background-position: 0 -240px;} +.f16 ._Red_Cross {background-position: 0 -256px;} +.f16 ._Scotland {background-position: 0 -272px;} +.f16 ._Somaliland {background-position: 0 -288px;} +.f16 ._Tibet {background-position: 0 -304px;} +.f16 ._United_Nations {background-position: 0 -320px;} +.f16 ._Wales {background-position: 0 -336px;} +.f16 .ad, .f16 .and {background-position: 0 -352px;} +.f16 .ae, .f16 .are {background-position: 0 -368px;} +.f16 .af, .f16 .afg {background-position: 0 -384px;} +.f16 .ag, .f16 .atg {background-position: 0 -400px;} +.f16 .ai, .f16 .aia {background-position: 0 -416px;} +.f16 .al, .f16 .alb {background-position: 0 -432px;} +.f16 .am, .f16 .arm {background-position: 0 -448px;} +.f16 .ao, .f16 .ago {background-position: 0 -464px;} +.f16 .aq, .f16 .ata {background-position: 0 -480px;} +.f16 .ar, .f16 .arg {background-position: 0 -496px;} +.f16 .as, .f16 .asm {background-position: 0 -512px;} +.f16 .at, .f16 .aut {background-position: 0 -528px;} +.f16 .au, .f16 .aus {background-position: 0 -544px;} +.f16 .aw, .f16 .abw {background-position: 0 -560px;} +.f16 .ax, .f16 .ala {background-position: 0 -576px;} +.f16 .az, .f16 .aze {background-position: 0 -592px;} +.f16 .ba, .f16 .bih {background-position: 0 -608px;} +.f16 .bb, .f16 .brb {background-position: 0 -624px;} +.f16 .bd, .f16 .bgd {background-position: 0 -640px;} +.f16 .be, .f16 .bel {background-position: 0 -656px;} +.f16 .bf, .f16 .bfa {background-position: 0 -672px;} +.f16 .bg, .f16 .bgr {background-position: 0 -688px;} +.f16 .bh, .f16 .bhr {background-position: 0 -704px;} +.f16 .bi, .f16 .bdi {background-position: 0 -720px;} +.f16 .bj, .f16 .ben {background-position: 0 -736px;} +.f16 .bl, .f16 .blm {background-position: 0 -1424px;} +.f16 .bm, .f16 .bmu {background-position: 0 -752px;} +.f16 .bn, .f16 .brn {background-position: 0 -768px;} +.f16 .bo, .f16 .bol {background-position: 0 -784px;} +.f16 .bq, .f16 .bes {background-position: 0 -2752px;} +.f16 .br, .f16 .bra {background-position: 0 -800px;} +.f16 .bs, .f16 .bhs {background-position: 0 -816px;} +.f16 .bt, .f16 .btn {background-position: 0 -832px;} +.f16 .bv, .f16 .bvt {background-position: 0 -2768px;} +.f16 .bw, .f16 .bwa {background-position: 0 -848px;} +.f16 .by, .f16 .blr {background-position: 0 -864px;} +.f16 .bz, .f16 .blz {background-position: 0 -880px;} +.f16 .ca, .f16 .can {background-position: 0 -896px;} +.f16 .cd, .f16 .cod {background-position: 0 -912px;} +.f16 .cf, .f16 .rca {background-position: 0 -928px;} +.f16 .cg, .f16 .cog {background-position: 0 -944px;} +.f16 .ch, .f16 .che {background-position: 0 -960px;} +.f16 .ci, .f16 .civ {background-position: 0 -976px;} +.f16 .ck, .f16 .cok {background-position: 0 -992px;} +.f16 .cl, .f16 .chl {background-position: 0 -1008px;} +.f16 .cm, .f16 .cmr {background-position: 0 -1024px;} +.f16 .cn, .f16 .chn {background-position: 0 -1040px;} +.f16 .co, .f16 .col {background-position: 0 -1056px;} +.f16 .cp, .f16 .cpt {background-position: 0 -1424px;} +.f16 .cr, .f16 .cri {background-position: 0 -1072px;} +.f16 .cu, .f16 .cub {background-position: 0 -1088px;} +.f16 .cv, .f16 .cpv {background-position: 0 -1104px;} +.f16 .cw, .f16 .cuw {background-position: 0 -3920px;} +.f16 .cy, .f16 .cyp {background-position: 0 -1120px;} +.f16 .cz, .f16 .cze {background-position: 0 -1136px;} +.f16 .de, .f16 .deu {background-position: 0 -1152px;} +.f16 .dj, .f16 .dji {background-position: 0 -1168px;} +.f16 .dk, .f16 .dnk {background-position: 0 -1184px;} +.f16 .dm, .f16 .dma {background-position: 0 -1200px;} +.f16 .do, .f16 .dom {background-position: 0 -1216px;} +.f16 .dz, .f16 .dza {background-position: 0 -1232px;} +.f16 .ec, .f16 .ecu {background-position: 0 -1248px;} +.f16 .ee, .f16 .est {background-position: 0 -1264px;} +.f16 .eg, .f16 .egy {background-position: 0 -1280px;} +.f16 .eh, .f16 .esh {background-position: 0 -1296px;} +.f16 .er, .f16 .eri {background-position: 0 -1312px;} +.f16 .es, .f16 .esp {background-position: 0 -1328px;} +.f16 .et, .f16 .eth {background-position: 0 -1344px;} +.f16 .fi, .f16 .fin {background-position: 0 -1360px;} +.f16 .fj, .f16 .fji {background-position: 0 -1376px;} +.f16 .fm, .f16 .fsm {background-position: 0 -1392px;} +.f16 .fo, .f16 .fro {background-position: 0 -1408px;} +.f16 .fr, .f16 .fra {background-position: 0 -1424px;} +.f16 .ga, .f16 .gab {background-position: 0 -1440px;} +.f16 .gb, .f16 .gbr {background-position: 0 -1456px;} +.f16 .gd, .f16 .grd {background-position: 0 -1472px;} +.f16 .ge, .f16 .geo {background-position: 0 -1488px;} +.f16 .gg, .f16 .ggy {background-position: 0 -1504px;} +.f16 .gh, .f16 .gha {background-position: 0 -1520px;} +.f16 .gi, .f16 .gib {background-position: 0 -1536px;} +.f16 .gl, .f16 .grl {background-position: 0 -1552px;} +.f16 .gm, .f16 .gmb {background-position: 0 -1568px;} +.f16 .gn, .f16 .gin {background-position: 0 -1584px;} +.f16 .gp, .f16 .glp {background-position: 0 -1600px;} +.f16 .gq, .f16 .gnq {background-position: 0 -1616px;} +.f16 .gr, .f16 .grc {background-position: 0 -1632px;} +.f16 .gt, .f16 .gtm {background-position: 0 -1648px;} +.f16 .gu, .f16 .gum {background-position: 0 -1664px;} +.f16 .gw, .f16 .gnb {background-position: 0 -1680px;} +.f16 .gy, .f16 .guy {background-position: 0 -1696px;} +.f16 .hk, .f16 .hkg {background-position: 0 -1712px;} +.f16 .hn, .f16 .hnd {background-position: 0 -1728px;} +.f16 .hr, .f16 .hrv {background-position: 0 -1744px;} +.f16 .ht, .f16 .hti {background-position: 0 -1760px;} +.f16 .hu, .f16 .hun {background-position: 0 -1776px;} +.f16 .id, .f16 .idn {background-position: 0 -1792px;} +.f16 .ie, .f16 .irl {background-position: 0 -1808px;} +.f16 .il, .f16 .isr {background-position: 0 -1824px;} +.f16 .im, .f16 .imn {background-position: 0 -1840px;} +.f16 .in, .f16 .ind {background-position: 0 -1856px;} +.f16 .iq, .f16 .irq {background-position: 0 -1872px;} +.f16 .ir, .f16 .irn {background-position: 0 -1888px;} +.f16 .is, .f16 .isl {background-position: 0 -1904px;} +.f16 .it, .f16 .ita {background-position: 0 -1920px;} +.f16 .je, .f16 .jey {background-position: 0 -1936px;} +.f16 .jm, .f16 .jam {background-position: 0 -1952px;} +.f16 .jo, .f16 .jor {background-position: 0 -1968px;} +.f16 .jp, .f16 .jpn {background-position: 0 -1984px;} +.f16 .ke, .f16 .ken {background-position: 0 -2000px;} +.f16 .kg, .f16 .kgz {background-position: 0 -2016px;} +.f16 .kh, .f16 .khm {background-position: 0 -2032px;} +.f16 .ki, .f16 .kir {background-position: 0 -2048px;} +.f16 .km, .f16 .com {background-position: 0 -2064px;} +.f16 .kn, .f16 .kna {background-position: 0 -2080px;} +.f16 .kp, .f16 .prk {background-position: 0 -2096px;} +.f16 .kr, .f16 .kor {background-position: 0 -2112px;} +.f16 .kw, .f16 .kwt {background-position: 0 -2128px;} +.f16 .ky, .f16 .cym {background-position: 0 -2144px;} +.f16 .kz, .f16 .kaz {background-position: 0 -2160px;} +.f16 .la, .f16 .lao {background-position: 0 -2176px;} +.f16 .lb, .f16 .lbn {background-position: 0 -2192px;} +.f16 .lc, .f16 .lca {background-position: 0 -2208px;} +.f16 .li, .f16 .lie {background-position: 0 -2224px;} +.f16 .lk, .f16 .lka {background-position: 0 -2240px;} +.f16 .lr, .f16 .lbr {background-position: 0 -2256px;} +.f16 .ls, .f16 .lso {background-position: 0 -2272px;} +.f16 .lt, .f16 .ltu {background-position: 0 -2288px;} +.f16 .lu, .f16 .lux {background-position: 0 -2304px;} +.f16 .lv, .f16 .lva {background-position: 0 -2320px;} +.f16 .ly, .f16 .lby {background-position: 0 -2336px;} +.f16 .ma, .f16 .mar {background-position: 0 -2352px;} +.f16 .mc, .f16 .mco {background-position: 0 -1792px;} +.f16 .md, .f16 .mda {background-position: 0 -2368px;} +.f16 .me, .f16 .mne {background-position: 0 -2384px;} +.f16 .mf, .f16 .maf {background-position: 0 -1424px;} +.f16 .mg, .f16 .mdg {background-position: 0 -2400px;} +.f16 .mh, .f16 .mhl {background-position: 0 -2416px;} +.f16 .mk, .f16 .mkd {background-position: 0 -2432px;} +.f16 .ml, .f16 .mli {background-position: 0 -2448px;} +.f16 .mm, .f16 .mmr {background-position: 0 -2464px;} +.f16 .mn, .f16 .mng {background-position: 0 -2480px;} +.f16 .mo, .f16 .mac {background-position: 0 -2496px;} +.f16 .mq, .f16 .mtq {background-position: 0 -2512px;} +.f16 .mr, .f16 .mrt {background-position: 0 -2528px;} +.f16 .ms, .f16 .msr {background-position: 0 -2544px;} +.f16 .mt, .f16 .mlt {background-position: 0 -2560px;} +.f16 .mu, .f16 .mus {background-position: 0 -2576px;} +.f16 .mv, .f16 .mdv {background-position: 0 -2592px;} +.f16 .mw, .f16 .mwi {background-position: 0 -2608px;} +.f16 .mx, .f16 .mex {background-position: 0 -2624px;} +.f16 .my, .f16 .mys {background-position: 0 -2640px;} +.f16 .mz, .f16 .moz {background-position: 0 -2656px;} +.f16 .na, .f16 .nam {background-position: 0 -2672px;} +.f16 .nc, .f16 .ncl {background-position: 0 -2688px;} +.f16 .ne, .f16 .ner {background-position: 0 -2704px;} +.f16 .ng, .f16 .nga {background-position: 0 -2720px;} +.f16 .ni, .f16 .nic {background-position: 0 -2736px;} +.f16 .nl, .f16 .nld {background-position: 0 -2752px;} +.f16 .no, .f16 .nor {background-position: 0 -2768px;} +.f16 .np, .f16 .npl {background-position: 0 -2784px;} +.f16 .nq, .f16 .atn {background-position: 0 -2768px;} +.f16 .nr, .f16 .nru {background-position: 0 -2800px;} +.f16 .nu, .f16 .niu {background-position: 0 -3952px;} +.f16 .nz, .f16 .nzl {background-position: 0 -2816px;} +.f16 .om, .f16 .omn {background-position: 0 -2832px;} +.f16 .pa, .f16 .pan {background-position: 0 -2848px;} +.f16 .pe, .f16 .per {background-position: 0 -2864px;} +.f16 .pf, .f16 .pyf {background-position: 0 -2880px;} +.f16 .pg, .f16 .png {background-position: 0 -2896px;} +.f16 .ph, .f16 .phl {background-position: 0 -2912px;} +.f16 .pk, .f16 .pak {background-position: 0 -2928px;} +.f16 .pl, .f16 .pol {background-position: 0 -2944px;} +.f16 .pr, .f16 .pri {background-position: 0 -2960px;} +.f16 .ps, .f16 .pse {background-position: 0 -2976px;} +.f16 .pt, .f16 .prt {background-position: 0 -2992px;} +.f16 .pw, .f16 .plw {background-position: 0 -3008px;} +.f16 .py, .f16 .pry {background-position: 0 -3024px;} +.f16 .qa, .f16 .qat {background-position: 0 -3040px;} +.f16 .re, .f16 .reu {background-position: 0 -3056px;} +.f16 .ro, .f16 .rou {background-position: 0 -3072px;} +.f16 .rs, .f16 .srb {background-position: 0 -3088px;} +.f16 .ru, .f16 .rus {background-position: 0 -3104px;} +.f16 .rw, .f16 .rwa {background-position: 0 -3120px;} +.f16 .sa, .f16 .sau {background-position: 0 -3136px;} +.f16 .sb, .f16 .slb {background-position: 0 -3152px;} +.f16 .sc, .f16 .syc {background-position: 0 -3168px;} +.f16 .sd, .f16 .sdn {background-position: 0 -3184px;} +.f16 .se, .f16 .swe {background-position: 0 -3200px;} +.f16 .sg, .f16 .sgp {background-position: 0 -3216px;} +.f16 .sh, .f16 .shn {background-position: 0 -1456px;} +.f16 .si, .f16 .svn {background-position: 0 -3232px;} +.f16 .sj, .f16 .sjm {background-position: 0 -2768px;} +.f16 .sk, .f16 .svk {background-position: 0 -3248px;} +.f16 .sl, .f16 .sle {background-position: 0 -3264px;} +.f16 .sm, .f16 .smr {background-position: 0 -3280px;} +.f16 .sn, .f16 .sen {background-position: 0 -3296px;} +.f16 .so, .f16 .som {background-position: 0 -3312px;} +.f16 .sr, .f16 .sur {background-position: 0 -3328px;} +.f16 .ss, .f16 .ssd {background-position: 0 -3936px;} +.f16 .st, .f16 .stp {background-position: 0 -3344px;} +.f16 .sv, .f16 .slv {background-position: 0 -3360px;} +.f16 .sx, .f16 .sxm {background-position: 0 -3904px;} +.f16 .sy, .f16 .syr {background-position: 0 -3376px;} +.f16 .sz, .f16 .swz {background-position: 0 -3392px;} +.f16 .tc, .f16 .tca {background-position: 0 -3408px;} +.f16 .td, .f16 .tcd {background-position: 0 -3424px;} +.f16 .tg, .f16 .tgo {background-position: 0 -3440px;} +.f16 .th, .f16 .tha {background-position: 0 -3456px;} +.f16 .tj, .f16 .tjk {background-position: 0 -3472px;} +.f16 .tl, .f16 .tls {background-position: 0 -3488px;} +.f16 .tm, .f16 .tkm {background-position: 0 -3504px;} +.f16 .tn, .f16 .tun {background-position: 0 -3520px;} +.f16 .to, .f16 .ton {background-position: 0 -3536px;} +.f16 .tr, .f16 .tur {background-position: 0 -3552px;} +.f16 .tt, .f16 .tto {background-position: 0 -3568px;} +.f16 .tv, .f16 .tuv {background-position: 0 -3584px;} +.f16 .tw, .f16 .twn {background-position: 0 -3600px;} +.f16 .tz, .f16 .tza {background-position: 0 -3616px;} +.f16 .ua, .f16 .ukr {background-position: 0 -3632px;} +.f16 .ug, .f16 .uga {background-position: 0 -3648px;} +.f16 .us, .f16 .usa {background-position: 0 -3664px;} +.f16 .uy, .f16 .ury {background-position: 0 -3680px;} +.f16 .uz, .f16 .uzb {background-position: 0 -3696px;} +.f16 .va, .f16 .vat {background-position: 0 -3712px;} +.f16 .vc, .f16 .vct {background-position: 0 -3728px;} +.f16 .ve, .f16 .ven {background-position: 0 -3744px;} +.f16 .vg, .f16 .vgb {background-position: 0 -3760px;} +.f16 .vi, .f16 .vir {background-position: 0 -3776px;} +.f16 .vn, .f16 .vnm {background-position: 0 -3792px;} +.f16 .vu, .f16 .vut {background-position: 0 -3808px;} +.f16 .ws, .f16 .wsm {background-position: 0 -3824px;} +.f16 .ye, .f16 .yem {background-position: 0 -3840px;} +.f16 .yt, .f16 .myt {background-position: 0 -1424px;} +.f16 .za, .f16 .zaf {background-position: 0 -3856px;} +.f16 .zm, .f16 .zmb {background-position: 0 -3872px;} +.f16 .zw, .f16 .zwe {background-position: 0 -3888px;} diff --git a/public/css/flags16.png b/public/css/flags16.png new file mode 100644 index 0000000..12a2346 Binary files /dev/null and b/public/css/flags16.png differ diff --git a/public/css/flags32-both.css b/public/css/flags32-both.css new file mode 100644 index 0000000..3e0efec --- /dev/null +++ b/public/css/flags32-both.css @@ -0,0 +1,259 @@ +.f32 .flag{display:inline-block;height:32px;width:32px;vertical-align:text-top;line-height:32px;background:url(flags32.png) no-repeat;} +.f32 ._African_Union{background-position:0 -32px;} +.f32 ._Arab_League{background-position:0 -64px;} +.f32 ._ASEAN{background-position:0 -96px;} +.f32 ._CARICOM{background-position:0 -128px;} +.f32 ._CIS{background-position:0 -160px;} +.f32 ._Commonwealth{background-position:0 -192px;} +.f32 ._England{background-position:0 -224px;} +.f32 ._European_Union, .f32 .eu{background-position:0 -256px;} +.f32 ._Islamic_Conference{background-position:0 -288px;} +.f32 ._Kosovo{background-position:0 -320px;} +.f32 ._NATO{background-position:0 -352px;} +.f32 ._Northern_Cyprus{background-position:0 -384px;} +.f32 ._Northern_Ireland{background-position:0 -416px;} +.f32 ._Olimpic_Movement{background-position:0 -448px;} +.f32 ._OPEC{background-position:0 -480px;} +.f32 ._Red_Cross{background-position:0 -512px;} +.f32 ._Scotland{background-position:0 -544px;} +.f32 ._Somaliland{background-position:0 -576px;} +.f32 ._Tibet{background-position:0 -608px;} +.f32 ._United_Nations{background-position:0 -640px;} +.f32 ._Wales{background-position:0 -672px;} +.f32 .ad, .f32 .and {background-position: 0 -704px;} +.f32 .ae, .f32 .are {background-position: 0 -736px;} +.f32 .af, .f32 .afg {background-position: 0 -768px;} +.f32 .ag, .f32 .atg {background-position: 0 -800px;} +.f32 .ai, .f32 .aia {background-position: 0 -832px;} +.f32 .al, .f32 .alb {background-position: 0 -864px;} +.f32 .am, .f32 .arm {background-position: 0 -896px;} +.f32 .ao, .f32 .ago {background-position: 0 -928px;} +.f32 .aq, .f32 .ata {background-position: 0 -960px;} +.f32 .ar, .f32 .arg {background-position: 0 -992px;} +.f32 .as, .f32 .asm {background-position: 0 -1024px;} +.f32 .at, .f32 .aut {background-position: 0 -1056px;} +.f32 .au, .f32 .aus {background-position: 0 -1088px;} +.f32 .aw, .f32 .abw {background-position: 0 -1120px;} +.f32 .ax, .f32 .ala {background-position: 0 -1152px;} +.f32 .az, .f32 .aze {background-position: 0 -1184px;} +.f32 .ba, .f32 .bih {background-position: 0 -1216px;} +.f32 .bb, .f32 .brb {background-position: 0 -1248px;} +.f32 .bd, .f32 .bgd {background-position: 0 -1280px;} +.f32 .be, .f32 .bel {background-position: 0 -1312px;} +.f32 .bf, .f32 .bfa {background-position: 0 -1344px;} +.f32 .bg, .f32 .bgr {background-position: 0 -1376px;} +.f32 .bh, .f32 .bhr {background-position: 0 -1408px;} +.f32 .bi, .f32 .bdi {background-position: 0 -1440px;} +.f32 .bj, .f32 .ben {background-position: 0 -1472px;} +.f32 .bm, .f32 .bmu {background-position: 0 -1504px;} +.f32 .bn, .f32 .brn {background-position: 0 -1536px;} +.f32 .bo, .f32 .bol {background-position: 0 -1568px;} +.f32 .br, .f32 .bra {background-position: 0 -1600px;} +.f32 .bs, .f32 .bhs {background-position: 0 -1632px;} +.f32 .bt, .f32 .btn {background-position: 0 -1664px;} +.f32 .bw, .f32 .bwa {background-position: 0 -1696px;} +.f32 .by, .f32 .blr {background-position: 0 -1728px;} +.f32 .bz, .f32 .blz {background-position: 0 -1760px;} +.f32 .ca, .f32 .can {background-position: 0 -1792px;} +.f32 .cd, .f32 .cod {background-position: 0 -1824px;} +.f32 .cf, .f32 .rca {background-position: 0 -1856px;} +.f32 .cg, .f32 .cog {background-position: 0 -1888px;} +.f32 .ch, .f32 .che {background-position: 0 -1920px;} +.f32 .ci, .f32 .civ {background-position: 0 -1952px;} +.f32 .ck, .f32 .cok {background-position: 0 -1984px;} +.f32 .cl, .f32 .chl {background-position: 0 -2016px;} +.f32 .cm, .f32 .cmr {background-position: 0 -2048px;} +.f32 .cn, .f32 .chn {background-position: 0 -2080px;} +.f32 .co, .f32 .col {background-position: 0 -2112px;} +.f32 .cr, .f32 .cri {background-position: 0 -2144px;} +.f32 .cu, .f32 .cub {background-position: 0 -2176px;} +.f32 .cv, .f32 .cpv {background-position: 0 -2208px;} +.f32 .cy, .f32 .cyp {background-position: 0 -2240px;} +.f32 .cz, .f32 .cze {background-position: 0 -2272px;} +.f32 .de, .f32 .deu {background-position: 0 -2304px;} +.f32 .dj, .f32 .dji {background-position: 0 -2336px;} +.f32 .dk, .f32 .dnk {background-position: 0 -2368px;} +.f32 .dm, .f32 .dma {background-position: 0 -2400px;} +.f32 .do, .f32 .dom {background-position: 0 -2432px;} +.f32 .dz, .f32 .dza {background-position: 0 -2464px;} +.f32 .ec, .f32 .ecu {background-position: 0 -2496px;} +.f32 .ee, .f32 .est {background-position: 0 -2528px;} +.f32 .eg, .f32 .egy {background-position: 0 -2560px;} +.f32 .eh, .f32 .esh {background-position: 0 -2592px;} +.f32 .er, .f32 .eri {background-position: 0 -2624px;} +.f32 .es, .f32 .esp {background-position: 0 -2656px;} +.f32 .et, .f32 .eth {background-position: 0 -2688px;} +.f32 .fi, .f32 .fin {background-position: 0 -2720px;} +.f32 .fj, .f32 .fji {background-position: 0 -2752px;} +.f32 .fm, .f32 .fsm {background-position: 0 -2784px;} +.f32 .fo, .f32 .fro {background-position: 0 -2816px;} +.f32 .fr, .f32 .fra {background-position: 0 -2848px;} +.f32 .bl, .f32 .blm {background-position: 0 -2848px;} +.f32 .cp, .f32 .cpt {background-position: 0 -2848px;} +.f32 .mf, .f32 .maf {background-position: 0 -2848px;} +.f32 .yt, .f32 .myt {background-position: 0 -2848px;} +.f32 .ga, .f32 .gab {background-position: 0 -2880px;} +.f32 .gb, .f32 .gbr {background-position: 0 -2912px;} +.f32 .sh, .f32 .shn {background-position: 0 -2912px;} +.f32 .gd, .f32 .grd {background-position: 0 -2944px;} +.f32 .ge, .f32 .geo {background-position: 0 -2976px;} +.f32 .gg, .f32 .ggy {background-position: 0 -3008px;} +.f32 .gh, .f32 .gha {background-position: 0 -3040px;} +.f32 .gi, .f32 .gib {background-position: 0 -3072px;} +.f32 .gl, .f32 .grl {background-position: 0 -3104px;} +.f32 .gm, .f32 .gmb {background-position: 0 -3136px;} +.f32 .gn, .f32 .gin {background-position: 0 -3168px;} +.f32 .gp, .f32 .glp {background-position: 0 -3200px;} +.f32 .gq, .f32 .gnq {background-position: 0 -3232px;} +.f32 .gr, .f32 .grc {background-position: 0 -3264px;} +.f32 .gt, .f32 .gtm {background-position: 0 -3296px;} +.f32 .gu, .f32 .gum {background-position: 0 -3328px;} +.f32 .gw, .f32 .gnb {background-position: 0 -3360px;} +.f32 .gy, .f32 .guy {background-position: 0 -3392px;} +.f32 .hk, .f32 .hkg {background-position: 0 -3424px;} +.f32 .hn, .f32 .hnd {background-position: 0 -3456px;} +.f32 .hr, .f32 .hrv {background-position: 0 -3488px;} +.f32 .ht, .f32 .hti {background-position: 0 -3520px;} +.f32 .hu, .f32 .hun {background-position: 0 -3552px;} +.f32 .id, .f32 .idn {background-position: 0 -3584px;} +.f32 .mc, .f32 .mco {background-position: 0 -3584px;} +.f32 .ie {background-position: 0 -3616px;} +.f32 .il, .f32 .isr {background-position: 0 -3648px;} +.f32 .im, .f32 .imn {background-position: 0 -3680px;} +.f32 .in, .f32 .ind {background-position: 0 -3712px;} +.f32 .iq, .f32 .irq {background-position: 0 -3744px;} +.f32 .ir, .f32 .irn {background-position: 0 -3776px;} +.f32 .is, .f32 .isl {background-position: 0 -3808px;} +.f32 .it, .f32 .ita {background-position: 0 -3840px;} +.f32 .je, .f32 .jey {background-position: 0 -3872px;} +.f32 .jm, .f32 .jam {background-position: 0 -3904px;} +.f32 .jo, .f32 .jor {background-position: 0 -3936px;} +.f32 .jp, .f32 .jpn {background-position: 0 -3968px;} +.f32 .ke, .f32 .ken {background-position: 0 -4000px;} +.f32 .kg, .f32 .kgz {background-position: 0 -4032px;} +.f32 .kh, .f32 .khm {background-position: 0 -4064px;} +.f32 .ki, .f32 .kir {background-position: 0 -4096px;} +.f32 .km, .f32 .com {background-position: 0 -4128px;} +.f32 .kn, .f32 .kna {background-position: 0 -4160px;} +.f32 .kp, .f32 .prk {background-position: 0 -4192px;} +.f32 .kr, .f32 .kor {background-position: 0 -4224px;} +.f32 .kw, .f32 .kwt {background-position: 0 -4256px;} +.f32 .ky, .f32 .cym {background-position: 0 -4288px;} +.f32 .kz, .f32 .kaz {background-position: 0 -4320px;} +.f32 .la, .f32 .lao {background-position: 0 -4352px;} +.f32 .lb, .f32 .lbn {background-position: 0 -4384px;} +.f32 .lc, .f32 .lca {background-position: 0 -4416px;} +.f32 .li, .f32 .lie {background-position: 0 -4448px;} +.f32 .lk, .f32 .lka {background-position: 0 -4480px;} +.f32 .lr, .f32 .lbr {background-position: 0 -4512px;} +.f32 .ls, .f32 .lso {background-position: 0 -4544px;} +.f32 .lt, .f32 .ltu {background-position: 0 -4576px;} +.f32 .lu, .f32 .lux {background-position: 0 -4608px;} +.f32 .lv, .f32 .lva {background-position: 0 -4640px;} +.f32 .ly, .f32 .lby {background-position: 0 -4672px;} +.f32 .ma, .f32 .mar {background-position: 0 -4704px;} +.f32 .md, .f32 .mda {background-position: 0 -4736px;} +.f32 .me, .f32 .mne {background-position: 0 -4768px;} +.f32 .mg, .f32 .mdg {background-position: 0 -4800px;} +.f32 .mh, .f32 .mhl {background-position: 0 -4832px;} +.f32 .mk, .f32 .mkd {background-position: 0 -4864px;} +.f32 .ml, .f32 .mli {background-position: 0 -4896px;} +.f32 .mm, .f32 .mmr {background-position: 0 -4928px;} +.f32 .mn, .f32 .mng {background-position: 0 -4960px;} +.f32 .mo, .f32 .mac {background-position: 0 -4992px;} +.f32 .mq, .f32 .mtq {background-position: 0 -5024px;} +.f32 .mr, .f32 .mrt {background-position: 0 -5056px;} +.f32 .ms, .f32 .msr {background-position: 0 -5088px;} +.f32 .mt, .f32 .mlt {background-position: 0 -5120px;} +.f32 .mu, .f32 .mus {background-position: 0 -5152px;} +.f32 .mv, .f32 .mdv {background-position: 0 -5184px;} +.f32 .mw, .f32 .mwi {background-position: 0 -5216px;} +.f32 .mx, .f32 .mex {background-position: 0 -5248px;} +.f32 .my, .f32 .mys {background-position: 0 -5280px;} +.f32 .mz, .f32 .moz {background-position: 0 -5312px;} +.f32 .na, .f32 .nam {background-position: 0 -5344px;} +.f32 .nc, .f32 .ncl {background-position: 0 -5376px;} +.f32 .ne, .f32 .ner {background-position: 0 -5408px;} +.f32 .ng, .f32 .nga {background-position: 0 -5440px;} +.f32 .ni, .f32 .nic {background-position: 0 -5472px;} +.f32 .nl, .f32 .nld {background-position: 0 -5504px;} +.f32 .nl{background-position:0 -5504px;} .f32 .bq{background-position:0 -5504px;}.f32 .no{background-position:0 -5536px;} .f32 .bv, .f32 .nq, .f32 .sj{background-position:0 -5536px;} +.f32 .bq, .f32 .bes {background-position: 0 -5504px;} +.f32 .no, .f32 .nor {background-position: 0 -5536px;} +.f32 .bv, .f32 .bvt {background-position: 0 -5536px;} +.f32 .nq, .f32 .atn {background-position: 0 -5536px;} +.f32 .sj, .f32 .sjm {background-position: 0 -5536px;} +.f32 .np, .f32 .npl {background-position: 0 -5568px;} +.f32 .nr, .f32 .nru {background-position: 0 -5600px;} +.f32 .nz, .f32 .nzl {background-position: 0 -5632px;} +.f32 .om, .f32 .omn {background-position: 0 -5664px;} +.f32 .pa, .f32 .pan {background-position: 0 -5696px;} +.f32 .pe, .f32 .per {background-position: 0 -5728px;} +.f32 .pf, .f32 .pyf {background-position: 0 -5760px;} +.f32 .pg, .f32 .png {background-position: 0 -5792px;} +.f32 .ph, .f32 .phl {background-position: 0 -5824px;} +.f32 .pk, .f32 .pak {background-position: 0 -5856px;} +.f32 .pl, .f32 .pol {background-position: 0 -5888px;} +.f32 .pr, .f32 .pri {background-position: 0 -5920px;} +.f32 .ps, .f32 .pse {background-position: 0 -5952px;} +.f32 .pt, .f32 .prt {background-position: 0 -5984px;} +.f32 .pw, .f32 .plw {background-position: 0 -6016px;} +.f32 .py, .f32 .pry {background-position: 0 -6048px;} +.f32 .qa, .f32 .qat {background-position: 0 -6080px;} +.f32 .re, .f32 .reu {background-position: 0 -6112px;} +.f32 .ro, .f32 .rou {background-position: 0 -6144px;} +.f32 .rs, .f32 .srb {background-position: 0 -6176px;} +.f32 .ru, .f32 .rus {background-position: 0 -6208px;} +.f32 .rw, .f32 .rwa {background-position: 0 -6240px;} +.f32 .sa, .f32 .sau {background-position: 0 -6272px;} +.f32 .sb, .f32 .slb {background-position: 0 -6304px;} +.f32 .sc, .f32 .syc {background-position: 0 -6336px;} +.f32 .sd, .f32 .sdn {background-position: 0 -6368px;} +.f32 .se, .f32 .swe {background-position: 0 -6400px;} +.f32 .sg, .f32 .sgp {background-position: 0 -6432px;} +.f32 .si, .f32 .svn {background-position: 0 -6464px;} +.f32 .sk, .f32 .svk {background-position: 0 -6496px;} +.f32 .sl, .f32 .sle {background-position: 0 -6528px;} +.f32 .sm, .f32 .smr {background-position: 0 -6560px;} +.f32 .sn, .f32 .sen {background-position: 0 -6592px;} +.f32 .so, .f32 .som {background-position: 0 -6624px;} +.f32 .sr, .f32 .sur {background-position: 0 -6656px;} +.f32 .st, .f32 .stp {background-position: 0 -6688px;} +.f32 .sv, .f32 .slv {background-position: 0 -6720px;} +.f32 .sy, .f32 .syr {background-position: 0 -6752px;} +.f32 .sz, .f32 .swz {background-position: 0 -6784px;} +.f32 .tc, .f32 .tca {background-position: 0 -6816px;} +.f32 .td, .f32 .tcd {background-position: 0 -6848px;} +.f32 .tg, .f32 .tgo {background-position: 0 -6880px;} +.f32 .th, .f32 .tha {background-position: 0 -6912px;} +.f32 .tj, .f32 .tjk {background-position: 0 -6944px;} +.f32 .tl, .f32 .tls {background-position: 0 -6976px;} +.f32 .tm, .f32 .tkm {background-position: 0 -7008px;} +.f32 .tn, .f32 .tun {background-position: 0 -7040px;} +.f32 .to, .f32 .ton {background-position: 0 -7072px;} +.f32 .tr, .f32 .tur {background-position: 0 -7104px;} +.f32 .tt, .f32 .tto {background-position: 0 -7136px;} +.f32 .tv, .f32 .tuv {background-position: 0 -7168px;} +.f32 .tw, .f32 .twn {background-position: 0 -7200px;} +.f32 .tz, .f32 .tza {background-position: 0 -7232px;} +.f32 .ua, .f32 .ukr {background-position: 0 -7264px;} +.f32 .ug, .f32 .uga {background-position: 0 -7296px;} +.f32 .us, .f32 .usa {background-position: 0 -7328px;} +.f32 .uy, .f32 .ury {background-position: 0 -7360px;} +.f32 .uz, .f32 .uzb {background-position: 0 -7392px;} +.f32 .va, .f32 .vat {background-position: 0 -7424px;} +.f32 .vc, .f32 .vct {background-position: 0 -7456px;} +.f32 .ve, .f32 .ven {background-position: 0 -7488px;} +.f32 .vg, .f32 .vgb {background-position: 0 -7520px;} +.f32 .vi, .f32 .vir {background-position: 0 -7552px;} +.f32 .vn, .f32 .vnm {background-position: 0 -7584px;} +.f32 .vu, .f32 .vut {background-position: 0 -7616px;} +.f32 .ws, .f32 .wsm {background-position: 0 -7648px;} +.f32 .ye, .f32 .yem {background-position: 0 -7680px;} +.f32 .za, .f32 .zaf {background-position: 0 -7712px;} +.f32 .zm, .f32 .zmb {background-position: 0 -7744px;} +.f32 .zw, .f32 .zwe {background-position: 0 -7776px;} +.f32 .sx, .f32 .sxm {background-position: 0 -7808px;} +.f32 .cw, .f32 .cuw {background-position: 0 -7840px;} +.f32 .ss, .f32 .ssd {background-position: 0 -7872px;} +.f32 .nu, .f32 .niu {background-position: 0 -7904px;} diff --git a/public/css/flags32.png b/public/css/flags32.png new file mode 100644 index 0000000..a9a45ae Binary files /dev/null and b/public/css/flags32.png differ diff --git a/resources/themes/architect/views/layouts/partials/contentheader.blade.php b/resources/themes/architect/views/layouts/partials/contentheader.blade.php index 8e2bd58..46f456c 100644 --- a/resources/themes/architect/views/layouts/partials/contentheader.blade.php +++ b/resources/themes/architect/views/layouts/partials/contentheader.blade.php @@ -2,7 +2,7 @@