<td><input name="id" value="<? print $item['id']?>" type="text" /></td> </tr> <tr> <td>Option Key</td> <td><input name="option_key" value="<? print $item['option_key']?>" type="text" /></td> </tr> <tr> <td>Option Value</td> <td> <? //p($item)?> <mw module="forms/field" name="option_value" value="<? print encode_var($item['option_value'])?>" type="<? print $item['type']?>" /> </td> </tr> <tr> <td>Option Group</td> <td><input name="option_group" value="<? print $item['option_group']?>" type="text" /></td> </tr>
filter <? $sfsearch = array(); $sfsearch['size'] = "M"; $sfsearch = encode_var($sfsearch); ?> custom_fields_criteria:<? print $sfsearch ?>
<? $req = friend_requests(); ?> <? if(!empty($req)): ?> <h2>You have <? print count($req) ?> friend requests</h2> <br /> <mw module="users/list" user_id="<? print user_id(); ?>" wrap_element='div' wrap_element_items='div' wrap_element_class='field friend_request' wrap_element_items_class='fieldcontent' show_user_controls="true" ids="<? print encode_var($req) ?>" /> <? else: ?> <h2>You don't have friend requests</h2> <br /> <a href="<?php print site_url('dashboard/action:my-friends'); ?> " class="btn">See all of your friends</a> <? endif; ?>
} function cf_add($tr_id){ //alert($('#'+$tr_id).serialize()); //alert($tr_id); data1 = {} data1.module = 'admin/content/custom_fields_creator'; if(typeof $tr_id != undefined){ data1.base64 = $tr_id; } data1.parent_base64_params = '<? print encode_var($params) ?>'; $.ajax({ url: '<? print site_url('api/module') ?>', type: "POST", data: data1, async:true, success: function(resp) { // $('#cf_adresp').html(resp); mw.modal.init({html:resp});