-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '4.0.2-rc1' of git://github.com/photo/frontend into 4.0.…
…2-rc1
- Loading branch information
Showing
45 changed files
with
4,401 additions
and
865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
$status = true; | ||
|
||
$sql = <<<SQL | ||
ALTER TABLE `{$this->mySqlTablePrefix}activity` ADD `elementId` VARCHAR( 6 ) NOT NULL AFTER `type` | ||
SQL; | ||
|
||
mysql_4_0_2($sql); | ||
|
||
function mysql_4_0_2($sql, $params = array()) | ||
{ | ||
try | ||
{ | ||
getDatabase()->execute($sql, $params); | ||
getLogger()->info($sql); | ||
} | ||
catch(Exception $e) | ||
{ | ||
getLogger()->crit($e->getMessage()); | ||
return false; | ||
} | ||
return true; | ||
} | ||
|
||
// Gh-1279 | ||
// We return true here since the only reason to include this alter is in case | ||
// a user upgraded prior to this patch and we'll run it with the table prefix | ||
// and fail silently if it doesn't take | ||
return true; |
Binary file not shown.
Binary file not shown.
399 changes: 399 additions & 0 deletions
399
src/html/assets/font/fontawesome-3.2.1/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[site] | ||
mediaVersion="co" | ||
mediaVersion="ct" | ||
|
||
[behavior] | ||
useDefaultMobile="0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/html/assets/themes/fabrizio1.0/javascripts/op/Highlight.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
(function($) { | ||
if(typeof TBX === 'undefined') | ||
TBX = {}; | ||
|
||
function Hightlight() { | ||
var highlightColor = '#fff7dc', startColor; | ||
reset = function() { | ||
$(this).animate({'backgroundColor':startColor}, 'slow'); | ||
} | ||
|
||
this.run = function(el) { | ||
var $el = $(el); | ||
|
||
startColor = $el.css('backgroundColor'); | ||
$el.animate({backgroundColor: highlightColor}, 'slow', 'swing', reset.bind($el)); | ||
} | ||
} | ||
|
||
TBX.highlight = new Hightlight; | ||
})(jQuery); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/html/assets/themes/fabrizio1.0/javascripts/op/data/model/ProgressBar.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(function($){ | ||
op.ns('data.model').ProgressBar = Backbone.Model.extend({ | ||
defaults: { | ||
"total": 0, | ||
"success": 0, | ||
"warning": 0, | ||
"danger": 0, | ||
"striped": "progress-striped" | ||
}, | ||
completed: function() { | ||
this.set('striped', ''); | ||
}, | ||
sync: function(method, model) { | ||
model.trigger('change'); | ||
} | ||
}); | ||
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/html/assets/themes/fabrizio1.0/javascripts/op/data/view/ProgressBar.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
(function($){ | ||
op.ns('data.view').ProgressBar = Backbone.View.extend({ | ||
initialize: function() { | ||
this.model.on('change', this.modelChanged, this); | ||
}, | ||
model: this.model, | ||
className: 'progress-meta', | ||
template :_.template($('#progress-meta').html()), | ||
render: function() { | ||
this.$el.html(this.template(this.model.attributes)); | ||
return this; | ||
}, | ||
modelChanged: function() { | ||
this.render(); | ||
} | ||
}); | ||
})(jQuery); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.