���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhgroupchat/edit.php
���ѧ٧ѧ�
<?php $tpl = erLhcoreClassTemplate::getInstance('lhgroupchat/edit.tpl.php'); $item = erLhcoreClassModelGroupChat::fetch($Params['user_parameters']['id']); if (isset($_POST['Update_action']) || isset($_POST['Save_action']) ) { if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) { erLhcoreClassModule::redirect('groupchat/list'); exit; } $Errors = erLhcoreClassGroupChat::validateGroupChat($item); if (count($Errors) == 0) { $item->saveThis(); if (isset($_POST['Save_action'])) { erLhcoreClassModule::redirect('groupchat/list'); exit; } else { $tpl->set('updated',true); } } else { $tpl->set('errors',$Errors); } } $tpl->set('item',$item); $Result['content'] = $tpl->fetch(); $Result['path'] = array( array('url' => erLhcoreClassDesign::baseurl('system/configuration'),'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit','System configuration')), array('url' => erLhcoreClassDesign::baseurl('groupchat/list'),'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/departments','Group chats')), array('title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/edit','Edit a group chat').' - '.$item->name)); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