コード例 #1
0
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_note_tags_context_help', true, logged_user()->getId())) {
    ?>
			<div id="addNotesPanelContextHelp" class="contextHelpStyle">
				<?php 
    render_context_help($this, 'chelp add note tags', 'add_note_tags');
    ?>
			</div>
		<?php 
}
?>
	<legend><?php 
echo lang('tags');
?>
</legend>
		<?php 
echo autocomplete_tags_field("message[tags]", array_var($message_data, 'tags'), null, 20);
?>
	</fieldset>
	</div>

	<?php 
if (logged_user()->isMemberOfOwnerCompany()) {
    ?>
	<div id="<?php 
    echo $genid;
    ?>
add_message_options_div" style="display:none">
	<fieldset>
	<legend><?php 
    echo lang('options');
    ?>
コード例 #2
0
                    ?>
]" />
				<?php 
                }
            }
            ?>
				</td>
			<?php 
        } else {
            //if is a tag selection or a workspace selection
            $val = $condition->getValue();
            if ($condition->getFieldName() == 'workspace') {
                echo select_project2('params[workspace]', isset($val) ? $val : 0, $genid, true);
            }
            if ($condition->getFieldName() == 'tag') {
                echo autocomplete_tags_field("params[tag]", null, null, 40);
            }
        }
        ?>
			</tr>
		<?php 
    }
    //else
    unset($cp);
}
//foreach
?>
	</table>
	
<?php 
echo submit_button(lang('generate report'), 's', array('tabindex' => $tiCount + 1));
コード例 #3
0
ファイル: event.php プロジェクト: pnagaraju25/fengoffice
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_event_tag_context_help', true, logged_user()->getId())) {
    ?>
			<div id="addEventPanelContextHelp" class="contextHelpStyle">
				<?php 
    render_context_help($this, 'chelp add event tag', 'add_event_tag');
    ?>
			</div>
		<?php 
}
?>
			<legend><?php 
echo lang('tags');
?>
</legend>
			<?php 
echo autocomplete_tags_field("event[tags]", array_var($event_data, 'tags'), "event[tags]", 20);
?>
		</fieldset>
		</div>
		<div id="trap2"><fieldset id="fs2" style="height:0px;border:0px;padding:0px;display:none"><span style="color:#FFFFFF;"></span></fieldset></div>
		
		<div id="<?php 
echo $genid;
?>
add_event_description_div" style="display:none">
			<fieldset>
			<?php 
$show_help_option = user_config_option('show_context_help');
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_event_description_context_help', true, logged_user()->getId())) {
    ?>
			<div id="addEventPanelContextHelp" class="contextHelpStyle">
コード例 #4
0
ファイル: add_chart.php プロジェクト: Jtgadbois/Pedadida
		<a href="#" class="option" onclick="og.toggleAndBolden('add_chart_add_tags_div', this)"><?php echo lang('tags') ?></a> - 
		<a href="#" class="option" onclick="og.toggleAndBolden('add_chart_display_div', this)"><?php echo lang('display') ?></a>
	</div>
</div>
<div class="coInputSeparator"></div>
<div class="coInputMainBlock">

	<div id="add_chart_select_context_div" style="display:none">
	<fieldset><legend><?php echo lang('workspace')?></legend>
		<?php echo select_project2('chart[project_id]', ($project instanceof Project)? $project->getId():0, $genid) ?>
	</fieldset>
	</div>
	
	<div id="add_chart_add_tags_div" style="display:none">
	<fieldset><legend><?php echo lang('tags')?></legend>
		<?php echo autocomplete_tags_field("chart[tags]", array_var($chart_data, 'tags')); ?>
	</fieldset>
	</div>
	
	<div id="add_chart_display_div" style="display:none">
	<fieldset><legend><?php echo lang('display')?></legend>
		<div class="objectOption">
			<div class="optionLabel"><label><?php echo lang('show in project') ?>:</label></div>
			<div class="optionControl"><?php echo yes_no_widget('chart[show_in_project]', 'chartFormShowInProject', array_var($chart_data, 'show_in_project'), lang('yes'), lang('no')) ?></div>
			<div class="optionDesc"><?php echo lang('show in project desc') ?></div>
		</div>
		
		<div class="objectOption">
			<div class="optionLabel"><label><?php echo lang('show in parents') ?>:</label></div>
			<div class="optionControl"><?php echo yes_no_widget('chart[show_in_parents]', 'chartFormShowInParents', array_var($chart_data, 'show_in_parents'), lang('yes'), lang('no')) ?></div>
			<div class="optionDesc"><?php echo lang('show in parents desc') ?></div>
