Exemplo n.º 1
0
<?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 
Exemplo n.º 2
0
 /**
  * Generate a link to check file permissions on a packge
  */
 public static function fscheck_link(LocoPackage $package, $domain = '', $label)
 {
     if (!$domain) {
         $domain = $package->get_domain();
     }
     $url = self::uri($package->get_query() + array('fscheck' => $domain ? $domain : $package->get_domain()));
     return '<a href="' . Loco::html($url) . '">' . Loco::html($label) . '</a>';
 }
Exemplo n.º 3
0
">
                <?php 
        Loco::h($label);
        ?>
 
            </a><?php 
    }
}
?>
 

        <a href="https://localise.biz/about/gettext?<?php 
Loco::h(Loco::utm_query('nav'));
?>
" class="nav-tab nav-tab-loco" target="_blank">
            <?php 
Loco::h(Loco::__('Powered by'));
?>
 
            <?php 
Loco::h(Loco::__('Loco, Translation Management'));
?>
 
        </a>
    </h2>
    
    <!--[if lt IE 9]><?php 
LocoAdmin::warning(__($ignore = 'Your browser is out of date!') . ' ' . Loco::html(Loco::__('Loco may not work as expected')));
?>
<![endif]-->