本文整理汇总了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>
示例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
示例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 : "");
?>
…</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>
示例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>
示例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>