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


PHP aql::form方法代码示例

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


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

示例1: array

<?php

$model = 'blog_article';
$blog_article = aql::profile($model, IDE);
$primary_table = aql::get_primary_table($model);
$blog_article_id = $blog_article['blog_article_id'];
$blog_article_ide = $blog_article['blog_article_ide'];
$title = $blog_article['title'] ? $blog_article['title'] : 'Write A New Post';
$head_arr[] = "<script src = '/lib/swfupload/swfupload.js' type = 'text/javascript'></script>";
$head_arr[] = "<script src = '/modules/media/upload/handlers.js' type = 'text/javascript'></script>";
$head_arr[] = "<link type='text/css' rel='stylesheet' href='/modules/media/upload/progress.css' />";
template::inc('intranet', 'top');
?>
	<div id = "back_to_blogs"><a href = "/admin/blog/post/">&laquo; Back to Blog Posts</a></div>
<?php 
//$theme_ab1 = "undo,redo,|,bold,italic,underline,strikethrough,forecolor,backcolor,|,justifyleft,justifycenter,justifyright,justifyfull,fontselect,fontsizeselect,styleselect";
//$theme_ab2 = "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,sub,sup,charmap,|,link,unlink,anchor,image,cleanup,help,|,code,|,removeformat,|,fullscreen,|,preview";
$theme_ab1 = "undo,redo,|,bold,italic,underline,strikethrough,forecolor,backcolor,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect";
$theme_ab2 = "cut,copy,paste,pastetext,pasteword,|,outdent,indent,blockquote,|,sub,sup,charmap,|,link,unlink,image,cleanup,|,code,|,removeformat,|,fullscreen,|,hr";
if (!$css_blog_editor) {
    $css_blog_editor = '/css/blog.css';
}
$options_article = array('resizing' => false, 'full_url' => $blog_img_absolute ? true : false, 'theme' => 'advanced', 'multi_buttons' => true, 'theme_ab1' => $theme_ab1, 'theme_ab2' => $theme_ab2, 'theme_ab3' => "", 'theme_ab4' => "", 'width' => '675', 'height' => '520', 'css' => $css_blog_editor);
$theme_ab1_notes = "bold,italic,underline,strikethrough,forecolor,backcolor,hr";
$options_notes = array('resizing' => true, 'theme' => 'advanced', 'multi_buttons' => true, 'theme_ab1' => $theme_ab1_notes, 'theme_ab2' => '', 'theme_ab3' => "", 'theme_ab4' => "", 'height' => '120', 'width' => '257');
$settings = array('article-content' => $options_article, 'note' => $options_notes);
helper::tinymce($settings);
aql::form($model);
template::inc('intranet', 'bottom');
开发者ID:hshoghi,项目名称:cms,代码行数:29,代码来源:post-profile.php

示例2:

        if (!$bad['success']) {
            $disable_slony = true;
            if ($bad['success'] === false) {
                echo "Unable to determine Slony-I installation status on {$bad['host']} for reason \"{$bad['error']}\" <br />";
            } else {
                echo "Slony-I is not installed on {$bad['host']}.  <br />";
            }
        }
    }
}
?>
</div><?php 
if (!in_array('ssh2', get_loaded_extensions())) {
    echo "You are using phpseclib to make your ssh connections.  It is recommended you install the libssh2 php extension, which is 10 times faster.<br />";
}
aql::form('slony_cluster');
if (!$disable_slony) {
    if (!$slony_cluster_id) {
        /*
           <input type="button" value="Save" onclick="confirm_warning()?function(){new_cluster=false;save_form('<?=$model?>',null,null,function(){location.href='/dev/slony';});}():null;" /> */
        ?>
   <input type="button" value="Save" onclick="save_form('<?php 
        echo $model;
        ?>
',null,null,function(){location.href='/dev/slony';});" />
   <?php 
    } else {
        ?>
   <input type="button" id='button_uninstall' value="Uninstall" onclick="confirm('This action will stop all replication and remove all cluster configurations.  This can not be undone.\n\nClick OK to continue.')?ajax_uninstall():null;" />
   <?php 
    }
开发者ID:hshoghi,项目名称:cms,代码行数:31,代码来源:slony-profile.php

示例3:

<?php

$person_ide = $_POST['pide'];
$form_id = $_POST['fid'];
if ($_GET['debug']) {
    $person_ide = $_GET['pide'];
    $form_id = $_GET['fid'];
}
if (!($person_ide && ($form_id || $form_id == 0))) {
    echo "<!--failure-->";
    //  die();
}
?>
<!--success-->
<?php 
aql::form('blog_author');
?>
<input class='blog_author_form_save_button_new' type="button" value="Save" onclick="save_button(false,'blog_author_form_<?php 
echo $form_id;
?>
','blog_author');" />
开发者ID:hshoghi,项目名称:cms,代码行数:21,代码来源:add_new_assignment.php

示例4:

<?php

$title = "My Profile";
template::inc('intranet', 'top');
?>
<div class = "has-floats">
	<div class = "float-right blog_listing">
		<div class = "content_listing">
<?php 
aql::form('blog_author_personal');
?>
	
			<div class = "has-floats">
				<div class = "float-left">
					<input value = "Save" type = "button" onclick = "tinyMCE.triggerSave(); save_form('blog_author_personal')"/>
				</div>
			</div>	
		</div>
	</div>
	<div class = "left_nav">
<?php 
include 'pages/admin/blog/left-nav/left-nav.php';
?>
	</div>
</div>

<?php 
template::inc('intranet', 'bottom');
开发者ID:hshoghi,项目名称:cms,代码行数:28,代码来源:myprofile.php

示例5:

}
template::inc('intranet', 'top');
?>

<div>
    <div>
        <a href = "/admin/blog/blogs">Back to blog listing</a>
    </div>
    <br />
    <br />
    <fieldset><legend>Blog</legend>
    <div>

    <div id='blog_form_message'></div>
    <?php 
aql::form('blog');
?>
    <div class = "has-floats">
        <div class = "float-left">
            <input type = "button" value = "Save" onclick = "tinyMCE.triggerSave(); save_primary_profile('blog_form','blog')" />
        </div>
    </div>
</div>

<?php 
if (is_numeric($blog_id)) {
    ?>

<hr />
Logo for light background:
<div>
开发者ID:hshoghi,项目名称:cms,代码行数:31,代码来源:blogs-profile.php

示例6: decrypt

<?php

$model = 'slony_node';
$slony_node = aql::profile($model, IDE);
$primary_table = aql::get_primary_table($model);
$slony_node_ide = IDE;
$slony_node_id = decrypt($slony_node_ide, $model);
$slony_node_prof = aql::profile($model, $slony_node_id);
$title = "Slony Node Definition";
template::inc('intranet', 'top');
?>
<fieldset><legend>Node Profile</legend>
<?php 
aql::form('slony_node');
?>

   <input type="button" value="Save" onclick="save_form('<?php 
echo $model;
?>
'<?php 
echo slony::cluster_defined() ? ",null,null" : "";
?>
 );" />
<?php 
if (!slony::cluster_defined()) {
    ?>
   <input type="button" value="Save and Define Another Node" onclick="save_form('<?php 
    echo $model;
    ?>
',null,null,function(){location.href='/dev/slony/node/add-new';});" />
   <input type="button" value="Save and Continue to Next Step" onclick="save_form('<?php 
开发者ID:hshoghi,项目名称:cms,代码行数:31,代码来源:node-profile.php


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