示例#1
0
 public function executeLanguageBar()
 {
     $this->children = BackendService::getLanguageBar($this->getRequestParameter('parent'), $this->getRequestParameter('modulename'));
 }
示例#2
0
	</tr>
	<div id="actionDiv">
		<div id="actionDivHead">
			<a onclick="$('#actionDiv').fadeOut();">close <img align="absmiddle" src="/images/icons/delete.png"></a>&nbsp;
		</div>
		<div id="actionDivContent"></div>
	</div>
	<?php 
    foreach ($children as $child) {
        //if($filter && (!Document::checkOwner($child->getId()))) continue;
        $label = $child->getLabel();
        $id = $child->getId();
        $modelUp = get_class($child);
        $model = strtolower($modelUp);
        $status = strtolower(Document::getGenericDocument($child)->getPublicationStatus());
        $i18nEls = BackendService::getLanguageBar($id, $sf_params->get("modulename"));
        ?>
	<tr>
		<td class="noborder">
			<img src="/images/icons/status_<?php 
        echo $status;
        ?>
.png" border="0">
		</td>
		<td>
			<?php 
        echo $id;
        ?>
		</td>
		<td onclick="addToSelected(<?php 
        echo $id;