当前位置: 首页>>代码示例>>PHP>>正文


PHP Jot::uploader方法代码示例

本文整理汇总了PHP中Jot::uploader方法的典型用法代码示例。如果您正苦于以下问题:PHP Jot::uploader方法的具体用法?PHP Jot::uploader怎么用?PHP Jot::uploader使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Jot的用法示例。


在下文中一共展示了Jot::uploader方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

</h3>
      <?php 
$destinations = array(Jot::icon('file-text') . ' ' . $speak->article => ARTICLE, Jot::icon('file') . ' ' . $speak->page => PAGE, Jot::icon('magnet') . ' ' . $speak->extend => EXTEND, Jot::icon('comments') . ' ' . $speak->comment => COMMENT, Jot::icon('cogs') . ' ' . $speak->config => STATE, Jot::icon('briefcase') . ' ' . $speak->asset => ASSET, Jot::icon('shield') . ' ' . $speak->shield => SHIELD, Jot::icon('plug') . ' ' . $speak->plugin => PLUGIN);
?>
      <?php 
foreach ($destinations as $title => $destination) {
    ?>
      <div class="media no-capture">
        <h4 class="media-title"><?php 
    echo $title;
    ?>
</h4>
        <div class="media-content">
          <p><code><?php 
    echo $destination;
    ?>
</code></p>
          <?php 
    echo Jot::uploader($config->manager->slug . '/backup', 'zip', array('destination' => $destination, 'title' => trim(strip_tags($title))));
    ?>
        </div>
      </div>
      <?php 
}
?>
    </div>
    <?php 
Weapon::fire('tab_content_after', $hooks);
?>
  </div>
</div>
开发者ID:yiannisSt,项目名称:mecha-cms,代码行数:31,代码来源:cargo.backup.php

示例2:

?>
</h3>
          <div class="about-content"><?php 
echo $page->content;
?>
</div>
        </div>
      </div>
    </div>
    <div class="tab-content hidden" id="tab-content-2">
      <h3><?php 
echo Config::speak('manager.title__upload_package', $speak->shield);
?>
</h3>
      <?php 
echo Jot::uploader($config->manager->slug . '/shield', 'zip');
?>
      <hr>
      <?php 
echo Guardian::wizard($segment);
?>
    </div>
    <?php 
if (count($folders) > 1) {
    ?>
    <div class="tab-content hidden" id="tab-content-3">
      <h3><?php 
    echo Config::speak('manager.title_your_', $speak->shields);
    ?>
</h3>
      <?php 
开发者ID:AdeHaze,项目名称:mecha-cms,代码行数:31,代码来源:cargo.shield.php

示例3:

    <form class="form-ignite form-asset" id="form-ignite" action="<?php 
echo $config->url . '/' . $c_url . $q;
?>
" method="post">
      <p><code><?php 
echo ASSET . DS . ($q_path ? File::path($q_path) . DS : "");
?>
 &hellip;</code></p>
      <p><?php 
echo Form::text('folder', Guardian::wayback('folder'), $speak->manager->placeholder_folder_name) . ' ' . Jot::button('construct', $speak->create);
?>
</p>
      <p><?php 
echo Form::checkbox('redirect', 1, Request::method('get') ? true : Guardian::wayback('redirect', false), Config::speak('manager.description_redirect_to_', $speak->folder));
?>
</p>
      <?php 
echo Form::hidden('token', $token);
?>
    </form>
  </div>
  <div class="tab-content hidden" id="tab-content-3">
    <h3><?php 
echo Config::speak('manager.title__upload_alt', $speak->asset);
?>
</h3>
    <?php 
echo Jot::uploader($c_url . $q);
?>
  </div>
</div>
开发者ID:razordaze,项目名称:mecha-cms,代码行数:31,代码来源:cargo.asset.php

示例4: strtolower

    include __DIR__ . DS . 'unit' . DS . 'pager' . DS . 'step.php';
    ?>
      <?php 
} else {
    ?>
      <p><?php 
    echo Config::speak('notify_' . (Request::get('id') || $config->offset === 1 ? 'empty' : 'error_not_found'), strtolower($speak->plugins));
    ?>
</p>
      <?php 
}
?>
    </div>
    <div class="tab-content hidden" id="tab-content-2">
      <h3><?php 
echo Config::speak('manager.title__upload_package', $speak->plugin);
?>
</h3>
      <?php 
echo Jot::uploader($config->manager->slug . '/plugin', 'zip');
?>
      <hr>
      <?php 
echo Guardian::wizard($segment);
?>
    </div>
    <?php 
Weapon::fire('tab_content_after', $hooks);
?>
  </div>
</div>
开发者ID:yiannisSt,项目名称:mecha-cms,代码行数:31,代码来源:cargo.plugin.php

示例5: implode

        <p><?php 
echo Form::checkbox('redirect', 1, Request::method('get') ? true : Guardian::wayback('redirect', false), Config::speak('manager.description_redirect_to_', $speak->folder));
?>
</p>
        <?php 
echo Form::hidden('token', $token);
?>
      </form>
    </div>
    <div class="tab-content hidden" id="tab-content-3">
      <h3><?php 
echo Config::speak('manager.title__upload_alt', $speak->asset);
?>
</h3>
      <?php 
echo Jot::uploader($asset_url . $q_path_);
?>
      <p><strong><?php 
echo $speak->accepted;
?>
:</strong> <code>*.<?php 
$e = File::$config['file_extension_allow'];
sort($e);
echo implode('</code>, <code>*.', $e);
?>
</code></p>
    </div>
    <?php 
Weapon::fire('tab_content_after', $hooks);
?>
  </div>
开发者ID:yiannisSt,项目名称:mecha-cms,代码行数:31,代码来源:cargo.asset.php


注:本文中的Jot::uploader方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。