Ejemplo n.º 1
0
<h1><?php 
echo __('Extra fields') . ' (' . __($sf_request->getParameter('bind_type')) . ')';
?>
</h1>

<?php 
$lc = new cfgListingController($sf_context->getModuleName(), 'bind_type=' . $sf_request->getParameter('bind_type', 'projects'));
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>

<div style="margin-top: 7px;">
<?php 
echo link_to_mmodalbox(__('Update Selected'), 'extraFields/multipleEdit?bind_type=' . $sf_request->getParameter('bind_type'));
?>
</div>

<table   class="tableListing">
  <thead>
    <tr>     
      <th  style="width: 20px;"><input name="multiple_selected_all" id="multiple_selected_all" type="checkbox"></th> 
      <th><?php 
echo __('Action');
?>
</th>
      <th><?php 
echo __('Id');
?>
</th>
      <th><?php 
echo __('Type');
?>
Ejemplo n.º 2
0
<h1><?php 
echo __('Projects Reports');
?>
</h1>

<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button(__('Add Report')) . ' ' . $lc->sort_button();
?>

<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>            
      <th width="100%"><?php 
echo __('Name');
?>
</th>
      <th><?php 
echo __('Display on dashboard');
?>
</th>      
      <th><?php 
echo __('Display in menu');
?>
</th>                  
    </tr>
  </thead>
Ejemplo n.º 3
0
<h1><?php 
echo __('Projects Status');
?>
</h1>

<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>

<table  class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>
      
      <th width="100%"><?php 
echo __('Name');
?>
</th>            
      <th><?php 
echo __('Default?');
?>
</th>      
      
      <th><?php 
echo __('Sort Order');
?>
</th>
Ejemplo n.º 4
0
    <div id="extraFieldsInDescription"><?php 
echo ExtraFieldsList::renderDescriptionFileds('tickets', $tickets, $sf_user);
?>
</div>
    <div><?php 
include_component('attachments', 'attachmentsList', array('bind_type' => 'tickets', 'bind_id' => $tickets->getId()));
?>
</div>
  </div>
