本文整理汇总了PHP中message::edit_mode方法的典型用法代码示例。如果您正苦于以下问题:PHP message::edit_mode方法的具体用法?PHP message::edit_mode怎么用?PHP message::edit_mode使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类message
的用法示例。
在下文中一共展示了message::edit_mode方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: redirecina
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
// PARTICULAR PURPOSE. See the ProEthos License for more details.
//
// You should have received a copy of the ProEthos License along with the ProEthos
// Software. If not, see
// https://raw.githubusercontent.com/bireme/proethos/master/LICENSE.txt
/**
* Admin Menu
* @author Rene Faustino Gabriel Junior (Analista-Desenvolvedor)
* @copyright © Pan American Health Organization, 2013. All rights reserved.
* @access public
* @version v0.13.46
* @package ProEthos-Admin
* @subpackage Messages
*/
require "cab.php";
/* Admin Common */
$ok = ($perfil->valid('#ADM') or $perfil->valid('#SCR') or $perfil->valid('#COO'));
if ($ok == 0) {
redirecina('main.php');
}
$mess = new message();
$edit_mode = 0;
echo '<META HTTP-EQUIV=Refresh CONTENT="4; URL=admin.php">';
if ($perfil->valid('#ADM') or $perfil->valid('#MAS')) {
$rs = $mess->edit_mode($dd[1]);
echo '<H2>' . msg($rs) . '</H2>';
$_SESSION['editmode'] = $dd[1];
}
echo '</div>';
echo $hd->foot();