<table cellpadding="3px" style="width:60%; padding:3px; margin:3px; font-size:12px; "> <tr style="background-color:#E2E2E2" > <td></td><td>id</td><td>partner Id</td><td>name</td><td>enabled</td><td>profile Type</td><td>profile Type Index</td><td>width</td><td>height</td><td>aspect Ratio</td> <td>gop Size</td><td>bitrate</td><td>qscale</td> <td>framerate</td><td>audio Bitrate</td><td>audio Sampling Rate</td><td>audio Channels</td> <td>file Suffix</td><td>ffmpeg Params</td><td>mencoder Params</td><td>flix Params</td> </tr> <?php $i = 0; foreach ($conv_params_list as $conv_params) { if ($conv_params->getEnabled() == 0) { $sty = "background-color: #CCC"; } else { $sty = "background-color:" . ($i % 2 ? "#66FF99" : "#66FF99") . ";"; } echo "<tr style='{$sty}'>" . "<td><a href='javascript:openConversionParams( " . $conv_params->getId() . ", null );'>edit</a></td>" . propList($conv_params, array("id", "partnerId", "name", "enabled", "profileType", "profileTypeIndex", "width", "height", "aspectRatio", "gopSize", "bitrate", "qscale", "framerate", "audioBitrate", "audioSamplingRate", "audioChannels", "fileSuffix", "ffmpegParams", "mencoderParams", "flixParams")) . "</tr>"; $i++; } ?> </table> <?php } else { ?> No ConversionParams for this ConvesioProfile <?php } ?>
<?php if (!empty($data['html'])) { ?> <div id="t1" class="tabs"> <?php echo $data['html']; ?> </div> <?php } ?> <div id="t2" class="tabs"> <?php propList($prop); ?> </div> <?php if (!empty($rel1)) { ?> <div id="t11" class="tabs"> <?php echo $this->render(array('catalog' => $rel1), dirname(__FILE__) . "/catalog_view_table.tpl.php"); ?> </div> <?php } ?> <?php