示例#1
0
" />
		<p class="send_to"><span class="<?php 
    echo $remoteControl ? 'send_to_local' : 'send_to_remote';
    ?>
"><span>&nbsp;</span></span></p>
		<ul class="sample">
			<?php 
    // Display list item with file data
    $this->view('default', 'selected')->set('skip', false)->set('file', $this->file)->set('action', 'share')->set('multi', 'multi')->display();
    ?>
		</ul>
		<?php 
    if ($remoteControl) {
        $ext = $this->file->get('ext');
        if ($this->file->get('originalPath')) {
            $ext = \Components\Projects\Helpers\Google::getImportExt($this->file->get('originalPath'));
        }
        $formats = \Components\Projects\Helpers\Google::getGoogleConversionFormat($this->file->get('mimeType'), false, false, true, $ext);
        $first = isset($formats[$ext]) ? 0 : 1;
        if (!empty($formats)) {
            ?>
				<h4><?php 
            echo Lang::txt('PLG_PROJECTS_FILES_SHARING_CHOOSE_CONVERSION_FORMAT');
            ?>
</h4>
				<div class="sharing-option-extra">
			<?php 
            $i = 0;
            foreach ($formats as $key => $value) {
                ?>
				<label <?php