本文整理匯總了PHP中Guardian::wayback方法的典型用法代碼示例。如果您正苦於以下問題:PHP Guardian::wayback方法的具體用法?PHP Guardian::wayback怎麽用?PHP Guardian::wayback使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Guardian
的用法示例。
在下文中一共展示了Guardian::wayback方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->content;
?>
</span>
<span class="grid span-5">
<?php
echo Form::textarea('content', Guardian::wayback('content', $default->content_raw), $speak->manager->placeholder_content, array('class' => array('textarea-block', 'textarea-expand', 'MTE', 'code'), 'data-MTE-config' => '{"toolbar":true,"shortcut":true}'));
?>
</span>
</label>
<div class="grid-group">
<span class="grid span-1 form-label"></span>
<span class="grid span-5"><?php
echo Form::checkbox('content_type', HTML_PARSER, Guardian::wayback('content_type', $default->content_type) === HTML_PARSER, $speak->manager->title_html_parser);
?>
</span>
</div>
示例2: array
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->key;
?>
</span>
<span class="grid span-5">
<?php
echo Form::text('key', Request::get('key', Guardian::wayback('key', $page->key_raw)), null, array('class' => 'input-block'));
?>
</span>
</label>
示例3:
echo Form::hidden('token', $token);
?>
<?php
Weapon::fire('comment_form_input_before', $hooks);
?>
<?php
Shield::chunk('comment.form.name');
?>
<?php
Shield::chunk('comment.form.email');
?>
<?php
Shield::chunk('comment.form.url');
?>
<?php
echo Form::hidden('parent', Guardian::wayback('parent'));
?>
<?php
Weapon::fire('comment_form_input_after', $hooks);
?>
<?php
Weapon::fire('comment_form_textarea_before', $hooks);
?>
<?php
Shield::chunk('comment.form.message');
?>
<?php
Weapon::fire('comment_form_textarea_after', $hooks);
?>
<?php
Shield::chunk('comment.form.math');
示例4: array
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->email;
?>
</span>
<span class="grid span-5"><?php
echo Form::email('email', Guardian::wayback('email'), null, array('class' => 'input-block'));
?>
</span>
</label>
示例5: array
<p>
<?php
echo Form::textarea('content', Guardian::wayback('content', $the_content), $speak->manager->placeholder_content, array('class' => array('textarea-block', 'textarea-expand', 'code'), 'data-MTE-config' => '{"tabSize":"' . (isset($editor_tab_size) ? $editor_tab_size : TAB) . '"}'));
?>
</p>
<p>
<?php
if (isset($action_update) && $action_update !== false) {
?>
<?php
echo Jot::button('action', $speak->update);
?>
<?php
}
?>
<?php
if (isset($action_create) && $action_create !== false) {
?>
<?php
echo Jot::button('construct', $speak->create);
?>
<?php
}
?>
<?php
if (isset($path_destruct) && $path_destruct !== false) {
?>
<?php
echo Jot::btn('destruct', $speak->delete, $path_destruct);
?>
<?php
示例6:
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->author;
?>
</span>
<span class="grid span-5">
<?php
if (Guardian::happy(1)) {
?>
<?php
echo Form::text('author', Request::get('author', Guardian::wayback('author', $page->author_raw)));
?>
<?php
} else {
?>
<?php
echo Form::hidden('author', $page->author_raw);
?>
<span class="form-static"><?php
echo Jot::icon('lock') . ' ' . $page->author_raw;
?>
</span>
<?php
}
?>
</span>
</label>
示例7: array
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->manager->title_css_custom;
?>
</span>
<span class="grid span-5">
<?php
echo Form::textarea('css', Request::get('css', Guardian::wayback('css', $page->css_raw)), $speak->manager->placeholder_css_custom, array('class' => array('textarea-block', 'textarea-expand', 'code')));
?>
</span>
</label>
示例8: array
echo Form::text('username', Guardian::wayback('username'), null, array('autocomplete' => 'off'));
?>
</span>
</label>
<label class="grid-group">
<span class="grid span-2 form-label"><?php
echo $speak->password;
?>
</span>
<span class="grid span-4">
<?php
echo Form::password('password', null, null, array('autocomplete' => 'off'));
?>
</span>
</label>
<?php
echo Form::hidden('kick', Request::get('kick', Guardian::wayback('url_origin', $config->manager->slug . '/article')));
?>
<div class="grid-group">
<span class="grid span-2"></span>
<span class="grid span-4">
<?php
echo Form::button(Cell::i("", array('class' => array('fa', 'fa-key'))) . ' ' . $speak->login, null, null, null, array('class' => array('btn', 'btn-action')));
?>
</span>
</div>
</form>
<script>document.getElementById('form-login:<?php
echo $form_id;
?>
').username.focus();</script>
示例9: array
$path = File::url($path);
?>
<?php
if ($is_text && $content !== false) {
?>
<p>
<?php
echo Form::textarea('content', Request::get('content', Guardian::wayback('content', $content)), $speak->manager->placeholder_content, array('class' => array('textarea-block', 'textarea-expand', 'code')));
?>
</p>
<?php
}
?>
<p>
<?php
echo Form::text('name', Request::get('name', Guardian::wayback('name', $path)), $speak->manager->placeholder_file_name);
?>
<?php
Weapon::fire('action_before', $hooks);
?>
<?php
echo Jot::button('action', $is_text ? $speak->update : $speak->rename);
?>
<?php
echo Jot::btn('destruct', $speak->delete, $config->manager->slug . '/asset/kill/file:' . $path);
?>
<?php
Weapon::fire('action_after', $hooks);
?>
</p>
</form>
示例10: array
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->url;
?>
</span>
<span class="grid span-5">
<?php
$url = Request::get('url', Guardian::wayback('url', $page->url_raw));
?>
<?php
echo Form::url('url', $url !== '#' ? $url : "", null, array('class' => 'input-block'));
?>
</span>
</label>
示例11:
<?php
echo Form::hidden('date', Guardian::wayback('date', $default->date->W3C));
?>
<?php
if (Guardian::wayback('state', $default->state) === 'published') {
?>
<?php
echo Jot::button('action', $speak->update, 'action:publish');
?>
<?php
echo Jot::button('action:history', $speak->unpublish, 'action:save');
?>
<?php
} else {
?>
<?php
echo Jot::button('construct', $speak->publish, 'action:publish');
?>
<?php
echo Jot::button('action:clock-o', $speak->save, 'action:save');
?>
<?php
}
?>
<?php
echo Jot::btn('destruct', $speak->delete, $config->manager->slug . '/' . $segment . '/kill/id:' . Guardian::wayback('id', $default->id));
?>
<?php
}
?>
</p>
示例12: strtolower
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->description;
?>
</span>
<span class="grid span-5">
<?php
echo Form::textarea('description', Request::get('description', Guardian::wayback('description', $page->description_raw)), Config::speak('manager.placeholder_description_', strtolower($speak->{$segment})), array('class' => 'textarea-block'));
?>
</span>
</label>
示例13: str_replace
?>
" action="<?php
echo $config->url_current . str_replace('&', '&', $config->url_query);
?>
" method="post">
<?php
echo Form::hidden('token', $token);
?>
<p>
<?php
echo Form::textarea('content', Request::get('content', Guardian::wayback('content', $content !== false ? $content : "")), $speak->manager->placeholder_content, array('class' => array('textarea-block', 'textarea-expand', 'code')));
?>
</p>
<p>
<?php
echo Form::text('name', Request::get('name', Guardian::wayback('name', $path !== false ? File::url($path) : "")), $speak->manager->placeholder_file_name);
?>
<?php
if (strpos($config->url_path, '/repair/file:') === false) {
?>
<?php
Weapon::fire('action_before', $hooks);
?>
<?php
echo Jot::button('construct', $speak->create);
?>
<?php
} else {
?>
<?php
echo Jot::button('action', $speak->update);
示例14:
<label class="grid-group">
<span class="grid span-1 form-label"><?php
echo $speak->type;
?>
</span>
<span class="grid span-5">
<?php
$cache = Request::get('type', Guardian::wayback('type', $page->type_raw));
echo Form::select('type', $types, $cache);
?>
</span>
</label>
示例15:
</p>
<?php
}
?>
<p>
<?php
if ($e === 'cache') {
?>
<?php
echo Form::hidden('name', File::url($the_name));
?>
<?php
} else {
?>
<?php
echo Form::text('name', Guardian::wayback('name', File::url($the_name)), $speak->manager->placeholder_file_name);
?>
<?php
}
?>
<?php
if (strpos($config->url_path, '/repair/file:') === false) {
?>
<?php
echo Jot::button('construct', $speak->create);
?>
<?php
} else {
?>
<?php
echo Jot::button('action', $is_text ? $speak->update : $speak->rename);