Exemple #1
0
    static function LA_Form($item, $nolangs = false)
    {
        if (FSFAdminHelper::Is16()) {
            ?>
			<tr>
				<td width="135" align="right" class="key">
					<label for="title">
						<?php 
            echo JText::_("JFIELD_ACCESS_LABEL");
            ?>
:
					</label>
				</td>
				<td>
					<?php 
            echo FSFAdminHelper::GetAccessForm($item->access);
            ?>
				</td>
			</tr>
			
			<?php 
            if (!$nolangs) {
                ?>

				<tr>
					<td width="135" align="right" class="key">
						<label for="title">
							<?php 
                echo JText::_("JFIELD_LANGUAGE_LABEL");
                ?>
:
						</label>
					</td>
					<td>
						<?php 
                echo FSFAdminHelper::GetLanguagesForm($item->language);
                ?>
					</td>
				</tr>
				
			<?php 
            }
        }
    }