Esempio n. 1
0
$oForm->setMessage($this->tMessage);
?>
<form action="" method="POST" >

<table class="tb_list">
	
	<tr>
		<th>Groupe</th>
		<th>Action</th>
		<th>Element</th>
	</tr>
	
	<tr>
		<td>
			<?php 
echo $oForm->getSelect('#exampleGroupId#', $this->tJoinGroup);
?>
			<br/>ou <br/>
			<?php 
echo $oForm->getInputText('#exampleGroupId#_text');
?>
		</td>
		
		<td>
			<?php 
echo $oForm->getSelect('#exampleActionId#', $this->tJoinAction);
?>
			<br/>ou <br/>
			<?php 
echo $oForm->getInputText('#exampleActionId#_text');
?>
Esempio n. 2
0
		
		<th><?php 
echo tr('permissions');
?>
</th>
		
		<th><?php 
echo tr('actions');
?>
</th>
		
		
	</tr>
	<tr>
		<td><?php 
echo $oForm->getSelect('classModelUser', $this->tModel, $tOption);
?>
</td>
		<td><?php 
echo $oForm->getSelect('classModelGroupUser', $this->tModel, $tOption);
?>
</td>
		<td><?php 
echo $oForm->getSelect('classModelPermission', $this->tModel, $tOption);
?>
</td>
		<td><?php 
echo $oForm->getSelect('classModelAction', $this->tModel, $tOption);
?>
</td>
		
Esempio n. 3
0
?>
<form  class="form-horizontal" action="" method="POST" >

	
	<div class="form-group">
		<label class="col-sm-2 control-label">nom</label>
		<div class="col-sm-10"><?php 
echo $oForm->getInputText('nom', array('class' => 'form-control'));
?>
</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label">prenom</label>
		<div class="col-sm-10"><?php 
echo $oForm->getSelect('prenom', $this->tJoinmodel_auteur, array('class' => 'form-control'));
?>
</div>
	</div>


<?php 
echo $oForm->getToken('token', $this->token);
?>


<div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
		<input type="submit" class="btn btn-success" value="Modifier" /> <a class="btn btn-link" href="<?php 
echo $this->getLink('auteur::list');
?>
Esempio n. 4
0
?>
	
<table>
	
	<tr>
		<th>titre</th>
		<td><?php 
echo $oForm->getInputText('titre');
?>
</td>
	</tr>

	<tr>
		<th>auteur_id</th>
		<td><?php 
echo $oForm->getSelect('auteur_id', $this->tJoinAuteur);
?>
</td>
	</tr>

	<tr>
		<th>priority</th>
		<td><?php 
echo $oForm->getInputText('priority');
?>
</td>
	</tr>

</table>

<?php 
Esempio n. 5
0
	</div>
	<div class="col-md-6">
		<div class="form-group required">
			<label for="PostSlug">Slug :</label>
			<?php 
echo $oForm->getInputText('slug', array('class' => 'form-control', 'maxlength' => 255, 'id' => 'PostSlug', 'required' => 'required'));
?>
		</div>
	</div>
</div>
<div class="row">
	<div class="col-md-6">
		<div class="form-group">
			<label for="PostCategoryId">Category :</label>
			<?php 
echo $oForm->getSelect('category_id', $this->tJoinmodel_categories, array('class' => 'form-control', 'maxlength' => 255, 'id' => 'PostCategoryId'));
?>
			
		</div>
	</div>
	<div class="col-md-6">
		<div class="form-group">
			<label for="PostUserId">Author :</label>
			<?php 
echo $oForm->getSelect('user_id', $this->tJoinmodel_users, array('class' => 'form-control', 'maxlength' => 255, 'id' => 'PostUserId'));
?>
		</div>
	</div>
</div>
<div class="form-group required">
	<label for="PostContent">Content :</label>
Esempio n. 6
0
?>
<form action="" method="POST" >

<table class="tb_edit">
	
	<tr>
		<th>Login</th>
		<td><?php 
echo $this->oUser->exampleUser_login;
?>
</td>
	</tr>
	<tr>
		<th>Groupe</th>
		<td><?php 
echo $oForm->getSelect('exampleUser_groupsId', $this->tJoinGroup);
?>
</td>
	</tr>

</table>

<p>
	<input type="submit" value="Modifier" /> <a href="<?php 
echo $this->getLink('examplemodule::list');
?>
">Annuler</a>
</p>

<?php 
echo $oForm->getToken('token', $this->token);