コード例 #1
0
                            </legend>
                            <p>
                                <label for="loco--enable-core">
                                    <input type="checkbox" name="loco[enable_core]" value="1" id="loco--enable-core"<?php 
echo $enable_core ? ' checked' : '';
?>
 />
                                    <?php 
Loco::h(Loco::__('Enable WordPress core translations'));
?>
 
                                </label>
                            </p>
                        </fieldset>
                    </td>
                </tr>
            </tbody>
        </table>
        <p class="submit">
            <input type="submit" class="button-primary" value="<?php 
Loco::h(Loco::__('Save settings'));
?>
" />
            <a class="button" href="https://localise.biz/help/wordpress/translate-plugin/support" target="_blank"><?php 
Loco::h(Loco::__('Get help'));
?>
</a>
        </p>
    </form>
    
</div>
コード例 #2
0
ファイル: admin-list.tpl.php プロジェクト: Makenrro/repos
                            <li><?php 
    Loco::h(Loco::_n('1 language', '%u languages', $n), $n);
    ?>
 
                            </li><?php 
    if ($mtime) {
        ?>
 
                            <li class="loco-mtime">
                                <small>
                                    <?php 
        Loco::h(Loco::_x('Updated', 'Modified time'));
        ?>
 
                                    <?php 
        Loco::h(LocoAdmin::format_datetime($mtime));
        ?>
 
                                </small>
                            </li><?php 
    }
    ?>
 
                        </ul>
                    </td>
                    <td>
                        <ul>
                            <li class="loco-add">
                                <?php 
    echo LocoAdmin::msginit_link($package, $domain);
    ?>
コード例 #3
0
ファイル: admin-poinit.tpl.php プロジェクト: Makenrro/repos
            <label>
                <input type="radio" name="gforce" value="1"<?php 
    print $is_global ? ' checked' : '';
    print $gdir_ok ? '' : ' disabled';
    ?>
 />
                <?php 
    Loco::h(Loco::_x('create in global languages directory', 'Form label'));
    ?>
 
                <code><?php 
    Loco::h(LocoAdmin::trim_path($gdir));
    ?>
/</code>
            </label>
        </p><?php 
}
?>
 

        <p class="submit">
            <input type="submit" value="<?php 
Loco::h(Loco::_x('Start translating', 'Submit button'));
?>
" class="button button-primary button-large" disabled />
        </p>
    </form>
    
    
</div> 
コード例 #4
0
ファイル: admin-poedit.tpl.php プロジェクト: epiii/aros
?>
/loco-fail.php" id="loco-filter">
                <div class="loco-clearable">
                    <input type="text" maxlength="100" name="q" id="loco-search" placeholder="<?php 
Loco::h(Loco::__('Filter translations'));
?>
" autocomplete="off" disabled />
                </div>
            </form>
            <form action="http://wordpress.org/support/plugin/<?php 
echo Loco::NS;
?>
" target="_blank" class="loco-right">
                <button class="button loco-help" data-loco="help" type="submit">
                    <span><?php 
Loco::h(Loco::_x('Help', 'Editor button'));
?>
</span>
                </button>
            </form>
        </nav>
    
        <div id="loco-poedit-inner" class="loco-editor loading">
            <span>Loading..</span>
        </div>
    
    </div>
    
    
    <script>
        loco = window.loco || {};
コード例 #5
0
ファイル: admin-root.tpl.php プロジェクト: epiii/aros
    <div class="loco-list loco-list-plugins">
        <?php 
    Loco::render('admin-list', array('items' => $plugins));
    ?>
 
    </div><?php 
}
// Core packages
//
if ($core) {
    ?>
 
    <div class="icon32 icon-generic"><br /></div>
    <h2 class="dashicons-wordpress">
        <?php 
    Loco::h(Loco::_x('Core', 'Package list header'));
    ?>
 
    </h2>
    <div class="loco-list loco-list-core">
        <?php 
    Loco::render('admin-list', array('items' => $core));
    ?>
 
    </div><?php 
}
?>
 

</div>
コード例 #6
0
ファイル: admin-nav.tpl.php プロジェクト: Makenrro/repos
">
                <?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]-->