<?php render_context_help($this, 'chelp add note workspace', 'add_note_workspace'); ?> </div> <?php } ?> <legend><?php echo lang('workspace'); ?> </legend> <?php if ($message->isNew()) { echo select_workspaces('ws_ids', null, array($project), $genid . 'ws_ids'); } else { echo select_workspaces('ws_ids', null, $message->getWorkspaces(), $genid . 'ws_ids'); } ?> </fieldset> </div> <div id="<?php echo $genid; ?> add_message_add_tags_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_note_tags_context_help', true, logged_user()->getId())) { ?> <div id="addNotesPanelContextHelp" class="contextHelpStyle">
<table style="min-width:400px;margin-top:10px;"><tr> <th></th> <th style="padding-left: 5px"><h2><?php echo lang('project'); ?> </h2></th> <th style="padding-left: 5px"><h2><?php echo lang('role'); ?> </h2></th> </tr> <tr> <td style="padding: 5px;"></td> <td style="padding: 5px;"> <?php echo select_workspaces("ws_ids", null, $selected, $genid); ?> </td> <td style="padding: 5px;"> <?php echo "<p>" . lang("assign contact to workspace desc") . "</p><br />"; foreach ($projects as $project) { echo '<div id="role_' . $project->getId() . '_' . $genid . '" style="display:none">'; echo label_tag(lang("role"), null, false, array("style" => "display:inline;padding-right:10px")); echo text_field("contact[role_pid_" . $project->getId() . "]", array_var($contact_data, 'role_pid_' . $project->getId()), array('tabindex' => '20')); echo '</div>'; } ?> </td> </table>
<?php if (isset($workspaces) && count($workspaces) > 0) { ?> <div id="<?php echo $genid; ?> add_template_select_workspace_div" style="display:none"> <fieldset><legend><?php echo lang('workspace'); ?> </legend> <?php if ($cotemplate->isNew()) { echo select_workspaces('ws_ids', null, null, $genid . 'ws_ids'); } else { echo select_workspaces('ws_ids', null, $cotemplate->getWorkspaces(), $genid . 'ws_ids'); } ?> </fieldset> </div> <?php } ?> <div id="<?php echo $genid; ?> add_template_parameters_div"> <fieldset><legend><?php echo lang('parameters'); ?>
<?php render_context_help($this, 'chelp add event workspace', 'add_event_workspace'); ?> </div> <?php } ?> <legend><?php echo lang('workspace'); ?> </legend> <?php if ($object->isNew()) { echo select_workspaces('ws_ids', null, array($project), $genid . 'ws_ids'); } else { echo select_workspaces('ws_ids', null, $object->getWorkspaces(), $genid . 'ws_ids'); } ?> </fieldset> </div> <div id="trap1"><fieldset id="fs1" style="height:0px;border:0px;padding:0px;display:none"><span style="color:#FFFFFF;"></span></fieldset></div> <div id="<?php echo $genid; ?> add_event_tags_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_tag_context_help', true, logged_user()->getId())) { ?>
<form class='internalForm' method="post" action="<?php echo get_url('template', 'assign_to_ws', array('id' => $cotemplate->getId())); ?> "> <div class="adminClients" style="height:100%;background-color:white"> <div class="adminHeader"> <div class="adminTitle"><?php echo lang('assign template to workspace', clean($cotemplate->getName())); ?> </div> </div> <div class="adminSeparator"></div> <div class="adminMainBlock"> <?php echo select_workspaces("ws_ids", $workspaces, $selected, gen_id()); echo submit_button(lang('save'), 's', array('tabindex' => '10')); ?> </div> </div> </form>
<div id="<?php echo $genid; ?> add_company_select_workspace_div" style="display:none"> <?php } ?> <fieldset><legend><?php echo lang('workspace'); ?> </legend> <?php if ($company->isNew()) { echo select_workspaces('ws_ids', null, array($project), $genid . 'ws_ids'); } else { echo select_workspaces('ws_ids', null, $company->getWorkspaces(), $genid . 'ws_ids'); } ?> </fieldset> </div> <div id='<?php echo $genid; ?> add_custom_properties_div' style="display:none"> <fieldset> <legend><?php echo lang('custom properties'); ?> </legend> <?php
hfPerms" type="hidden" value="<?php echo $group->isNew() ? '' : str_replace('"', "'", json_encode($group->getAllPermissions())); ?> "/> <input id="<?php echo $genid; ?> hfPermsSend" name="<?php echo $name; ?> " type="hidden" value=""/> <table><tr><td> <?php echo select_workspaces("", isset($projects) ? $projects : null, null, "workspace-chooser{$genid}"); ?> </td><td style="padding-left:20px"> <div id="<?php echo $genid; ?> project_permissions" style="display:none"> <div id="<?php echo $genid; ?> project_name" style="font-weight:bold;font-size:120%;padding-bottom:15px"></div> <a href="#" class="internalLink" onclick="og.ogPermApplyToSubworkspaces('<?php echo $genid; ?> ');return false;"><?php echo lang('apply to all subworkspaces');
?> </td></tr></table></div> </div> </div> <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
<?php set_page_title(lang('update permissions')); administration_tabbed_navigation(ADMINISTRATION_TAB_CLIENTS); administration_crumbs(array(array(lang('clients'), get_url('administration', 'clients')), array($company->getName(), $company->getViewUrl()), array(lang('update permissions')))); $genid = gen_id(); if (isset($projects) && is_array($projects) && count($projects)) { ?> <div id="companyPermissions" style="padding: 10px"> <table><tr><td style="padding: 10px"> <form class="internalForm" action="<?php echo $company->getUpdatePermissionsUrl(); ?> " method="post"> <?php echo select_workspaces("ws_ids", $projects, $company->getProjects(), $genid); ?> <input type="hidden" name="submitted" value="submitted" /> <?php echo submit_button(lang('update permissions')); ?> </form> </td><td style="padding: 10px"> <div class="hint"> <div class="header"><?php echo lang('hint'); ?> </div> <div class="content"><?php echo lang('update company permissions hint'); ?>