<?php

$firefoxPath = null;
$url_tab = array('project_id' => $project_id, 'project_ref' => $project_ref, 'profile_id' => $profile_id, 'profile_ref' => $profile_ref, 'profile_name' => $profile_name);
?>
 
<?php 
if ($user_settings == null or $user_settings != null and $user_settings->getFirefoxPath() == '') {
    ?>
    <?php 
    $lienConfigureFF = link_to2("here", "default", array("module" => "eiuser", "action" => "index"), array("target" => "_blank"));
    ?>
    <div class="alert">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        <strong>Firefox Path Missing</strong>: You need to configure it (<?php 
    echo $lienConfigureFF;
    ?>
) to use the play button.
    </div>
<?php 
} else {
    ?>
    <?php 
    $firefoxPath = $user_settings->getFirefoxPath();
}
?>

<div id="subjectContent" class="row">
    <div class="panel panel-default eiPanel" >
        <div class="panel-heading">
            <h2>
示例#2
0
            echo $msg->getMessage() . '/' . $msg->getSfGuardUser()->getUsername();
            ?>
        <?php 
            echo link_to2('reply', 'subject_message_create', array('project_id' => $project_id, 'project_ref' => $project_ref, 'subject_id' => $subject_id, 'parent_id' => $msg->getId(), 'type' => $type, 'action' => 'new'), array('class' => 'pull-right', 'id' => 'addsubjectMessage'));
            ?>
    </label>
    
    <?php 
            //unset($msgs[$i]);
            ?>
    <?php 
            if ($obj->hasChildren()) {
                ?>
    <ul class="nav nav-list tree"> 
        <?php 
                include_partial('eisubjectmessage/printNode', array('level' => $msg->getLevel() + 1, 'parent_id' => $msg->getId(), 'msgs' => $obj->getChildren(), 'project_id' => $project_id, 'project_ref' => $project_ref, 'subject_id' => $subject_id, 'type' => $type));
                ?>
    </ul>
    <?php 
            }
            ?>
</li>

<?php 
            echo link_to2('Ask question', 'subject_message_create', array('project_id' => $project_id, 'project_ref' => $project_ref, 'subject_id' => $subject_id, 'parent_id' => $parent_id, 'type' => $type, 'action' => 'new'), array('class' => ' ', 'id' => 'addsubjectMessage'));
        }
    }
}
?>

 /**
  * @param $node_redirect_class
  * @param bool $active
  * @param $profile_name
  * @param $profile_id
  * @param $profile_ref
  * @return string
  */
 public function createLiElem($url_tab, $node_redirect_class, $active = false)
 {
     $eidatasetstructure_edit_node_uri = $url_tab;
     $eidatasetstructure_edit_node_uri['ei_scenario_id'] = $this->getEiScenarioId();
     $eidatasetstructure_edit_node_uri['ei_root_node_id'] = $this->getId();
     if ($active) {
         $active = "current_datasetstructure_node active";
         $arrow = '<i class="icon-chevron-right"></i>';
     } else {
         $active = "";
         $arrow = "";
     }
     if ($this->getNode()->isRoot()) {
         $imgs = "";
         $padding = "padding-left";
     } else {
         $padding = '';
         $imgs = '
        <img class="open_datasetstructure_node" title="Open" alt="" src="/images/icones/fleche-droite.png">
        <img class="close_datasetstructure_node " title="Close" alt="" src="/images/icones/fleche-bas.png">';
     }
     $return = sprintf('<li ei_datasetstructure_node="%d" class="%s">
         <div class="' . $active . ' ' . $padding . '">' . $imgs . '<i class="icon-inbox"></i> %s ' . $arrow . ' ' . '</div>', $this->id, "sortable", link_to2($this->name, 'eidatasetstructure_edit_node', $eidatasetstructure_edit_node_uri, array('class' => "go_to_block_" . $node_redirect_class, 'title' => "Open " . $this->name . " panel")));
     return $return;
 }
示例#4
0
        } else {
            echo "Jamais";
        }
        ?>
 
                </td>
                <?php 
        if ($ei_project['obsolete']) {
            ?>
                    <td class="projet_obsolet">  Obsolet ! </td>
                <?php 
        } elseif ($ei_project['version_courante'] != $ei_project['version_kalifast']) {
            ?>
                    <td class="recharger_projet">
                        <?php 
            echo link_to2('Update', "recharger_fonctions", array('project_id' => $ei_project['project_id'], 'project_ref' => $ei_project['ref_id'], 'redirect' => 'homepage'), array('id' => "updateProject_" . $ei_project['project_id'] . '_' . $ei_project['ref_id'], 'class' => 'label label-warning update_project'));
            ?>
                    </td>
                <?php 
        } else {
            ?>
                    <td class="projet_a_jour">
                        <span class="label label-success">Up to date</span> 
                     </td>
                <?php 
        }
        ?>
            </td>
          
        </tr>
    <?php 
