summaryrefslogtreecommitdiff
path: root/lib/conf
diff options
context:
space:
mode:
authorroot <root@adnab.me>2014-01-31 17:30:35 +0100
committerroot <root@adnab.me>2014-01-31 17:30:35 +0100
commit1ed8a37bea8882cd3a1aa0f421dbc15493a781a0 (patch)
treed014616096b7f8b94b707626cae46cff0e0608ce /lib/conf
parentb0c23ea84327d48e3a4383fac3e795c2dc0a1215 (diff)
downloadBits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.tar.gz
Bits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.zip
Traduction into french of some parts of the site.
Diffstat (limited to 'lib/conf')
-rw-r--r--lib/conf/apps.php15
-rw-r--r--lib/conf/blog.php4
-rw-r--r--lib/conf/file.php4
-rw-r--r--lib/conf/login.php2
-rw-r--r--lib/conf/static.php5
5 files changed, 18 insertions, 12 deletions
diff --git a/lib/conf/apps.php b/lib/conf/apps.php
index c3efea4..524da45 100644
--- a/lib/conf/apps.php
+++ b/lib/conf/apps.php
@@ -1,8 +1,11 @@
<?php
-$homepage = "blog";
+$homepage = "view-static-home";
$apps = array(
+ "static" => array(
+ "view" => 0,
+ ),
// File upload application
"file" => array(
@@ -38,11 +41,11 @@ $apps = array(
"blog" => array(
"index" => 0,
"view" => 0,
- "drafts" => 1,
- "publish" => 1,
- "post" => 1,
- "edit" => 1,
- "delete" => 1,
+ "drafts" => 2,
+ "publish" => 2,
+ "post" => 2,
+ "edit" => 2,
+ "delete" => 2,
"comment" => 1,
"edcom" => 1,
"delcom" => 2,
diff --git a/lib/conf/blog.php b/lib/conf/blog.php
index bb2ef09..70c6d13 100644
--- a/lib/conf/blog.php
+++ b/lib/conf/blog.php
@@ -1,8 +1,8 @@
<?php
-$blog_title = "What people write";
+$blog_title = "Articles";
// Used for the ATOM feed generation.
-$blog_base_url = "http://localhost/alex.auvolat/";
+$blog_base_url = "http://adnab.me/";
diff --git a/lib/conf/file.php b/lib/conf/file.php
index 4a8830e..2e8cd18 100644
--- a/lib/conf/file.php
+++ b/lib/conf/file.php
@@ -1,6 +1,6 @@
<?php
-$baseurl = "http://localhost/alex.auvolat/files/";
+$baseurl = "http://adnab.me/files/";
$savedir = getcwd() . "/files/";
$img_mini_width = 127;
@@ -9,5 +9,3 @@ function has_mini($ext) {
return $ext == "jpg" || $ext == "jpeg" || $ext == "png" || $ext == "gif";
}
-//$quota = 128;; //ceil((time() - 1220000000) / (3600 * 24 * 20));
-//$min_priv_for_no_quota = 2;
diff --git a/lib/conf/login.php b/lib/conf/login.php
index 423fbd3..e2aef8a 100644
--- a/lib/conf/login.php
+++ b/lib/conf/login.php
@@ -1,6 +1,6 @@
<?php
-$session_name = "AA.free.fr";
+$session_name = "adnab.me";
//Default privilege required for accessing any page
if (!isset($priv_required)) $priv_required = 0;
diff --git a/lib/conf/static.php b/lib/conf/static.php
new file mode 100644
index 0000000..ec19b56
--- /dev/null
+++ b/lib/conf/static.php
@@ -0,0 +1,5 @@
+<?php
+
+$static_pages = array(
+ "home" => "Page perso de Alex Auvolat",
+);