File "corbeille_fonctions.php"

Full path: /home/argothem/www/organecyberpresse/plugins/auto/corbeille/v4.1.0/corbeille_fonctions.php
File size: 538 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * Plugin Corbeille 3.0
 *
 * Collectif
 * Licence GPL
 */

if (!defined('_ECRIRE_INC_VERSION')) { return;
}


/**
 * Corbeille_icone_poubelle() affiche l'icone poubelle (vide ou pleine)
 * @param $total_table nb d'elŽments supprimable pour un objet donnŽ
 */
function corbeille_icone_poubelle($total_table) {

	if (empty($total_table)) {
		return "<img src='" . chemin_image('trash-empty-32.png') . "' alt='trash empty'/>";
	} else {
		return "<img src='" . chemin_image('trash-full-32.png') . "'  alt='trash full'/>";
	}
}