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); } }
<?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>
<?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>
<?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>
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
<?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' ? ' ↓' : ' ↑' : ''), 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' ? ' ↓' : ' ↑' : ''), 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' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='ACTIVITY_LENGTH';")); ?>
<?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>
<?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
<?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>
<?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');
</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')) . ' • ' . 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')) . ' • ' . 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' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='CODE';")); ?> </th>
<?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' ? ' ↓' : ' ↑' : ''), 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' ? ' ↓' : ' ↑' : ''), 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' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='CLASS_GROUP_ID';"));
<?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'); ?>
<?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>
#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)); }
<?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>
<?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>
<?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' ? ' ↓' : ' ↑' : ''), 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' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='CLASS_GROUP_ID';")); ?>
</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();
<?php $actions = array(array('name' => 'filter', 'color' => 'white')); array_unshift($actions, array('name' => 'csv', 'url' => "rpt_acreditation/listMaterialAsCSV?date=" . date('U') . "&{$filter_string}", 'color' => 'white', 'type' => 'direct')); array_unshift($actions, array('name' => 'pdf', 'url' => "rpt_acreditation/listMaterialAsPDF?date=" . date('U') . "&{$filter_string}", 'color' => 'white', 'type' => 'direct')); echo include_partial('global/title', array('type' => 'list', 'title' => __('Library Materials'), 'actions' => $actions)); ?> <?php echo form_remote_tag(array('url' => 'rpt_acreditation/listMaterial', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=catalog_list'); echo input_hidden_tag('sort'); if (isset($err_title) || isset($err_msg)) { echo "<br>"; include_partial('global/error', array('error_title' => $err_title, 'error_msg' => $err_msg)); } ?> <table class="list"> <tr><td class="list"> <?php use_helper('Object'); ?> <?php if ($pager->getNbResults() > 1) { ?> <?php echo include_partial('global/pager', array('position' => 'top', 'pager' => $pager, 'module' => 'Borang')); ?> <?php } ?> <table class="list_content">
<?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;">
echo input_hidden_tag('student_list_ser'); # echo input_hidden_tag('action_type', ''); echo input_hidden_tag('course_id', $course_schedule->getId()); echo input_hidden_tag('grade_spec_id', $grade_spec->getId()); ?> </form> <table class="list_score" style="margin-top: 0px;"> <tr><td class="list_score"> <?php use_helper('Object'); echo include_partial('global/title', array('type' => '', 'title' => 'Daftar Murid Kelas ' . $course_schedule->getClassGroup()->toString(), 'actions' => $actions3, 'subtitle' => __('_CHOICE_') . ': ' . link_to_function(__('_CHOICE_ALL_'), "\n\t\t\t\t\tvar fields = Form.getElements('student_list_form');\n\t\t\t\t\t\tfields.each( function(field){\n\t\t\t\t\t\tif (field.id == 'students') {\n\t\t\t\t\t\t\tfield.checked = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\t", array('class' => 'black')) . ' • ' . link_to_function(__('_CHOICE_NONE_'), "\n\t\t\t\t\t\tvar fields = Form.getElements('student_list_form');\n\t\t\t\t\t\t\tfields.each( function(field){\n\t\t\t\t\t\t\tif (field.id == 'students') {\n\t\t\t\t\t\t\t\tfield.checked = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t", array('class' => 'black')) . ' • ' . link_to_function(__('_CHOICE_REV_'), "\n\t\t\t\t\t\tvar fields = Form.getElements('student_list_form');\n\t\t\t\t\t\t\tfields.each( function(field){\n\t\t\t\t\t\t\tif (field.id == 'students') {\n\t\t\t\t\t\t\t\tfield.checked = !field.checked;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\t", array('class' => 'black')) . ($sf_request->hasErrors() ? '<br><div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''))); echo form_remote_tag(array('url' => 'course_score/listStuRaport?course_id=' . $course_schedule->getId() . 'grade_spec_id=' . $grade_spec->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'); ?> <div id='student_list' style=" width: 100%; height: 110em;border: 0px solid black;"> <table class="list_score"> <tr><td class="list_score"> <table class="list_content" width="100%"> <thead> <tr> <th class="score" height="30" width="10%" style="text-align: center;"><?php echo 'No.'; ?> </th> <th class="score" width="10%" style="text-align: center;"><?php echo 'No. Induk';
?> <?php } ?> <?php $task = new Task(); ?> <?php if ($sf_user->isAuthenticated() && $project->hasPermission('create-task')) { ?> <div id="task-new-holder"> <div> <?php echo form_remote_tag(array('update' => 'edit-tasks-holder', 'url' => 'project/ajaxAddTask')); ?> <div id="task-details" class="float-left" style="vertical-align:top;"> <?php echo input_hidden_tag('project', $project->getUuid(), array()); ?> <?php echo input_tag('task_name', 'Task Name'); ?> <?php echo textarea_tag('task_description', 'Task Description', array('rows' => '3')); ?> <?php echo textarea_tag('task_tags', '', array('rows' => '3')); ?> </div>
<?php use_helper('Object', 'Validation', 'myHelper', 'Number'); echo include_partial('global/title', array('type' => 'list', 'title' => __('Rekap Izin'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''))); echo form_remote_tag(array('url' => 'employee_permit_recapt/list', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=employee_permit_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' => 'EmployeePermitRecapt')); } ?> <table class="list_content"> <thead> <tr> <th >#</th> <th class='first'><?php echo submit_tag(__('Academic calendar') . ($sf_user->getAttribute('sort_field', null, 'emp_permit') == 'ACADEMIC_CALENDAR_ID' ? $sf_user->getAttribute('sort_type', null, 'emp_permit') == 'asc' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='ACADEMIC_CALENDAR_ID';")); ?> </th> <th><?php echo submit_tag(__('Emp no') . ($sf_user->getAttribute('sort_field', null, 'emp_permit') == 'EMP_NO' ? $sf_user->getAttribute('sort_type', null, 'emp_permit') == 'asc' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='EMP_NO';")); ?> </th> <th><?php echo submit_tag(__('DPLK No') . ($sf_user->getAttribute('sort_field', null, 'emp_permit') == 'EXTRA_CODE' ? $sf_user->getAttribute('sort_type', null, 'emp_permit') == 'asc' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='EXTRA_CODE';")); ?> </th> <th><?php echo submit_tag(__('Name') . ($sf_user->getAttribute('sort_field', null, 'emp_permit') == 'EMP_NAME' ? $sf_user->getAttribute('sort_type', null, 'emp_permit') == 'asc' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='EMP_NAME';"));
<?php $now = time(); use_helper('Object', 'Validation', 'Number', 'myHelper'); echo include_partial('global/title', array('type' => 'list', 'subtitle' => $subtitle, 'title' => __('List Late'), 'actions' => $actions)); echo form_remote_tag(array('url' => 'rpt_management/listLate', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=cir_history_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' => 'CirHistory')); } ?> <table class="list_content"> <thead> <tr> <th >#</th> <th class='first'> <?php echo submit_tag(__('Kode Anggota') . ($sf_user->getAttribute('sort_field', null, 'cir_history_list_late') == StudentPeer::CODE ? $sf_user->getAttribute('sort_type', null, 'cir_history_list_late') == 'asc' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='" . StudentPeer::CODE . "';")); ?> </th> <th><?php echo submit_tag(__('Name') . ($sf_user->getAttribute('sort_field', null, 'cir_history_list_late') == StudentPeer::NAME ? $sf_user->getAttribute('sort_type', null, 'cir_history_list_late') == 'asc' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='" . StudentPeer::NAME . "';")); ?> </th>
<?php use_helper('Object', 'Validation', 'myHelper'); echo include_partial('global/tab', array('actions2' => $actions2)); echo include_partial('global/title4', array('type' => 'list', 'title' => __('Pembiasaan Siswa'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''))); echo form_remote_tag(array('url' => 'counseling_detail/listExtra?student_id=' . $student->getId() . '&counseling_id' . $counseling->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), 'name=edit_form'); ?> <table border="0" width="100%" style="margin-top: -10px;"> <tr><td width="34%" valign="top"> <table class="form"> <tr><td class="form" width="100%"> <table class="form_content" width="100%"> <tbody> <tr> <td class='first' width="35%" 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;"> <p class="detail" style="font-weight: bold;"> <?php echo $counseling->getAcademicCalendarId() ? $counseling->getAcademicCalendar()->toString() : '-'; ?> </p> </td> </tr> <tr>
<?php // auto-generated by sfPropelCrud // date: 2008/04/04 15:24:10 use_helper('I18N', 'Javascript', 'Form', 'Object'); ?> <div id="member-search" style="padding-bottom: 10px;"> <div class="blue-shadow"><div class="blue-title blue-content">Search for a member</div></div> <div class="blue-shadow"> <div class="blue-content"> <?php echo form_remote_tag(array('update' => 'pager-holder', 'url' => 'user/ajaxUserPager', 'loading' => "Element.show('form-search-indicator')", 'complete' => "Element.hide('form-search-indicator');" . visual_effect('highlight', 'pager-holder'))); ?> <fieldset id='ajax_filter_fieldset' style="border: medium none;"> <span> <?php echo label_for('user_name', 'Name'), input_auto_complete_tag('user_name', '', 'user/autoMessageComplete?field=name', 'autocomplete=false', 'use_style=true'); ?> </span> <?php /* <span> <label for="campus">campus: <?php echo select_tag('user_campus', objects_for_select(CampusPeer::doSelect(new Criteria()), 'getId', 'getName', '', array('include_blank'=>true)), array('class'=>'xxx')) ?></label> <label for="department">department: <?php echo select_tag('user_department', objects_for_select(DepartmentPeer::doSelect(new Criteria()), 'getId', 'getName', '', array('include_blank'=>true)), array('class'=>'xxx')) ?></label> </span> */ ?> <span id="update_button"> <?php echo submit_tag('Search', array());
<table class="form"> <tr><td class="form"> <table class="form_content" width="100%"> <tbody> <tr> <td class="first"> <label><?php echo __('Pembayaran Untuk Bulan :'); ?> </label><br /><br /> <div id='month_list' style="overflow: auto; width: 100%; height: 37em;border: 1px solid black;"> <?php use_helper('Object'); echo include_partial('global/title', array('type' => '', 'title' => '', 'actions' => $actions3, 'subtitle' => __('_CHOICE_') . ': ' . link_to_function(__('_CHOICE_ALL_'), "\n\t\t\t\t\t\tvar fields = Form.getElements('month_list_form');\n\t\t\t\t\t\t\tfields.each( function(field){\n\t\t\t\t\t\t\tif (field.id == 'months') {\n\t\t\t\t\t\t\t\tfield.checked = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t", array('class' => 'black')) . ' • ' . link_to_function(__('_CHOICE_NONE_'), "\n\t\t\t\t\t\tvar fields = Form.getElements('month_list_form');\n\t\t\t\t\t\t\tfields.each( function(field){\n\t\t\t\t\t\t\tif (field.id == 'months') {\n\t\t\t\t\t\t\t\tfield.checked = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t", array('class' => 'black')) . ' • ' . link_to_function(__('_CHOICE_REV_'), "\n\t\t\t\t\t\tvar fields = Form.getElements('month_list_form');\n\t\t\t\t\t\t\tfields.each( function(field){\n\t\t\t\t\t\t\tif (field.id == 'months') {\n\t\t\t\t\t\t\t\tfield.checked = !field.checked;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\t", array('class' => 'black')) . ($sf_request->hasErrors() ? '<br><div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''))); echo form_remote_tag(array('url' => 'payment_student/listMonth', 'update' => 'month_list', 'script' => 'true', 'before' => "this.blur(); showIndicator('month_list', 'snakebig_black');", 'complete' => "hideIndicator()"), array('name' => 'month_list_form', 'id' => 'month_list_form')); ?> <table class="list"> <tr> <td class="list"> <table class="list_content"> <thead> <tr> <th width="2%">#</th> <th class='first'><?php echo __('Bulan'); ?> </th> <th style="text-align:right;"><?php echo __('Amount'); ?>
<?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');
<td style="vertical-align: top;" width="20%"> <label><?php echo __('Subject'); ?> </label><br> <p class="detail" style="font-weight: bold;"><?php echo $subject_curr->getSubject() ? $subject_curr->toStringSubject() : '-'; ?> </p> </td> <td style="vertical-align: top;"> <div id='subject_list' style="overflow: auto; width: 100%; height: 80em;"> <?php use_helper('Object', 'Number', 'myHelper'); echo include_partial('global/title', array('type' => 'list', 'title' => __('Subject Competency'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''))); echo form_remote_tag(array('url' => 'subject_competency/getSubject?dept_id=' . $department->getId() . '&subject_curr_id=' . $subject_curr->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' => 'SubjectCurr')); } ?> <table class="list_content" width="100%"> <thead> <tr> <th >#</th> <th class='first' colspan="2"><?php echo submit_tag(__('Standar Kompetensi') . ($sf_user->getAttribute('sort_field', null, 'subject_grading') == 'DETAIL' ? $sf_user->getAttribute('sort_type', null, 'subject_grading') == 'asc' ? ' ↓' : ' ↑' : ''), array('class' => 'sort', 'onclick' => "blur();sort.value='DETAIL';"));