Compare commits
No commits in common. "30251d5190b8944c9279a34ad858174971bb6e87" and "804ff2d9a708cf63109b34adc6d3d6b4d0baf593" have entirely different histories.
30251d5190
...
804ff2d9a7
21 changed files with 18 additions and 39 deletions
|
@ -15,9 +15,9 @@ mkdir -p "$path/$name/_werc" "$path/$name/blog/_werc"
|
||||||
|
|
||||||
# Create the first config file (not under blog)
|
# Create the first config file (not under blog)
|
||||||
cat > "$path/$name/_werc/config" <<EOF
|
cat > "$path/$name/_werc/config" <<EOF
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit $name
|
conf_enable_cssedit $name
|
||||||
wiki_editors_groups=$name
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,7 @@ fn conf_enable_cssedit {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cssedit_init {
|
fn cssedit_init {
|
||||||
if(! ~ $#enable_cssedit 0) {
|
if(! ~ $#enable_cssedit 0 && check_user $cssedit_editors_groups) {
|
||||||
css_uri=`{echo $req_path | sed 's,(([^/]*)[^/]).*,\1,'}^/
|
|
||||||
extraHeaders=$"extraHeaders ^ \
|
|
||||||
'<link rel="stylesheet" type="text/css" href="'$css_uri'_werc/style.css">'
|
|
||||||
}
|
|
||||||
if(! ~ $#enable_cssedit 0 && check_user $cssedit_editors_groups && ~ $req_path $css_uri) {
|
|
||||||
lp=$local_path
|
lp=$local_path
|
||||||
lp=`{echo $lp | sed 's/index$//'}
|
lp=`{echo $lp | sed 's/index$//'}
|
||||||
cssedit_file=$"lp$"css_file
|
cssedit_file=$"lp$"css_file
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit 2fac
|
conf_enable_cssedit 2fac
|
||||||
wiki_editors_groups=2fac
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit mrshughhammersley
|
conf_enable_cssedit nevada
|
||||||
wiki_editors_groups=mrshughhammersley
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_blog
|
conf_enable_blog
|
||||||
conf_blog_only_pull=0
|
conf_blog_only_pull=0
|
||||||
conf_blog_editors=mrshughhammersley
|
conf_blog_editors=nevada
|
||||||
blogTitle=''
|
blogTitle=''
|
||||||
blogDesc=''
|
blogDesc=''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit adil
|
conf_enable_cssedit adil
|
||||||
wiki_editors_groups=adil
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit bea
|
conf_enable_cssedit bea
|
||||||
wiki_editors_groups=bea
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit drool
|
conf_enable_cssedit drool
|
||||||
wiki_editors_groups=drool
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit dulien
|
conf_enable_cssedit dulien
|
||||||
wiki_editors_groups=dulien
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit geunf
|
conf_enable_cssedit geunf
|
||||||
wiki_editors_groups=geunf
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit iancobain
|
conf_enable_cssedit iancobain
|
||||||
wiki_editors_groups=iancobain
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -40,9 +40,5 @@
|
||||||
<a href="/2fac/"><img src="/_werc/pub/img/but/2fac.gif" alt="2fac" /></a>
|
<a href="/2fac/"><img src="/_werc/pub/img/but/2fac.gif" alt="2fac" /></a>
|
||||||
</div>
|
</div>
|
||||||
<!-- BUTTONS -->
|
<!-- BUTTONS -->
|
||||||
<div class="grid-item">
|
|
||||||
<a href="/zacky/"><img src="/_werc/pub/img/but/zacky.gif" alt="zacky" /></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit kaz
|
conf_enable_cssedit kaz
|
||||||
wiki_editors_groups=kaz
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit q
|
conf_enable_cssedit q
|
||||||
wiki_editors_groups=q
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit screenshare1112
|
conf_enable_cssedit thomas
|
||||||
wiki_editors_groups=screenshare1112
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_blog
|
conf_enable_blog
|
||||||
conf_blog_only_pull=0
|
conf_blog_only_pull=0
|
||||||
conf_blog_editors=screenshare1112
|
conf_blog_editors=thomas
|
||||||
blogTitle=''
|
blogTitle=''
|
||||||
blogDesc=''
|
blogDesc=''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit sean
|
conf_enable_cssedit sean
|
||||||
wiki_editors_groups=sean
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
extraHeaders='<link rel="stylesheet" type="text/css" href="_werc/style.css">'
|
||||||
conf_enable_wiki
|
conf_enable_wiki
|
||||||
conf_enable_cssedit vanne
|
conf_enable_cssedit vanne
|
||||||
wiki_editors_groups=vanne
|
|
||||||
css_file='_werc/style.css'
|
css_file='_werc/style.css'
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
conf_enable_wiki
|
|
||||||
conf_enable_cssedit zacky
|
|
||||||
wiki_editors_groups=zacky
|
|
||||||
css_file='_werc/style.css'
|
|
|
@ -1 +0,0 @@
|
||||||
/* Put custom styles here */
|
|
|
@ -1,6 +0,0 @@
|
||||||
conf_enable_wiki
|
|
||||||
conf_enable_blog
|
|
||||||
conf_blog_only_pull=0
|
|
||||||
conf_blog_editors=zacky
|
|
||||||
blogTitle='zacky Feed'
|
|
||||||
blogDesc=''
|
|
Loading…
Reference in a new issue