source: pmb4.2/trunk/fuentes/pmb/admin/quotas/quota_table.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 898 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: quota_table.inc.php,v 1.7 2009-05-16 11:11:52 dbellamy Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9//Affichage d'un tableau de quota
10
11require_once($include_path."/templates/quotas.tpl.php");
12
13if (!$first) {
14        $elements_quota_form=str_replace("!!quota_table!!",$qt->show_quota_table($elements),$elements_quota_form);
15        $ids=$qt->get_table_ids_from_elements_id_ordered($elements);
16        $elements_quota_form=str_replace("!!ids_order!!",implode(",",$ids),$elements_quota_form);
17        print "<br /><br />\n".$elements_quota_form;
18} else {
19        $qt->rec_quota($elements);
20        print "<script>document.location='./admin.php?categ=$categ&sub=$sub$query_compl';</script>";
21}
22?>
Note: See TracBrowser for help on using the repository browser.