示例#5
0
<!-- Menu principal d'un user -->
<?php 
if (isset($ei_project) && $ei_project != null && isset($ei_profile) && $ei_profile != null) {
    $url_tab = array('project_id' => $project_id, 'project_ref' => $project_ref, 'profile_id' => $profile_id, 'profile_ref' => $profile_ref, 'profile_name' => $profile_name);
    ?>
 
<!--On est dans le module eiuser -->  
<?php 
    include_partial('global/sideBarCurrentObject', array('title' => 'User Settings', 'icon' => 'fa-user', 'originalTitle' => 'User Settings', 'dataContent' => ''));
    ?>
    
    <ul class="nav nav-sidebar">
        <li>
            
            <?php 
    echo link_to2("<i class='fa fa-gear'></i><span class='text'> Define firefox path</span> ", "default", array("module" => "eiuser", "action" => "index"), array("title" => "Settings"));
    ?>
        </li>
        <li> 
            <a href="<?php 
    echo url_for2('setDefaultPackage', array('action' => 'setDefaultPackage', 'project_id' => $ei_project->getProjectId(), 'project_ref' => $ei_project->getRefId()));
    ?>
">
                 <i class="fa fa-apple"></i>
                 <span class='text'> Default package</span>
             </a>
        </li>  
    </ul> 
<hr/>
<?php 
    include_partial('global/openDeliveries', array('openDeliveries' => $openDeliveries, 'delivery_show_uri' => $url_tab));
                    <?php 
    }
    ?>
                </td>
                <td>
                    <?php 
    if ($isTs) {
        ?>

                    <?php 
        echo link_to2(ei_icon('ei_show'), 'eitestset_oracle', array('project_id' => $project_id, 'project_ref' => $project_ref, 'ei_scenario_id' => $graph->getEiScenario()->getId(), 'ei_test_set_id' => $graph->getEiTestSet()->getId(), 'profile_name' => EiProfil::slugifyProfileName($profile_name), 'profile_id' => $profile_id, 'profile_ref' => $profile_ref), array('target' => '_blank', 'title' => 'Oracle'));
        ?>

                    &nbsp;&nbsp;
                    <?php 
        echo link_to2('<i class="fa fa-code fa-lg"></i>', "eitestset_oracle_download", array('project_id' => $project_id, 'project_ref' => $project_ref, 'ei_scenario_id' => $graph->getEiScenario()->getId(), 'ei_test_set_id' => $graph->getEiTestSet()->getId(), 'sf_format' => "xml", 'profile_name' => EiProfil::slugifyProfileName($profile_name), 'profile_id' => $profile_id, 'profile_ref' => $profile_ref), array('target' => '_blank', 'title' => 'XML logs'));
        ?>
                    &nbsp;&nbsp;
                    <a href="<?php 
        echo $urlExcelRequest;
        ?>
" data-id="<?php 
        echo $graph->getEiTestSet()->getId();
        ?>
" title="Excel" class="excel-open-logs excelIcon">
                        <img src="<?php 
        echo sfConfig::get("app_icone_excel_24x24_path");
        ?>
" alt="" width="20" title="Open logs in Excel" class="excel-icon-img disabledOracle" />
                        <?php 
        echo sfConfig::get("app_loader_excel_button");
示例#7
0
        ?>
"> <i class="icon-wrench"></i> Properties</a>
                            </li>  
                            <li class="divider"></li>
                            <li>
                                <?php 
        echo link_to2("<i class=\"icon-tasks\"></i> Open", "eidataset_index", array('project_id' => $sf_request->getParameter('project_id'), 'project_ref' => $sf_request->getParameter('project_ref'), 'profile_name' => EiProfil::slugifyProfileName($sf_request->getParameter('profile_name')), 'profile_id' => $sf_request->getParameter('profile_id'), 'profile_ref' => $sf_request->getParameter('profile_ref'), 'ei_scenario_id' => $ei_scenario->getId()));
        ?>
                            </li> 
                            
                        </ul>
                    </li>
                    <li class="divider-vertical"></li>
                    <li>
                        <?php 
        echo link_to2("<i class=\"icon-tasks\"></i> Reports", "ei_test_set_index", array('project_id' => $sf_request->getParameter('project_id'), 'project_ref' => $sf_request->getParameter('project_ref'), 'profile_name' => EiProfil::slugifyProfileName($sf_request->getParameter('profile_name')), 'profile_id' => $sf_request->getParameter('profile_id'), 'profile_ref' => $sf_request->getParameter('profile_ref'), 'ei_scenario_id' => $ei_scenario->getId()));
        ?>
                    </li>
                    
            
            
            <?php 
    }
    ?>
        </ul>
        <ul class="nav pull-right">
            <li class="divider-vertical"></li>
            <li class="pull-right col-lg-3 col-md-3 active" id="toolTips"> 
                <?php 
    if ($sf_user->hasFlash('msg_success')) {
        ?>
示例#8
0
    echo $sf_user->getFlash('erreur_projet');
    ?>
    </p>
<?php 
} else {
    ?>
    


    <table id="detail_projet">

        <thead>
            <tr>
                <td  class ="nom_projet">
                    <?php 
    echo link_to2($projet->getLibelle(), 'projet_show', array('id_projet' => $projet->getId(), 'profile_name' => $sf_request->getParameter('profile_name'), 'id_profil' => $sf_request->getParameter('id_profil')));
    ?>
                </td>
                <td>   
                    <a href="#" id="derouler_detail_projet" alt="Details" tag="Details" > 
                        <img class="details_projet_plus_info" alt="" src="/images/icones/expand.png">
                        <img class="details_projet_moins_info" alt="" src="/images/icones/collapse.png">
                    </a>
                </td>
            </tr>

        </thead>

        <tbody>
            <tr id="description_projet" class="to_hide" >
                <td colspan="3">
示例#9
0
                </li> 
                <?php 
    if ($is_automatizable) {
        ?>
 
                <?php 
        if ($ei_scenario != null) {
            ?>
                <li class="liOracleButton"> 

                    <?php 
            if ($executionGraphStep != null && $executionGraphStep->getEiTestSetId() != null) {
                echo link_to2(ei_icon('ei_show'), 'eitestset_oracle', array('project_id' => $project_id, 'project_ref' => $project_ref, 'profile_id' => $profile_id, 'profile_ref' => $profile_ref, 'profile_name' => $profile_name, 'ei_scenario_id' => $ei_scenario->getId(), 'ei_test_set_id' => $executionGraphStep->getEiTestSetId()), array('target' => '_blank', 'title' => 'See oracle'));
            } else {
                if ($executionGraphStep == null && $execution_graphs == null) {
                    echo link_to2(ei_icon('ei_show'), 'getLastOracle', array('project_id' => $project_id, 'project_ref' => $project_ref, 'profile_id' => $profile_id, 'profile_ref' => $profile_ref, 'profile_name' => $profile_name, 'ei_scenario_id' => $ei_scenario->getId()), array('target' => '_blank', 'title' => 'See oracle'));
                } else {
                    echo '<a href="#" class="disabledOracle" target="_blank">' . ei_icon('ei_show') . '</a>';
                }
            }
            ?>
 
                </li>
                <?php 
        }
        ?>
 
                <?php 
    }
    ?>
            </ul> 
示例#10
0
                            <?php 
            $paramSensorsList = $url_tab;
            $paramSensorsList['key'] = $exFunction['lf_id'];
            include_partial('sensorsList', $paramSensorsList);
            ?>
                        </td> 
                        <td><span class="label  " style="background-color: <?php 
            echo $exFunction['tsfs_color_code'];
            ?>
"> <?php 
            echo $exFunction['tsfs_name'];
            ?>
 </span></td> 
                        <td> 
                            <?php 
            echo link_to2(ei_icon('ei_show'), 'eitestset_function_oracle', array('project_id' => $url_tab['project_id'], 'project_ref' => $url_tab['project_ref'], 'ei_scenario_id' => $exFunction['ts_scenario_id'], 'ei_test_set_id' => $exFunction['tsf_ts_id'], 'profile_id' => $url_tab['profile_id'], 'profile_ref' => $url_tab['profile_ref'], 'profile_name' => $url_tab['profile_name'], 'function_id' => $exFunction['tsf_function_id'], 'function_ref' => $exFunction['tsf_function_ref']), array('target' => '_blank', 'title' => 'Function Oracle'));
            ?>
   
                        </td>
                        <?php 
            $tab[$exFunction['num_ex']] = 1;
            $k++;
        }
        ?>
                        <?php 
        $logsParams[$exFunction['lf_id']][] = array("name" => $exFunction['lp_param_name'], "value" => $exFunction['lp_param_valeur'], "type" => $exFunction['lp_param_type']);
        ?>
 
                        
                        <?php 
    }
