Beispiel #1
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>
Beispiel #2
0
<?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 
    echo count($tickets_comments) > sfConfig::get('app_rows_per_page') ? get_partial('global/jsPager', array('id' => 'pager')) : '';
    ?>
</td>
        </tr>
      </table>
    </td>
    <td align="right">
      <form onSubmit="return false">
      <table>
        <tr>
          <td><?php 
Beispiel #3
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');
?>
Beispiel #4
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');
    ?>
Beispiel #5
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) {
Beispiel #6
0
?>
</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');
?>
</td>
          <td><?php 
echo count($userss) > sfConfig::get('app_rows_per_page') ? get_partial('global/jsPager', array('id' => 'pager')) : '';
?>
</td>
        </tr>
      </table>
    </td>
    <td align="right">
      <form onSubmit="return false">
Beispiel #7
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());
    ?>
Beispiel #8
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');
    ?>