Example #1
0
 *  (at your option) any later version.
 *
 *  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\Home;
$node = isset($_SESSION['admin_node']) ? $_SESSION['admin_node'] : \GOTEO_NODE;
if ($node != \GOTEO_NODE) {
    $the_items = Home::_node_items();
    $the_side_items = Home::_node_side_items();
} else {
    $the_items = Home::_items();
}
$items = $this['items'];
$new = $this['new'];
$availables = $this['availables'];
$side_items = $this['side_items'];
$side_new = $this['side_new'];
$side_availables = $this['side_availables'];
$admins = Home::_admins();
/* if ($node != \GOTEO_NODE) : ?><a href="/admin/home/addside" class="button" style="margin-right: 270px;">A&ntilde;adir elemento lateral</a><?php endif; ?>
<a href="/admin/home/add" class="button">A&ntilde;adir elemento</a>
<br />
 *
 */