Commit b14a9eab authored by Kgneo's avatar Kgneo
Browse files

up preview

parent 01dc237e
......@@ -1581,10 +1581,37 @@ function bindLBHLinks() {
smallMenu.openAjaxHTML( baseUrl+'/'+moduleId+"/"+url);
//smallMenu.openAjaxHTML( baseUrl+'/'+moduleId+"/"+url ,"","blockUI",h);
}
})
});
//open any url in a modal window
$(".lbh-preview-element").unbind("click").on("click",function(e) {
e.preventDefault();
$("#openModal").modal("hide");
mylog.warn("***************************************");
mylog.warn("bindLBHLinks Preview ELEMENT", $(this).attr("href"),$(this).data("modalshow"));
mylog.warn("***************************************");
var h = ($(this).data("hash")) ? $(this).data("hash") : $(this).attr("href");
var url = (h.indexOf("#") == 0 ) ? "app/"+ urlCtrl.convertToPath(h) : "app/"+ h;
openPreviewElement( baseUrl+'/'+moduleId+"/"+url);
//smallMenu.open ( getAjax(directory.preview( mapElements[ $(this).data("modalshow") ],h ) );
});
}
function openPreviewElement(url){
$("#modal-preview-coop").html("<i class='fa fa-spin fa-circle-o-notch padding-25 fa-2x letter-azure'></i>").show(200);
$.ajax({
type: "POST",
url: url,
data: {"preview" : true},
success: function(html){
$("#modal-preview-coop").html(html);
$("#modal-preview-coop").removeClass("hidden").show();
}
})
}
function mouseX(evt) {
if (evt.pageX) {
return evt.pageX;
......
......@@ -1003,8 +1003,8 @@ var directory = {
// ********************************
lightPanelHtml : function(params){
mylog.log("lightPanelHtml", params);
var linkAction = "lbh"; // ( $.inArray(params.type, ["poi","classified"])>=0 ) ? " lbhp' data-modalshow='"+params.id+"' data-modalshow='"+params.id+"' " : " lbh'";
var linkAction = ( $.inArray(params.type, ["poi","classified","ressources"])>=0 ) ? " lbh-preview-element" : " lbh";
console.log("linkAction", linkAction);
var onepageKey = CO2params["onepageKey"][0];
params.htmlIco ="<i class='fa "+ params.ico +" fa-2x letter-"+params.color+"'></i>";
......@@ -1019,6 +1019,7 @@ var directory = {
authorId=params.author.id;
}
//lbhp add2fav' data-modalshow='"+params.id+"'
if(typeof params.fullLocality != "undefined" && params.fullLocality != "" && params.fullLocality != " ")
params.fullLocality = " <small class='lbh letter-red margin-left-10'>"+
......@@ -1042,8 +1043,11 @@ var directory = {
str += "<div class='col-xs-12 searchEntity entityLight no-padding' id='entity"+params.id+"'>";
str += "<div class='entityLeft pull-left text-right padding-10 hidden-xs'>";
if(typeof params.hash != "undefined" && typeof params.imgProfil != "undefined")
str += "<a href='"+params.hash+"' class='container-img-profil "+linkAction+"''>" + params.imgProfil + "</a>";
if(typeof params.hash != "undefined" && typeof params.imgProfil != "undefined" && location.hash != "#agenda"){
str += "<a href='"+params.hash+"' class='container-img-profil "+linkAction+"'>" + params.imgProfil + "</a>";
}else if(params.type == "events" && location.hash == "#agenda"){
str += "<a href='"+params.hash+"' class='container-img-profil event "+linkAction+"'>" + params.imgMediumProfil + "</a>";
}
str += "</div>"
str += "<div class='entityCenter col-xs-11 col-sm-8 col-md-7 col-lg-6 no-padding'>";
......@@ -1052,7 +1056,7 @@ var directory = {
str += "<a href='"+params.hash+"' class='margin-top-15 iconType "+linkAction+"'>" + params.htmlIco + "</a>";
if(typeof params.name != "undefined" && params.name != ""){
str += "<a href='"+params.hash+"' class='margin-top-10 lbh letter-blue title'>"+params.name+"</a>";
str += "<a href='"+params.hash+"' class='margin-top-10 letter-blue title "+linkAction+"'>"+params.name+"</a>";
if(typeof params.price != "undefined" && typeof params.devise != "undefined")
......@@ -1081,6 +1085,18 @@ var directory = {
if(typeof params.url != "undefined" && params.url != null && params.url != "")
str += "<br><a href='"+params.url+"' class='lbh text-light url bold elipsis'>"+params.url+"</a>";
if(typeof params.section != "undefined"){
str += "<div class='entityType'>" + tradCategory["to "+params.section];
if(typeof params.subtype != "undefined") str += " > " + tradCategory[params.subtype];
str += "</div>";
}
if(params.type=="events"){
var dateFormated = directory.getDateFormated(params);
var countSubEvents = ( params.links && params.links.subEvents ) ? "<br/><i class='fa fa-calendar'></i> "+Object.keys(params.links.subEvents).length+" "+trad["subevent-s"] : "" ;
str += dateFormated+countSubEvents;
}
// if(typeof params.startDate != "undefined")
// str += "<br><small class='letter-light'>"+params.startDate+"</small>";
......@@ -1091,7 +1107,7 @@ var directory = {
// str += "<small class='letter-light'>"+params.endDate+"</small>";
if(typeof params.updatedLbl != "undefined" && (params.type == "events" || params.type == "classified"))
str += "<br><small class='letter-light bold'><i class='fa fa-clock-o'></i> "+params.updatedLbl+"</small>";
str += "<small class='letter-light bold'><i class='fa fa-clock-o'></i> "+params.updatedLbl+"</small>";
if(typeof params.shortDescription != "undefined" && params.shortDescription != "" && params.shortDescription != null)
......@@ -1131,7 +1147,7 @@ var directory = {
" data-ownerlink='follow' data-id='"+params.id+"' data-type='"+params.type+"'"+
" data-name='"+params.name+"' data-isFollowed='"+isFollowed+"'>"+
"<small><i class='fa fa-link fa-rotate-270'></i> "+tip+"</small>"+
"</button>";
"</button>";
}
......@@ -1146,7 +1162,7 @@ var directory = {
str += "<div class='col-lg-4 col-md-3 col-sm-2 col-xs-12 gallery'>";
if(typeof params.gallery != "undefined"){
$.each(params.gallery, function(key, img){
str += "<a href='"+params.url+"' class='lbh'><img src='"+img.path+"' class='margin-5' height='70'></a>";
str += "<a href='"+params.hash+"' class='lbh'><img src='"+img.path+"' class='margin-5' height='70'></a>";
});
}
str += "</div>";
......@@ -1239,27 +1255,27 @@ var directory = {
str += "</div>";
}
if(params.type=="events"){
var dateFormated = "<br/><i class='fa fa-clock'></i> "+directory.getDateFormated(params, true);
var countSubEvents = ( params.links && params.links.subEvents ) ? "<br/><i class='fa fa-calendar'></i> "+Object.keys(params.links.subEvents).length+" "+trad["subevent-s"] : "" ;
str += dateFormated+countSubEvents;
}
var thisLocality = "";
if(params.fullLocality != "" && params.fullLocality != " ")
thisLocality = "<a href='"+params.hash+"' data-id='" + params.dataId + "' class='entityLocality add2fav"+linkAction+">"+
"<i class='fa fa-home'></i> " + params.fullLocality + "</a>";
else thisLocality = "<br>";
str += thisLocality;
str += "<div class='entityDescription'>" + ( (params.shortDescription == null ) ? "" : params.shortDescription ) + "</div>";
str += "<div class='tagsContainer text-red'>"+params.tagsLbl+"</div>";
str += "</div>";
str += "</div>";
str += "</div>";
str += "</div>";
return str;
if(params.type=="events"){
var dateFormated = "<br/><i class='fa fa-clock'></i> "+directory.getDateFormated(params, true);
var countSubEvents = ( params.links && params.links.subEvents ) ? "<br/><i class='fa fa-calendar'></i> "+Object.keys(params.links.subEvents).length+" "+trad["subevent-s"] : "" ;
str += dateFormated+countSubEvents;
}
var thisLocality = "";
if(params.fullLocality != "" && params.fullLocality != " ")
thisLocality = "<a href='"+params.hash+"' data-id='" + params.dataId + "' class='entityLocality add2fav"+linkAction+">"+
"<i class='fa fa-home'></i> " + params.fullLocality + "</a>";
else thisLocality = "<br>";
str += thisLocality;
str += "<div class='entityDescription'>" + ( (params.shortDescription == null ) ? "" : params.shortDescription ) + "</div>";
str += "<div class='tagsContainer text-red'>"+params.tagsLbl+"</div>";
str += "</div>";
str += "</div>";
str += "</div>";
str += "</div>";
return str;
},
interopPanelHtml : function(params){
......@@ -1402,12 +1418,12 @@ var directory = {
// ********************************
// NEXT PREVIOUS
// ********************************
str += "<div class='col-xs-6 col-sm-2 col-md-3 pull-left text-right'></div>";
str += "<div class='col-xs-12 col-sm-1 col-md-2 pull-left text-right'></div>";
//str += "<div class='col-xs-6 col-sm-2 col-md-3 pull-right text-left visible-xs'>"+nav.next+"</div>";
// ********************************
// RIGHT SECTION
// ********************************
str += "<div class='col-xs-12 col-sm-8 col-md-6 margin-top-15'>";
str += "<div class='col-xs-12 col-sm-10 col-md-8 margin-top-15'>";
// ********************************
// LEFT SECTION
......@@ -1427,7 +1443,7 @@ var directory = {
str += "</div><hr>";
}
if(typeof params.typePoi != "undefined"){
str += "<div class='entityType text-dark'><span class='bold uppercase'>" + trad[params.type] + "</span> > "+trad[params.typePoi];
str += "<div class='entityType text-dark'><span class='bold uppercase'>" + trad[params.type] + "</span> > "+tradCategory[params.typePoi];
str += "</div><hr>";
}
......@@ -1462,8 +1478,13 @@ var directory = {
str += "<div class='entityType letter-green bold' style='font-size:17px;'><i class='fa fa-address-card'></i> Contact : " + params.contactInfo + "</div>";
str += "<hr class='col-xs-12'>";
} else {
str += "<div class='entityType letter-green bold' style='font-size:17px;'><i class='fa fa-address-card'></i> <a class='lbh btn btn-azure' href='#page.type.citoyens.id." + params.creator + "'>Contact la personne</a></div>";
str += "<hr class='col-xs-12'>";
str += "<div class='entityType letter-green bold' style='font-size:17px;'>"+
"<i class='fa fa-address-card'></i> "+
"<a class='lbh btn btn-link btn-azure' href='#page.type.citoyens.id." + params.creator + "'>"+
"Voir la page de l'auteur"+
"</a>"+
"</div>";
str += "<hr class='col-xs-12 no-padding'>";
}
var thisLocality = "";
......@@ -1537,7 +1558,7 @@ var directory = {
if( params.creator == userId || params.author == userId || params.parentId == userId || dyFObj.canUserEdit() ){
str += '<hr>'+
'<div class="col-md-offset-1 col-md-10 col-sm-12 col-xs-12 shadow2 padding-15 margin-top-25">'+
'<div class="col-md-12 col-sm-12 col-xs-12 shadow2 padding-15 margin-top-25">'+
'<a href="javascript:;" class="btn btn-default text-red deleteThisBtn bold pull-left" data-type="'+params.type+'" data-id="'+params.id+'" ><i class="fa fa-trash"></i></a> '+
'<a href="javascript:dyFObj.editElement(\''+params.type+'\', \''+params.id+'\' );" class="btn btn-default pull-right letter-green bold">'+
'<i class="fa fa-pencil"></i> '+trad["modifyelement"]+
......@@ -2986,7 +3007,13 @@ var directory = {
//mylog.log("template principal",params,params.type, itemType);
if(location.hash == "" || location.hash == "#search" || location.hash == "#web")
if($.inArray(params.type, ["citoyens","organizations","projects","events","poi","news","places","ressources","classified"] )>=0
/*location.hash == "" ||
location.hash == "#search" ||
location.hash == "#annonces" ||
location.hash == "#agenda" ||
location.hash == "#ressources" ||
location.hash == "#web"*/)
str += directory.lightPanelHtml(params);
else
......
......@@ -387,9 +387,9 @@ function getLabelTitleDir(dataName, dataIcon, countData, n){
var html = "<i class='fa fa-"+dataIcon+" fa-2x margin-right-10'></i> <i class='fa fa-angle-down'></i> ";
if(dataName == "follows") { html += elementName + " "+trad.isfollowing+" " + countData + " "+trad["page"+s]+""; }
else if(dataName == "followers") { html += countData + " <b>"+trad["follower"+s]+"</b> "+trad.to+" "+ elementName; }
else if(dataName == "members") { html += elementName + " "+trad.iscomposedof+" " + countData + " <b>"+trad["member"+s]+"</b>"; }
else if(dataName == "members") { html += elementName + " "+trad.iscomposedof+" " + countData + " <b>"+trad["member"+s]+"</b>"; }
else if(dataName == "attendees") { html += countData + " <b>"+trad["attendee"+s]+"</b> "+trad.toevent+" " + elementName; }
else if(dataName == "guests") { html += countData + " <b>"+trad["guest"+s]+"</b> "+trad.on+" " + elementName; }
else if(dataName == "guests") { html += countData + " <b>"+trad["guest"+s]+"</b> "+trad.on+" " + elementName; }
else if(dataName == "contributors") { html += countData + " <b>"+trad["contributor"+s]+"</b> "+trad.toproject+" " + elementName; }
else if(dataName == "events"){
......@@ -399,22 +399,22 @@ function getLabelTitleDir(dataName, dataIcon, countData, n){
html += elementName + " "+trad.takepart+" " + countData+" <b> "+trad["event"+s];
}
}
else if(dataName == "organizations") { html += elementName + " "+trad.ismemberof+" "+ countData+" <b>"+trad["organization"+s]; }
else if(dataName == "organizations"){ html += elementName + " "+trad.ismemberof+" "+ countData+" <b>"+trad["organization"+s]; }
else if(dataName == "projects") { html += elementName + " "+trad.contributeto+" " + countData+" <b>"+trad["project"+s] }
else if(dataName == "collections"){ html += elementName+" "+trad.hasgot+" "+countData+" <b>"+trad["collection"+s]+"</b>"; }
else if(dataName == "poi"){ html += countData+" <b>"+trad["point"+s+"interest"+s]+"</b> "+trad['createdby'+s]+" " + elementName; }
else if(dataName == "classified"){ html += countData+" <b>"+trad[classified+s]+"</b> "+trad['createdby'+s]+" " + elementName; }
else if(dataName == "ressources"){ html += countData+" <b>ressource"+s+"</b> créé"+s+" par " + elementName; }
else if(dataName == "collections") { html += elementName+" "+trad.hasgot+" "+countData+" <b>"+trad["collection"+s]+"</b>"; }
else if(dataName == "poi") { html += countData+" <b>"+trad["point"+s+"interest"+s]+"</b> "+trad['createdby'+s]+" " + elementName; }
else if(dataName == "classified") { html += countData+" <b>"+trad["classified"+s]+"</b> "+trad['createdby'+s]+" " + elementName; }
else if(dataName == "ressources") { html += countData+" <b>ressource"+s+"</b> "+trad['createdby'+s]+" " + elementName; }
else if(dataName == "needs"){ html += countData+" <b>"+trad[need+s]+"</b> "+trad.of+" " + elementName; }
else if(dataName == "needs") { html += countData+" <b>"+trad[need+s]+"</b> "+trad.of+" " + elementName; }
else if(dataName == "vote"){ html += countData+" <b>"+trad[proposal+s]+"</b> "+trad.of+" " + elementName; }
else if(dataName == "discuss"){ html += countData+" <b>"+trad.discussion+s+"</b> "+trad.of+" " + elementName; }
else if(dataName == "actions"){ html += countData+" <b>"+trad.actions+s+"</b> "+trad.of+" " + elementName; }
else if(dataName == "vote") { html += countData+" <b>"+trad[proposal+s]+"</b> "+trad.of+" " + elementName; }
else if(dataName == "discuss") { html += countData+" <b>"+trad.discussion+s+"</b> "+trad.of+" " + elementName; }
else if(dataName == "actions") { html += countData+" <b>"+trad.actions+s+"</b> "+trad.of+" " + elementName; }
else if(dataName == "actionRooms"){ html += countData+" <b>espace de décision"+s+"</b> de " + elementName; }
else if(dataName == "networks"){ html += countData+" <b>"+trad.map+s+"</b> "+trad.of+" " + elementName;
else if(dataName == "actionRooms") { html += countData+" <b>espace de décision"+s+"</b> de " + elementName; }
else if(dataName == "networks") { html += countData+" <b>"+trad.map+s+"</b> "+trad.of+" " + elementName;
if( (typeof openEdition != "undefined" && openEdition == true) || (typeof edit != "undefined" && edit == true) ){
html += '<a class="btn btn-sm btn-link bg-green-k pull-right " href="javascript:;" onclick="dyFObj.openForm ( \'network\', \'sub\')">';
html += '<i class="fa fa-plus"></i> '+tradDynForm["Add map"]+'</a>' ;
......@@ -442,8 +442,6 @@ function getLabelTitleDir(dataName, dataIcon, countData, n){
html += '<a class="btn btn-sm btn-link bg-green-k pull-right " href="javascript:;" onclick="dyFObj.openForm ( \'contactPoint\',\'sub\')">';
html += '<i class="fa fa-plus"></i> '+trad["Add contact"]+'</a>' ;
}
}
if( openEdition || edit ){
......
......@@ -146,7 +146,8 @@ function getFloopItem(id, type, value){
'<i class="fa fa-comments"></i>'+
'</button>';
if( value.preferences.isOpenEdition == false )
HTML += '<i class="fa fa-lock pull-right"></i>';
HTML += '<i class="fa fa-lock pull-right margin-top-20 margin-right-5 text-light tooltips" '+
'data-position="left" data-original-title="value.preferences.isOpenEdition == false"></i>';
return HTML+'</li>';
}
......
......@@ -254,7 +254,7 @@ class AppController extends CommunecterController {
}
if(@$element["parentId"] && @$element["parentType"])
$element['parent'] = Element::getByTypeAndId( $element["parentType"], $element["parentId"]);
$element['parent'] = Element::getSimpleByTypeAndId( $element["parentType"], $element["parentId"]);
if(@$element["organizerId"] && @$element["organizerType"] &&
$element["organizerId"] != "dontKnow" && $element["organizerType"] != "dontKnow")
$element['organizer'] = Element::getByTypeAndId( $element["organizerType"], $element["organizerId"]);
......@@ -270,8 +270,16 @@ class AppController extends CommunecterController {
$params = Element::getInfoDetail($params, $element, $type, $id);
//var_dump(@$_POST); exit;
echo $this->renderPartial("page", $params, true);
}
if(@$_POST["preview"] == true){
if($type == "classified") $this->renderPartial('classifieds.views.co.preview', $params );
if($type == "ressources") $this->renderPartial('ressources.views.co.preview', $params );
if($type == "poi") $this->renderPartial('../poi/preview', $params );
}else{
echo $this->renderPartial("page", $params, true);
}
}
public function actionInteroperability(){
CO2Stat::incNbLoad("co2-interoberability");
......
......@@ -9,7 +9,9 @@
$layoutPath = 'webroot.themes.'.Yii::app()->theme->name.'.views.layouts.';
//header + menu
if($this->module->id != "network" && $type!=Classified::COLLECTION && ($type!=Product::COLLECTION || ($element["creator"]==Yii::app()->session["userId"] && $view != "show")))
if($this->module->id != "network" &&
($type!=Product::COLLECTION ||
($element["creator"]==Yii::app()->session["userId"] && $view != "show")))
//le param USEHEADER de params.json sert à afficher ou non le header,
//donc normalement pas besoin de faire de IF ici
$this->renderPartial($layoutPath.'header',
......@@ -61,18 +63,6 @@
$this->renderPartial('../news/standalone', $params );
}
if($type == Classified::COLLECTION || $type == Ressource::COLLECTION){
$params = array("element"=>$element ,
"page" => "page",
"type" => $type,
"controller" => $controller,
);
if(@$members) $params["members"] = $members;
if(@$invitedMe) $params["invitedMe"] = $invitedMe;
$this->renderPartial('classifieds.views.co.standalone', $params );
}
if($type == Product::COLLECTION){
$params = array("element"=>$element ,
"page" => "page",
......@@ -111,13 +101,40 @@
$this->renderPartial('../survey/entryStandalone', $params );
}
if($type == Poi::COLLECTION){
if($type == Classified::COLLECTION){
$params = array("element"=>$element ,
"page" => "page",
"type" => $type,
"controller" => $controller,
);
if(@$members) $params["members"] = $members;
if(@$invitedMe) $params["invitedMe"] = $invitedMe;
$this->renderPartial('classifieds.views.co.standalone', $params );
}
if($type == Ressource::COLLECTION){
$params = array("element"=>$element ,
"page" => "page",
"type" => $type,
"controller" => $controller,
);
if(@$members) $params["members"] = $members;
if(@$invitedMe) $params["invitedMe"] = $invitedMe;
$this->renderPartial('ressources.views.co.standalone', $params );
}
if($type == Poi::COLLECTION){
$params = array("element"=>$element ,
"page" => "page",
"type" => $type,
"controller" => $controller,
);
$this->renderPartial('../poi/standalone', $params );
}
?>
......
......@@ -32,6 +32,12 @@
if($accessRoom == "lock") {
?>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<button class="btn btn-default pull-right margin-left-5 margin-top-10 tooltips"
data-original-title="<?php echo Yii::t("cooperation","Close this window"); ?>" data-placement="bottom"
id="btn-close-proposal">
<i class="fa fa-times"></i>
</button><br>
<h4 class="letter-turq load-coop-data title-room"
data-type="room" data-dataid="<?php echo @$proposal["idParentRoom"]; ?>">
<i class="fa fa-connectdevelop"></i> <i class="fa fa-hashtag"></i> <?php echo @$parentRoom["name"]; ?>
......@@ -55,6 +61,15 @@
</h5>
<?php } ?>
</div>
<script type="text/javascript">
jQuery(document).ready(function() {
$("#modal-preview-coop #btn-close-proposal").off().click(function(){
$("#modal-preview-coop").hide(300);
});
});
</script>
<?php exit; } ?>
<?php if(@$access=="deny"){ ?>
......
......@@ -623,8 +623,8 @@
</button>
*/ ?>
<button data-form-type="ressources" data-dismiss="modal"
class="btn btn-link btn-open-form col-xs-6 col-sm-6 col-md-4 col-lg-4 text-azure">
<h6><i class="fa fa-cube fa-2x bg-azure"></i><br> Ressource</h6>
class="btn btn-link btn-open-form col-xs-6 col-sm-6 col-md-4 col-lg-4 text-vine">
<h6><i class="fa fa-cube fa-2x bg-vine"></i><br> Ressource</h6>
<small>Partager des ressources<br>des outils, des documents<br> des compétences et des besoins</small>
</button>
......
<style>
#modal-preview-coop{
overflow: auto;
}
</style>
<div class="margin-top-25 margin-bottom-50 col-xs-12">
<div class="col-xs-12 no-padding">
<button class="btn btn-default pull-right btn-close-preview" style="margin-top:-15px;">
<i class="fa fa-times"></i>
</button>
<!-- <h3 class="text-center letter-green"><i class="fa fa-map-marker"></i> Point d'intéret</h3> -->
<div id="poi"></div>
</div>
</div>
<script type="text/javascript">
var poiAlone=<?php echo json_encode($element); ?>;
jQuery(document).ready(function() {
setTitle("", "", poiAlone.name);
poiAlone["typePoi"] = poiAlone.type;
poiAlone["type"] = "poi";
poiAlone["typeSig"] = "poi";
poiAlone["id"] = poiAlone['_id']['$id'];
var html = directory.preview(poiAlone);
$("#poi").html(html);
initBtnLink();
$("#modal-preview-coop .btn-close-preview").click(function(){
console.log("close preview");
$("#modal-preview-coop").hide(300);
$("#modal-preview-coop").html("");
});
//poi["sections"] = <?php echo json_encode(CO2::getContextList("poi")); ?>
Sig.showMapElements(Sig.map, new Array(poiAlone));
});
</script>
\ No newline at end of file
......@@ -781,6 +781,7 @@ var tradCategory = {
"Conference" :"<?php echo Yii::t("category","Conference") ?>",
"Debate" :"<?php echo Yii::t("category","Debate") ?>",
"Film" :"<?php echo Yii::t("category","Film") ?>",
"sharing" : "<?php echo Yii::t("category","Share") ?>",
"donation" : "<?php echo Yii::t("category","Give") ?>",
"forsale" : "<?php echo Yii::t("category","Sale") ?>",
......@@ -788,6 +789,12 @@ var tradCategory = {
"lookingfor" : "<?php echo Yii::t("category","Need") ?>",
"job" : "<?php echo Yii::t("category","Jobs") ?>",
"to sharing" : "<?php echo Yii::t("category","To share") ?>",
"to donation" : "<?php echo Yii::t("category","To give") ?>",
"to forsale" : "<?php echo Yii::t("category","For sale") ?>",
"to forrent" : "<?php echo Yii::t("category","For rent") ?>",
"to job" : "<?php echo Yii::t("category","Job offer") ?>",
"Share":"<?php echo Yii::t("category","Share") ?>",
"To share":"<?php echo Yii::t("category","To share") ?>",
"Give":"<?php echo Yii::t("category","Give") ?>",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment