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


PHP render_object_custom_properties函数代码示例

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


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

示例1: lang

	<fieldset>
		<legend><?php 
    echo lang($category['name']);
    ?>
</legend>
		<?php 
    echo $category['content'];
    ?>
	</fieldset>
	</div>
	<?php 
}
?>
	
	<div>
		<?php 
echo render_object_custom_properties($user, 'Users', true);
?>
	</div>
	
  <?php 
echo submit_button(lang('save changes'), 's', array('tabindex' => '3000'));
?>

</div>
</div>
</form>

<script>
	Ext.get('profileFormDisplayName').focus();
</script>
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:31,代码来源:edit_profile.php

示例2: lang

	
	
	<div id='<?php 
echo $genid;
?>
add_custom_properties_div' style="<?php 
echo $visible_cps > 0 ? "" : "display:none";
?>
">
		<fieldset>
			<legend><?php 
echo lang('custom properties');
?>
</legend>
			<?php 
echo render_object_custom_properties($object, false);
?>
			<?php 
//echo render_add_custom_properties($object);
?>
		</fieldset>
	</div>
	
	<div id="<?php 
echo $genid;
?>
add_subscribers_div" style="display:none">
		<fieldset>
		<legend><?php 
echo lang('object subscribers');
?>
开发者ID:rorteg,项目名称:fengoffice,代码行数:29,代码来源:add_company.php

示例3: lang

    ?>
messageFormAdditionalText"><?php 
    echo lang('additional text');
    ?>
:</label>
		<?php 
    echo editor_widget('message[additional_text]', array_var($message_data, 'additional_text'), array('id' => $genid . 'messageFormAdditionalText', 'tabindex' => '25'));
    ?>
	<?php 
}
?>
	</div>
	
	<div>
		<?php 
echo render_object_custom_properties($message, 'ProjectMessages', true);
?>
	</div><br/>
	
	<?php 
echo submit_button($message->isNew() ? lang('add message') : lang('save changes'), 's', array('style' => 'margin-top:0px', 'tabindex' => '20000'));
?>
</div>
</div>
</form>

<script>
	Ext.get('<?php 
echo $genid;
?>
messageFormTitle').focus();	
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:31,代码来源:add_message.php

示例4: option_tag

		$options[] = option_tag(lang('none'),0,(0==$user->getDefaultBillingId())?array('selected' => 'selected'):null);
			
		foreach ($billing_categories as $category){
			$options[] = option_tag($category->getName(),$category->getId(),($category->getId()==$user->getDefaultBillingId())?array('selected' => 'selected'):null);	
		}
	    echo label_tag(lang('billing category'), null, false);
		echo select_box('user[default_billing_id]',$options,array('id' => 'userDefaultBilling'))
	?>
	</fieldset>
	<?php } //if ?>


	<div id='<?php echo $genid ?>add_custom_properties_div' style="<?php echo ($visible_cps > 0 ? "" : "display:none") ?>">
		<fieldset>
			<legend><?php echo lang('custom properties') ?></legend>
			<?php echo render_object_custom_properties($user, false) ?>
		</fieldset>
	</div>
	
	<?php foreach ($categories as $category) { ?>
	<div style="display:none" id="<?php echo $genid . $category['name'] ?>">
	<fieldset>
		<legend><?php echo lang($category['name'])?></legend>
		<?php echo $category['content'] ?>
	</fieldset>
	</div>
	<?php } ?>
	
	
	<div id="<?php echo $genid ?>add_user_permissions" style="display:none">
  <?php
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:31,代码来源:add_user.php

