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


PHP UI::actions方法代码示例

本文整理汇总了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();
开发者ID:ZerGabriel,项目名称:cms-1,代码行数:19,代码来源:edit.php

示例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();
开发者ID:kodicms,项目名称:core,代码行数:31,代码来源:edit.php

示例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();
开发者ID:ZerGabriel,项目名称:cms-1,代码行数:19,代码来源:settings.php

示例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 
}
开发者ID:ZerGabriel,项目名称:cms-1,代码行数:31,代码来源:edit.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();
开发者ID:ortodesign,项目名称:cms,代码行数:31,代码来源:edit.php

示例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();
开发者ID:ZerGabriel,项目名称:cms-1,代码行数:31,代码来源:edit.php


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