Skip to content

Commit 89a393b

Browse files
committed
Update new repository URL
Change title font Fix session name for multiple instances on same server Fix typo for MyMovies
1 parent 1d46491 commit 89a393b

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

File renamed without changes.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# ![MyMovies](https://raw.githubusercontent.com/nicolabricot/MyMovies/master/assets/icon/favicon.png) MyMovies
1+
# ![MyMovies](https://raw.githubusercontent.com/Devenet/MyMovies/master/assets/icon/favicon.png) MyMovies
22

33
__Light web application to manage movies and track their state__
44

55

66

77
Version 1.1 is now available!
8-
[Download the last version](https://github.com/nicolabricot/MyMovies/releases)
8+
[Download the last version](https://github.com/Devenet/MyMovies/releases)
99

1010

1111
Main features:
@@ -32,9 +32,9 @@ Main features:
3232
- IE < 7 not friendly (not my problem)
3333
- Export and import movies with JSON file (it's possible to keep data private)
3434

35-
![MyMovies](https://raw.github.com/nicolabricot/MyMovies/master/myMovies.jpg)
35+
![MyMovies](https://raw.github.com/Devenet/MyMovies/master/MyMovies.jpg)
3636

3737

3838

39-
Thanks to [contributors](https://github.com/nicolabricot/MyMovies/graphs/contributors) :)
40-
Inspired by [Shaarli](https://github.com/sebsauvage/Shaarli) and [HelloHappy](http://books.hellohappy.org/).
39+
Thanks to [contributors](https://github.com/Devenet/MyMovies/graphs/contributors) :)
40+
Inspired by [Shaarli](https://github.com/sebsauvage/Shaarli) and [HelloHappy](http://reading.chad.is).

assets/css/movies.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ label.text-muted {color: rgb(153, 153, 153);}
2828

2929
header {margin: 20px 0 10px;}
3030
header h1 {display: inline;}
31-
header .navbar-brand {font-family:Georgia,"DejaVu Serif","Bistream Vera Serif","Liberation Serif",serif;}
31+
header .navbar-brand {font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;}
3232
header .navbar-brand img {margin-right: 5px;}
3333
header .navbar-brand:hover {color:#428bca;}
3434
.page-header h2 {margin-top: 0;}

assets/icon/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "myMovies",
2+
"name": "MyMovies",
33
"icons": [
44
{
55
"src": "assets\/icon\/android-chrome-36x36.png",

index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
define('PHPPREFIX','<?php /* ');
3030
define('PHPSUFFIX',' */ ?>');
3131
define('MYMOVIES', 'MyMovies');
32-
define('MYMOVIES_VERSION', '1.1.1');
32+
define('MYMOVIES_VERSION', '1.1.2');
3333
define('INACTIVITY_TIMEOUT', 3600);
3434
define('RSS', 'movies.rss');
3535
define('RSS_BOXOFFICE', 'box-office.rss');
@@ -42,7 +42,7 @@
4242
ini_set('session.use_cookies', 1);
4343
ini_set('session.use_only_cookies', 1);
4444
ini_set('session.use_trans_sid', false);
45-
session_name('myMovies');
45+
session_name('MyMovies_'.md5($_SERVER['SCRIPT_NAME']));
4646
if (session_id() == '') session_start();
4747

4848
// check right before create directories
@@ -903,7 +903,7 @@ function install($tpl) {
903903
$_CONFIG['login'] = htmlspecialchars($_POST['login']);
904904
$_CONFIG['salt'] = sha1(uniqid('',true).'_'.mt_rand());
905905
$_CONFIG['hash'] = sha1($_CONFIG['login'].$_POST['password'].$_CONFIG['salt']);
906-
$_CONFIG['title'] = empty($_POST['title']) ? 'myMovies' : htmlspecialchars(trim($_POST['title']));
906+
$_CONFIG['title'] = empty($_POST['title']) ? 'MyMovies' : htmlspecialchars(trim($_POST['title']));
907907
$_CONFIG['language'] = !empty($_POST['locale']) && array_key_exists($_POST['locale'], $_CONFIG['languages']) ? $_POST['locale'] : 'en';
908908
writeSettings();
909909
header('Location: '.$_SERVER['REQUEST_URI']);

templates/admin.settings.rain

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<div class="form-group espace-top-lg">
4747
<label for="title" class="control-label col-md-2">Title</label>
4848
<div class="col-md-8">
49-
<input type="text" class="form-control" id="title" name="title" placeholder="myMovies" value="{#TITLE#}" />
49+
<input type="text" class="form-control" id="title" name="title" placeholder=MyMovies" value="{#TITLE#}" />
5050
</div>
5151
</div>
5252
<div class="form-group">
@@ -100,4 +100,4 @@
100100

101101
{include="page.foot"}
102102
</body>
103-
</html>
103+
</html>

templates/page.foot.rain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="row">
55
<div class="col-lg-12">
66
<div class="pull-left">
7-
<p><strong><a href="https://github.com/nicolabricot/myBooks" rel="external" data-version="v{#MYMOVIES_VERSION#}">{#MYMOVIES#}</a></strong> &middot; Light web application to manage movies and track their state</p>
7+
<p><strong><a href="https://github.com/Devenet/MyMovies" rel="external" data-version="v{#MYMOVIES_VERSION#}">{#MYMOVIES#}</a></strong> &middot; Light web application to manage movies and track their state</p>
88
<p class="text-muted inspiration">Made with <i class="icon-heart"></i> by <a href="http://nicolas.devenet.info" class="normal" rel="external">Nicolas Devenet</a> &middot; <small>Inspired by <a href="https://github.com/sebsauvage/Shaarli" class="normal" rel="external">Shaarli</a> and <a href="http://reading.chad.is/" class="normal" rel="external">HelloHappy</a>
99
&middot; TV image from <a href="https://www.iconfinder.com/iconsets/windows-8-metro-style" rel="external" class="normal" >Visual Pharm</a></small>
1010
</p>

0 commit comments

Comments
 (0)