예제 #1
0
파일: new.php 프로젝트: clavat/mkframework
<?php

$oPluginHtml = new plugin_html();
?>
<form action="" method="POST">

<table>
	
	<tr>
		<th>login</th>
		<td><input name="login" /><?php 
if ($this->tMessage and isset($this->tMessage['login'])) {
    echo implode(',', $this->tMessage['login']);
}
?>
</td>
	</tr>

	<tr>
		<th>pass</th>
		<td><input name="pass" /><?php 
if ($this->tMessage and isset($this->tMessage['pass'])) {
    echo implode(',', $this->tMessage['pass']);
}
?>
</td>
	</tr>

	<tr>
		<th>nom</th>
		<td><input name="nom" /><?php 
예제 #2
0
파일: edit.php 프로젝트: clavat/mkframework
<?php

$oPluginHtml = new plugin_html();
?>
<form action="" method="POST">
<?php 
foreach ($this->tColumn as $sColumn) {
    ?>
	<?php 
    if (!in_array($sColumn, $this->tId)) {
        continue;
    }
    ?>
	<input type="hidden" name="<?php 
    echo $sColumn;
    ?>
" value="<?php 
    echo $this->oAccount->{$sColumn};
    ?>
" />
	<?php 
    if ($this->tMessage and isset($this->tMessage[$sColumn])) {
        echo implode(',', $this->tMessage[$sColumn]);
    }
}
?>
	
<table>
	
	<tr>
		<th>login</th>
예제 #3
0
파일: edit.php 프로젝트: clavat/mkframework
<?php

$oPluginHtml = new plugin_html();
?>
<form action="" method="POST">
<?php 
foreach ($this->tColumn as $sColumn) {
    ?>
	<?php 
    if (!in_array($sColumn, $this->tId)) {
        continue;
    }
    ?>
	<input type="hidden" name="<?php 
    echo $sColumn;
    ?>
" value="<?php 
    echo $this->oPermission->{$sColumn};
    ?>
" />
	<?php 
    if ($this->tMessage and isset($this->tMessage[$sColumn])) {
        echo implode(',', $this->tMessage[$sColumn]);
    }
}
?>
	
<table>
	
	<tr>
		<th>group</th>
예제 #4
0
파일: new.php 프로젝트: clavat/mkframework
<?php

$oPluginHtml = new plugin_html();
?>
<form action="" method="POST">

<table>
	
	<tr>
		<th>titre</th>
		<td><input name="titre" /><?php 
if ($this->tMessage and isset($this->tMessage['titre'])) {
    echo implode(',', $this->tMessage['titre']);
}
?>
</td>
	</tr>

	<tr>
		<th>auteur_id</th>
		<td><?php 
echo $oPluginHtml->getSelect('auteur_id', $this->tJoinAuteur, $this->oArticle->auteur_id);
if ($this->tMessage and isset($this->tMessage['auteur_id'])) {
    echo implode(',', $this->tMessage['auteur_id']);
}
?>
</td>
	</tr>

	<tr>
		<th>priority</th>
예제 #5
0
파일: new.php 프로젝트: clavat/mkframework
<?php

$oPluginHtml = new plugin_html();
?>
<form action="" method="POST">

<table>
	
	<tr>
		<th>group</th>
		<td><?php 
echo $oPluginHtml->getSelect('group', model_group::getInstance()->getListSelect());
if ($this->tMessage and isset($this->tMessage['group'])) {
    echo implode(',', $this->tMessage['group']);
}
?>
</td>
	</tr>

	<tr>
		<th>action</th>
		<td><input name="action" /><?php 
if ($this->tMessage and isset($this->tMessage['action'])) {
    echo implode(',', $this->tMessage['action']);
}
?>
</td>
	</tr>

	<tr>
		<th>element</th>
예제 #6
0
파일: new.php 프로젝트: DavBfr/BlogMVC
<h1>Edit post</h1>

<p><a href="<?php 
echo _root::getLink('privatePosts::list');
?>
">< Back to posts</a></p>
            
<?php 
$oPluginHtml = new plugin_html();
?>
<form action="#" id="PostAdminEditForm" method="post" accept-charset="utf-8">
	<input type="hidden" name="formmodule" value="postsadmin"/>
<div class="row">
	<div class="col-md-6">
		<div class="form-group required">
			<label for="PostName">Name :</label>
			<input  name="name"  class="form-control" maxlength="255" type="text" id="PostName" required="required">
		</div>
	</div>
	<div class="col-md-6">
		<div class="form-group required">
			<label for="PostSlug">Slug :</label>
			<input name="slug"  class="form-control" maxlength="255" type="text" 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