</div>     
<br>
<?php 
echo input_hidden_tag('item_name', $tickets->getName()) . input_hidden_tag('item_description', $tickets->getDescription());
$comments_access = Users::getAccessSchema('ticketsComments', $sf_user, isset($projects) ? $projects->getId() : false);
if ($comments_access['view']) {
    $lc = new cfgListingController($sf_context->getModuleName(), 'tickets_id=' . $tickets->getId() . (isset($projects) ? '&projects_id=' . $projects->getId() : ''));
    ?>


<table width="100%" class="resetPadding">
  <tr>
    <td>
      <table>
        <tr>          
          <td style="padding-right: 15px;"><?php 
    if ($comments_access['insert']) {
        echo $lc->insert_button(__('Add Comment'));
    }
    ?>
</td>                    
          <td><?php 
Ejemplo n.º 5
0
<h1><?php 
echo __('Departments');
?>
</h1>
<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>
<table class="tableListing">
  <thead>
    <tr>      
      <th><?php 
echo __('Action');
?>
</th>
      <th width="100%"><?php 
echo __('Name');
?>
</th>
      <th><?php 
echo __('Assigned To');
?>
</th>
      <th><?php 
echo __('Sort Order');
?>
</th>
      <th><?php 
echo __('Active');
?>
</th>
Ejemplo n.º 6
0
<h1><?php 
echo __('Tasks Labels');
?>
</h1>
<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>
<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>
      <th width="100%"><?php 
echo __('Name');
?>
</th>
      <th><?php 
echo __('Default?');
?>
</th>
      <th><?php 
echo __('Sort Order');
?>
</th>
      <th><?php 
echo __('Active?');
?>
</th>
Ejemplo n.º 7
0
<?php

include_component('projects', 'shortInfo', array('projects' => $projects));
?>

<h1><?php 
echo __('Tasks Groups');
?>
</h1>

<?php 
$lc = new cfgListingController($sf_context->getModuleName(), 'projects_id=' . $projects->getId());
echo $lc->insert_button(__('Add Group'));
?>

<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>      
      <th width="100%"><?php 
echo __('Name');
?>
</th>
    </tr>
  </thead>
  <tbody>
    <?php 
foreach ($tasks_groupss as $tasks_groups) {
Ejemplo n.º 8
0
<?php

include_component('projects', 'shortInfo', array('projects' => $projects));
?>

<h1><?php 
echo __('Tasks Versions');
?>
</h1>

<?php 
$in_listing = array();
$in_listing['status'] = app::countItemsByTable('VersionsStatus');
$lc = new cfgListingController($sf_context->getModuleName(), 'projects_id=' . $projects->getId());
echo $lc->insert_button(__('Add Version'));
?>

<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>      
      
      <?php 
if ($in_listing['status']) {
    ?>
      <th><?php 
    echo __('Status');
    ?>
Ejemplo n.º 9
0
<h1><?php 
echo __('Default Phases');
?>
</h1>

<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button();
?>

<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>
      <th width="100%"><?php 
echo __('Name');
?>
</th>
    </tr>
  </thead>
  <tbody>
    <?php 
foreach ($phasess as $phases) {
    ?>
    <tr>
      <td><?php 
    echo $lc->action_buttons($phases->getId());
    ?>
Ejemplo n.º 10
0
include_component('app', 'searchMenuSimple');
?>
</td>
  </tr>  
</table>
</div>

<div><?php 
if (!$sf_request->hasParameter('search')) {
    include_component('users', 'filtersPreview');
}
?>
</div>

<?php 
$lc = new cfgListingController($sf_context->getModuleName());
$extra_fields = ExtraFieldsList::getFieldsByType('users', $sf_user, true);
?>


<table width="100%">
  <tr>
    <td>
      <table>
        <tr>          
          <td style="padding-right: 15px;"><?php 
echo $lc->insert_button(__('Add User'));
?>
</td>                    
          <td style="padding-right: 15px;"><?php 
echo link_to_mmodalbox(__('Export Selected'), 'users/export');
Ejemplo n.º 11
0
<h1><?php 
echo __('Versions Status');
?>
</h1>
<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>
<table class="tableListing">
  <thead>
    <tr>      
      <th><?php 
echo __('Action');
?>
</th>
      <th width="100%"><?php 
echo __('Name');
?>
</th>
      <th><?php 
echo __('Default?');
?>
</th>      
      <th><?php 
echo __('Sort Order');
?>
</th>
      <th><?php 
echo __('Active?');
?>
</th>
Ejemplo n.º 12
0
<?php

include_component('projects', 'shortInfo', array('projects' => $projects));
?>

<h1><?php 
echo __('Projects Phases');
?>
</h1>

<?php 
$in_listing = array();
$in_listing['status'] = app::countItemsByTable('PhasesStatus');
$lc = new cfgListingController($sf_context->getModuleName(), 'projects_id=' . $projects->getId());
echo $lc->insert_button(__('Add Phase'));
?>

<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>
      
      <?php 
if ($in_listing['status']) {
    ?>
      <th><?php 
    echo __('Status');
    ?>
Ejemplo n.º 13
0
<h1><?php 
echo __('Users Groups');
?>
</h1>
<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button();
?>

<table  class="tableListing">
  <thead>
    <tr>
      <th widht="100"><?php 
echo __('Action');
?>
</th>
      
      <th ><?php 
echo __('Name');
?>
</th>
      <th><?php 
echo __('Projects');
?>
</th>
      <th><?php 
echo __('Tasks');
?>
</th>            
      <th><?php 
echo __('Tickets');
Ejemplo n.º 14
0
<h1><?php 
echo __('Tasks Priorities');
?>
</h1>
<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>
<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>
      <th width="100%"><?php 
echo __('Name');
?>
</th>
      <th><?php 
echo __('Default?');
?>
</th>
      <th><?php 
echo __('Icon');
?>
</th>
      <th><?php 
echo __('Sort Order');
?>
</th>
Ejemplo n.º 15
0
<h1><?php 
echo __('Tickets Types');
?>
</h1>
<?php 
$lc = new cfgListingController($sf_context->getModuleName());
echo $lc->insert_button() . ' ' . $lc->sort_button();
?>
<table class="tableListing">
  <thead>
    <tr>
      <th><?php 
echo __('Action');
?>
</th>
      <th width="100%"><?php 
echo __('Name');
?>
</th>      
      <th><?php 
echo __('Sort Order');
?>
</th>
      <th><?php 
echo __('Active?');
?>
</th>
    </tr>
  </thead>
  <tbody>
    <?php