当前位置: 首页>>代码示例>>PHP>>正文


PHP form_remote_tag函数代码示例

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


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


注:本文中的form_remote_tag函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。