X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Ftags%2Ftags.php;h=c094c9a143763f61025af60e4f7ce0be2ea0a8b4;hb=965a36b08077d2e31dcabc30f03dcdbf2099e760;hp=502f8b20dd69f27c33bba862e2df9f8bd21824d4;hpb=da5652ed436911f81ac08120f3c0eb42fdfebc06;p=plewww.git diff --git a/planetlab/tags/tags.php b/planetlab/tags/tags.php index 502f8b2..c094c9a 100644 --- a/planetlab/tags/tags.php +++ b/planetlab/tags/tags.php @@ -75,11 +75,15 @@ foreach( $tag_types as $tag_type ) { $table->cell($tag_type['category']); $table->row_end(); } -$footers=array(); -if (plc_is_admin()) - $footers[]=PlcTable::td_text(plc_form_simple_button(l_tag_add(),"Add a Tag Type","GET"),6,"right"); +if (plc_is_admin()) { + $table->tfoot_start(); + $table->row_start(); + $table->cell (plc_form_simple_button(l_tag_add(),"Add a Tag Type","GET"), + $table->columns(),"right"); + $table->row_end(); + } -$table->end(array('footers'=>$footers)); +$table->end(); // Print footer include 'plc_footer.php';