toolbar extended by PHP instead JavaScript