requireValidation=true; $page->setOwner($persona,$TABLES["person"]); $page->setCssInclude("general.css.min.css"); $page->setCssInclude("person.css"); $page->setCssInclude("recipe-lists.css"); $page->setJsInclude("prototype.js.min.js"); $page->setJsInclude("tinybox.js.min.js"); //seo $pagenum = $_GET["recipe"]["page"]; if ( $pagenum>0 ) $page->noIndex=1; $content=new content("layout.html"); $page->setContent($content); $page->build(); if(!$persona->isValidated()){ $content=new content("person/rapidConnect.template.html",$matrizConnect); }else{ $content=new content("person/rapidDisconnect.template.html",$matrizConnect); } $page->tag["actions-bar"]->setContent($content); $TABLES["tag"]->relTables[]=Array( "table"=>"basetag", "localkey"=>"uid", "foreignkey"=>"uid" ); $uid = $_GET["person"]["uid"]; //$tipo = $_GET["canonical-name"]; $TABLES["recipe"]->loadRelationsArray("ingredient",Array(),$varcharConf,"###uid###",", "); $TABLES["recipe"]->loadRelationsArray("tag",Array(),$varcharConf,"###description###",", "); //$TABLES["recipe"]->urlName=""; include ("utils/listFormatter.util.php"); $TABLES["recipe"]->rowFormatHandler=formatRepeater; $TABLES["recipe"]->addWhere("AND person='$uid'"); $TABLES["recipe"]->urlPager=ROOT."autor/$uid/|person:canonical-name/page/|page/"; $tipo ="Todas las recetas de "; //$TABLES["recipe"]->imagePath="minithumb"; $content=new content("recipe/rapidList.template.html",Array("RECETA"=>$TABLES["recipe"],"RASTRO"=>$TABLES["person"],"tipo"=>$tipo)); if(isset($page->tag["content"])) $page->tag["content"]->setContent($content); $TABLES["person"]->isTitleOfPage=true; $TABLES["person"]->loadRelationsArray("recipe",Array("person"=>$uid),$varcharConf,"###uid###",", "); $content=new content("person/rapidDetail.template.html",Array("PERSON_NAVIGATION"=>$TABLES["person"])); if(isset($page->tag["content"])) $page->tag["content"]->setContent($content); echo $page->render(); ?>