• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP form_remote_tag函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中form_remote_tag函数的典型用法代码示例。如果您正苦于以下问题:PHP form_remote_tag函数的具体用法?PHP form_remote_tag怎么用?PHP form_remote_tag使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



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

示例1: sf_simple_cms_slot

function sf_simple_cms_slot($page, $slot, $default_text = null, $default_type = 'Text')
{
    $context = sfContext::getInstance();
    $request = $context->getRequest();
    $culture = $request->getAttribute('culture');
    $slot_object = $page->getSlot($slot, constant(sfConfig::get('app_sfSimpleCMS_escaping_strategy', 'ESC_RAW')));
    if (!$slot_object) {
        $slot_object = new sfSimpleCMSSlot();
        $slot_object->setType($default_type);
        $slot_object->setCulture($culture);
    }
    $slot_value = $slot_object->getValue();
    $slot_type_name = $slot_object->getType();
    $slot_type_class = 'sfSimpleCMSSlot' . $slot_type_name;
    $slot_type = new $slot_type_class();
    if ($request->getParameter('edit') == 'true' && !$request->getParameter('preview')) {
        echo '<div class="editable_slot" title="' . __('Double-click to edit') . '" id="slot_' . $slot . '" onDblClick="Element.show(\'edit_' . $slot . '\');Element.hide(\'slot_' . $slot . '\');">';
        if ($slot_value) {
            // Get slot value from the slot type object
            echo $slot_type->getSlotValue($slot_object);
        } else {
            // default text
            echo $default_text ? $default_text : sfConfig::get('app_sfSimpleCMS_default_text', __('[add text here]'));
        }
        echo '</div>';
        echo form_remote_tag(array('url' => 'sfSimpleCMS/updateSlot', 'script' => 'true', 'update' => 'slot_' . $slot, 'success' => 'Element.show(\'slot_' . $slot . '\');
                        Element.hide(\'edit_' . $slot . '\');
                       ' . visual_effect('highlight', 'slot_' . $slot)), array('class' => 'edit_slot', 'id' => 'edit_' . $slot, 'style' => 'display:none'));
        echo input_hidden_tag('slug', $page->getSlug(), 'id=edit_path' . $slot);
        echo input_hidden_tag('slot', $slot);
        if (sfConfig::get('app_sfSimpleCMS_use_l10n', false)) {
            echo input_hidden_tag('sf_culture', $slot_object->getCulture());
        }
        // Get slot editor from the slot type object
        echo $slot_type->getSlotEditor($slot_object);
        echo label_for('slot_type', __('Type: '));
        echo select_tag('slot_type', options_for_select(sfConfig::get('app_sfSimpleCMS_slot_types', array('Text' => __('Simple Text'), 'RichText' => __('Rich text'), 'Php' => __('PHP code'), 'Image' => __('Image'), 'Modular' => __('List of partials/components'))), $slot_type_name));
        if ($rich = sfConfig::get('app_sfSimpleCMS_rich_editing', false)) {
            // activate rich text if global rich_editing is true and is the current slot is RichText
            $rich = $slot_type_name == 'RichText';
        }
        echo submit_tag('update', array('onclick' => $rich ? 'tinymceDeactivate()' . ';submitForm(\'edit_' . $slot . '\'); return false' : '', 'class' => 'submit_tag'));
        echo button_to_function('cancel', 'Element.hide(\'edit_' . $slot . '\');Element.show(\'slot_' . $slot . '\');', 'class=submit_tag');
        echo '</form>';
    } else {
        echo $slot_type->getSlotValue($slot_object);
    }
}
开发者ID:net7,项目名称:Talia-CMS,代码行数:48,代码来源:sfSimpleCMSHelper.php


示例2: use_helper

<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'course_sched/updateTK', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "double_list_submit();this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Jadwal Kegiatan Harian')));
echo object_input_hidden_tag($course_schedule, 'getId');
echo input_hidden_tag('action_type', '');
?>
 
    <table class="form">
            <tr><td class="form" style="vertical-align: top; width:100%;">
                    <table class="form_content" width="100%;">
                            <tbody>
                                        <tr>
                                                <td class='first' width="20%" style="vertical-align:middle;"><label><?php 
echo __('Academic calendar');
?>
</label></td>
                                                <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
                                                <td class="first" style="vertical-align:middle;">
                                                        <?php 
echo object_select_tag($course_schedule, 'getAcademicCalendarId', array('related_class' => 'AcademicCalendar', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<br />
                                                        <?php 
echo form_error('academic_calendar_id');
?>
                                                </td> 
                                        </tr>

                                        <tr> 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editTKSuccess.php


示例3: use_helper

<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'course_sched/save', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');this.subject_list_ser.value=Form.serialize(subject_list);", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('CourseSchedule')));
echo object_input_hidden_tag($course_schedule, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('subject_list_ser');
?>
<table border="0" width="100%">
<tr>
	<td width="39%" valign="top">
	<!-- Course Schedule -->
	<table class="form">
	<tr><td class="form">
		<table class="form_content" width="100%">
			<tbody>
				<tr>
          				<td class='first' width="25%" style="vertical-align:top;"><label><?php 
echo __('Academic calendar');
?>
</label></td>
           				<td class="first" width="2%" style="text-align:center; vertical-align:top;">:</td>
					<td class="first" style="vertical-align:top;">
					<?php 
echo my_object_select_tag($course_schedule, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'peer_method' => 'doSelectFiltered'));
?>
            				<?php 
echo form_error('academic_calendar_id');
?>
            				</td>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:createSuccess.php


示例4: use_helper

<?php

use_helper('Object', 'myHelper');
echo include_partial('global/title', array('type' => 'list', 'title' => __('Location'), 'actions' => $actions, 'subtitle' => $sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''));
echo form_remote_tag(array('url' => 'location/list', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=location_list');
echo input_hidden_tag('sort');
$delete_error_msg = $sf_request->getError('location/delete');
if ($delete_error_msg != null) {
    $error_msg = '_ERR_DELETE_LINKED_DATA_ :';
    foreach ($sf_request->getErrors() as $err_key => $err_val) {
        if ($err_key == 'location/delete') {
            continue;
        }
        if (preg_match('/^location\\/delete\\/(.+)/', $err_key, $m)) {
            $error_msg .= '<br>- ' . __($m[1]) . " ({$err_val})";
        }
    }
    echo "<br>";
    include_partial('global/error', array('error_title' => $delete_error_msg, 'error_msg' => $error_msg));
}
?>
<table class="list">
<tr><td class="list">
		<?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'Location'));
}
?>
		<table class="list_content">
			<thead>
				<tr>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php


示例5: include_partial

echo include_partial('parametros/mensajes');
?>


<?php 
include_partial('datos_edit_titulo', array('DefParametro' => $DefParametro, 'parametro' => $parametro, 'nuevo' => $nuevo));
?>

<?php 
if ($DefParametro->getCampoFichero() != "") {
    ?>

  <?php 
    echo form_tag('parametros/guardar_valor', array('ENCTYPE' => "multipart/form-data", 'method' => 'post', 'id' => 'formulario_guardar'));
} else {
    echo form_remote_tag(array('url' => 'parametros/guardar_valor', 'update' => 'datos_parametro', 'script' => 'true', 'complete' => enlaceACargarParametros($DefParametro)), 'id=formulario_guardar');
}
?>




<?php 
if ($DefParametro->getCampoNombre() != "") {
    ?>
<div class="form-row clear">  
  <?php 
    echo label_for('nombre', __($DefParametro->getCampoNombre()));
    ?>
  <div class="row-data">  
  <?php 
开发者ID:Esleelkartea,项目名称:legedia-ESLE,代码行数:31,代码来源:_datos_edit.php


示例6: use_helper

<?php

use_helper('Object', 'myHelper');
echo include_partial('global/title', array('type' => 'list', 'title' => __('AccalActivity'), 'actions' => $actions, 'subtitle' => '' . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'accal_activity/listByEmployee', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=accal_activity_list');
echo input_hidden_tag('sort');
?>
<table class="list">
<tr><td class="list">
		<?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'AccalActivity'));
}
?>
		<table class="list_content">
			<thead>
				<tr>
					<th >#</th>
					<th class='first'><?php 
echo submit_tag(__('Academic calendar') . ($sf_user->getAttribute('sort_field', null, 'accal_activity') == 'ACADEMIC_CALENDAR_ID' ? $sf_user->getAttribute('sort_type', null, 'accal_activity') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='ACADEMIC_CALENDAR_ID';"));
?>
</th>
					
                    <th><?php 
echo submit_tag(__('ActivityDate') . ($sf_user->getAttribute('sort_field', null, 'accal_activity') == 'START' ? $sf_user->getAttribute('sort_type', null, 'accal_activity') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='START';"));
?>
</th>
                    
					<th><?php 
echo submit_tag(__('ActivityLength') . ($sf_user->getAttribute('sort_field', null, 'accal_activity') == 'ACTIVITY_LENGTH' ? $sf_user->getAttribute('sort_type', null, 'accal_activity') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='ACTIVITY_LENGTH';"));
?>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listByEmployeeSuccess.php


示例7: use_helper

<?php

use_helper('Object', 'myHelper');
echo include_partial('global/tab', array('actions2' => $actions2));
echo include_partial('global/title', array('type' => 'list', 'title' => __('Reg Period Detail Schedule'), 'actions' => $actions, 'subtitle' => '' . ($sf_request->hasErrors() ? '' : '')));
echo form_remote_tag(array('url' => 'ng_reg_detail/listOther?id=' . $ng_reg_period->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=ng_reg_period_list');
echo input_hidden_tag('sort');
$delete_error_msg = $sf_request->getError('ng_reg_detail/deleteOther');
if ($delete_error_msg != null) {
    $error_msg = '_DELETE_CONFIRMATION_';
    foreach ($sf_request->getErrors() as $err_key => $err_val) {
        if ($err_key == 'ng_reg_detail/deleteOther') {
            continue;
        }
        if (preg_match('/^ng_reg_detail\\/deleteOther\\/(.+)/', $err_key, $m)) {
            $error_msg .= '<br>- ' . __($m[1]) . " ({$err_val})";
        }
    }
    echo "<br>";
    include_partial('global/error', array('error_title' => $error_msg, 'error_msg' => $delete_error_msg));
}
?>
<table class="list">
    <tr><td class="list">
            <?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'NgRegDetail'));
}
?>
            <table class="list_content">
                <thead>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listOtherSuccess.php


示例8: use_helper

<?php

use_helper('Object');
echo include_partial('global/title', array('type' => 'list', 'title' => __('MiddleRaport'), 'actions' => $actions, 'subtitle' => $student->toString() . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'student_score/listFromScore?student_id=' . $student->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=student_score_list');
echo input_hidden_tag('sort');
?>

<table class="list">
<tr><td class="list">
		<table class="list_content">
			<thead>
				<tr>
					<th rowspan="2" style="vertical-align: middle;">#</th>
					<th class='first' rowspan="2" style="vertical-align: middle;"><?php 
echo __('Subject');
?>
</th>
                    <th rowspan="2" style="vertical-align: middle;"><?php 
echo __('KKM');
?>
</th>
					<th colspan="5" align="center" style="text-align:center;" class="first"><?php 
echo __('Ulangan Harian');
?>
</th>
                	<th colspan="7" align="center" style="text-align:center;" class="first"><?php 
echo __('Tugas / PR');
?>
</th>
                    <th rowspan="2" style="vertical-align: middle; text-align:center;"><?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listFromScoreSuccess.php


示例9: use_helper

<?php

use_helper('Object');
echo include_partial('global/title', array('type' => 'list', 'title' => __('Rekap Pembayaran Formulir'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'ng_achievement_level/list', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=ng_achievement_level_list');
echo input_hidden_tag('sort');
$delete_error_msg = $sf_request->getError('ng_achievement_level/delete');
if ($delete_error_msg != null) {
    $error_msg = '_ERR_DELETE_LINKED_DATA_ :';
    foreach ($sf_request->getErrors() as $err_key => $err_val) {
        if ($err_key == 'ng_achievement_level/delete') {
            continue;
        }
        if (preg_match('/^ng_achievement_level\\/delete\\/(.+)/', $err_key, $m)) {
            $error_msg .= '<br>- ' . __($m[1]) . " ({$err_val})";
        }
    }
    echo "<br>";
    include_partial('global/error', array('error_title' => $delete_error_msg, 'error_msg' => $error_msg));
}
?>
<table class="list">
    <tr><td class="list">
            <?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'LocationCategory'));
}
?>
            <table class="list_content">
                <thead>
                    <tr>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php


示例10: use_helper

        <?php 
use_helper('Object', 'Validation', 'myHelper');
echo include_partial('global/title', array('type' => 'list', 'title' => __('Riwayat Penilaian'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'rpt_score/getSubject?academic_calendar_id=' . $academic_calendar->getId(), 'update' => 'subject_list', 'script' => 'true', 'before' => "this.blur();showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=course_list');
echo input_hidden_tag('sort');
?>
        <table class="list">
        <tr><td class="list" width="100%">
                        <?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'Course'));
}
?>
                        <table class="list_content" width="100%">
                                <thead>
                                        <tr>
                                                <th >#</th>					
                                                <th class='first'><?php 
echo __('Class group');
?>
</th>
                                                <th style="text-align: center; vertical-align: middle;" rowspan="2"><?php 
echo __('Wali Kelas');
?>
</th>
                                                <th style="text-align: center; vertical-align:middle;" rowspan="2"><?php 
echo __('Penilaian<br>Per Siswa');
?>
</th>
                                                <th style="text-align: center; vertical-align:middle;" rowspan="2"><?php 
echo __('Penilaian<br>Per Mata Pelajaran');
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:getSubjectSuccess.php


示例11: use_helper

                </table>
                <div class="tips">**) Pilih Anak yang akan dicetak</div>
        </td></tr>
        </table>
        </form>


        <table class="list">
        <tr>    
                <td class="list" valign="top" style="padding-top: 20px; padding-bottom: 10px; text-align: left;">
                        <div id='student_list' style="overflow: auto; width: 100%; height: 50em;border: 0px solid black;">

                        <?php 
use_helper('Object');
echo include_partial('global/title', array('type' => '', 'title' => 'Daftar Murid Kelas ' . $counseling->getClassGroup()->toString(), 'actions' => $actions3, 'subtitle' => __('_CHOICE_') . ': ' . link_to_function(__('_CHOICE_ALL_'), "\n                                                var fields = Form.getElements('student_list_form');\n                                                        fields.each( function(field){\n                                                        if (field.id == 'students') {\n                                                                field.checked = true;\n                                                        }\n                                                });\n                                                ", array('class' => 'black')) . ' &bull; ' . link_to_function(__('_CHOICE_NONE_'), "\n                                                        var fields = Form.getElements('student_list_form');\n                                                                fields.each( function(field){\n                                                                if (field.id == 'students') {\n                                                                        field.checked = false;\n                                                                }\n                                                        });\n                                                ", array('class' => 'black')) . ' &bull; ' . link_to_function(__('_CHOICE_REV_'), "\n                                                        var fields = Form.getElements('student_list_form');\n                                                                fields.each( function(field){\n                                                                if (field.id == 'students') {\n                                                                        field.checked = !field.checked;\n                                                                }\n                                                });\n                                                ", array('class' => 'black')) . ($sf_request->hasErrors() ? '<br><div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'employee_raport/listStuRaport?counseling_id=' . $counseling->getId() . '&accal_id=' . $academic_calendar->getId(), 'update' => 'student_list', 'script' => 'true', 'before' => "this.blur(); showIndicator('student_list', 'snakebig_black');", 'complete' => "hideIndicator()"), array('name' => 'student_list_form', 'id' => 'student_list_form'));
echo input_hidden_tag('sort');
?>
                        <table class="list">
                                <tr>
                                <td class="list">
                                        <table class="list_content">
                                                <thead>
                                                        <tr>
                                                                <th width="2%">#</th>
                                                                <th class='first'>
                                                                <?php 
echo submit_tag(__('_STUDENT_NUMBER_') . ($sf_user->getAttribute('sort_field', null, 'student') == 'CODE' ? $sf_user->getAttribute('sort_type', null, 'student') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='CODE';"));
?>
</th>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:listRaportSuccess.php


示例12: use_helper

<?php

use_helper('Object', 'Number');
echo include_partial('global/title', array('type' => 'list', 'title' => __('Detail Pembayaran SPP'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'history_spp/listDetail?class_group_id=' . $class_id . '&user_id=' . $user_id . '&paid_at=' . $paid_at . '&paid=' . $paid . '&accal_id=' . $accal_id, 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=history_spp_list');
echo input_hidden_tag('sort');
?>
<table class="list">
<tr><td class="list">
		<?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'HistorySpp'));
}
?>
		<table class="list_content">
			<thead>
				<tr>
					<th >#</th>
					<th class='first'>
					<?php 
echo submit_tag(__('No. Induk') . ($sf_user->getAttribute('sort_field', null, 'pay_history') == 'CODE' ? $sf_user->getAttribute('sort_type', null, 'pay_history') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='CODE';"));
?>
</th>
                                
					<th><?php 
echo submit_tag(__('Name') . ($sf_user->getAttribute('sort_field', null, 'pay_history') == 'STUDENT_ID' ? $sf_user->getAttribute('sort_type', null, 'pay_history') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='STUDENT_ID';"));
?>
</th>
                                        
					<th><?php 
echo submit_tag(__('Class group') . ($sf_user->getAttribute('sort_field', null, 'pay_history') == 'CLASS_GROUP_ID' ? $sf_user->getAttribute('sort_type', null, 'pay_history') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='CLASS_GROUP_ID';"));
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listDetailSuccess.php


示例13: use_helper

    <?php 
use_helper('Object');
echo form_remote_tag(array('url' => 'counseling_raport/saveScore', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=edit_form');
echo include_partial('global/title', array('type' => 'edit', 'title' => 'Penilaian Konseling', 'actions' => $actions, 'subtitle' => $student->toString() . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('student_id', $student->getId());
echo input_hidden_tag('academic_calendar_id', $academic_calendar->getId());
echo input_hidden_tag('counseling_id', $counseling->getId());
echo input_hidden_tag('student_accal_id', $stu_acc->getId());
?>

<table class="list">
<tr><td class="list">
	<table class="list_content" width="100%">		
    	<thead>
                                <tr>
                                          <th width="5%"><?php 
echo 'No';
?>
</th>
                                          <th ><?php 
echo __('Kategori Penilaian Konseling');
?>
</th>
                                          <th width="5%" style="padding: 10px 20px;"><?php 
echo __('S');
?>
</th>
                                          <th width="5%" style="padding: 10px 20px;"><?php 
echo __('PP');
?>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:getScoreSuccess.php


示例14: use_helper

    <?php 
use_helper('Object', 'Number');
echo include_partial('global/title4', array('type' => 'list', 'title' => __('Employee Childs'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'user_profile_l/listChilds?employee_id=' . $employee->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=employee_childs_list');
echo input_hidden_tag('sort');
$delete_error_msg = $sf_request->getError('user_profile_l/deleteChilds');
if ($delete_error_msg != null) {
    $error_msg = '_ERR_DELETE_LINKED_DATA_ :';
    foreach ($sf_request->getErrors() as $err_key => $err_val) {
        if ($err_key == 'user_profile_l/deleteChilds') {
            continue;
        }
        if (preg_match('/^user_profile_l\\/deleteChilds\\/(.+)/', $err_key, $m)) {
            $error_msg .= '<br>- ' . __($m[1]) . " ({$err_val})";
        }
    }
    echo "<br>";
    include_partial('global/error', array('error_title' => $delete_error_msg, 'error_msg' => $error_msg));
}
?>
    <table class="list">
    <tr><td class="list">
                    <?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'EmployeeChilds'));
}
?>
                    <table class="list_content">
                            <thead>
                                    <tr>
                                            <th >#</th>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listChildsSuccess.php


示例15: object_input_tag

#echo object_input_tag($subject_grading, 'getKkm', array ( 'size' => 5,'maxlength'=>5))
?>
			<?php 
#echo form_error('kkm')
?>
            </td>
		</tr-->
	</tbody>
	</table>
</td></tr>
</table>
</form>
<br /><br />
<?php 
echo include_partial('global/title', array('type' => 'list', 'title' => __('Kompetensi Dasar'), 'actions' => $actions2, 'subtitle' => $subject_curr->toString() . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'subject_grading/listCompetency2?subject_grading_id=' . $subject_grading->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=subject_grading_list');
echo input_hidden_tag('sort');
$delete_error_msg = $sf_request->getError('subject_grading/deleteCompetency');
if ($delete_error_msg != null) {
    $error_msg = '_ERR_DELETE_LINKED_DATA_ :';
    foreach ($sf_request->getErrors() as $err_key => $err_val) {
        if ($err_key == 'subject_grading/deleteCompetency') {
            continue;
        }
        if (preg_match('/^subject_grading\\/deleteCompetency\\/(.+)/', $err_key, $m)) {
            $error_msg .= '<br>- ' . __($m[1]) . " ({$err_val})";
        }
    }
    echo "<br>";
    include_partial('global/error', array('error_title' => $delete_error_msg, 'error_msg' => $error_msg));
}
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php


示例16: use_helper

<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'cur13_term/save', 'update' => 'subject_list', 'script' => 'true', 'before' => "this.blur();showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=edit_form');
echo include_partial('global/title', array('type' => $type, 'title' => __('Kompetensi Dasar'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo object_input_hidden_tag($cur13_term, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('accal_id', $academic_calendar->getId());
echo input_hidden_tag('class_group_id', $class_group->getId());
echo input_hidden_tag('subject_curr_id', $subject_curr->getId());
?>

<table class="form">
    <tr><td class="form">
            <table class="form_content" width="100%">
                <tbody>
					<tr>
                        <td class='first' width="23%" style="vertical-align:middle;"><label><?php 
echo __('Kode *');
?>
</label></td>
                        <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
                        <td class="first" style="vertical-align:middle;">
                            <?php 
echo object_input_tag($cur13_term, 'getCode', array('size' => 10, 'maxlength' => 10));
?>
<br />
                            <?php 
echo form_error('code');
?>
                        </td>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:addTermSuccess.php


示例17: use_helper

<?php

use_helper('Object');
echo include_partial('global/title', array('type' => 'list', 'title' => __('SubjectCurr'), 'actions' => $actions, 'subtitle' => $curr->toString() . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'subject_curr/list?curr_id=' . $curr->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=subject_curr_list');
echo input_hidden_tag('sort');
$delete_error_msg = $sf_request->getError('subject_curr/delete');
if ($delete_error_msg != null) {
    $error_msg = '_ERR_DELETE_LINKED_DATA_ :';
    foreach ($sf_request->getErrors() as $err_key => $err_val) {
        if ($err_key == 'subject_curr/delete') {
            continue;
        }
        if (preg_match('/^subject_curr\\/delete\\/(.+)/', $err_key, $m)) {
            $error_msg .= '<br>- ' . __($m[1]) . " ({$err_val})";
        }
    }
    echo "<br>";
    include_partial('global/error', array('error_title' => $delete_error_msg, 'error_msg' => $error_msg));
}
?>
<table class="list">
<tr><td class="list">
		<?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'SubjectCurr'));
}
?>
		<table class="list_content">
			<thead>
				<tr>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php


示例18: use_helper

<?php

use_helper('Object');
echo include_partial('global/title', array('type' => 'list', 'title' => __('Administrasi Nilai'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : '')));
echo form_remote_tag(array('url' => 'counseling_menu/listLedger?employee_id=' . $employee_id, 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=counseling_list');
echo input_hidden_tag('sort');
?>

<table class="list">
	<tr>
		<td class="list">
		<?php 
if ($pager->getNbResults() > 1) {
    echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'CounselingMenu'));
}
?>
		
		<table class="list_content">
			<thead>
				<tr>
					<th>#</th>
					<th class='first'>
					<?php 
echo submit_tag(__('Academic calendar') . ($sf_user->getAttribute('sort_field', null, 'counseling') == 'ACADEMIC_CALENDAR_ID' ? $sf_user->getAttribute('sort_type', null, 'counseling') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='ACADEMIC_CALENDAR_ID';"));
?>
</th>
                                       
                    			<th>
					<?php 
echo submit_tag(__('Class group') . ($sf_user->getAttribute('sort_field', null, 'counseling') == 'CLASS_GROUP_ID' ? $sf_user->getAttribute('sort_type', null, 'counseling') == 'asc' ? ' &darr;' : ' &uarr;' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='CLASS_GROUP_ID';"));
?>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listLedgerSuccess.php


示例19: image_tag

          </form>
          <div style="height:20px">
            <p id="indicator-<?php 
echo $task->getUuid();
?>
" style="display:none">
            	<?php 
echo image_tag('indicator.gif');
?>
 Assigning users...
            </p>
          </div>
          
          <div id="task-status-holder">
          <?php 
echo form_remote_tag(array('update' => 'task-' . $task->getUuid() . '-holder', 'url' => 'project/ajaxSetTaskStatus', 'loading' => "Element.show('indicator-" . $task->getUuid() . "-status')", 'complete' => "Element.hide('indicator-" . $task->getUuid() . "-status');" . visual_effect('highlight', 'task-' . $task->getUuid())));
?>
          		<?php 
echo input_hidden_tag('task', $task->getUuid(), array());
?>
          		<?php 
echo select_tag('task-status', options_for_select(array('2' => 'Pending/In Planning', '1' => 'In Progress', '0' => 'Complete'), $task->getStatus()));
?>
          		<?php 
echo submit_tag('go', array());
?>
          	</form>
          </div>
          <div style="height:20px">
            <p id="indicator-<?php 
echo $task->getUuid();
开发者ID:sgrove,项目名称:cothinker,代码行数:31,代码来源:_edit_task_users.php


示例20: array


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP form_reset函数代码示例发布时间:2022-05-15
下一篇:
PHP form_radio_button函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap