本文整理汇总了PHP中store_steps函数的典型用法代码示例。如果您正苦于以下问题:PHP store_steps函数的具体用法?PHP store_steps怎么用?PHP store_steps使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了store_steps函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: print_hidden
print_hidden(2);
echo '<p align="center"><input type="submit" class="button" value=" Next » " name="submit" /></p></form>';
return;
}
}
print_progress($step);
unset($_POST['submit']);
if (isset($progress)) {
print_feedback($progress);
}
if (isset($errors)) {
print_errors($errors);
}
echo '<form action="' . $_SERVER['PHP_SELF'] . '" method="post" name="form">
<input type="hidden" name="step" value="2" />';
store_steps(1);
print_hidden(2);
if ($found_lang) {
?>
<table width="60%" class="tableborder" cellspacing="0" cellpadding="1" border="0" align="center">
<tr>
<td colspan="2" class="row1"><p><small>All installed language packs and changes made to the default English language will be deleted. You will have to re-install any language packs by downloading the latest versions from ATutor.ca. Some language packs may not currently be available.</small></p></td>
</tr>
<tr>
<td class="row1"><small><b><label for="dir">Continue with the upgrade?</label></b></small></td>
<td class="row1" valign="middle" nowrap="nowrap"><input type="radio" name="override" value="1" id="c2" /><label for="c2">Yes, Continue</label>, <input type="radio" name="override" value="0" id="c1" checked="checked" /><label for="c1">No, Cancel</label></td>
</tr>
</table><br />
<?php
}
echo '<input type="hidden" name="db_login" value="' . urlencode($_POST['db_login']) . '" />';
开发者ID:genaromendezl,项目名称:ATutor,代码行数:31,代码来源:ustep2.php
示例2: unset
/* AContent */
/************************************************************************/
/* Copyright (c) 2010 */
/* Inclusive Design Institute */
/* */
/* This program is free software. You can redistribute it and/or */
/* modify it under the terms of the GNU General Public License */
/* as published by the Free Software Foundation. */
/************************************************************************/
if (!defined('TR_INCLUDE_PATH')) {
exit;
}
if (isset($_POST['submit'])) {
unset($_POST['submit']);
unset($action);
store_steps($step);
$step++;
return;
}
$file = '../include/config.inc.php';
unset($errors);
unset($progress);
if (file_exists($file)) {
@chmod($file, 0666);
if (!is_writeable($file)) {
$errors[] = '<strong>' . $file . '</strong> is not writeable. Use <kbd>chmod a+rw ' . $file . '</kbd> to change permissions.';
} else {
$progress[] = '<strong>' . $file . '</strong> is writeable.';
}
} else {
$errors[] = '<strong>' . $file . '</strong> does not exist.';
开发者ID:harriswong,项目名称:AContent,代码行数:31,代码来源:ustep5.php
示例3:
print_hidden(2);
print_post_for_step9($_POST);
echo '</form>';
return;
}
}
}
//Failed
if (isset($errors)) {
print_errors($errors);
}
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="post" name="form">
<input type="hidden" name="step" value="3" />';
store_steps(2);
print_hidden(3);
print_post_for_step9($_POST);
echo '<p align="center"><input type="submit" class="button" value=" Retry " name="submit" /></p></form>';
return;
/** ---------------------------------------------------------------------------
* Functions declaraion
* ---------------------------------------------------------------------------
*/
/**
* Runs through the database and get all the courses' titles and languages out
* @param table_prefix is the database table prefix
* @course_info is the array that stores the course_id->[charset, encoding] mapping.
*/
开发者ID:radiocontrolled,项目名称:ATutor,代码行数:31,代码来源:ustep7.php
注:本文中的store_steps函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论