Skip to content

Commit

Permalink
Merge pull request #127 from causefx/develop
Browse files Browse the repository at this point in the history
Small CSS Changes and Tiny Fixes
  • Loading branch information
causefx authored Mar 7, 2017
2 parents 54855e8 + f9ca6ba commit 891337b
Show file tree
Hide file tree
Showing 21 changed files with 91 additions and 46 deletions.
8 changes: 4 additions & 4 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions images/favicon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "Organizr",
"icons": [
{
"src": "images\/favicon\/android-chrome-192x192.png",
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png"
},
{
"src": "images\/favicon\/android-chrome-512x512.png",
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image\/png"
}
Expand Down
Binary file added images/themes/darkly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/emby.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/joker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/monokai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/original.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/plex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/slate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/spa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function getTimezone(){

$configReady = "No";
$userpic = "";
$showPic = "";

else :

Expand Down Expand Up @@ -1934,6 +1935,14 @@ function notify(notifyString, notifyIcon, notifyType, notifyLength, notifyLayout
$("#contentRight").html('');

});

var ref = document.referrer;
if(ref.indexOf("updated")>=0){

notify("<?php echo $language->translate('UPDATE_COMPLETE');?>","exclamation-circle ","success","5000", "<?=$notifyExplode[0];?>", "<?=$notifyExplode[1];?>");

}

</script>

</body>
Expand Down
4 changes: 4 additions & 0 deletions lang/de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,7 @@ ENABLE_MAIL = "Mail aktivieren"
PROMOTE = "Hochstufen"
DEMOTE = "Zurückstufen"
ENABLE_SLIMBAR = "Schmale Titelleiste aktivieren"
UPDATE_COMPLETE = "Organizer Version & Database Have Been Upgraded!"
ICON_COPY = "Icon Path Copied To Clipboard"
TEST_MESSAGE = "This is a test message"
TEST = "Test"
6 changes: 5 additions & 1 deletion lang/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ ENABLE_LOADING_SCREEN = "Loading Screen"
ENABLE_MAIL = "Enable Mail"
PROMOTE = "Promote"
DEMOTE = "Demote"
ENABLE_SLIMBAR = "Enable Slim Bar"
ENABLE_SLIMBAR = "Enable Slim Bar"
UPDATE_COMPLETE = "Organizer Version & Database Have Been Upgraded!"
ICON_COPY = "Icon Path Copied To Clipboard"
TEST_MESSAGE = "This is a test message"
TEST = "Test"
6 changes: 5 additions & 1 deletion lang/es.ini
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ ENABLE_LOADING_SCREEN = "Loading Screen"
ENABLE_MAIL = "Enable Mail"
PROMOTE = "Promote"
DEMOTE = "Demote"
ENABLE_SLIMBAR = "Enable Slim Bar"
ENABLE_SLIMBAR = "Enable Slim Bar"
UPDATE_COMPLETE = "Organizer Version & Database Have Been Upgraded!"
ICON_COPY = "Icon Path Copied To Clipboard"
TEST_MESSAGE = "This is a test message"
TEST = "Test"
6 changes: 5 additions & 1 deletion lang/fr.ini
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ ENABLE_LOADING_SCREEN = "Loading Screen"
ENABLE_MAIL = "Enable Mail"
PROMOTE = "Promote"
DEMOTE = "Demote"
ENABLE_SLIMBAR = "Enable Slim Bar"
ENABLE_SLIMBAR = "Enable Slim Bar"
UPDATE_COMPLETE = "Organizer Version & Database Have Been Upgraded!"
ICON_COPY = "Icon Path Copied To Clipboard"
TEST_MESSAGE = "This is a test message"
TEST = "Test"
6 changes: 5 additions & 1 deletion lang/it.ini
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ ENABLE_LOADING_SCREEN = "Loading Screen"
ENABLE_MAIL = "Enable Mail"
PROMOTE = "Promote"
DEMOTE = "Demote"
ENABLE_SLIMBAR = "Enable Slim Bar"
ENABLE_SLIMBAR = "Enable Slim Bar"
UPDATE_COMPLETE = "Organizer Version & Database Have Been Upgraded!"
ICON_COPY = "Icon Path Copied To Clipboard"
TEST_MESSAGE = "This is a test message"
TEST = "Test"
6 changes: 5 additions & 1 deletion lang/nl.ini
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ ENABLE_LOADING_SCREEN = "Loading Screen"
ENABLE_MAIL = "Enable Mail"
PROMOTE = "Promote"
DEMOTE = "Demote"
ENABLE_SLIMBAR = "Enable Slim Bar"
ENABLE_SLIMBAR = "Enable Slim Bar"
UPDATE_COMPLETE = "Organizer Version & Database Have Been Upgraded!"
ICON_COPY = "Icon Path Copied To Clipboard"
TEST_MESSAGE = "This is a test message"
TEST = "Test"
75 changes: 44 additions & 31 deletions settings.php

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public function translate($originalWord) {
echo ("Translation not found for: $originalWord");

endif;

//$translatedWord = str_replace( array( "'","'" ),'', $translatedWord );

$translatedWord = htmlspecialchars($translatedWord, ENT_QUOTES);

return vsprintf($translatedWord, $allWords);
Expand All @@ -51,7 +50,7 @@ public function translate($originalWord) {

}

$getLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
$getLanguage = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) : "en";
$language = new setLanguage($getLanguage);

?>
2 changes: 1 addition & 1 deletion updatedb.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function checkDatabase($type, $table, $check) {

(function countdown(remaining) {
if(remaining === 0)
location.reload(true);
window.top.location = window.top.location.href.split('#')[0];
document.getElementById('countdown').innerHTML = "<center>Page will refresh in <strong>" + remaining + "</strong> seconds [You may close this at anytime]</center>";
setTimeout(function(){ countdown(remaining - 1); }, 1000);
})(10);
Expand Down

0 comments on commit 891337b

Please sign in to comment.