本文整理汇总了PHP中UI::actions方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::actions方法的具体用法?PHP UI::actions怎么用?PHP UI::actions使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI::actions方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
echo Form::open(Request::current()->uri(), array('class' => 'form-horizontal panel'));
?>
<?php
echo Form::hidden('ds_id', $ds->id());
?>
<?php
echo View::factory('datasource/section/information_form', array('users' => $users, 'ds' => $ds));
?>
<div class="form-actions panel-footer">
<?php
echo UI::actions(NULL, Datasource_Section::uri());
?>
</div>
<?php
echo Form::close();
示例2: array
<?php
echo UI::button(__('File manager'), array('class' => 'btn-filemanager btn-flat btn-info btn-sm', 'data-el' => 'textarea_content', 'icon' => UI::icon('folder-open'), 'data-hotkeys' => 'ctrl+m'));
?>
</div>
<?php
}
?>
</div>
<?php
echo Form::textarea('content', $layout->content, array('class' => 'form-control', 'id' => 'textarea_content', 'data-height' => 600, 'data-readonly' => (!$layout->is_exists() or $layout->is_exists() and $layout->is_writable()) ? 'off' : 'on'));
?>
<?php
if ($layout->is_exists() and !$layout->is_writable()) {
?>
<div class="panel-default alert alert-danger alert-dark no-margin-b">
<?php
echo __('File is not writable');
?>
</div>
<?php
} elseif (ACL::check('layout.edit')) {
?>
<div class="form-actions panel-footer">
<?php
echo UI::actions($page_name);
?>
</div>
<?php
}
echo Form::close();
示例3: array
<?php
echo Form::open(NULL, array('class' => Form::HORIZONTAL));
?>
<?php
echo Form::hidden('token', Security::token());
?>
<div class="panel">
<?php
echo $content;
?>
<div class="form-actions panel-footer">
<?php
echo UI::actions('plugins');
?>
</div>
</div>
<?php
echo Form::close();
示例4: foreach
?>
<div class="panel-body">
<?php
foreach ($fields as $key => $field) {
?>
<?php
echo $field->backend_template($document);
?>
<?php
}
?>
</div>
<?php
}
?>
<?php
if ($document->has_access_change()) {
?>
<div class="form-actions panel-footer">
<?php
echo UI::actions(TRUE, Route::get('datasources')->uri(array('controller' => 'data', 'directory' => 'datasources')) . URL::query(array('ds_id' => $datasource->id()), FALSE));
?>
</div>
<?php
echo Form::close();
} else {
?>
</div>
<?php
}
示例5: catch
} catch (Exception $e) {
}
?>
<hr class="panel-wide" />
<?php
if ($field->is_required()) {
?>
<?php
echo View::factory('datasource/hybrid/field/edit/system_isreq', array('field' => $field, 'post_data' => $post_data));
?>
<?php
}
?>
<?php
echo View::factory('datasource/hybrid/field/edit/system_hint', array('field' => $field, 'post_data' => $post_data));
?>
<?php
echo View::factory('datasource/hybrid/field/edit/system_position', array('field' => $field, 'post_data' => $post_data));
?>
</div>
<div class="panel-footer form-actions">
<?php
echo UI::actions(NULL, Route::get('datasources')->uri(array('controller' => 'section', 'directory' => 'datasources', 'action' => 'edit', 'id' => $ds->id())));
?>
</div>
<?php
echo Form::close();
示例6: __
<div class="form-group">
<label class="control-label col-md-3" for="search_index_fields"><?php
echo __('Index document fields');
?>
</label>
<div class="col-md-9">
<?php
echo Form::select('search_index_fields[]', $ds->record_fields_array(), (array) $ds->search_index_fields);
?>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3" for="search_index_doc_id_fields"><?php
echo __('Document ID fields');
?>
</label>
<div class="col-md-9">
<?php
echo Form::select('search_index_doc_id_fields[]', $ds->record_fields_array(), (array) $ds->search_index_doc_id_fields);
?>
</div>
</div>
</div>
<div class="form-actions panel-footer">
<?php
echo UI::actions(NULL, Route::get('datasources')->uri(array('controller' => 'data', 'directory' => 'datasources')));
?>
</div>
<?php
echo Form::close();