Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
b37b9e81
Commit
b37b9e81
authored
Sep 07, 2007
by
Alexandre Bourget
Browse files
Update WEBSITE and DOCs.
- Attempt to implement image rendering.
parent
d67777c6
Changes
10
Show whitespace changes
Inline
Side-by-side
doc/Features.txt
View file @
b37b9e81
doc/Screenshots.txt
0 → 100644
View file @
b37b9e81
// AsciiDoc file
Screenshots
-----------
.Screenshot de 2007
sflimage::images/SflphonePOuetpoUEt.png[SFLphone qt3]
.Screenshot de SFLphone 0.7
sflimage::images/sflphone0.7.png[SFLphone 0.7]
doc/asciidoc.conf
View file @
b37b9e81
#
# Used in Features.txt
#
...
...
@@ -17,3 +19,17 @@ ifdef::backend-xhtml11[]
[
sflink
-
inlinemacro
]
<
a
href
=
"index.php?f={target}.txt"
>{
0
?{
0
}}{
0
!{
target
}}</
a
>
endif
::
backend
-
xhtml11
[]
#
# Image links (with "image:")
#
[
sflimage
-
blockmacro
]
<
div
class
=
"image"
>
<
a
id
=
"{id}"
></
a
>
<
div
class
=
"content"
>
<
a
class
=
"image"
href
=
"{link#}"
>
<
img
src
=
"index.php?i={target}"
alt
=
"{1={target}}"
{
1
?
title
=
"{1}"
}{
width
?
width
=
"{width}"
}{
height
?
height
=
"{height}"
}/>
{
link
#}</a>
</
div
>
<
div
class
=
"image-title"
>{
title
}</
div
>
</
div
>
\ No newline at end of file
www/index.php
View file @
b37b9e81
...
...
@@ -9,14 +9,34 @@
require_once
(
'sflphone.funcs.php'
);
// We've requested an image, fetch it, and send it.
if
(
defined
(
$_REQUEST
[
'i'
]))
{
$img
=
$_REQUEST
[
'i'
];
switch
(
strtolower
(
substr
(
$img
,
-
3
)))
{
case
'jpg'
:
header
(
"Content-Type: image/jpeg"
);
break
;
case
'png'
:
header
(
"Content-Type: image/png"
);
break
;
case
'gif'
:
header
(
"Content-Type: image/gif"
);
break
;
default
:
break
;
}
show_page
(
$img
);
}
$module
=
''
;
$module
=
''
;
// Default module: home
if
(
!
$_REQUEST
[
'
l
'
])
{
if
(
!
$_REQUEST
[
'
mod
'
])
{
$module
=
'home'
;
}
else
{
$module
=
$_REQUEST
[
'
l
'
];
$module
=
$_REQUEST
[
'
mod
'
];
}
...
...
www/sflphone.funcs.php
View file @
b37b9e81
...
...
@@ -20,7 +20,7 @@ require_once('config.inc.php');
/**
* Retrieve page, compile it if new, cache it.
*
* @param string File name (
without the .txt
) in the $PREFIX dir.
* @param string File name (
including the extension
) in the $PREFIX dir.
* @return HTML content
*/
function
get_page
(
$page
)
{
...
...
@@ -51,7 +51,7 @@ function get_page($page) {
/**
* Show page
*
* @param string File name (
without
the
.t
xt) in the $PREFIX dir.
* @param string File name (
including
the
e
xt
.
) in the $PREFIX dir.
*/
function
show_page
(
$page
)
{
print
get_page
(
$page
);
...
...
@@ -170,7 +170,7 @@ function get_git_hash($file) {
$output
=
array
();
$cmd
=
"cd
$GIT_REPOS
; git-ls-tree
$USE_BRANCH
\"
"
.
git_filename
(
$file
)
.
"
.txt
\"
"
;
$cmd
=
"cd
$GIT_REPOS
; git-ls-tree
$USE_BRANCH
\"
"
.
git_filename
(
$file
)
.
"
\"
"
;
$string
=
exec
(
$cmd
,
$output
);
...
...
www/templates/page_devel.php
View file @
b37b9e81
<h1>
Source code
</h1>
<?php
show_page
(
'Git_Access'
);
?>
<?php
show_page
(
'Git_Access
.txt
'
);
?>
www/templates/page_download.php
View file @
b37b9e81
<h1>
Download
</h
2
>
<h1>
Download
</h
1
>
<?php
show_page
(
'Download'
);
?>
<?php
show_page
(
'Download
.txt
'
);
?>
www/templates/page_goals.php
View file @
b37b9e81
<h1>
Goals
</h1>
<?php
show_page
(
'Goals'
);
?>
<?php
show_page
(
'Goals
.txt
'
);
?>
www/templates/page_home.php
View file @
b37b9e81
<?php
show_page
(
'News'
);
?>
<?php
show_page
(
'News
.txt
'
);
?>
<?php
show_page
(
'About'
);
?>
<?php
show_page
(
'About
.txt
'
);
?>
<h1>
Get started
</h
2
>
<h1>
Get started
</h
1
>
<p>
The project is ongoing well, but your help and contribution is needed to make this software even better!
...
...
@@ -13,20 +13,20 @@ The project is ongoing well, but your help and contribution is needed to make th
<p>
</p>
<p>
<img
align=
"left"
style=
"margin-right: 10px; margin-left: 5em;"
src=
"images/info.png"
/>
<a
href=
"index.php?
l
=goals"
>
Goals
</a>
- where do we want to be
<br/>
<a
href=
"index.php?
l
=features"
>
Features
</a>
- where we are
<br/>
<a
href=
"index.php?
l
=screenshots"
>
Screenshots
</a>
- we love them
<a
href=
"index.php?
mod
=goals"
>
Goals
</a>
- where do we want to be
<br/>
<a
href=
"index.php?
mod
=features"
>
Features
</a>
- where we are
<br/>
<a
href=
"index.php?
mod
=screenshots"
>
Screenshots
</a>
- we love them
</p>
<br
style=
"clear: both;"
/>
<p>
<img
align=
"left"
style=
"margin-right: 10px; margin-left: 5em;"
src=
"images/fetch.png"
/>
<a
href=
"index.php?
l
=download"
>
Download
</a>
- grab the latest source code
<br/>
<a
href=
"index.php?
l
=build"
>
Build
</a>
- build and installation instructions
<br/>
<a
href=
"index.php?
mod
=download"
>
Download
</a>
- grab the latest source code
<br/>
<a
href=
"index.php?
mod
=build"
>
Build
</a>
- build and installation instructions
<br/>
</p>
<br
style=
"clear: both;"
/>
<p>
<img
align=
"left"
style=
"margin-right: 10px; margin-left: 5em;"
src=
"images/devel.png"
/>
<a
href=
"/mantis"
>
File a bug
</a>
- report errors
<br/>
<a
href=
"index.php?
l
=discuss"
>
Discuss
</a>
- Subscribe to a mailing list or contact us
<br/>
<a
href=
"index.php?
l
=devel"
>
Develop
</a>
- Submit patches, work on the code, contribute
<a
href=
"index.php?
mod
=discuss"
>
Discuss
</a>
- Subscribe to a mailing list or contact us
<br/>
<a
href=
"index.php?
mod
=devel"
>
Develop
</a>
- Submit patches, work on the code, contribute
</p>
\ No newline at end of file
www/templates/page_screenshots.php
0 → 100644
View file @
b37b9e81
<h1>
Screenshots
</h1>
<?php
show_page
(
'Screenshots.txt'
);
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment