File manager - Edit - /home/theblueo/tv/fb4e3b/file.tar
Back
diff.php 0000666 00000007160 15214142047 0006175 0 ustar 00 <?php /** * File revisions and rollback UI */ $this->extend('../layout'); $dfmt = _x( 'j M @ H:i', 'revision date short format', 'default' ); ?> <div class="revisions loading" id="loco-ui"> <form class="revisions-control-frame" action="" method="post" enctype="application/x-www-form-urlencoded"> <div class="loco-clearfix"> <div class="revisions-previous jshide"> <button type="button" class="button" disabled><?php echo esc_attr_x( 'Previous', 'Button label for a previous revision' ); ?></button> </div> <div class="revisions-next jshide"> <button type="button" class="button" disabled><?php echo esc_attr_x( 'Next', 'Button label for a next revision' ); ?></button> </div> </div> <div class="revisions-meta loco-clearfix"> <div class="diff-meta diff-right"> <span>Current revision saved <?php $master->e('reltime')?></span><br /> <time><?php $master->date('mtime',$dfmt)?></time><br /> <button type="button" class="button disabled" disabled>Restore</button> </div><?php /* @var $file Loco_mvc_FileParams */ foreach( $files as $i => $file ):?> <div class="diff-meta jshide"> <span><?php $file->e('name')?></span><br /> <time><?php $file->date('potime',$dfmt)?></time><br /> <button type="submit" class="button button-primary" name="backup" value="<?php $file->e('relpath')?>"><?php esc_html_e('Restore','loco-translate')?></button> <button type="submit" class="button button-danger" name="delete" value="<?php $file->e('relpath')?>"><?php esc_html_e('Delete','loco-translate')?></button> </div><?php endforeach?> </div><?php /* @var $hidden Loco_mvc_HiddenFields */ $hidden->_e();?> </form> <div class="revisions-diff-frame jsonly"> <div class="revisions-diff"> <div class="loading-indicator"><span class="spinner"></span></div> <div class="diff"></div> </div> </div> </div> <!--hr /> <h3>Advanced</h3> <form action="" method="post" enctype="application/x-www-form-urlencoded"> <table class="wp-list-table widefat striped"> <thead> <tr> <th> <?php esc_html_e('Revision saved','loco-translate')?> </th> <th> <?php esc_html_e('File info','loco-translate')?> </th> </tr> </thead> <tbody><?php /* @var $file Loco_mvc_FileParams */ foreach( $files as $i => $file ):?> <tr> <td> <label> <input type="radio" name="backup" value="<?php $file->e('relpath')?>" /> <?php $file->date('mtime')?> </label> </td> <td><code class="path"><?php $file->ls()?></code></td> </tr><?php endforeach?> </tbody> </table> <p class="submit"> <button type="submit" class="button button-danger"><?php esc_html_e('Restore selected','default')?></button> </p> <?php /* @var $hidden Loco_mvc_HiddenFields */ $hidden->_e();?> </form--> delete.php 0000666 00000002406 15214142047 0006525 0 ustar 00 <?php /** * Confirmation form for deleting a file */ $this->extend('../layout'); ?> <form action="" method="post" enctype="application/x-www-form-urlencoded" id="loco-del"> <div class="notice inline notice-danger"> <h3> <span class="has-icon icon-trash"> </span> <span><?php esc_html_e('Confirm delete','loco-translate')?></span> </h3> <p> <?php echo __('Are you sure you want to <strong>permanently</strong> delete the following file?','loco-translate')?> </p> <p> <code><?php $info->e('relpath')?></code> </p><?php if( $params->has('deps') ):?> <p> <strong><?php $params->e('warn')?></strong><?php foreach( $deps as $info ):?> <div><?php $info->e('name')?></div><?php endforeach?> </p><?php endif?> <p class="submit"> <button type="submit" class="button button-danger" disabled><?php esc_html_e('Delete Permanently','default')?></button> </p> </div> <?php /* @var Loco_mvc_HiddenFields $hidden */ $hidden->_e();?> </form> move-pot.php 0000666 00000001103 15214142047 0007022 0 ustar 00 <?php /** * Confirmation form for moving file or group of files to an exact/custom location. * Use for moving POT file, but also moving PO siblings when locale or text domain is unknown */ $this->extend('move'); $this->start('source'); /* @var Loco_mvc_FileParams $file */ /* @var Loco_mvc_ViewParams $current */ ?> <div class="notice inline notice-generic"> <h2> Enter a new location for this file </h2> <p> <input type="text" name="dest" value="<?php $file->e('relpath')?>" class="large-text" /> </p> </div> info-pot.php 0000666 00000002466 15214142047 0007024 0 ustar 00 <?php /** * File info for a template file (POT) */ $this->extend('info'); $this->start('header'); ?> <div class="notice inline notice-info"> <h3><?php esc_html_e('Template file','loco-translate')?></h3> <dl> <dt><?php self::e( __('File size','loco-translate') )?>:</dt> <dd><?php $file->e('size')?></dd> <dt><?php esc_html_e('File modified','loco-translate')?>:</dt> <dd><?php $file->date('mtime')?></dd> <dt><?php esc_html_e('Last extracted','loco-translate')?>:</dt> <dd><date><?php $params->date('potime')?></date></dd> <dt><?php esc_html_e('Source text','loco-translate')?>:</dt> <dd><?php echo esc_html( $meta->getTotalSummary() )?> <span>(<?php echo sprintf( _n('1 word','%s words', $words, 'loco-translate'), number_format_i18n($words) )?>)</span></dd> </dl> </div> <?php if( 'POT' !== $file->type && ! $params->isTemplate ):?> <div class="notice inline notice-debug"> <h3 class="has-icon"> Unconventional file name </h3> <p> Template files should have the extension ".pot".<br /> If this is intended to be a translation file it should end with a language code. </p> </div><?php endif; info-mo.php 0000666 00000003050 15214142047 0006623 0 ustar 00 <?php /** * File info for a binary MO where the PO file is missing */ $this->extend('info'); $this->start('header'); ?> <div class="notice inline notice-info"> <h3> <a href="<?php $locale->e('href')?>"> <span class="<?php $locale->e('icon')?>" lang="<?php $locale->e('lang')?>"><code><?php $locale->e('code')?></code></span> <span><?php $locale->e('name')?></span> </a> <span>— <?php esc_html_e('compiled','loco-translate')?></span> </h3> <dl> <dt><?php self::e( __('File size','loco-translate') )?>:</dt> <dd><?php $file->e('size')?></dd> <dt><?php esc_html_e('File modified','loco-translate')?>:</dt> <dd><?php $file->date('mtime')?></dd> <dt><?php esc_html_e('Last translation','loco-translate')?>:</dt> <dd><?php $params->e('author')?> — <date><?php $params->date('potime')?></date></dd> <dt><?php esc_html_e('Compiled translations','loco-translate')?>:</dt> <dd> <?php echo esc_html( $meta->getTotalSummary() )?> </dd> </dl> </div> <?php if( ! $sibling->existent ):?> <div class="notice inline notice-warning"> <h3 class="has-icon"> <?php esc_html_e('PO file missing','loco-translate')?> </h3> <p> <?php esc_html_e("We can't find the original PO file from which this was compiled",'loco-translate')?>. </p> </div><?php endif; info-po.php 0000666 00000006002 15214142047 0006626 0 ustar 00 <?php /** * File info for a translation source PO */ $this->extend('info'); $this->start('header'); ?> <div class="notice inline notice-info"> <h3> <a href="<?php $locale->e('href')?>" class="has-lang"> <span class="<?php $locale->e('icon')?>" lang="<?php $locale->e('lang')?>"><code><?php $locale->e('code')?></code></span> <span><?php $locale->e('name')?></span> </a> </h3> <dl> <dt><?php self::e( __('File size','loco-translate') )?>:</dt> <dd><?php $file->e('size')?></dd> <dt><?php self::e( __('File modified','loco-translate') )?>:</dt> <dd><?php $file->date('mtime')?></dd> <dt><?php self::e( __('Last translation','loco-translate') )?>:</dt> <dd><?php $params->e('author')?> — <date><?php $params->date('potime')?></date></dd> <dt><?php self::e( __('Translation progress','loco-translate') )?>:</dt> <dd> <?php self::e( $meta->getProgressSummary() )?> </dd> <dd> <?php $meta->printProgress()?> </dd> </dl> </div> <?php if( ! $sibling->existent ):?> <div class="notice inline notice-warning"> <h3 class="has-icon"> <?php self::e( __('Binary file missing','loco-translate') )?> </h3> <p> <?php self::e( __("We can't find the binary MO file that belongs with these translations",'loco-translate') )?>. </p> </div><?php endif; if( $params->has('potfile') ): if( $potfile->synced ):?> <div class="notice inline notice-success"> <h3 class="has-icon"> <?php self::e( __('In sync with template','loco-translate') )?> </h3> <p> <?php // Translators: Where %s is the name of a template file self::e( __('PO file has the same source strings as "%s"','loco-translate'), $potfile->name )?>. </p> </div><?php else:?> <div class="notice inline notice-info"> <h3 class="has-icon"> <?php self::e( __('Out of sync with template','loco-translate') )?> </h3> <p> <?php // Translators: Where %s is the name of a template file self::e( __('PO file has different source strings to "%s". Try running Sync before making any changes.','loco-translate'), $potfile->name )?> </p> </div><?php endif; // only showing missing template warning when project was matched. Avoids confusion if something went wrong elseif( $params->has('project') ):?> <div class="notice inline notice-debug"> <h3 class="has-icon"> <?php self::e( __('Missing template','loco-translate') )?> </h3> <p> <?php self::e( __('These translations are not linked to a POT file. Sync operations will extract strings directly from source code.','loco-translate') )?> </p> </div><?php endif; move.php 0000666 00000002032 15214142047 0006224 0 ustar 00 <?php /** * Confirmation form for moving any file or group of file siblings. */ $this->extend('../layout'); ?> <form action="" method="post" enctype="application/x-www-form-urlencoded" id="loco-move"><?php /* @var Loco_mvc_HiddenFields $hidden */ $hidden->_e(); echo $source?> <div class="notice inline notice-info"> <h2> Confirm relocation </h2> <p> The following files will be moved/renamed to the new location:<?php /* @var Loco_fs_File[] $files */ foreach( $files as $file ): echo '<div>',$params->escape( $file->basename() ),'</div>'; endforeach?> </p> <p class="submit"> <button type="submit" class="button button-primary" disabled><?php esc_html_e('Move files','loco-translate')?></button><?php if( $params->has('advanced') ):?> <a href="<?php $params->e('advanced')?>" class="button button-link">Advanced</a><?php endif?> </p> </div> </form> view-po.php 0000666 00000000235 15214142047 0006647 0 ustar 00 <?php /** * PO source view */ $this->extend('view'); $this->start('source'); echo $this->render('../common/inc-po-header'); echo $this->render('msgcat'); editor.php 0000666 00000006251 15214142047 0006553 0 ustar 00 <?php /** * Editor layout for PO and POT files */ $this->extend('../layout'); echo $header; ?> <div id="loco-editor"> <nav id="loco-toolbar" class="wp-core-ui"> <form action="#" id="loco-actions"> <fieldset> <button class="button has-icon icon-save" data-loco="save" disabled> <span><?php $ui->e('save')?></span> </button> <button class="button has-icon icon-sync" data-loco="sync" disabled> <span><?php $ui->e('sync')?></span> </button> <button class="button has-icon icon-revert" data-loco="revert" disabled> <span><?php $ui->e('revert')?></span> </button> </fieldset><?php if( $locale ):?> <fieldset> <button class="button has-icon icon-cloud" data-loco="fuzzy" disabled> <span><?php $ui->e('fuzzy')?></span> </button> </fieldset><?php else:?> <fieldset> <button class="button has-icon icon-add" data-loco="add" disabled> <span><?php $ui->e('add')?></span> </button> <button class="button has-icon icon-del" data-loco="del" disabled> <span><?php $ui->e('del')?></span> </button> </fieldset><?php endif?> <fieldset class="loco-clearable"> <input type="text" maxlength="100" name="q" id="loco-search" placeholder="<?php $ui->e('filter')?>" autocomplete="off" disabled /> </fieldset> <fieldset> <button class="button has-icon only-icon icon-pilcrow" data-loco="invs" disabled title="<?php $ui->e('invs')?>"> <span><?php $ui->e('invs')?></span> </button> <button class="button has-icon only-icon icon-code" data-loco="code" disabled title="<?php $ui->e('code')?>"> <span><?php $ui->e('code')?></span> </button> </fieldset> </form> <form action="<?php $params->e('dlAction')?>" method="post" target="_blank" id="loco-download" class="aux"> <fieldset> <button class="button button-link has-icon icon-download" data-loco="source" disabled title="<?php $ui->e('download')?>"> <span><?php $params->e('filetype')?></span> </button> <button class="button button-link has-icon icon-download" data-loco="binary" disabled title="<?php $ui->e('download')?> MO"> <span>MO</span> </button> </fieldset> <?php /* @var $dlFields Loco_mvc_HiddenFields */ $dlFields->_e();?> </form> </nav> <div id="loco-editor-inner" class="jsonly"> <div class="loco-loading"></div> </div> </div>