本文整理汇总了PHP中btn_add函数的典型用法代码示例。如果您正苦于以下问题:PHP btn_add函数的具体用法?PHP btn_add怎么用?PHP btn_add使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了btn_add函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: btn_add
</li>
</ul><!--.breadcrumb-->
</div>
<div class="page-content">
<div class="row-fluid">
<div class="span12">
<h3 class="header smaller lighter blue"><?php
echo ACTIV_APP;
?>
<span class="pull-right">
<?php
echo btn_add('addpage', 'Ajouter Une Page');
?>
</span>
</h3>
<div class="table-header">
Résultat pour: "<?php
echo ACTIV_APP;
?>
"
</div>
<table id="table-depenses" class="table table-bordered table-condensed table-hover table-striped dataTable no-footer">
示例2: btn_add
<p>Vous pouvez si vous le souhaitez, ajouter une photo d'identité sur
la fiche de l'élève.
</p>
<p>Cette photo est visible sur les écran uniquement pour le personnel
de l'établissement et permet l'impression
</p>
<p>Vous devez utilisez impérativement un format de photo d'identité
réglementaire de 200x200 px sous peine d'obtenir une photo déformée.
</p>
<p>
Les formats gif, jpg, jpeg et png sont acceptés.
</p>
<input type="file" name="photo" maxlength="30" required="" style="margin: 0; padding: 0" />
<div style="position: relative; top: 10px; margin-right: 10px; clear: both;" class="navigation">
<div id="btn_photo_action"><?php
echo btn_add("savePhotoEleve()");
?>
<?php
echo btn_effacer_disabled("");
?>
</div>
</div>
</fieldset>
<div id="photoeleve" style="border: 1px solid #000; float: left; position: relative;width: 200px; height: 200px;margin: 8px 20px;">
</div>
</form>
</div>
</div>
示例3: btn_add
<div id="entete"></div>
<script>
$(document).ready(function(){
$("#responsableTable").DataTable({
"columns": [
{"width": "5%"},
null,
{"width": "10%"},
{"width": "10%"},
{"width": "10%"},
{"width": "5%"}
]
})
});
</script>
<div class="page">
<?php
echo $responsables;
?>
</div>
<div class="navigation">
<?php
if (isAuth(319)) {
echo btn_add("document.location='" . Router::url("responsable", "saisie") . "'");
} else {
echo btn_add_disabled();
}
?>
</div>
示例4: photo
public function photo($action)
{
$json_array = array();
if (!strcmp($action, "upload")) {
$photo = "";
$message = "";
if (move_uploaded_file($_FILES['photo']['tmp_name'], ROOT . "/public/photos/eleves/" . $_FILES['photo']['name'])) {
$photo = SITE_ROOT . "public/photos/eleves/" . $_FILES['photo']['name'];
} else {
$message = "Erreur lors de la sauvegarde du fichier photo : " . $_FILES['photo']['name'];
}
if (!empty($photo)) {
$json_array[0] = btn_add_disabled("") . " " . btn_effacer("effacerPhotoEleve();");
} else {
$json_array[0] = btn_add("savePhotoEleve();") . " " . btn_effacer_disabled("");
}
$json_array[1] = $photo;
$json_array[2] = $message;
$json_array[3] = $_FILES['photo']['name'];
} else {
if (file_exists(ROOT . DS . "public" . DS . "photos" . DS . "eleves" . DS . $action)) {
unlink(ROOT . DS . "public" . DS . "photos" . DS . "eleves" . DS . $action);
$json_array[0] = btn_add("savePhotoEleve();") . " " . btn_effacer_disabled("");
$json_array[1] = "";
$json_array[2] = "";
$json_array[3] = "";
} else {
$json_array[0] = btn_add_disabled("") . " " . btn_effacer("effacerPhotoEleve();");
$json_array[1] = $action;
$json_array[2] = "Erreur lors de la suppression de l'image";
$json_array[3] = "";
}
}
print json_encode($json_array);
}
示例5: img_delete_disabled
}
if (!isAuth(530) || $ets['IDETABLISSEMENT'] == ETS_ORIGINE) {
echo "<img style='cursor:pointer' src='" . img_delete_disabled() . "' />";
} else {
echo "<img style='cursor:pointer' src='" . img_delete() . "' " . "onclick=\"document.location='" . Router::url("etablissement", "delete", $ets['IDETABLISSEMENT']) . "'\" />";
}
echo "</td></tr>";
$i++;
}
?>
</tbody>
</table>
</div>
<input type="hidden" name="addnewets" value="true" />
<div class="navigation">
<?php
if (isAuth(501)) {
echo btn_add("ajouterEtablissement();");
} else {
echo btn_add_disabled();
}
?>
</div>
</form>
<div class="status"></div>
<div id="editets-dialog-form" class="dialog" title="Modification d'un etablissement de provenance" >
<span><label>Libellé de l'établissement</label>
<input type="text" name="libelle" style="width: 100%" />
</span>
</div>
示例6: btn_add
<div class="col-lg-12">
<?php
echo btn_add('dashboard/posts/create', 'Post');
?>
<hr>
<table class="table">
<thead>
<tr>
<th>Post Title</th>
<th>Post Content</th>
<th> </th>
</tr>
</thead>
<tbody>
<?php
if (count($posts)) {
foreach ($posts as $post) {
?>
<tr>
<td><?php
echo $post->post_title;
?>
</td>
<td><?php
echo text_trunk($post->post_content, 5);
?>
</td>
<td>
<?php
示例7: btn_add
<?php
echo btn_add('dashboard/rabc/add_role', 'Add Role');
?>
|
<?php
echo btn_add('dashboard/rabc/view_roles', 'View Role');
?>
<br>
<?php
echo btn_add('dashboard/rabc/add_permission', 'Add Permission');
?>
|
<?php
echo btn_add('dashboard/rabc/view_permissions', 'View Permission');
?>
<br>
示例8: btn_add
?>
" /></div>
<div style="margin-left: 70px;">
<span class="select" style="width: 300px; margin-left: 120px;"><label>Fonction : </label>
<?php
echo $comboFonctions;
?>
</span>
</div>
</div>
<form action="<?php
echo Router::url("personnel", "saisie");
?>
" name="frmpersonnel">
<div class="page">
<?php
echo $listepersonnels;
?>
</div>
<div class="navigation">
<?php
if (isAuth(502)) {
echo btn_add("document.forms['frmpersonnel'].submit();");
}
?>
</div>
</form>
<div class="status"></div>
示例9: img_imprimer
<input type="text" name="description" />
</span>
<span class="text" style="width: 400px;"><label>Montant : </label>
<input type="text" name="montant" style="text-align: right;" />
</span>
</fieldset>
</div>
<div class="recapitulatif"></div>
<div class="navigation">
<div class="editions" style="float: left;">
<img src="<?php
echo img_imprimer();
?>
" /> Editions:
<select onchange="imprimer();" name = "code_impression">
<option></option>
<option value="0001">Imprimer ce compte caisse</option>
</select>
</div>
<?php
if (isAuth(512)) {
echo btn_add("ValiderCaisse();");
} else {
echo btn_add_disabled();
}
?>
</div>
</form>
<div class="status"></div>
示例10: btn_add
<?php
echo btn_add('dashboard/users/create', ' User');
?>
<hr>
<table class="table">
<thead>
<tr>
<th>Full Name</th>
<th>E-mail</th>
<th>Username</th>
<th>Date Created</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
foreach ($users as $user) {
?>
<tr>
<td><?php
echo $user->first_name . " " . $user->last_name;
?>
</td>
<td><?php
echo $user->email;
?>
</td>
<td><?php
echo $user->username;
示例11: btn_add
</ul><!--.breadcrumb-->
</div>
<div class="page-content">
<div class="row-fluid">
<div class="span12">
<h3 class="header smaller lighter blue">
<?php
echo ACTIV_APP;
?>
<span class="pull-right">
<?php
echo btn_add('adduser', 'Ajouter utilisateur');
?>
</span>
</h3>
<div class="table-header">
Résultat pour: "<?php
echo ACTIV_APP;
?>
"
</div>
<table id="table-depenses" class="table table-bordered table-condensed table-hover table-striped dataTable no-footer">
<thead>
<tr>
示例12: btn_add
<td data-title="<?php
echo $this->lang->line('lmember_phone');
?>
">
<?php
echo $student->phone;
?>
</td>
<td data-title="<?php
echo $this->lang->line('action');
?>
">
<?php
if ($student->library == 0) {
echo btn_add('lmember/add/' . $student->studentID . "/" . $set, $this->lang->line('lmember'));
} else {
echo btn_view('lmember/view/' . $student->studentID . "/" . $set, $this->lang->line('view')) . " ";
echo btn_edit('lmember/edit/' . $student->studentID . "/" . $set, $this->lang->line('edit')) . " ";
echo btn_delete('lmember/delete/' . $student->studentID . "/" . $set, $this->lang->line('delete'));
}
?>
</td>
</tr>
<?php
$i++;
}
}
?>
</tbody>
示例13: img_imprimer
?>
</div>
<div id="onglet3" class="onglet" style="display: none;">
<?php
echo $eleves;
?>
</div>
</div>
<div class="navigation">
<div class="editions" style="float: left">
<img src="<?php
echo img_imprimer();
?>
" /> Editions:
<select onchange="imprimer();" name = "code_impression">
<option></option>
<option value="0001">Informations de l'établissement</option>
<option value="0002">Liste simplifiée des élèves</option>
<option value="0003">Liste détaillée des élèves</option>
<option value="0004">Liste simplifiée du personnels</option>
<option value="0005">Liste détaillée du personnels</option>
<option value="0006">Planning des activités pédagogique</option>
<option value="0007">Liste des chefs et sous-chefs de classes</option>
</select>
</div>
<?php
echo btn_add("document.location='" . Router::url("etablissement", "saisie") . "'");
?>
</div>
<div class="status"></div>
示例14: btn_add
<?php
echo btn_add('dashboard/categories/create', 'Category');
?>
<hr>
<table class="table">
<thead>
<tr>
<th>Category Name</th>
<th>Category Description</th>
<th></th>
</tr>
</thead>
<tbody>
<?php
foreach ($categories as $category) {
?>
<tr>
<td><?php
echo $category->category_name;
?>
</td>
<td><?php
echo $category->category_description;
?>
</td>
<td>
<?php
echo btn_edit('dashboard/categories/edit/' . $category->category_id);
示例15: btn_add
<div style="margin-left: 80px">
<span class="select" style="width: 350px"><label>Matières - classes : </label>
<?php
echo $comboEnseignements;
?>
</span>
<span class="select" style="width: 200px"><label>Période : </label>
<?php
echo $comboPeriodes;
?>
</span>
</div>
</div>
<div class="page">
<div id="verrouillage-content">
<?php
echo $verrouillage;
?>
</div>
</div>
<div class="navigation">
<?php
if (isAuth(401)) {
echo btn_add("document.location='" . Router::url("note", "saisie") . "'");
} else {
echo btn_add_disabled();
}
?>
</div>
<div class="status"></div>