Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
0da65864
Commit
0da65864
authored
Sep 28, 2009
by
Richard Mansfield
Browse files
Make add blog, blog settings buttons less prominent on view blog page
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
3da80228
Changes
11
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/blog/new/index.php
View file @
0da65864
...
...
@@ -32,7 +32,7 @@ define('SECTION_PLUGINNAME', 'blog');
define
(
'SECTION_PAGE'
,
'new'
);
require
(
dirname
(
dirname
(
dirname
(
dirname
(
__FILE__
))))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'newblog'
,
'artefact.blog'
));
define
(
'TITLE'
,
get_string
(
'newblog'
,
'artefact.blog'
)
.
': '
.
get_string
(
'blogsettings'
,
'artefact.blog'
)
);
require_once
(
'pieforms/pieform.php'
);
safe_require
(
'artefact'
,
'blog'
);
...
...
htdocs/artefact/blog/theme/raw/index.tpl
View file @
0da65864
{
include
file
=
"header.tpl"
}
<div
id=
"myblogs rel"
>
<div
class=
"rbuttons"
>
<a
class=
"btn-add"
href=
"
{
$WWWROOT
}
artefact/blog/new/"
>
{
str
section
=
"artefact.blog"
tag
=
"addblog"
}
</a>
<a
class=
"btn
btn
-add"
href=
"
{
$WWWROOT
}
artefact/blog/new/"
>
{
str
section
=
"artefact.blog"
tag
=
"addblog"
}
</a>
</div>
{
if
empty
(
$blogs
->
data
)
}
<div>
{
str
tag
=
youhavenoblogs
section
=
artefact
.
blog
}
</div>
...
...
htdocs/artefact/blog/theme/raw/view.tpl
View file @
0da65864
...
...
@@ -2,9 +2,9 @@
<div
id=
"myblogs rel"
>
<div
class=
"rbuttons"
>
<a
class=
"btn-add"
href=
"
{
$WWWROOT
}
artefact/blog/
post.php?blog
=
{
$blog
->
get
(
'id'
)
}
"
>
{
str
section
=
"artefact.blog"
tag
=
"
addpost
"
}
</a>
<a
class=
"btn-edit"
href=
"
{
$WWWROOT
}
artefact/blog/
settings/?id=
{
$blog
->
get
(
'id'
)
}
"
>
{
str
section
=
"
artefact.blog
"
tag
=
"settings"
}
</a>
<a
class=
"btn-add"
href=
"
{
$WWWROOT
}
artefact/blog/
new"
>
{
str
tag
=
addblog
section
=
artefact
.
blog
}
</a>
<a
href=
"
{
$WWWROOT
}
artefact/blog/
settings/?id
=
{
$blog
->
get
(
'id'
)
}
"
>
{
str
section
=
"artefact.blog"
tag
=
"
settings
"
}
</a>
|
<a
href=
"
{
$WWWROOT
}
artefact/blog/
new"
>
{
str
tag
=
addblog
section
=
artefact
.
blog
}
</a>
<a
class=
"btn
btn
-add"
href=
"
{
$WWWROOT
}
artefact/blog/
post.php?blog=
{
$blog
->
get
(
'id'
)
}
"
>
{
str
section
=
"
artefact.blog
"
tag
=
"addpost"
}
</a>
</div>
<p>
{
$blog
->
get
(
'description'
)
}
</p>
...
...
htdocs/interaction/forum/theme/raw/index.tpl
View file @
0da65864
...
...
@@ -3,7 +3,7 @@
<h2>
{
str
tag
=
"nameplural"
section
=
interaction
.
forum
}
</h2>
{
if
$admin
}
<div
id=
"forumbtns"
class=
"rbuttons"
>
<a
href=
"
{
$WWWROOT
}
interaction/edit.php?group=
{
$groupid
|
escape
}
&plugin=forum"
class=
"btn-add"
>
{
str
tag
=
"newforum"
section
=
interaction
.
forum
}
</a>
<a
href=
"
{
$WWWROOT
}
interaction/edit.php?group=
{
$groupid
|
escape
}
&plugin=forum"
class=
"btn
btn
-add"
>
{
str
tag
=
"newforum"
section
=
interaction
.
forum
}
</a>
</div>
{/
if
}
<div
class=
"forummods"
>
...
...
htdocs/interaction/forum/theme/raw/topic.tpl
View file @
0da65864
...
...
@@ -5,9 +5,9 @@
{
if
$membership
}
<div
id=
"forumbtns"
class=
"rbuttons"
>
{
if
$topic
->
canedit
}
<a
href=
"
{
$WWWROOT
}
interaction/forum/edittopic.php?id=
{
$topic
->
id
|
escape
}
"
class=
"btn-edittopic s"
>
{
str
tag
=
edittopic
section
=
interaction
.
forum
}
</a>
<a
href=
"
{
$WWWROOT
}
interaction/forum/edittopic.php?id=
{
$topic
->
id
|
escape
}
"
class=
"btn
btn
-edittopic s"
>
{
str
tag
=
edittopic
section
=
interaction
.
forum
}
</a>
{
if
$moderator
}
<a
href=
"
{
$WWWROOT
}
interaction/forum/deletetopic.php?id=
{
$topic
->
id
|
escape
}
"
class=
"btn-deletetopic s"
>
{
str
tag
=
deletetopic
section
=
interaction
.
forum
}
</a>
<a
href=
"
{
$WWWROOT
}
interaction/forum/deletetopic.php?id=
{
$topic
->
id
|
escape
}
"
class=
"btn
btn
-deletetopic s"
>
{
str
tag
=
deletetopic
section
=
interaction
.
forum
}
</a>
{/
if
}
{/
if
}
{
if
!
$topic
->
forumsubscribed
}
...
...
htdocs/interaction/forum/theme/raw/view.tpl
View file @
0da65864
...
...
@@ -3,8 +3,8 @@
<h2>
{
$subheading
|
escape
}
</h2>
<div
id=
"forumbtns"
class=
"rbuttons"
>
{
if
$admin
}
<a
href=
"
{
$WWWROOT
}
interaction/edit.php?id=
{
$forum
->
id
|
escape
}
"
class=
"btn-editforum"
>
{
str
tag
=
"edittitle"
section
=
"interaction.forum"
}
</a>
<a
href=
"
{
$WWWROOT
}
interaction/delete.php?id=
{
$forum
->
id
|
escape
}
"
class=
"btn-deleteforum"
>
{
str
tag
=
"deleteforum"
section
=
"interaction.forum"
}
</a>
<a
href=
"
{
$WWWROOT
}
interaction/edit.php?id=
{
$forum
->
id
|
escape
}
"
class=
"btn
btn
-editforum"
>
{
str
tag
=
"edittitle"
section
=
"interaction.forum"
}
</a>
<a
href=
"
{
$WWWROOT
}
interaction/delete.php?id=
{
$forum
->
id
|
escape
}
"
class=
"btn
btn
-deleteforum"
>
{
str
tag
=
"deleteforum"
section
=
"interaction.forum"
}
</a>
{/
if
}
{
$forum
->
subscribe
}
</div>
...
...
@@ -13,7 +13,7 @@
<h3>
{
str
tag
=
Topics
section
=
"interaction.forum"
}
</h3>
{
if
$membership
&&
(
$moderator
||
$forum
->
newtopicusers
!=
'moderators'
)
}
<div
class=
"rbuttons"
>
<a
href=
"
{
$WWWROOT
}
interaction/forum/edittopic.php?forum=
{
$forum
->
id
|
escape
}
"
class=
"btn-add s"
>
{
str
tag
=
"newtopic"
section
=
"
interaction
.
forum
}
</a>
<a
href=
"
{
$WWWROOT
}
interaction/forum/edittopic.php?forum=
{
$forum
->
id
|
escape
}
"
class=
"btn
btn
-add s"
>
{
str
tag
=
"newtopic"
section
=
"
interaction
.
forum
}
</a>
</div>
{/
if
}
{
if
$stickytopics
||
$regulartopics
}
...
...
htdocs/theme/default/static/style/style.css
View file @
0da65864
...
...
@@ -128,7 +128,7 @@ input[type=file] {
input.submit,
input.button,
button,*/
div
.rbuttons
a
{
div
.rbuttons
a
.btn
{
border-color
:
#d5ed8a
#496000
#496000
#d5ed8a
;
background-color
:
#92b328
;
border-style
:
solid
;
...
...
@@ -136,7 +136,7 @@ div.rbuttons a {
color
:
#FFF
;
cursor
:
pointer
;
}
div
.rbuttons
a
:hover
{
div
.rbuttons
a
.btn
:hover
{
text-decoration
:
none
;
}
...
...
htdocs/theme/raw/static/style/style.css
View file @
0da65864
...
...
@@ -351,7 +351,6 @@ div.rbuttons {
position
:
absolute
;
right
:
0
;
top
:
0
;
font-weight
:
bold
;
}
*
html
div
.rbuttons
{
right
:
2em
;
...
...
@@ -364,12 +363,13 @@ div.rbuttons {
.listing
.rel
.rbuttons
{
top
:
0
;
}
.rbuttons
a
{
.rbuttons
a
.btn
{
border
:
1px
solid
#D1D1D1
;
margin
:
0
0.25em
;
padding
:
0.25em
0.5em
;
background
:
#eee
;
line-height
:
2em
;
font-weight
:
bold
;
}
.listing
.rbuttons
a
{
font-size
:
1em
;
...
...
htdocs/theme/raw/templates/edittags.tpl
View file @
0da65864
{
include
file
=
"header.tpl"
}
{
if
$tags
}
<div
class=
"rbuttons"
><a
href=
"
{
$WWWROOT
}
tags.php"
>
{
str
tag
=
mytags
}
</a></div>
<div
class=
"rbuttons"
><a
class=
"btn"
href=
"
{
$WWWROOT
}
tags.php"
>
{
str
tag
=
mytags
}
</a></div>
<div
class=
"edittags mytags"
>
<div>
{
str
tag
=
selectatagtoedit
}
:
</div>
{
foreach
from
=
$tags
item
=
t
}
...
...
htdocs/theme/raw/templates/group/mygroups.tpl
View file @
0da65864
{
include
file
=
"header.tpl"
}
<div
class=
"rbuttons"
>
<a
href=
"
{
$WWWROOT
}
group/create.php"
class=
"btn
-link
"
>
{
str
tag
=
"creategroup"
section
=
"group"
}
</a>
<a
href=
"
{
$WWWROOT
}
group/create.php"
class=
"btn"
>
{
str
tag
=
"creategroup"
section
=
"group"
}
</a>
</div>
{
$form
}
{
if
$groups
}
...
...
htdocs/theme/raw/templates/tags.tpl
View file @
0da65864
{
include
file
=
"header.tpl"
}
{
if
$tags
}
<div
class=
"rbuttons"
><a
href=
"
{
$WWWROOT
}
edittags.php"
>
{
str
tag
=
edittags
}
</a></div>
<div
class=
"rbuttons"
><a
class=
"btn"
href=
"
{
$WWWROOT
}
edittags.php"
>
{
str
tag
=
edittags
}
</a></div>
<ul
class=
"in-page-tabs"
>
{
foreach
from
=
$tagsortoptions
key
=
tagsortfield
item
=
selectedsort
name
=
tagsortoptions
}
<li><a
href=
"
{
$WWWROOT
}
tags.php?ts=
{
$tagsortfield
}
"
class=
"tag-sort
{
if
$selectedsort
}
current-tab
{/
if
}
"
>
{
str
tag
=
sort
$tagsortfield
}
</a></li>
...
...
@@ -18,7 +18,7 @@
<div
id=
"results_container"
class=
"rel tag-results"
>
<h2
id=
"results_heading"
>
{
str
tag
=
searchresultsfor
}
<a
class=
"tag"
href=
"
{
$WWWROOT
}
tags.php
{
if
$tag
}
?tag=
{
$tag
|
urlencode
}{/
if
}
"
>
{
if
$tag
}{
$tag
|
str_shorten_text
:
50
|
escape
}{
else
}{
str
tag
=
alltags
}{/
if
}
</a></h2>
<div
class=
"rbuttons"
><a
class=
"edit-tag
{
if
!
$tag
}
hidden
{/
if
}
"
href=
"
{
$WWWROOT
}
edittags.php?tag=
{
$tag
|
urlencode
}
"
>
{
str
tag
=
editthistag
}
</a></div>
<div
class=
"rbuttons"
><a
class=
"
btn
edit-tag
{
if
!
$tag
}
hidden
{/
if
}
"
href=
"
{
$WWWROOT
}
edittags.php?tag=
{
$tag
|
urlencode
}
"
>
{
str
tag
=
editthistag
}
</a></div>
<div
id=
"results_sort"
>
{
str
tag
=
sortresultsby
}
{
foreach
from
=
$results
->
sortcols
item
=
sortfield
name
=
sortcols
}
<a
href=
"
{
$results
->
baseurl
}
&type=
{
$results
->
filter
}
&sort=
{
$sortfield
}
"
{
if
$results
->
sort
==
$sortfield
}
class=
"selected"
{/
if
}
>
{
str
tag
=
$sortfield
}
</a>
{
if
!
$smarty.foreach.sortcols.last
}
|
{/
if
}
...
...
Write
Preview
Markdown
is supported
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