���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhcannedmsg/newreplace.php
���ѧ٧ѧ�
<?php $tpl = erLhcoreClassTemplate::getInstance( 'lhcannedmsg/newreplace.tpl.php'); $item = new erLhcoreClassModelCannedMsgReplace(); $userDepartments = true; if ( isset($_POST['Cancel_action']) ) { erLhcoreClassModule::redirect('cannedmsg/listreplace'); exit; } if (isset($_POST['Save_action']) || isset($_POST['Update_action'])) { if (!isset($_POST['csfr_token']) || !$currentUser->validateCSFRToken($_POST['csfr_token'])) { erLhcoreClassModule::redirect('cannedmsg/listreplace'); exit; } $Errors = erLhcoreClassAdminChatValidatorHelper::validateReplaceVariable($item); if (count($Errors) == 0) { $item->saveThis(); if (isset($_POST['Update_action'])) { erLhcoreClassModule::redirect('cannedmsg/editreplace','/' . $item->id); } else { erLhcoreClassModule::redirect('cannedmsg/listreplace'); } exit; } else { $tpl->set('errors',$Errors); } } $tpl->set('item',$item); $Result['content'] = $tpl->fetch(); $Result['additional_footer_js'] = '<script src="'.erLhcoreClassDesign::designJS('js/angular.lhc.replacegenerator.js').'"></script>'; $Result['require_angular'] = true; $Result['path'] = array( array('url' => erLhcoreClassDesign::baseurl('system/configuration'),'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/new','System configuration')), array('url' => erLhcoreClassDesign::baseurl('cannedmsg/listreplace'),'title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/departments','Replaceable variables')), array('title' => erTranslationClassLhTranslation::getInstance()->getTranslation('department/new','New')), ) ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