public function getInputTag($paramName, $id) { $state = $this->getState($id); $value = $state === true ? '1' : '0'; $inputName = 'sel_' . $paramName . '-' . $id; return input_hidden_tag($inputName, $value); }
function object_input_auto_complete_tag($object, $method, $options = array(), $default_value = null) { $peer_table = _get_option($options, 'peer_table'); $peer_field = _get_option($options, 'peer_field'); $input_name = _convert_method_to_name($method, $options); echo input_auto_complete_tag("{$peer_table}_{$peer_field}_search", '', sfContext::getInstance()->getModuleName() . "/autocomplete?table={$peer_table}&field={$peer_field}", array('autocomplete' => 'off'), array('use_style' => true, 'after_update_element' => "function (inputField, selectedItem) { \$('" . get_id_from_name($input_name) . "').value = selectedItem.id; }", 'method' => 'get')); echo input_hidden_tag($input_name); }
public function render($name, $value = null, $attributes = array(), $errors = array()) { sfLoader::loadHelpers('Javascript'); if ($this->getOption("plain")) { return $value . input_hidden_tag($name, $value); } else { return input_auto_complete_tag($name, $value, 'tag/searchTag?src=' . $this->getOption('src'), array('autocomplete' => 'off', 'size' => '15'), array('use_style' => 'true')); } }
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/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>
?> </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 echo label_for('legajopedagogico[fecha]', __('Fecha:'), 'class="required" '); ?> <div class="content<?php
?> <?php echo form_error('title'); ?> <?php echo label_for('title', __('Title', null, 'sfSimpleForum')); ?> <?php echo input_tag('title', '', 'id=topic_title'); ?> <?php if (isset($forum)) { ?> <?php echo input_hidden_tag('forum_name', $forum->getStrippedName()); ?> <?php } else { ?> <?php echo label_for('forum', __('Forum', null, 'sfSimpleForum')); ?> <?php echo select_tag('forum_name', options_for_select(sfSimpleForumForumPeer::getAllAsArray())); ?> <?php } ?> <?php
echo input_tag('filters[NO_REG]', isset($filters['NO_REG']) ? $filters['NO_REG'] : null, array('size' => 12)); ?> </td> <td class='filter'> <?php echo input_tag('filters[CODE]', isset($filters['CODE']) ? $filters['CODE'] : null, array('size' => 12)); ?> </td> <td class='filter'> <?php echo input_tag('filters[NAME]', isset($filters['NAME']) ? $filters['NAME'] : null, array('size' => 25)); ?> </td> <td class='filter'> <?php echo input_hidden_tag('filters[COL_ITEM_ID]', isset($filters['COL_ITEM_ID']) ? $filters['COL_ITEM_ID'] : null); if (isset($filters['COL_ITEM_ID']) && $filters['COL_ITEM_ID']) { echo input_auto_complete_tag('index', isset($filters['COL_ITEM_ID']) && $filters['COL_ITEM_ID'] ? ColItemPeer::retrieveByPk($filters['COL_ITEM_ID'])->getIndexNo() : '', '/col_item/getIndex', array('size' => 20), array('after_update_element' => 'function(f, s) {$("COL_ITEM_ID").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1)); } else { echo input_auto_complete_tag('index', null, '/col_item/getIndex', array('size' => 20), array('after_update_element' => 'function(f, s) {$("filters_COL_ITEM_ID").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1)); } ?> <?php #echo object_select_tag(isset($filters['col_item_id']) ? $filters['col_item_id'] : null, null, array ( 'include_blank' => true, 'related_class' => 'ColItem', 'text_method' => '__toString', 'control_name' => 'filters[col_item_id]', 'style'=>"width: 80px;", )) ?> </td> <!-- <td class='filter'> <?php #echo object_select_tag(isset($filters['col_status_id']) ? $filters['col_status_id'] : null, null, array ( 'include_blank' => true, 'related_class' => 'ColStatus', 'text_method' => '__toString', 'control_name' => 'filters[col_status_id]', )) ?>
<?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;">
?> <ul> <li> <?php echo ucwords(__('to')); ?> :<br /> <?php echo ucwords(__('subject')); ?> : </li> <li> <?php if ($message->getRecipientId()) { echo '<em>(' . $message->getSfGuardUserRelatedByRecipientId()->getProfile()->getFullName() . ')</em><br />' . input_hidden_tag('user_recipient', $message->getSfGuardUserRelatedByRecipientId()->getProfile()->getFullName()); } else { echo input_auto_complete_tag('user_recipient', '', 'user/autoMessageComplete?field=recipient', 'autocomplete=false', 'use_style=true') . '<br />'; } ?> <?php echo object_input_tag($message, 'getSubject', array('style' => 'width:100%;')); ?> </li> </ul> <hr class="clear" /> <?php echo object_textarea_tag($message, 'getBody', array('style' => 'width:100%;', 'rows' => '10')); ?> <?php echo submit_tag(ucwords(__('send')), array('class' => 'pswipebutton'));
} else { ?> <?php echo input_hidden_tag('i', 1); echo input_hidden_tag('love', 1); echo input_hidden_tag('summer', 1); ?> <p><strong>You typed in "<?php echo $_request->getParameter('txtName'); ?> ".</strong> <?php echo input_hidden_tag('reset', 1); ?> <p><input type="submit" name="commit" value="Go back" class="JsAction-post" /> <?php } ?> </form> <p><strong><?php echo $_request->getMethodName(); ?> </strong> request: <?php
<?php use_helper('Form'); use_helper('Object'); $type = $cs_setting->getType(); $name = isset($name) ? $name : 'cs_setting[' . $cs_setting['id'] . ']'; switch ($type) { case 'checkbox': echo input_hidden_tag($name, 0); echo checkbox_tag($name, 1, $cs_setting->getValue()); break; case 'input': echo input_tag($name, $cs_setting->getValue(), 'size=55'); break; case 'textarea': echo textarea_tag($name, $cs_setting->getValue()); break; case 'yesno': echo 'Yes: ' . radiobutton_tag($name, 1, $cs_setting->getValue()); echo 'No: ' . radiobutton_tag($name, 0, $cs_setting->getValue() ? false : true); break; case 'select': $options = _parse_attributes($cs_setting->getOptions()); echo select_tag($name, options_for_select($options, $cs_setting->getValue(), 'include_blank=true')); break; case 'model': $config = _parse_attributes($cs_setting->getOptions()); $method = $cs_setting->getOption('table_method'); $method = $method ? $method : 'findAll'; $options = Doctrine::getTable($cs_setting->getOption('model', true))->{$method}(); echo select_tag($name, objects_for_select($options, 'getId', '__toString', $cs_setting->getValue()), 'include_blank=true');
<?php include_partial('global/section', array('title' => 'Search for a Member', 'pointer' => 'Enter a name to see if they\'re on this list')); ?> <div class="padded"> <form action="<?php echo url_for($list->getInternalUrl('findMember', null, true)); ?> "> <?php echo input_hidden_tag('id', $list->id); echo input_tag('member_search_terms', $sf_request->getParameter('member_search_terms')); ?> <?php echo submit_tag('Search', 'class=button_small'); ?> </form> </div>
<?php echo __('Show the route'); ?> </a> </p> <!-- wizard_route_descr --> <p class="wizard_tip"><?php echo __('No route matching your search?') . ' '; ?> <a href="#" onclick="window.location.href='/routes/edit/link/' + $('#summit_id').val(); return false;"><?php echo __('Add your route'); ?> </a></p> </div> <div id="last_ok" style="display: none;"> <hr /> <h4><?php echo __('Step 3: confirm to create outing'); ?> </h4> <?php echo form_tag('outings/edit', 'method=get'); echo input_hidden_tag('link', '0'); echo c2c_submit_tag(__('New outing'), array('onclick' => 'if ($("#wizard_type") == "summits") $("#link").val($("#routes").val());', 'title' => __('Add your outing'), 'picto' => 'action_create')); ?> </form> </div> <!-- last_ok --> </div> <!-- outing_wizard -->
/** * wrapper for jquery autocompleter. * @param string name value of input field * @param string default value for the input field * @param string url to server script * @param array input tag options. (size, autocomplete, etc...) * @param array completion options. (use_style, etc...) * * @return string input field tag, div for completion results, and * auto complete javascript tags */ function jq_input_auto_complete_tag($name, $value, $url, $tag_options = array(), $completion_options = array()) { $context = sfContext::getInstance(); $tag_options = _convert_options($tag_options); $response = sfContext::getInstance()->getResponse(); $response->addJavascript(sfConfig::get('app_mdToolsPlugin_jquery_ui_folder', '/mdToolsPlugin/js/jquery') . '/plugins/jquery-autocomplete'); //$comp_options = _convert_options($completion_options); if (isset($comp_options['use_style']) && $comp_options['use_style'] == true) { $response->addStylesheet(sfConfig::get('sf_prototype_web_dir') . '/css/input_auto_complete_tag'); } $tag_options['id'] = get_id_from_name(isset($tag_options['id']) ? $tag_options['id'] : $name); $javascript = input_tag($name, $value, $tag_options); $javascript .= jq_javascript_tag("\$('#" . $name . "').autocomplete('{$url}', " . _jq_options_for_javascript($completion_options) . ");"); if (isset($comp_options['hidden_value']) && $comp_options['hidden_value'] == true) { $javascript .= input_hidden_tag($name . '_value'); $javascript .= jq_javascript_tag('$(\'#' . $name . '\').result(function(event, data, formatted) {$(\'#' . $name . '_value\').val(data[1]);});'); } return $javascript; }
<?php #use_helper('Object'); echo input_hidden_tag('accal_id', $academic_calendar->getId()); echo input_hidden_tag('student_id', $stu->getId()); echo input_hidden_tag('stu_accal_id', $stu_accal->getId()); echo input_hidden_tag('class_id', $stu_accal->getClassGroupId()); ?> <table class="form_content" width="100%"> <tbody> <tr> <td width="18%" style="vertical-align:middle;" class='first'><label><?php echo __('Class group'); ?> </label></td> <td width="2%" style="text-align:center; vertical-align:middle;" class='first'>:</td> <td width="15%" style="vertical-align:middle;" class='first'> <p class='detail' style="font-weight: bold;"><?php echo $stu_accal->getClassGroupId() ? $stu_accal->getClassGroup()->toString() : '-'; ?> </p> </td> <td width="13%" style="vertical-align:middle;" class='first'><label><?php echo __('Counselor'); ?> </label></td> <td width="2%" style="text-align:center; vertical-align:middle;" class='first'>:</td> <td style="vertical-align:middle;" class='first'> <p style="font-weight: bold;" class="detail">
<?php use_helper('I18N', 'Validation', 'Javascript', 'Cryptographp', 'My'); special_append_to_page_title('Post Snippet'); ?> <h1><?php echo __('Post Snippet'); ?> </h1> <?php echo form_tag('snippet/update', array('class' => 'form')); ?> <?php echo input_hidden_tag('id', $sf_params->get('id')); ?> <?php if (!$sf_user->isAuthenticated()) { ?> <div class="row"> <?php echo label_for('name', __('Name') . required()); ?> <?php echo input_tag('name', $sf_params->get('name')); ?> <?php echo form_error('name'); ?> </div>
<div class="menu padding0"><?php echo link_to(__('Show All'), $oAppCommon->ssLink, array('title' => __('Show All'), 'tabindex' => 1)); ?> </form> </div> <div> </td> </tr> </table> <?php echo jq_form_remote_tag(array('update' => $oAppCommon->ssDivId, 'url' => $oAppCommon->ssLink), array('name' => 'frmList', 'id' => 'frmList', 'method' => 'post', 'class' => 'fright')); echo input_hidden_tag('ssSortOn', $oAppCommon->ssSortOn); echo input_hidden_tag('ssSortBy', $oAppCommon->ssSortBy); echo input_hidden_tag('ssSearchOption', $sf_params->get('ssSearchOption')); echo input_hidden_tag('ssSearchWord', $sf_params->get('ssSearchWord')); echo input_hidden_tag('page', $sf_params->get('page')); include_partial($oAppCommon->ssRenderListFileName, array('oAppCommon' => $oAppCommon, 'snCount' => $snCount)); ?> <br /> <div class="menu"><?php if ($oAppCommon->ssShowDeleteButton && $snCount > 0) { echo button_to_function(__('Delete'), "if(deleteAll(document.frmList,'" . $oAppCommon->ssTitle . "','','" . __("Are you sure, you want to delete selected %sstitle%?", array('%sstitle%' => $oAppCommon->ssTitle)) . "','" . __("Select Atleast One Item") . "'))" . jq_remote_function(array('url' => $oAppCommon->ssLink . (strstr($oAppCommon->ssLink, '?') ? "&" : "?") . "ssAction=delete", 'update' => $oAppCommon->ssDivId, 'with' => 'jQuery(this.form.elements).serialize()')), array('id' => 'delete', 'name' => __("Delete"), 'title' => __('Delete'))); } ?> </div> <div class="menu"><?php if ($oAppCommon->ssShowCreateButton) { echo link_to_function(__('Create'), 'document.frmList.action = "' . url_for($oAppCommon->ssModuleName . "/addEdit") . '";document.frmList.submit();', array('title' => __('Create'))); } ?>
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(); ?> -status" style="display:none"> <?php
echo form_tag('@login', 'id=loginform'); ?> <label for="nickname"><?php echo __('nickname:'); ?> </label><?php echo input_tag('nickname'); ?> <label for="password"><?php echo __('password:'******'password'); ?> <?php echo input_hidden_tag('referer', $sf_params->get('referer') ? $sf_params->get('referer') : $sf_request->getUri()); ?> <?php echo submit_tag(__('login')); ?> <?php echo link_to_function(__('cancel'), visual_effect('blind_up', 'login', array('duration' => 0.5))); ?> </form> </div> <div id="content"> <div id="content_main"> <?php echo $content; ?>
<?php slot('header_text', 'Modifications'); slot('header_link', 'modification/list'); ?> <form action="<?php echo url_for('modification/list'); ?> "> <?php echo input_hidden_tag('user_id', $sf_request->getParameter('user_id')); echo input_hidden_tag('object_id', $sf_request->getParameter('object_id')); echo input_hidden_tag('object_model', $sf_request->getParameter('object_model')); ?> Look between <?php echo input_tag('start', $sf_request->getParameter('start')); ?> and <?php echo input_tag('end', $sf_request->getParameter('end')); ?> <br /> <br /> <input type="checkbox" value="1" name="model[Reference]"> Reference <input type="checkbox" value="1" name="model[Entity]">Entity <input type="checkbox" value="1" name="model[Relationship]">Relationship <input type="checkbox" value="1" name="model[Address]"> Address <input type="checkbox" value="1" name="model[Image]"> Image
<?php use_helper('Object', 'myHelper'); echo include_partial('global/title', array('type' => 'list', 'title' => __('Admin Penilaian'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->haserrors() ? '<div class=form_error>* ' . __('_form_has_error_') . '</div>' : ''))); echo input_hidden_tag('employee_id', $employee->getid()); ?> <table class="form" width="100%"> <tr> <td class="form" style="vertical-align:top;"> <table class="form_content" width="100%"> <tbody> <tr> <td class='first' width="100%" style="vertical-align:top;"> <label><?php echo __('Academic calendar'); ?> </label><br/> <?php echo my_object_select_tag($counseling, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('related_class' => 'AcademicCalendar', 'include_blank' => true, 'peer_method' => 'doSelectFiltered')); ?> <br /> <div class="tips">pilih tahun ajaran yang diinginkan</div> </td> </tr> <tr> <td width="100%" class="first"> <div id='subject_list' style="overflow: auto; width: 100%; height: 50em;"></div> <?php echo observe_field('academic_calendar_id', array('update' => 'subject_list', 'url' => 'score_admin/getSubject', 'with' => "'academic_calendar_id='+\$('academic_calendar_id').value+'&employee_id='+\$('employee_id').value+'&include_blank=true'", 'before' => "showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator();")); ?> </td>
<?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> <div id="task-dates" class="float-right" style="text-align:right;"> <label for="task_begin">Task Starts: <?php echo input_date_tag('task_begin', '', array('rich' => 'true')); ?>
<?php use_helper('Object', 'Number'); echo form_remote_tag(array('url' => 'student_payment/updateSpp', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');this.month_list_ser.value=Form.serialize(month_list_form);", 'complete' => "hideIndicator()")); echo include_partial('global/tab', array('actions2' => $actions2)); echo include_partial('global/title4', array('type' => 'add', 'title' => __('Pembayaran SPP'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''))); echo input_hidden_tag('month_list_ser'); echo input_hidden_tag('student_id', $student->getId()); echo input_hidden_tag('academic_cost_id', $ac_cost->getId()); echo input_hidden_tag('year', date('Y')); echo input_hidden_tag('paid_at', date('Y/m/d')); ?> <table border="0" width="100%" style="margin-top: -10px;"> <tr><td width="49%" valign="top"> <table class="form"> <tr><td class="form" width="100%"> <table class="form_content" width="100%"> <tbody> <tr> <td class='first' width="30%" style="vertical-align:middle;"><label><?php echo __('Name'); ?> </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 $student->getName() ? $student->getName() : '-'; ?> </p>
<?php use_helper('Object', 'Validation', 'myHelper'); echo include_partial('global/tab', array('actions2' => $actions2)); #echo form_remote_tag(array('url'=>'score_admin/saveDesc', 'update'=>'content', 'script'=>'true', 'before'=>"this.blur();showIndicator('content', 'snakebig_black');this.student_list_ser.value=Form.serialize(student_list_form);",'complete'=>"hideIndicator()", 'name'=>'edit_form')); echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle, 'type' => $type, 'title' => __('Penilaian Deskriptif'))); echo input_hidden_tag('action_type', ''); #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('employee_id', $employee_id); ?> <table class="form"> <tr><td class="form"> <table class="form_content" width="100%"> <tbody> <tr> <td class='first' width="15%" style="vertical-align: top;"><label><?php echo __('Kompetensi Penilaian'); ?> </label></td> <td class="first" width="1%" style="text-align: center; vertical-align: top;">:</td> <td class="first" style="vertical-align: top;"> <?php echo object_select_tag('grade_spec_id', 'grade_spec_id', array('related_class' => 'VSpec', 'include_blank' => true, 'peer_method' => 'doSelectFiltered')); ?> <?php echo form_error('grade_spec_id'); ?>
include_partial('address/sidebar', array('address' => $address)); end_slot(); ?> <h2>Edit Address</h2> <?php include_partial('global/formerrors', array('form' => array($address_form, $reference_form))); ?> <form action="<?php echo url_for('entity/editAddress'); ?> " method="POST"> <?php echo input_hidden_tag('id', $address->id); ?> <table> <?php include_partial('reference/required', array('form' => $reference_form)); ?> <?php include_partial('global/form', array('form' => $address_form)); ?> <td></td> <td> <?php echo submit_tag('Save'); ?>
<?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>
is also known as: </div> <?php } ?> <div class="padded" id="add_form" style="display: none;"> <?php include_partial('global/formerrors'); ?> <form action="<?php echo url_for($entity->getInternalUrl('addAlias')); ?> " method="POST"> <?php echo input_hidden_tag('id', $entity->id); echo input_tag('alias', $sf_request->getParameter('alias'), 'size=30'); ?> <?php if ($sf_user->hasCredential('admin')) { ?> context: <?php echo input_tag('context', $sf_request->getParameter('context'), 'size=20'); ?> <?php } ?>
<?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');
<?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>