* * Goteo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Goteo. If not, see <http://www.gnu.org/licenses/agpl.txt>. * */ use Goteo\Library\Text, Goteo\Model; $promo = $this['promo']; $node = isset($_SESSION['admin_node']) ? $_SESSION['admin_node'] : \GOTEO_NODE; // proyectos disponibles // si tenemos ya proyecto seleccionado lo incluimos $projects = Model\Promote::available($promo->project, $node); $status = Model\Project::status(); ?> <form method="post" action="/admin/promote"> <input type="hidden" name="action" value="<?php echo $this['action']; ?> " /> <input type="hidden" name="order" value="<?php echo $promo->order; ?> " /> <input type="hidden" name="id" value="<?php echo $promo->id; ?> " />