示例#1
0
if (XIPT_JOOMLA_15) {
    echo $this->fields[$this->menuId]->name;
} else {
    echo $this->fields[$this->menuId]->title;
}
?>
</legend>
		<div id="xiptPtype">
			<div style="float:left; font-weight:bold; margin-left:10%; padding:5px; width:27%; background: #EFEFEF;">
				<?php 
echo XiptText::_('FOR_PROFILETYPES');
?>
			</div>
			<div style="float:left; margin-left:20px; width:35%;">
				<?php 
echo XiptHelperJSToolbar::buildProfileTypesforJSToolbar($this->menuId);
?>
			</div>
			<div>
				<?php 
echo XiptText::_("SELECT");
?>
 : <a href="#" id="ptypeSelectAll"><?php 
echo XiptText::_('ALL');
?>
</a> | <a href="#" id="ptypeSelectNone"><?php 
echo XiptText::_('NONE');
?>
</a> 
			</div>
		</div>
示例#2
0
            ?>
"><?php 
            echo $field->title;
            ?>
</a>
					</span>
				</td>
				<?php 
        }
        ?>
				<td align="center" id="profiletype<?php 
        echo $id;
        ?>
">
					<?php 
        echo XiptHelperJSToolbar::getProfileTypeNames($id);
        ?>
				</td>			
			</tr>
	<?php 
        $count++;
    }
}
?>
	<tfoot>
	<tr>
		<td colspan="15">
			<?php 
echo $this->pagination->getListFooter();
?>
		</td>
示例#3
0
 function hideJSToolbar($userid)
 {
     // the user is admin, return true
     if (XiptHelperUtils::isAdmin($userid)) {
         return true;
     }
     XiptHelperJSToolbar::getMenusToHide($userid);
 }