Example #1
0
<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'course_sched/updateSchedule', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", '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 input_hidden_tag('course_schedule_id', $course_schedule->getId());
echo input_hidden_tag('course_id', $course_schedule->getId());
echo object_input_hidden_tag($cs_detail, 'getId');
echo input_hidden_tag('action_type', '');
?>

<table border="0" width="100%">
<tr>
	<td width="39%" valign="top">
	<!-- Detail Course Schedule -->
	<table class="detail" width="100%">
	<tr><td class="detail">
		<table class="detail_content" width="100%">
			<tbody>
            			<tr>
                			<td class='first' width="30%" style="vertical-align:middle;"><label ><?php 
echo __('Academic calendar');
?>
</label></td>
                			<td class="first" width="3%" style="text-align:center; vertical-align:middle;">:</td>
					<td class="first" style="vertical-align:middle;">
                    				<p class="detail" style="font-weight: bold;">
							<?php 
echo $course_schedule->getAcademicCalendarId() ? $course_schedule->getAcademicCalendar()->toString() : '-';
?>
</p>
Example #2
0
        <td style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
            <?php 
echo object_select_tag($catalog, 'getCatLanguageId', array('related_class' => 'CatLanguage'));
?>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:middle;"><label><?php 
echo __('Publisher');
?>
</label></td>
        <td style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
            <?php 