示例#11
0
        <input type="hidden" name="node_id" value="<?php 
echo $root_node->getId();
?>
" class="node_id" />
        <input type="hidden" name="obj_id" value="<?php 
echo $root_node->getObjId();
?>
" class="obj_id" />
        <i class="cus-house"></i>
        
        <?php 
$path_folder = $url_tab;
$path_folder['folder_id'] = $root_node->getObjId();
$path_folder['node_id'] = $root_node->getId();
$path_folder['action'] = 'edit';
echo link_to2($root_node->getName(), 'path_folder', $path_folder, array('class' => 'node_name folder'));
?>
        <?php 
if (isset($is_step_context) && $is_step_context == 1) {
    ?>
 
        <?php 
} else {
    ?>
        <?php 
    $create_folder = $url_tab;
    $create_folder['root_id'] = $root_node->getId();
    $create_folder['action'] = 'new';
    ?>
 
        <a href="<?php 
                }
                ?>
            </h6>
        </div> 
        <div class='col-lg-5 col-md-5 col-sm-5'>
         <?php 
                if ($is_automatizable) {
                    /** @var EiDataSet $dt */
                    $dt = $step->getEiDataSet();
                    if (!is_null($dt) && $ei_scenario != null && $dt->getName() != "") {
                        $addStepInContent = $url_tab;
                        $addStepInContent['campaign_id'] = $step->getCampaignId();
                        $addStepInContent['id'] = $step_id;
                        $argsSc["ei_scenario_id"] = $ei_scenario != null ? $ei_scenario->getId() : "";
                        $path_to_scenario = url_for2("projet_new_eiversion", $argsSc);
                        echo link_to2('<input type="hidden" class="jddInCampaign" value ="' . $dt->getId() . '"/>' . ei_icon('ei_dataset', 'lg') . $dt->getEiDataSetTemplate()->getName(), 'addStepInContent', $addStepInContent, array('class' => 'btn btn-link btn-xs addStepInContent troncObjName', 'title' => $dt->getEiDataSetTemplate()->getName()));
                        ?>
                 <a href="<?php 
                        echo $path_to_scenario;
                        ?>
" class="externalDataSetAccessLink" target="_blank" data-id="<?php 
                        echo $dt->getEiDataSetTemplateId();
                        ?>
"
                    data-parent="<?php 
                        echo $ei_scenario->getId();
                        ?>
">
                     <i class='fa fa-external-link'></i>
                 </a>
         <?php 
示例#13
0
 
                                    </a> 
                                <?php 
}
?>
                            </td>
                        </tr>
                        <tr class="bugContextScenario">
                            <th>Scenario</th>
                            <td> 
                                <?php 
if (($ei_scenario = $ei_context->getBugContextScenario()) != null) {
    $projet_new_eiversion = $url_params;
    $projet_new_eiversion['ei_scenario_id'] = $ei_scenario->getId();
    $projet_new_eiversion['action'] = 'editVersionWithoutId';
    echo link_to2($ei_scenario, 'projet_new_eiversion', $projet_new_eiversion);
}
?>
                            </td>
                        </tr>
                        <tr class="bugContextProfile">
                            <th>Environment</th>
                            <td>  <?php 
echo $profile_name;
?>
 </td>
                        </tr>
                    </tbody>
                </table> 
            </div>
            <div class="col-lg-6 col-md-6 col-sm-11 col-xs-11">
示例#14
0
<form  >
    <?php 
echo link_to2('Scénarios', 'projet_eiscenario', array('id_projet' => $sf_request->getParameter('id_projet'), 'action' => 'index'));
?>
    <select id="liste_scenario_choice">
        <?php 
if (isset($id_projet) && $id_projet != null) {
    ?>
        <?php 
    $scenarios = Doctrine_Core::getTable('EiScenario')->findBy('id_projet', $id_projet);
    ?>
        <?php 
    foreach ($scenarios as $scenario) {
        ?>
            <option value="<?php 
        echo $scenario->getId();
        ?>
"
                    <?php 
        if ($ei_scenario_id && $scenario->id == $ei_scenario_id) {
            ?>
 selected="" <?php 
        }
        ?>
 >
                        <?php 
        echo $scenario->getNomScenario();
        ?>
            </option>
        <?php 
    }
示例#15
0
 public function createLiElem($url_tab, $block_redirect_class, $active = false)
 {
     $eiblock_edit_uri = $url_tab;
     $eiblock_edit_uri['ei_block_root_id'] = $this->id;
     $eiblock_edit_uri['action'] = 'edit';
     if ($active) {
         $active = "current_block active";
         $arrow = '<i class="icon-chevron-right"></i>';
     } else {
         $active = "";
         $arrow = "";
     }
     if ($this->getNode()->isRoot()) {
         $imgs = "";
         $padding = "padding-left";
     } else {
         $padding = '';
         $imgs = '    
        <img class="open_block" title="Open" alt="" src="/images/icones/fleche-droite.png">
        <img class="close_block " title="Close" alt="" src="/images/icones/fleche-bas.png">';
     }
     $return = sprintf('<li ei_block="%d" class="%s">
        
        <div class="' . $active . ' ' . $padding . '">' . $imgs . '<i class="icon-inbox"></i>%s ' . $arrow . ' </div>', $this->id, "sortable", link_to2($this->name, 'projet_edit_eiversion', $eiblock_edit_uri, array('itemref' => url_for2("projet_edit_eiversion", $eiblock_edit_uri), 'class' => "go_to_block_{$block_redirect_class} ", 'title' => "Open " . $this->name . " panel")));
     return $return;
 }
示例#16
0
    ?>
                                        <?php 
    $scr = $scr['EiScenario'];
    ?>
                                    <tr>
                                        <td> 
                                           <?php 
    echo ei_icon('ei_scenario');
    ?>
                                           <?php 
    $projet_new_eiversion = $url_tab;
    $projet_new_eiversion['ei_scenario_id'] = $scr['id'];
    $projet_new_eiversion['action'] = 'editVersionWithoutId';
    ?>
                                               <?php 
    echo link_to2($scr['nom_scenario'], 'projet_new_eiversion', $projet_new_eiversion);
    ?>
                                        </td>
                                        <td>
                                            <?php 
    echo MyFunction::troncatedText($scr['description'], 100);
    ?>
                                        </td> 
                                        <td><?php 
    echo date('Y-m-d', strtotime($scr['created_at']));
    ?>
</td>
                                        <td><?php 
    echo date('Y-m-d', strtotime($scr['updated_at']));
    ?>
</td>
    ?>
</a></strong>
      <ul class="dropdown-menu column right">
        <ul>
            <li><a href="<?php 
    echo url_for('njUserProfile/edit?id=' . $sf_user->getProfile()->getId());
    ?>
" class="link small edit_profile" title="<?php 
    echo __('Edit Profile', null, 'messages');
    ?>
"><?php 
    echo __('Edit Profile', null, 'messages');
    ?>
</a></li>
            <li><?php 
    echo link_to2('Logout', 'sf_guard_signout', array(), array('class' => 'link small logout', 'title' => 'Log Out'));
    ?>
</li>
        </ul>
      </ul>
  </div>
<?php 
} else {
    ?>
  <div class="welcome-message right last">
    <p>New to NoJam?
    <?php 
    if (isset($routes['sf_guard_register'])) {
        ?>
      <a class="quiet" href="<?php 
        echo url_for('@sf_guard_register');
"/>
    <input type="hidden" class="current_profile_migration_ref" value="<?php 
    echo $current_profile->getProfileRef();
    ?>
"/>
    <input type="hidden" class="current_profile_migration_name" value="<?php 
    echo $current_profile->getName();
    ?>
"/> 
    <ul class="dropdown-menu">
            <?php 
    foreach ($ei_profiles as $ei_profile) {
        ?>
                <li>
                    <?php 
        echo link_to2(ei_icon('ei_profile') . ' ' . $ei_profile->getTroncatedName(20), 'changeProfileForMigrationDelivery', array('profile_id' => $ei_profile->getProfileId(), 'profile_ref' => $ei_profile->getProfileRef(), 'project_id' => $ei_project->getProjectId(), 'project_ref' => $ei_project->getRefId(), 'delivery_id' => $ei_delivery->getId(), 'migrationCase' => isset($migrationCase) ? $migrationCase : null), array('class' => $classButton));
        ?>
                     
                </li>
            <?php 
    }
    ?>
    </ul> 
  </div>
  <a href="<?php 
    echo url_for2($uri_name, array('profile_id' => $current_profile->getProfileId(), 'profile_ref' => $current_profile->getProfileRef(), 'project_id' => $ei_project->getProjectId(), 'project_ref' => $ei_project->getRefId(), 'delivery_id' => $ei_delivery->getId()));
    ?>
"
                      class="btn btn-success btn-sm" id="<?php 
    echo $idButton;
    ?>
示例#19
0
                            <li>
                                <input id="isUserGetDefaultPack" type="hidden" itemref="<?php 
        echo url_for2('setDefaultPackage', array('project_id' => $project_id, 'project_ref' => $project_ref, 'action' => 'isUserGetDefaultPack'));
        ?>
" />
                                 
                                <?php 
        echo link_to2('<i class="fa fa-gears "></i> User Settings', 'default', array('module' => 'eiuser', 'action' => 'index'), array('id' => 'eiUserSettings'));
        ?>
                            </li>
                             <?php 
    }
    ?>
                            <li>
                                <?php 
    echo link_to2(' <i class="fa fa-cubes">
                                </i> &nbsp; Resources', 'resources', array('module' => 'eiresources', 'action' => 'index'));
    ?>
 
                            </li>
                            <li>
                                <?php 
    echo link_to1(' <i class="fa fa-power-off">
                                </i> &nbsp; Sign out', '@sf_guard_signout', array('id' => 'eiUserLogOut'));
    ?>
 
                            </li>
                        </ul>
                    </li>
                    <li class=" visible-md visible-lg">
                        <?php 
    echo link_to1(' <i class="fa fa-power-off">
    }
    ?>
                    </td>
                    <td>
                      <span style="background-color:<?php 
    echo $execution->getStatusColor();
    ?>
 " class="label">
                          <?php 
    echo $execution->getStatusName();
    ?>
                      </span>
                    </td>
                    <td>
                        <?php 
    echo link_to2(ei_icon('ei_show'), 'showCampaignExecutions', array('project_id' => $project_id, 'project_ref' => $project_ref, 'profile_name' => EiProfil::slugifyProfileName($profile_name), 'profile_id' => $profile_id, 'profile_ref' => $profile_ref, 'campaign_id' => $ei_campaign->getId(), 'campaign_execution_id' => $execution->getId()), array('target' => '_blank', 'title' => 'Show details'));
    ?>
                    &nbsp; &nbsp; 
                    <?php 
    $statistics = $url_params;
    ?>
                    <?php 
    $statistics['campaign_id'] = $ei_campaign->getId();
    ?>
                    <?php 
    $statistics['campaign_execution_id'] = $execution->getId();
    $statistics['action'] = "statistics";
    ?>
 
                        <a href="<?php 
    echo url_for2("execution_stats", $statistics);
示例#21
0
                    <?php 
foreach ($ei_versions as $i => $ei_version) {
    ?>
 
                        <tr>
                            <td>
                                <?php 
    echo ei_icon('ei_version');
    ?>
                                <?php 
    $projet_edit_eiversion = $url_tab;
    $projet_edit_eiversion['ei_version_id'] = $ei_version['v_id'];
    $projet_edit_eiversion['action'] = 'edit';
    ?>
                                <?php 
    echo link_to2($ei_version['v_libelle'], 'projet_edit_eiversion', $projet_edit_eiversion);
    ?>
                            </td>
                            <td>
                                <?php 
    if (isset($ei_version['sp_package_id']) && $ei_version['sp_package_id'] != null && isset($ei_version['sp_package_ref']) && $ei_version['sp_package_ref'] != null) {
        echo $ei_version['t_name'];
    }
    ?>
                            </td>
                            <td>
                                <?php 
    if (isset($ei_version['subject_id'])) {
        ?>
                                <?php 
        $subject_show_uri = $url_tab;
示例#22
0
    ?>
<div class="row" id="eisge-object"> 
     <!-- Si on est dans un contexte d'objet (Projet,Campagne,Scenario, etc ...)--> 
        <h2>
            <i class="fa fa-gears "></i>
            <span class="text" title=" User Settings" > User Settings   </span> 
        </h2>    
</div>
<div class="row" id="eisge-object-actions">
    <ul  class="nav nav-tabs" role="tablist"> 
        <li class="<?php 
    echo $mod == 'eiuser' && $act == "index" ? 'active' : '';
    ?>
"> 
            <?php 
    echo link_to2('<i class="fa fa-gears"></i> Browser Settings', 'default', array('module' => 'eiuser', 'action' => 'index'), array('title' => 'User Settings', 'class' => 'btn btn-sm', 'title' => 'User Settings'));
    ?>
        </li>
        <li class="<?php 
    echo $mod == 'eiuser' && $act == "setDefaultPackage" ? 'active' : '';
    ?>
"> 
            <a class="btn btn-sm" href="<?php 
    echo url_for2('setDefaultPackage', array('action' => 'setDefaultPackage', 'project_id' => $ei_project->getProjectId(), 'project_ref' => $ei_project->getRefId()));
    ?>
" title="Define default package">
                <i class="fa fa-apple"></i> Define default package
            </a>
        </li> 
        <li  class="<?php 
    echo $mod == 'eiuser' && ($act == "projectProfiles" || $act == "setUserDefaultProfile") ? 'active' : '';
示例#23
0
?>
        <?php 
echo $form['description']->renderRow();
?>
    </fieldset>
    <fieldset class="content">
        
        <?php 
echo 'Fonctions';
if (isset($form['fonctions'])) {
    foreach ($form['fonctions'] as $key => $value) {
        echo '<fieldset class="fonction">';
        echo $value['libelle']->render();
        echo $value->renderHiddenFields();
        echo $value->renderError();
        echo link_to2('Add Param', 'ajouterParam', array('module' => 'fonction', 'position_fonction' => $key, 'position' => count($value['params'])));
        echo '<br/>';
        foreach ($value['params'] as $p => $param) {
            echo $param['valeur']->render();
            echo '<br/>';
        }
        echo '</fieldset>';
    }
}
?>
        
        <?php 
echo 'Versions';
if (isset($form['sous_versions'])) {
    foreach ($form['sous_versions'] as $sv => $sous_version) {
        $cheminContent[] = $sv;