Skip to content

Commit

Permalink
merge with ATS
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsen Koohi committed Dec 18, 2016
1 parent bbbb520 commit d285122
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 10 deletions.
21 changes: 21 additions & 0 deletions ATS/CMF/Web/.htaccess
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
ExpiresActive On
ExpiresByType image/gif "access plus 1 months"
ExpiresByType image/jpg "access plus 1 months"
ExpiresByType image/jpeg "access plus 1 months"
ExpiresByType image/png "access plus 1 months"
ExpiresByType image/x-icon "access plus 1 months"
ExpiresByType image/ico "access plus 1 months"
ExpiresByType application/javascript "now plus 1 months"
ExpiresByType application/x-javascript "now plus 1 months"
ExpiresByType text/javascript "now plus 1 months"
ExpiresByType text/css "now plus 1 months"
ExpiresByType audio/mpeg "access plus 1 months"
ExpiresByType audio/wav "access plus 1 months"
ExpiresByType audio/wave "access plus 1 months"
ExpiresByType audio/x-wav "access plus 1 months"
ExpiresByType audio/x-pn-wav "access plus 1 months"
ExpiresByType video/mp4 "access plus 1 months"

#ExpiresDefault "access plus 1 days"

Options -Indexes

RewriteEngine on
RewriteCond $1 !^(index\.php|images|scripts|styles|upload|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
2 changes: 1 addition & 1 deletion ATS/CMF/Web/application/controllers/AE_Contact_Us.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function send_new()
{
$receivers=$this->input->post("receivers");
$subject=$this->input->post("subject");
$content=$this->input->post("content");
$content=nl2br($this->input->post("content"));
$lang=$this->input->post("language");

if($receivers && $subject && $content)
Expand Down
4 changes: 2 additions & 2 deletions ATS/CMF/Web/application/models/login/Facebook_login_model.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
class Facebook_login_model extends CI_Model
{
var $client_id = '103221530032359';
var $client_secret = 'f77f15e07e76f81d08ba3ec2384358e8';
var $client_id = '';
var $client_secret = '';
var $redirect_uri;

public function __construct()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function __construct()

require_once "google/autoload.php";

$this->redirect_uri = get_link("google_login_page");
$this->redirect_uri = get_link("customer_login_google");
}


Expand Down
4 changes: 2 additions & 2 deletions ATS/CMF/Web/application/views/en/admin/category_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@ function addSubCategory()
+"Verdana=verdana,geneva;"
+"Webdings=webdings;"
+"Wingdings=wingdings,zapf dingbats";
var tinyMCEPlugins="directionality textcolor link image hr emoticons2 lineheight colorpicker media";
var tinyMCEPlugins="directionality textcolor link image hr emoticons2 lineheight colorpicker media table";
var tinyMCEToolbar=[
"link image media hr bold italic underline strikethrough alignleft aligncenter alignright alignjustify styleselect formatselect fontselect fontsizeselect emoticons2",
"cut copy paste bullist numlist outdent indent forecolor backcolor removeformat ltr rtl lineheightselect "
"cut copy paste bullist numlist outdent indent forecolor backcolor removeformat ltr rtl lineheightselect table"
];


Expand Down
4 changes: 2 additions & 2 deletions ATS/CMF/Web/application/views/en/admin/post_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,10 @@ function deleteImage(lang)
+"Verdana=verdana,geneva;"
+"Webdings=webdings;"
+"Wingdings=wingdings,zapf dingbats";
var tinyMCEPlugins="directionality textcolor link image hr emoticons2 lineheight colorpicker media";
var tinyMCEPlugins="directionality textcolor link image hr emoticons2 lineheight colorpicker media table";
var tinyMCEToolbar=[
"link image media hr bold italic underline strikethrough alignleft aligncenter alignright alignjustify styleselect formatselect fontselect fontsizeselect emoticons2",
"cut copy paste bullist numlist outdent indent forecolor backcolor removeformat ltr rtl lineheightselect "
"cut copy paste bullist numlist outdent indent forecolor backcolor removeformat ltr rtl lineheightselect table"
];

function formSubmit()
Expand Down
4 changes: 2 additions & 2 deletions ATS/CMF/Web/application/views/en/customer/class_post_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,10 @@ function addGalleryRow(lang,el)
+"Verdana=verdana,geneva;"
+"Webdings=webdings;"
+"Wingdings=wingdings,zapf dingbats";
var tinyMCEPlugins="directionality textcolor link image hr emoticons2 lineheight colorpicker media code";
var tinyMCEPlugins="directionality textcolor link image hr emoticons2 lineheight colorpicker media code table";
var tinyMCEToolbar=[
"link image media hr bold italic underline strikethrough alignleft aligncenter alignright alignjustify styleselect formatselect fontselect fontsizeselect emoticons2",
"cut copy paste bullist numlist outdent indent forecolor backcolor removeformat ltr rtl lineheightselect code "
"cut copy paste bullist numlist outdent indent forecolor backcolor removeformat ltr rtl lineheightselect code table"
];

function formSubmit()
Expand Down

0 comments on commit d285122

Please sign in to comment.