/** * Abstract enquement of Stylesheets */ public static function enqueue_styles() { static $v, $i = 0; isset($v) or $v = WP_DEBUG ? time() : Loco::VERSION; foreach (func_get_args() as $stub) { $css = Loco::baseurl() . '/pub/css/' . $stub . '.css'; wp_enqueue_style(self::NS . '-css-' . ++$i, $css, array(), $v); } }
<?php /** * PO file editor screen */ $nav = array(Loco::__('Packages') => LocoAdmin::uri(), $name => '', Loco::__('Settings') => LocoAdmin::uri(array(), 'settings')); $phpbase = Loco::html(Loco::baseurl()) . '/php'; $argpair = $package->get_query(); // whether to show file switcher $pofiles = $package->get_gettext_files(); $modified or $pofiles[] = $path; ?> <div class="wrap loco-admin loco-edit"><?php // Main navigation Loco::render('admin-nav', compact('nav')); ?> <h3 class="title"><?php // print flag or template indicator if ($locale) { ?> <span class="<?php echo $locale->icon_class(); ?> "></span> <?php Loco::h($locale->get_name()); ?> :<?php