コード例 #5
0
ファイル: csv_import.php プロジェクト: pnagaraju25/fengoffice
</div>
<?php 
if (isset($titles)) {
    ?>
	
	<div id="<?php 
    echo $genid;
    ?>
import_contact_add_tags_div" style="display:none">
	<fieldset><legend><?php 
    echo lang('tags');
    ?>
</legend>
		<?php 
    echo autocomplete_tags_field("tags", array_var($contact_data, 'tags'), 50);
    ?>
	</fieldset>
	</div>
	
	<div class="coInputMainBlock adminMainBlock">
	
	<table><tr><th></th><th><?php 
    echo $import_type == 'contact' ? lang('contact fields') : lang('company fields');
    ?>
</th><th><?php 
    echo lang('fields from file');
    ?>
</th></tr>
	
	<?php 
コード例 #6
0
	</div>
	<?php 
}
// if
?>
		
	<div id="<?php 
echo $genid;
?>
add_company_add_tags_div" style="display:none">
	<fieldset><legend><?php 
echo lang('tags');
?>
</legend>
		<?php 
echo autocomplete_tags_field("company[tags]", array_var($company_data, 'tags'), null, 180);
?>
	</fieldset>
	</div>
	
  
  	<div style="display:none" id="<?php 
echo $genid;
?>
add_company_notes">
	<fieldset><legend><?php 
echo lang('notes');
?>
</legend>
	    <div>
	      <?php 
コード例 #7
0
		<?php 
echo render_object_link_form($object);
?>
	</fieldset>	
	</div>
	
	<div id="<?php 
echo $genid;
?>
add_contact_add_tags_div" style="display:none">
	<fieldset><legend><?php 
echo lang('tags');
?>
</legend>
		<?php 
echo autocomplete_tags_field("contact[tags]", array_var($contact_data, 'tags'), null, 290);
?>
	</fieldset>
	</div>
	
	<?php 
foreach ($categories as $category) {
    ?>
	<div <?php 
    if (!$category['visible']) {
        echo 'style="display:none"';
    }
    ?>
 id="<?php 
    echo $genid . $category['name'];
    ?>
コード例 #8
0
ファイル: add.php プロジェクト: pnagaraju25/fengoffice
$show_help_option = user_config_option('show_context_help');
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_webpage_tags_context_help', true, logged_user()->getId())) {
    ?>
<div id="webpagePanelContextHelp"
	class="contextHelpStyle"><?php 
    render_context_help($this, 'chelp add webpage tags', 'add_webpage_tags');
    ?>
</div>
<?php 
}
?>
 <legend> <?php 
echo lang('tags');
?>
</legend> <?php 
echo autocomplete_tags_field("webpage[tags]", array_var($webpage_data, 'tags'), null, 30);
?>
</fieldset>
</div>

<div id="<?php 
echo $genid;
?>
add_webpage_description_div" style="display: none">
<fieldset><?php 
$show_help_option = user_config_option('show_context_help');
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_webpage_description_context_help', true, logged_user()->getId())) {
    ?>
<div id="webpagePanelContextHelp"
	class="contextHelpStyle"><?php 
    render_context_help($this, 'chelp add webpage description', 'add_webpage_description');
コード例 #9
0
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_milestone_tags_context_help', true, logged_user()->getId())) {
    ?>
			<div id="milestonePanelContextHelp" class="contextHelpStyle">
				<?php 
    render_context_help($this, 'chelp add milestone tags', 'add_milestone_tags');
    ?>
			</div>
		<?php 
}
?>
	<legend><?php 
echo lang('tags');
?>
</legend>
		<?php 
echo autocomplete_tags_field("milestone[tags]", array_var($milestone_data, 'tags'), null, 10);
?>
		
	</fieldset>
	</div>
	
	<div id="<?php 
echo $genid;
?>
add_milestone_description_div" style="display:none">
	<fieldset>
		<?php 
$show_help_option = user_config_option('show_context_help');
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_milestone_description_context_help', true, logged_user()->getId())) {
    ?>
			<div id="milestonePanelContextHelp" class="contextHelpStyle">