echo object_input_hidden_tag($catalog, 'getPublisherId');
if (isset($catalog) && $catalog->getId()) {
    echo input_auto_complete_tag('publisher_name', $catalog->getPublisherId() ? $catalog->getPublisher()->toString() : '', '/publisher/getList', array('size' => 70), array('after_update_element' => 'function(f, s) {$("publisher_id").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1));
} else {
    echo input_auto_complete_tag('publisher_name', null, '/publisher/getList', array('size' => 70), array('after_update_element' => 'function(f, s) {$("publisher_id").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1));
}
?>
        </td>
    </tr>	
    <tr>
        <td style="vertical-align:middle;"><label><?php 
echo __('Published year');
?>
</label></td>
        <td style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
Example #3
0
<?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>
Example #4
0
<?php

echo form_tag('historico_documentos/edit', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true));
?>

<?php 
echo object_input_hidden_tag($historico_documento, 'getIddocumento');
echo object_input_hidden_tag($historico_documento, 'getVersion');
?>

<fieldset id="sf_fieldset_none" class="">

<div class="form-row">
  <?php 
echo label_for('historico_documento[id_documento]', __($labels['historico_documento{id_documento}']), '');
?>
  <div class="content<?php 
if ($sf_request->hasError('historico_documento{id_documento}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('historico_documento{id_documento}')) {
    ?>
    <?php 
    echo form_error('historico_documento{id_documento}', array('class' => 'form-error-msg'));
    ?>
  <?php 
}
<div id="fake_div">
<?php 
use_helper('Ajax', 'Language', 'Form', 'MyForm', 'Object', 'Javascript', 'Link');
echo customization_nav('personal');
// handle non ajax error form
echo global_form_errors_tag();
echo c2c_form_remote_tag('@user_edit');
?>
  <div id="customize">
    <?php 
echo fieldset_tag('Current password');
echo __('Your current password is needed before modifying these properties');
echo group_tag('current_password', 'current_password', 'input_password_tag', null, array('class' => 'medium_input', 'autocomplete' => 'off'));
echo end_fieldset_tag();
echo fieldset_tag('Change your password');
echo object_input_hidden_tag($user_private_data, 'getId');
echo group_tag('new_password', 'password', 'input_password_tag', null, array('class' => 'medium_input'));
echo group_tag('Retype your password:'******'new_password', 'input_password_tag', null, array('class' => 'medium_input'));
echo end_fieldset_tag();
echo fieldset_tag('Manage your email');
echo object_group_tag($user_private_data, 'email', array('class' => 'medium_input', 'type' => 'email'));
echo end_fieldset_tag();
?>
    <div class="form-row">
    <?php 
echo fieldset_tag('Manage your private data');
?>
    <ul>
      <li><?php 
echo label_for('edit_topo_name', __('topoName_desc'), array('class' => 'fieldname', 'id' => '_topo_name')) . ' ' . input_tag('edit_topo_name', $user_private_data->get('topo_name'), array('class' => 'medium_input'));
?>
Example #6
0
<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'employee_email/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "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' => __('Inbox')));
echo object_input_hidden_tag($outbox_emp, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('employee_2', $employee_id);
?>

<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
    	<tr>
           <td class='first' width="20%" style="vertical-align:middle;"><label><?php 
echo __('Ditujukan Untuk');
?>
</label></td>
           <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td class="first" style="vertical-align:middle;">
		   <?php 
echo select_tag('toward', options_for_select(array('', PublicInformation::STUDENT => __('Siswa'), PublicInformation::EMPLOYEE => __('Guru')), ''));
echo observe_field('toward', array('url' => 'employee_email/loadAttributes', 'update' => 'email_attribute', 'script' => 'true', 'with' => "'toward='+\$('toward').value+'&id='+\$('id').value"));
?>
           </td>
        </tr>
        <tr>
			<td colspan="3" class="first">
				<div id="email_attribute">
					<?php 
Example #7
0
<?php 
echo form_tag('tablas/edit', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true, 'onsubmit' => 'double_list_submit(); return true;'));
?>

<?php 
echo object_input_hidden_tag($tabla, 'getIdTabla');
?>

<fieldset id="sf_fieldset_editable" class="">
<h2><?php 
echo __('Datos');
?>
</h2>

<div class="form-row">
  <?php 
echo label_for('tabla[nombre]', __($labels['tabla{nombre}']), 'class="required" ');
?>
  <div class="content<?php 
if ($sf_request->hasError('tabla{nombre}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('tabla{nombre}')) {
    ?>
    <?php 
    echo form_error('tabla{nombre}', array('class' => 'form-error-msg'));
Example #8
0
<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'subject_grading/update?subject_curr_id=' . $subject_curr->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", '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' => __('Standar Kompetensi')));
echo object_input_hidden_tag($subject_grading, 'getId');
echo input_hidden_tag('action_type', '');
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="20%" style="vertical-align:middle;"><label><?php 
echo __('Standar Kompetensi');
?>
</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($subject_grading, 'getGradeComponentId', array('related_class' => 'GradeComponent', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
			<?php 
echo form_error('grade_component_id');
?>
           </td>
        </tr>
        <!--tr>
            <td style="vertical-align:middle;"><label><?php 
Example #9
0
<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'col_item/updateDetail', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "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' => __('ColItem')));
?>

<?php 
echo object_input_hidden_tag($col_item, 'getId');
echo input_hidden_tag('action_type', '');
echo object_input_hidden_tag($col_item, 'getCatalogId');
?>

<table class="form">
<tr><td class="form">
	<table class="form_content">
	<tbody>
		<tr>
			<td class='first'>
				<label  ><?php 
echo __('Catalog');
?>
</label>
				<br/>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
echo $col_item->getCatalog()->toString();
?>
			</td>
		</tr>
		<tr>
			<td >
Example #10
0
<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'subject_grading/saveCompetency?subject_grading_id=' . $subject_grading->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", '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' => __('Standar Kompetensi')));
echo object_input_hidden_tag($subject_competency, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('subject_grading_id', $subject_grading->getId());
?>

<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
        <tr>
           <td class="first" style="vertical-align:top;"><label><?php 
echo __('Kompetensi Dasar');
?>
</label></td>
           <td class="first" style="text-align:center; vertical-align:top;">:</td>
           <td class="first" style="vertical-align:top;">
           <?php 
echo object_textarea_tag($subject_competency, 'getDetail', array('size' => '30x3'));
?>
		   <?php 
echo form_error('detail');
?>
           </td>
        </tr>
	</tbody>
	</table>
Example #11
0
<?php

echo form_tag('mensajes/edit', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true, 'onsubmit' => 'double_list_submit(); return true;'));
?>

<?php 
echo object_input_hidden_tag($mensaje, 'getIdMensaje');
?>

<fieldset id="sf_fieldset_datos_mensaje" class="">
<h2><?php 
echo __('Datos');
?>
</h2>

<div class="form-row">
  <?php 
echo label_for('mensaje[asunto]', __($labels['mensaje{asunto}']), '');
?>
  <div class="content<?php 
if ($sf_request->hasError('mensaje{asunto}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('mensaje{asunto}')) {
    ?>
    <?php 
    echo form_error('mensaje{asunto}', array('class' => 'form-error-msg'));
Example #12
0
<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'facility/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/tab2', array('modules' => $modules, 'actions2' => $actions2));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Facility')));
echo object_input_hidden_tag($facility, 'getId');
echo input_hidden_tag('action_type', '');
?>
<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
    	 <tr>
           <td class='first' width="15%" style="vertical-align:middle;"><label ><?php 
echo __('Code');
?>
</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($facility, 'getCode', array('size' => 16, 'maxlength' => 16));
?>
			<?php 
echo form_error('code');
?>
</td>
        </tr>
   		<tr>
           <td style="vertical-align:middle;"><label ><?php 
echo __('Name');
Example #13
0
<?php

use_helper('Object', 'Validation', 'myHelper');
echo include_partial('global/tabNew', array('actions2' => $actions2));
echo form_remote_tag(array('url' => 'scholar_graduate/updateStatus', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Ubah Status')));
echo input_hidden_tag('action_type', '');
echo object_input_hidden_tag($student, 'getId');
echo object_input_hidden_tag($student, 'getStudentDetailId');
?>
<table border="0" width="100%">
    <tr>
        <td width="20%" valign="top"> 
			<table class="form" width="100%">
                <tr>
                    <td class="form" style="vertical-align: top;">
                        <table class="form_content" width="100%">
                            <tbody>
                                <tr>
                                    <td class='first' style="vertical-align:top;">
										<img style="border: 1px solid #7B8080; padding: 0;" height="130" width="100" id='thumbPhoto' src="<?php 
echo url_for('student/getPhoto?id=' . $student->getId() . '&rnd=' . rand(999, 9999999));
?>
">
									</td>
                                </tr>
								<tr><td><label class="applicant"><?php 
echo __('_STUDENT_NUMBER_');
?>
</label><br><p class="detail" style="font-weight: bold;"><?php 
echo $student->getCode() ? $student->getCode() : '';
Example #14
0
    <?php 
use_helper('Object', 'Validation', 'myHelper', 'Number');
echo form_remote_tag(array('url' => 'employee_medical/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
if ($byEmployee == false) {
    echo include_partial('global/tab', array('actions2' => $actions2));
    echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Employee Medical')));
} else {
    echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Employee Medical')));
}
echo object_input_hidden_tag($employee_medical, 'getId');
echo object_input_hidden_tag($employee_medical, 'getEmployeeId');
echo input_hidden_tag('action_type', '');
?>
    <table class="form">
    <tr><td class="form">
            <table class="form_content" width="100%">
            <tbody>
                
                <?php 
if ($byEmployee == true) {
    ?>
                        <tr><td class="first" style="text-align: left; padding-bottom: 5px;" colspan="3">
                                        <div class="tips" style="color: #F00; font-size: 11px;">Dengan ini saya menyatakan bahwa data yang tercantum dibawah adalah benar. <br /> Apabila terjadi kesalahan karena data yang saya isi tidak benar, sepenuhnya menjadi tanggung jawab saya. <br /><br /></div>
                        </td></tr>
                        
                    <tr>
                        <td class="first" width="17%" style="vertical-align:middle;"><label><?php 
    echo __('Medical Date');
    ?>
</label></td>
                        <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
Example #15
0
<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'payment_model/update', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
if ($payment_model->getId()) {
    if ($can_remove) {
        array_push($actions, array('name' => 'delete', 'url' => 'payment_model/delete?id=' . $payment_model->getId(), 'color' => 'red'));
    }
}
array_push($actions, array('name' => 'cancel', 'url' => 'payment_model/list', 'color' => 'white'));
echo include_partial('global/tab2', array('modules' => $modules, 'actions2' => $actions2));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Model Pembayaran')));
echo object_input_hidden_tag($payment_model, 'getId');
echo input_hidden_tag('action_type', '');
?>

<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
   	    <tr>
           <td class='first' width="15%" style="vertical-align:middle;"><label ><?php 
echo __('Code');
?>
</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($payment_model, 'getCode', array('size' => 24));
?>
			<?php 
Example #16
0
    if ($member_id) {
        $c = new Criteria();
        #$c->add(CirHistoryPeer::MEMBER_ID, $member_id);
        $c->add(CirHistoryPeer::COL_ITEM_ID, $item->getId());
        $c->add(CirHistoryPeer::RETURN_DATE, null);
        $cir_hist = CirHistoryPeer::doSelectOne($c);
    }
    $actions = array();
    array_push($actions, array('name' => 'save', 'type' => 'submit', 'options' => array('class' => 'save_button', 'onclick' => "action_type.value=this.value")));
    array_push($actions, array('name' => 'cancel', 'url' => "{$returnModule}/{$returnAction}", 'color' => 'white'));
    echo form_remote_tag(array('url' => 'col_item/doOrder', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
    echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $item->toString() . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => '', 'title' => __($_title)));
    ?>

<?php 
    echo object_input_hidden_tag($item, 'getId');
    echo input_hidden_tag('action_type', '');
    echo input_hidden_tag('member_id', $member->getId());
    echo input_hidden_tag('return_module', $returnModule);
    echo input_hidden_tag('return_action', $returnAction);
    ?>

<table class="form">
<tr><td class="form">
	<table class="form_content">
	<tbody>
		<tr>
			<td class='first'>
				<label  ><?php 
    echo __('Member');
    ?>
Example #17
0
<?php

use_helper('MisObjetos');
echo form_tag('tareas/edit', array('id' => 'sf_edit_form', 'name' => 'sf_edit_form', 'multipart' => true, 'script' => true));
?>

<?php 
echo object_input_hidden_tag($tarea, 'getIdTarea');
?>

<fieldset id="sf_fieldset_tarea" class="">
<h2><?php 
echo __('Visible por');
?>
</h2>
<div class="form-row">
  <?php 
echo label_for('tarea[id_usuario]', __($labels['tarea{id_usuario}']) . ":", 'class="required" ');
?>
  <div class="content<?php 
if ($sf_request->hasError('tarea{id_usuario}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('tarea{id_usuario}')) {
    ?>
    <?php 
    echo form_error('tarea{id_usuario}', array('class' => 'form-error-msg'));
Example #18
0
<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'ng_test_applicant/update', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", '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' => __('TestApplicant')));
echo object_input_hidden_tag($ng_test_applicant, 'getId');
echo input_hidden_tag('action_type', '');
#echo input_hidden_tag('password', randomString());
echo input_hidden_tag('year', date('Y'));
echo input_hidden_tag('month', date('m'));
?>

<table class="form">
    <tr><td class="form">
            <table class="form_content" width="100%">
                <tbody>
                    <tr>
                        <td class='first' style="text-align: center; vertical-align: top;" width="25%"><br />
                            <img style=" border: 1px solid #7B8080; padding: 0;" height="130" width="100" id='thumbPhoto' src="<?php 
echo url_for('ng_test_applicant/getPhoto?id=' . $ng_test_applicant->getId() . '&rnd=' . rand(999, 9999999));
?>
" >
                            <?php 
echo input_hidden_tag('photoFile');
?>
                            <div id='photoError' class="errorText" style="display:none"></div><br>
                            <iframe src="<?php 
echo url_for('ng_test_applicant/uploadPhoto');
?>
" width="250" height="50" frameborder="0"></iframe>
                            <div class="tips">(<?php 
Example #19
0
<?php

use_helper('Object', 'Date', 'sfAsset');
echo form_tag('sfAsset/save', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true));
?>

<?php 
echo object_input_hidden_tag($sf_asset, 'getId');
?>

<fieldset id="sf_fieldset_none" class="">

  <div class="form-row">
    <?php 
echo label_for('sf_asset[filepath]', __('Path:', null, 'sfAsset'), '');
?>
    <div class="content<?php 
if ($sf_request->hasError('sf_asset{filepath}')) {
    ?>
 form-error<?php 
}
?>
">
    <?php 
if (!$sf_asset->isNew()) {
    ?>
      <?php 
    echo assets_library_breadcrumb($sf_asset->getRelativePath(), 0);
    ?>
    <?php 
}
Example #20
0
<?php

// auto-generated by sfPropelAdmin
// date: 2008/07/16 18:56:31
echo form_tag('encargados/save', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true));
?>

<?php 
echo object_input_hidden_tag($cliente, 'getIdCliente');
?>

<fieldset id="sf_fieldset_datos" class="">
<h2><?php 
echo __('Datos');
?>
</h2>


<div class="form-row">
  <?php 
echo label_for('cliente[nombre]', __($labels['cliente{nombre}']), '');
?>
  <div class="content<?php 
if ($sf_request->hasError('cliente{nombre}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('cliente{nombre}')) {
Example #21
0
<?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>
Example #22
0
<?php

// auto-generated by sfPropelCrud
// date: 2009/11/16 02:57:19
use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'country/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "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' => __('Country')));
echo object_input_hidden_tag($country, 'getId');
echo input_hidden_tag('action_type', '');
?>
<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
		<tr>
           <td class='first' width="15%" style="vertical-align:middle;"><label><?php 
echo __('Iso');
?>
</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($country, 'getIso', array('size' => 2, 'maxlength' => 2));
?>
			<?php 
echo form_error('iso');
?>
           </td>         
        </tr>
        <tr>
           <td style="vertical-align:middle;"><label><?php 
Example #23
0
    ?>
        </ul>
      </div>
    <?php 
}
?>


<div class="blue-shadow"><div class="blue-title blue-content">Compose a Message</div></div>
<div class="blue-shadow">
  <div class="blue-content">
    <?php 
echo form_tag('messages/send');
?>
      <?php 
echo object_input_hidden_tag($message, 'getParentId');
?>
      <div class="message-view-single" style="border: medium none;">
        <?php 
echo link_to(image_tag($sf_user->getProfile()->getThumbnail(), array('class' => 'sender-pic')), 'user/show?user='******'to'));
?>
:<br />      
            <?php 
echo ucwords(__('subject'));
?>
:
Example #24
0
<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'grade_conversion/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "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' => __('GradeConversion')));
echo object_input_hidden_tag($grade_conversion, 'getId');
echo input_hidden_tag('action_type', '');
?>
<table class="form">
    <tr><td class="form">
            <table class="form_content" width="100%">
                <tbody>
                    <tr>
                        <td class='first' width="15%" style="vertical-align:middle;"><label><?php 
echo __('Type');
?>
</label></td>
                        <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
                        <td class="first" style="vertical-align:middle;">
                            <?php 
echo select_tag('type_conversion', options_for_select(array(GradeConversion::TYPE_KNOWLEDGE => __('Nilai Pengetahuan'), GradeConversion::TYPE_SKILL => __('Nilai Keterampilan'), GradeConversion::TYPE_AFEKTIF => __('Nilai Sikap'), GradeConversion::TYPE_ALL => __('Nilai Antar Matpel'), GradeConversion::TYPE_EKSKUL => __('Nilai Ekskul'), GradeConversion::TYPE_BK => __('Nilai Layanan BK'), GradeConversion::TYPE_ACK => __('Nilai Pembiasaan BK'), GradeConversion::TYPE_AFEKTIF1 => __('KI.1 - Template 1'), GradeConversion::TYPE_AFEKTIF2 => __('KI.1 - Template 2'), GradeConversion::TYPE_AFEKTIF3 => __('KI.1 - Template 3'), GradeConversion::TYPE_AFEKTIF4 => __('KI.1 - Template 4'), GradeConversion::TYPE_AFEKTIF5 => __('KI.1 - Template 5'), GradeConversion::TYPE_AFEKTIF6 => __('KI.1 - Template 6'), GradeConversion::TYPE_AFEKTIF7 => __('KI.1 - Template 7'), GradeConversion::TYPE_AFEKTIF8 => __('KI.2 - Template 1'), GradeConversion::TYPE_AFEKTIF9 => __('KI.2 - Template 2'), GradeConversion::TYPE_AFEKTIF10 => __('KI.2 - Template 3'), GradeConversion::TYPE_AFEKTIF11 => __('KI.2 - Template 4'), GradeConversion::TYPE_AFEKTIF12 => __('KI.2 - Template 5'), GradeConversion::TYPE_AFEKTIF13 => __('KI.2 - Template 6'), GradeConversion::TYPE_AFEKTIF14 => __('KI.2 - Template 7'), GradeConversion::TYPE_AFEKTIF15 => __('KI.2 - Template 8')), $grade_conversion->getTypeConversion() > 0 ? $grade_conversion->getTypeConversion() : null, array('include_blank' => true)));
?>
                            <?php 
echo form_error('type_conversion');
?>
 
                        </td>         
                    </tr>
                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Department');
Example #25
0
<?php

use_helper('Object', 'Validation', 'myHelper');
$title = 'registrasi';
echo include_partial('global/tab', array('title' => $title));
?>

<div style="margin-bottom:10px;line-height:18px;" class="sim">
   	<?php 
#echo form_tag('applicant/update');
echo form_remote_tag(array('url' => 'applicant/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form'));
echo object_input_hidden_tag($applicant, 'getId');
echo object_input_hidden_tag($applicant, 'getTestApplicantDetailId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('year', date('Y'));
?>
    <div class="contentpaneopen">
		<h2 class="contentheading">Biodata Calon Siswa</h2>
        <p>Isi data berikut dengan lengkap dan benar.</p>
		<fieldset>
        	<legend>Identitas Calon Siswa</legend>
        	<div>
            	<label style="width: 150px;">Nama *</label>
				<?php 
echo object_input_tag($applicant, 'getName', array('size' => 20, 'maxlength' => 20));
?>
<br />
				<?php 
echo form_error('name');
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px;">
Example #26
0
<?php

use_helper('Object');
?>
<table width="100%">
    	<tr>
           <td width="20%" style="vertical-align:middle;"><label><?php 
echo __('Kepada');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
		   <?php 
echo object_input_hidden_tag($outbox_emp, 'getEmployeeId');
echo input_auto_complete_tag('name', null, '/inbox/getListEmployee', array('size' => 70), array('after_update_element' => 'function(f, s) {$("employee_id").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1));
?>
           	<?php 
#echo form_error('employee2')
?>
           </td>
        </tr>
        <tr>
           <td style="vertical-align:middle;"><label ><?php 
echo __('Tanggal Kirim');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
			<?php 
echo object_input_date_tag($outbox_emp, 'getCreatedAt', array('rich' => true, 'withtime' => false, 'calendar_button_img' => '/images/calendar.gif'), date('Y/m/d h:i'));
?>
Example #27
0
<div class="save-ok">
<h2><?php 
    echo __($sf_user->getFlash('notice'));
    ?>
</h2>
</div>
<?php 
}
?>

<?php 
echo form_tag('legajopedagogico/save', 'id=sf_admin_edit_form name=sf_admin_edit_form multipart=true');
?>

<?php 
echo object_input_hidden_tag($legajopedagogico, 'getId');
echo input_hidden_tag('legajopedagogico[fk_alumno_id]', $alumno_id);
echo input_hidden_tag('aid', $alumno_id);
echo input_hidden_tag('cid', $legajo_categoria_id);
?>


<fieldset id="sf_fieldset_informacion_general" class="">
<h2><?php 
echo __('Entrada');
?>
</h2>

<div class="form-row">

  <?php 
<h2><?php 
echo __('Datos del cliente');
?>
</h2>
<?php 
if ($formulario->getIdCliente()) {
    ?>
<div class="form-row">
  <?php 
    echo label_for('cliente[nombre]', __('nombre completo'), '');
    ?>
  <div class="content">
    <?php 
    $cliente = $formulario->getCliente();
    echo $cliente ? $cliente : '-';
    echo object_input_hidden_tag($formulario, 'getIdCliente', array('control_name' => 'formulario[id_cliente]'));
    ?>
  </div>
</div>

<?php 
} else {
    ?>

<div class="form-row">
  <?php 
    echo label_for('formulario[id_cliente]', __($labels['formulario{id_cliente}']), 'class="required" ');
    ?>
  <div class="content<?php 
    if ($sf_request->hasError('formulario{id_cliente}')) {
        ?>
Example #29
0
<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'job_category/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/tab2', array('modules' => $modules, 'actions2' => $actions2));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Kategori Menu')));
echo object_input_hidden_tag($job_category, 'getId');
echo input_hidden_tag('action_type', '');
?>
<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
		<tr>
           <td class='first' width="15%" style="vertical-align:middle;"><label><?php 
echo __('Code');
?>
</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($job_category, 'getCode', array('size' => 40, 'maxlength' => 64));
?>
			<?php 
echo form_error('code');
?>
           </td>         
        </tr>
        <tr>
           <td style="vertical-align:middle;"><label><?php 
echo __('Name');
Example #30
0
<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'payer_type/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/tab2', array('modules' => $modules, 'actions2' => $actions2));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Tipe Siswa')));
echo object_input_hidden_tag($payer_type, 'getId');
echo input_hidden_tag('action_type', '');
?>
<table class="form">
<tr><td class="form">
	<table class="form_content" style="width:100%;">
	<tbody>
		<tr>
        	<td class="first" width="15%" style="vertical-align:midle;"><label class="required"><?php 
echo __('Code');
?>
</label><br/>
            <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($payer_type, 'getCode', array('size' => 32, 'maxlength' => 32));
?>
			<?php 
echo form_error('code');
?>
			</td>
        </tr>
   		<tr>
           <td style="vertical-align:middle;"><label><?php 
echo __('Parent');