示例5: array

			<?php
			$listeners = array('on_selection_change' => 'og.reload_subscribers("'.$genid.'",'.$object->manager()->getObjectTypeId().')');
			if ($message->isNew()) {
				render_member_selectors($message->manager()->getObjectTypeId(), $genid, null, array('select_current_context' => true, 'listeners' => $listeners));
			} else {
				render_member_selectors($message->manager()->getObjectTypeId(), $genid, $message->getMemberIds(), array('listeners' => $listeners));
			} 
			?>
		
		</fieldset>
	</div>
	
	<div id="<?php echo $genid ?>add_custom_properties_div" style="<?php echo ($visible_cps > 0 ? "" : "display:none") ?>">
		<fieldset>	
			<legend><?php echo lang('custom properties') ?></legend>
			<?php  echo render_object_custom_properties($message, false) ?>
			<?php  echo render_add_custom_properties($object); ?>
		</fieldset>
	</div>

	<div id="<?php echo $genid ?>add_subscribers_div" style="display:none">
		<fieldset>
			<legend><?php echo lang('object subscribers') ?></legend>
			<div id="<?php echo $genid ?>add_subscribers_content">
				<?php echo render_add_subscribers($object, $genid); ?>
			</div>
		</fieldset>
	</div>
	
	<?php if($object->isNew() || $object->canLinkObject(logged_user())) { ?>
	<div style="display:none" id="<?php echo $genid ?>add_linked_objects_div">
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:31,代码来源:add_message.php

示例6: lang

	</div>
        
	<div id="<?php 
echo $genid;
?>
add_custom_properties_div" style="<?php 
echo $visible_cps > 0 ? "" : "display:none";
?>
">
            <fieldset>	
                <legend><?php 
echo lang('custom properties');
?>
</legend>
                <?php 
echo render_object_custom_properties($webpage, false);
?>
            </fieldset>
        </div>
        
	<div id="<?php 
echo $genid;
?>
add_subscribers_div" style="display: none">
		<fieldset><legend><?php 
echo lang('object subscribers');
?>
</legend>
			<div id="<?php 
echo $genid;
?>
开发者ID:rorteg,项目名称:fengoffice,代码行数:31,代码来源:add.php

示例7: render_object_custom_properties

	<input type="hidden" name="cal_origday" value="<?php 
echo $day;
?>
">
	<input type="hidden" name="cal_origmonth" value="<?php 
echo $month;
?>
">
	<input type="hidden" name="cal_origyear" value="<?php 
echo $year;
?>
">
	
	<div>
		<?php 
echo render_object_custom_properties($object, 'ProjectEvents', true);
?>
	</div><br/>
	
	<?php 
echo submit_button($event->isNew() ? lang('add event') : lang('save changes'), 'e', array('style' => 'margin-top:0px;margin-left:10px', 'tabindex' => 180, 'onclick' => !$event->isNew() ? "javascript:if(!og.confirmEditRepEvent('" . $event->getId() . "',{$is_repetitive})) return false;" : ''));
?>
	</div></div>
</form>

<script>

var wsch = Ext.getCmp('<?php 
echo $genid;
?>
ws_ids');
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:31,代码来源:event.php

示例8: render_object_custom_properties

			'duration_type' => 1440
		)); */
?>
			</div>
			</fieldset>
		</div>
	
		<?php 
if ($has_custom_properties || config_option('use_object_properties')) {
    ?>
		<div id="<?php 
    echo $genid;
    ?>
add_custom_properties_div" class="form-tab">
			<?php 
    echo render_object_custom_properties($milestone, false);
    ?>
			<?php 
    echo render_add_custom_properties($milestone);
    ?>
		</div>
		<?php 
}
?>
	
		<div id="<?php 
echo $genid;
?>
add_subscribers_div" class="form-tab">
			<?php 
$subscriber_ids = array();
开发者ID:abhinay100,项目名称:fengoffice_app,代码行数:31,代码来源:add_template_milestone.php

示例9: re_render_custom_properties

 function re_render_custom_properties()
 {
     $object = Objects::findObject(array_var($_GET, 'id'));
     if (!$object) {
         // if id == 0 object is new, then a dummy object is created to render the properties.
         $object = new ProjectMessage();
     }
     $html = render_object_custom_properties($object, array_var($_GET, 'req'), array_var($_GET, 'co_type'));
     $scripts = array();
     $initag = "<script>";
     $endtag = "</script>";
     $pos = strpos($html, $initag);
     while ($pos !== FALSE) {
         $end_pos = strpos($html, $endtag, $pos);
         if ($end_pos === FALSE) {
             break;
         }
         $ini = $pos + strlen($initag);
         $sc = substr($html, $ini, $end_pos - $ini);
         if (!str_starts_with(trim($sc), "og.addTableCustomPropertyRow")) {
             // do not add repeated functions
             $scripts[] = $sc;
         }
         $pos = strpos($html, $initag, $end_pos);
     }
     foreach ($scripts as $sc) {
         $html = str_replace("{$initag}{$sc}{$endtag}", "", $html);
     }
     ajx_current("empty");
     ajx_extra_data(array("html" => $html, 'scripts' => implode("", $scripts)));
 }
开发者ID:rorteg,项目名称:fengoffice,代码行数:31,代码来源:ObjectController.class.php

示例10: label_tag

			<legend> <?php 
    echo label_tag(lang('role in project', clean(active_project()->getName())), $genid . 'profileFormRole');
    ?>
</legend>
			<?php 
    echo text_field('contact[role]', array_var($contact_data, 'role'), array('class' => 'long', 'id' => $genid . 'profileFormRole', 'tabindex' => '295'));
    ?>
		</fieldset>
		</div>
	<?php 
}
?>

	<div>
		<?php 
echo render_object_custom_properties($object, 'Contacts', true);
?>
	</div><br/>
	
  	<?php 