コード例 #10
0
echo select_project2('project_id', active_or_personal_project()->getId(), $genid);
?>
	</fieldset>
	</div>

	<div id="<?php 
echo $genid;
?>
parameters_tags_div" style="display:none">
	<fieldset>
	<legend><?php 
echo lang('tags');
?>
</legend>
		<?php 
echo autocomplete_tags_field('tags', '', 'tags');
?>
	</fieldset>
	</div>
	<div>
		<table><tbody>
		<?php 
foreach ($parameters as $parameter) {
    ?>
			<tr style='height:30px;'>
				<td style="padding:3px 10px 0 10px;"><b><?php 
    echo $parameter['name'];
    ?>
</b></td>
				<td align="left">
					<?php 
コード例 #11
0
ファイル: add_task.php プロジェクト: pnagaraju25/fengoffice
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_add_task_tags_context_help', true, logged_user()->getId())) {
    ?>
			<div id="tasksPanelContextHelp" class="contextHelpStyle">
				<?php 
    render_context_help($this, 'chelp add new task tag', 'add_task_tags');
    ?>
			</div>
		<?php 
}
?>
	<legend><?php 
echo lang('tags');
?>
</legend>
		<?php 
echo autocomplete_tags_field("task[tags]", array_var($task_data, 'tags'), null, 30);
?>
	</fieldset>
	</div>

	
	<div id="<?php 
echo $genid;
?>
add_task_more_div" style="display:block">
  	<fieldset>
    <legend><?php 
echo lang('task data');
?>
</legend>
    
コード例 #12
0
    } else {
        echo lang('you can tag the contacts before running the import');
    }
    ?>
</b></p>
		
		<div id="<?php 
    echo $genid;
    ?>
import_contact_add_tags_div" style="display:none">
			<fieldset><legend><?php 
    echo lang('tags');
    ?>
</legend>
				<?php 
    echo autocomplete_tags_field("tags", '', $genid . "tags");
    ?>
			</fieldset>
		</div>
<?php 
}
if (isset($import_result)) {
    if (count($import_result['import_ok'])) {
        $isAlt = false;
        ?>
	<br><table><tr><th colspan="2" style="text-align:center"><?php 
        echo $import_type == 'contact' ? lang('contacts succesfully imported') : lang('companies succesfully imported');
        ?>
</th>
				   <th style="text-align:center"><?php 
        echo lang('status');
コード例 #13
0
ファイル: classify.php プロジェクト: pnagaraju25/fengoffice
<div class="coInputSeparator"></div>
<div class="coInputMainBlock">

  <fieldset>
<legend><?php 
echo lang('project');
?>
</legend>
		<?php 
echo select_workspaces('classification[project_ids]', null, array_var($classification_data, 'project_ids'), $genid . 'wsSel');
?>
		<?php 
echo label_tag(lang('tags'));
?>
	<?php 
echo autocomplete_tags_field("classification[tag]", array_var($classification_data, 'tag'), null, 20);
?>
	<br />
	<?php 
echo checkbox_field('classification[create_task]', false, array('id' => $genid . 'create_task', 'tabindex' => '30'));
?>
	<label class="yes_no" for="<?php 
echo $genid . 'create_task';
?>
"><?php 
echo lang('create task from email');
?>
</label>
</fieldset>
   
   <?php 
コード例 #14
0
ファイル: add_file.php プロジェクト: pnagaraju25/fengoffice
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_upload_file_tags_context_help', true, logged_user()->getId())) {
    ?>
			<div id="uploadFileContextHelp" class="contextHelpStyle">
				<?php 
    render_context_help($this, 'chelp upload file tags', 'upload_file_tags');
    ?>
			</div>
		<?php 
}
?>
			<legend><?php 
echo lang('tags');
?>
</legend>
			<?php 
echo autocomplete_tags_field("file[tags]", array_var($file_data, 'tags'), null, 85);
?>
		</fieldset>
	</div>

	<div id="<?php 
echo $genid;
?>
add_file_description_div" style="display: none">
		<fieldset>
			<?php 
$show_help_option = user_config_option('show_context_help');
if ($show_help_option == 'always' || $show_help_option == 'until_close' && user_config_option('show_upload_file_description_context_help', true, logged_user()->getId())) {
    ?>
			<div id="uploadFileContextHelp" class="contextHelpStyle">
				<?php