WrenchHomeBanners
This commit is contained in:
@@ -86,30 +86,31 @@ long WrenchHomeBanners(CVars in, CVars &out) {
|
||||
//if( RecoCheckBlog( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
||||
if( RecoOffersInterest( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
||||
if( RecoReferAFreind( itm_count, in, out ) != PHP_API_BAD_PARAM ) { itm_count++; }
|
||||
|
||||
snprintf(vname, sizeof (vname), "button_text_%05d", ic);
|
||||
out[vname] = "Continue";
|
||||
|
||||
snprintf(vname, sizeof (vname), "short_button_text_%05d", ic);
|
||||
out[vname] = "View now";
|
||||
|
||||
snprintf(vname, sizeof (vname), "short_title_%05d", ic);
|
||||
out[vname] = "Interest Pending";
|
||||
|
||||
snprintf(vname, sizeof (vname), "short_description_%05d", ic);
|
||||
out[vname] = "Some users are interested in your job(s)";
|
||||
|
||||
snprintf(vname, sizeof (vname), "short_style_%05d", ic);
|
||||
out[vname] = "short_style ly";
|
||||
|
||||
ret = PHP_API_OK;
|
||||
}
|
||||
|
||||
|
||||
} catch (bad_parameter) {
|
||||
out["status"] = "ERROR";
|
||||
}
|
||||
logfmt(logINFO, "/RecoOffersInterest()");
|
||||
//
|
||||
// snprintf(vname, sizeof (vname), "button_text_%05d", ic);
|
||||
// out[vname] = "Continue";
|
||||
//
|
||||
// snprintf(vname, sizeof (vname), "short_button_text_%05d", ic);
|
||||
// out[vname] = "View now";
|
||||
//
|
||||
// snprintf(vname, sizeof (vname), "short_title_%05d", ic);
|
||||
// out[vname] = "Interest Pending";
|
||||
//
|
||||
// snprintf(vname, sizeof (vname), "short_description_%05d", ic);
|
||||
// out[vname] = "Some users are interested in your job(s)";
|
||||
//
|
||||
// snprintf(vname, sizeof (vname), "short_style_%05d", ic);
|
||||
// out[vname] = "short_style ly";
|
||||
//
|
||||
//
|
||||
// }
|
||||
//
|
||||
//
|
||||
// } catch (bad_parameter) {
|
||||
// out["status"] = "ERROR";
|
||||
// }
|
||||
logfmt(logINFO, "/WrenchHomeBanners()");
|
||||
ret = PHP_API_OK;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user