echo submit_button($contact->isNew() ? lang('add contact') : lang('save changes'), 's', array('tabindex' => '20000', 'id' => $genid . 'submit2'));
?>

<script>
	Ext.get('<?php 
echo $genid;
?>
profileFormFirstName').focus();
</script>
</div>
</div>
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:31,代码来源:edit_contact.php

示例11: render_add_reminders

			<?php echo render_add_reminders($task, 'due_date', array(
				'type' => 'reminder_email',
				'duration' => 1,
				'duration_type' => 1440,
				'for_subscribers' => true,
			)); ?>
		</div>
		</fieldset>
	</div>
	
	<div id="<?php echo $genid ?>add_custom_properties_div" style="<?php echo ($visible_cps > 0 ? "" : "display:none") ?>">
	<fieldset>
		<legend><?php echo lang('custom properties') ?></legend>
    	<div id="<?php echo $genid ?>not_required_custom_properties_container">
	    	<div id="<?php echo $genid ?>not_required_custom_properties">
	      	<?php echo render_object_custom_properties($task, false, $co_type) ?>
	      	</div>
	    </div>
      <?php echo render_add_custom_properties($task); ?>
  	</fieldset>
 	</div>
  
    <div id="<?php echo $genid ?>add_subscribers_div" style="display:none">
		<fieldset>
		<legend><?php echo lang('object subscribers') ?></legend>
		<div id="<?php echo $genid ?>add_subscribers_content">
			<?php echo render_add_subscribers($task, $genid); ?>
		</div>
		</fieldset>
	</div>
	
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:30,代码来源:add_task.php

示例12: text_field

?>
</td>
				<td><?php 
echo text_field('company[homepage]', array_var($company_data, 'homepage'), array('id' => $genid . 'clientFormCallbackNumber', 'tabindex' => '100'));
?>
</td>
			</tr>
			</table>
			</td>
		</tr>
	</table>
	
	
	<div>
		<?php 
echo render_object_custom_properties($object, 'Companies', true);
?>
	</div><br/>	
  
<?php 
if (!$company->isNew() && $company->isOwner()) {
    ?>
  <?php 
    echo submit_button(lang('save changes'), 's', array('tabindex' => '20000'));
} else {
    ?>
  <?php 
    echo submit_button($company->isNew() ? lang('add company') : lang('save changes'), 's', array('tabindex' => '20000'));
}
// if
?>
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:31,代码来源:add_company.php

示例13: render_object_custom_properties

        echo ' <span class="label_required">*</span>';
    }
    ?>
</legend>
		<?php 
    echo $category['content'];
    ?>
	</fieldset>
	</div>
	<?php 
}
?>
	
	<div>
		<?php 
echo render_object_custom_properties($object, 'ProjectMilestones', true);
?>
	</div><br/>

	<?php 
echo submit_button($milestone->isNew() ? array_var($milestone_data, 'is_template', false) ? lang('save template') : lang('add milestone') : lang('save changes'), 's', array('tabindex' => '20000'));
?>
</div>
</div>
</form>

<script>
	Ext.get('<?php 
echo $genid;
?>
milestoneFormName').focus();
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:31,代码来源:add_milestone.php

示例14: render_object_custom_properties

    if ($category['required']) {
        echo ' <span class="label_required">*</span>';
    }
    ?>
</legend>
<?php 
    echo $category['content'];
    ?>
</fieldset>
</div>
<?php 
}
?>

<div><?php 
echo render_object_custom_properties($object, 'ProjectWebPages', true);
?>
</div>
<br />

<?php 
echo submit_button($webpage->isNew() ? lang('add webpage') : lang('save changes'), 's', array('tabindex' => '20000'));
?>
</div>
</div>
</form>

<script>
	Ext.get('webpageFormTitle').focus();
</script>
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:30,代码来源:add.php

示例15: tpl_assign

		
	</div>
	
	<div id="<?php 
echo $genid;
?>
required_custom_properties_container">
		<div id="<?php 
echo $genid;
?>
required_custom_properties">
			<?php 
tpl_assign('startTi', 15000);
?>
			<?php 
echo render_object_custom_properties($object, 'ProjectTasks', true, $co_type);
?>
		</div><br/>
	</div>
	<?php 
echo input_field("task[is_template]", array_var($task_data, 'is_template', false), array("type" => "hidden", 'tabindex' => '160'));
?>
  <?php 
echo submit_button($task->isNew() ? array_var($task_data, 'is_template', false) ? lang('save template') : lang('add task list') : lang('save changes'), 's', array('tabindex' => '20000'));
?>
</div>
</div>
</form>

<script>
	var wsSelector = Ext.get('<?php 
开发者ID:pnagaraju25,项目名称:fengoffice,代码行数:30,代码来源:add_task.php


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