Commit 8582cf9a authored by Evonne Cheung's avatar Evonne Cheung Committed by Richard Mansfield

Update themes

parent 63d32f7f
<ul>
<ul class="recentblogpost">
{foreach from=$mostrecent item=post}
<li>
<a href="{$WWWROOT}view/artefact.php?artefact={$post->id}&amp;view={$view}">{$post->title}</a>
<strong><a href="{$WWWROOT}view/artefact.php?artefact={$post->id}&amp;view={$view}">{$post->title}</a></strong>
{str tag='postedin' section='blocktype.blog/recentposts'}
<a href="{$WWWROOT}view/artefact.php?artefact={$post->parent}&amp;view={$view}">{$post->parenttitle}</a>
{str tag='postedon' section='blocktype.blog/recentposts'}
{$post->displaydate}
<span class="description">{$post->displaydate}</span>
</li>
{/foreach}
</ul>
......@@ -24,6 +24,9 @@
padding: 1em 0 .25em 0;
vertical-align: bottom;
}
#postlist td {
padding: .25em 0;
}
#postlist th.posttitle {
font-size: 1.8em;
}
......@@ -64,17 +67,26 @@
padding-bottom: 1em;
}
#postlist td h1,
#postlist td h2 {
font-size: 1.3333em !important;
margin: 1em 0 0 0;
}
#postlist td h3,
#postlist td h4 {
font-size: 1.1333em !important;
margin: 1em 0 0 0;
}
/* attachment files */
#postlist .attachments th {
padding: .25em .5em;
font-size: 1em;
border: 0;
}
#postlist .attachments td {
padding: .25em .5em;
}
.attachments .unselect {
font-size: .9167em;
}
#postlist td h1,
#postlist td h2 {
font-size: 1.3333em !important;
margin: 1em 0 0.5em 0;
}
\ No newline at end of file
{foreach $files file}
<div title="{$file.title}">
<div class="fl"><a href="{$WWWROOT}{$file.downloadurl}" target="_blank"><img src="{$file.iconsrc}" alt=""></a></div>
<div style="margin-left: 30px;">
<div style="margin-left: 40px;">
<h4><a href="{$file.downloadurl}" target="_blank">{$file.title|str_shorten_text:20}</a></h4>
{if $file.description}<p style="margin: 0;"><strong>{$file.description}</strong></p>{/if}
{$file.size|display_size} | {$file.ctime|format_date:'strftimedaydate'}
| <a href="{$WWWROOT}view/artefact.php?artefact={$file.id}&view={$viewid}">{str tag=Details section=artefact.file}</a>
{if $file.description}<p>{$file.description}</p>{/if}
<div class="description">{$file.size|display_size} | {$file.ctime|format_date:'strftimedaydate'}
| <a href="{$WWWROOT}view/artefact.php?artefact={$file.id}&view={$viewid}">{str tag=Details section=artefact.file}</a></div>
</div>
</div>
{/foreach}
......@@ -4,11 +4,9 @@
{if $tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$owner tags=$tags}</div>{/if}
<div>
{if (isset($children))}
<h3>{str tag=contents section=artefact.file}:</h3>
<table class="fullwidth">
<thead>
<tr>
<th colspan="5">{str tag=contents section=artefact.file}:</th>
</tr>
<tr>
<th></th>
<th>{str tag=name}</th>
......@@ -21,7 +19,7 @@
<tr class="{cycle values='r0,r1'}">
<td><img src="{$child->iconsrc}" border="0" alt="{$child->artefacttype}"></td>
<td><a href="{$WWWROOT}view/artefact.php?artefact={$child->id}&amp;view={$viewid}" title="{$child->hovertitle}">{$child->title}</a></td>
<td>{$child->description}</td>
<td class="s">{$child->description}</td>
{if !$simpledisplay}
<td>{$child->date}</td>
{/if}
......
......@@ -12,7 +12,7 @@
<th>{str tag=Date section=artefact.file}</th>
{/if}
{if $showtags}
<th><div class="tags">{str tag=tags}</div></th>
<th><div>{str tag=tags}</div></th>
{/if}
{if $editmeta}
<th></th>
......
<p id="{$prefix}_empty_selectlist"{if !$selectedlist} class="hidden"{/if}>{str tag=nofilesfound section=artefact.file}</p>
<table id="{$prefix}_selectlist" class="fullwidth{if !$selectedlist} hidden{/if}">
<table id="{$prefix}_selectlist" class="fullwidth {if !$selectedlist} hidden{/if}">
<thead>
<tr>
<th></th>
......
......@@ -39,14 +39,14 @@
/* folder nav */
.foldernav {
font-weight: bold;
padding: 0 0 0 1.6667em;
padding: 0 0 0 20px;
font-size: 1.3333em;
line-height: 1.6667em;
height: 1.6667em;
background: url(../images/foldernav_small.png) no-repeat left;
}
form#files .foldernav {
padding: 0 0 0 1.6667em;
padding: 0 0 0 30px;
font-size: 1.3333em;
line-height: 1.6667em;
height: 1.6667em;
......
<div class="blockinstance-content">
{if $tasks.data}
<table id="tasktable_{$blockid}">
<table id="tasktable_{$blockid}" class="plansblocktable">
<colgroup width="50%" span="2"></colgroup>
<thead>
<tr>
......
......@@ -59,13 +59,13 @@ class PluginBlocktypeCreativecommons extends SystemBlocktype {
$licenseurl = "http://creativecommons.org/licenses/$licensetype/3.0/";
$licensename = get_string($licensetype, 'blocktype.creativecommons');
$html = '<p class="licensedesc"><a rel="license" href="http://creativecommons.org/licenses/'.$licensetype.'/3.0/"><img alt="'.
$html = '<div class="licensedesc"><a class="fl" rel="license" href="http://creativecommons.org/licenses/'.$licensetype.'/3.0/"><img alt="'.
get_string('alttext', 'blocktype.creativecommons').
'" style="border-width:0" src="'.
$THEME->get_url('images/' . $licensetype . '-3_0.png', false, 'blocktype/creativecommons') . '" /></a>';
$html .= '<br />';
$html .= '<div>';
$html .= get_string('licensestatement', 'blocktype.creativecommons', $licenseurl, $licensename);
$html .= '</p>';
$html .= '</div></div>';
return $html;
}
......
......@@ -15,7 +15,7 @@
{$entry->title}
{if $entry->link}</a>{/if}
</h4>
{$entry->description|clean_html|safe}
<div class="s">{$entry->description|clean_html|safe}</div>
{/foreach}
{else}
<ol>
......
......@@ -34,21 +34,27 @@
{if $group_view_submission_form}
<h5>{str tag="submitaviewtogroup" section="view"}</h5>
{/if}
<table class="fullwidth listing">
{if $mysubmittedviews}
{foreach from=$mysubmittedviews item=view}
<div>{$view.strsubmitted}</div>
<tr class="{cycle values='r0,r1'}">
<td class="submittedform">{$view.strsubmitted}</td>
</tr>
{/foreach}
{/if}
{if $group_view_submission_form}
<div>{$group_view_submission_form}</div>
<tr class="{cycle values='r0,r1'}">
<td class="submissionform">{$group_view_submission_form}</td>
</tr>
{/if}
</table>
</div>
{/if}
{if $allsubmittedviews}
<div class="groupviewsection">
<h5>{str tag="viewssubmittedtogroup" section="view"}</h5>
<table class="fullwidth">
<table class="fullwidth listing">
{foreach from=$allsubmittedviews item=view}
<tr class="{cycle values='r0,r1'}">
<td>
......
{if $views}
<table class="viewlist">
{foreach from=$views item=view}
<tr>
<td class="{cycle values='r0,r1'}"><h4><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a></h4>
<div class="details">{$view.shortdescription|safe|clean_html}</div>
{if $view.sharedby}
<div>
<tr class="{cycle values='r0,r1'}">
<td><h4><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a></h4>
<div class="details">{$view.shortdescription|safe|clean_html}</div></td>
{if $view.sharedby}
<td>
{if $view.group && $loggedin}
<a href="{$WWWROOT}group/view.php?id={$view.group}" class="s">{$view.sharedby}</a>
{elseif $view.owner && $loggedin}
......@@ -13,13 +13,11 @@
{else}
{$view.sharedby}
{/if}
<span class="postedon">
<div class="postedon nowrap">
{if $view.mtime == $view.ctime}{str tag=Created}{else}{str tag=Updated}{/if}
{$view.mtime|strtotime|format_date:'strftimedate'}
</span>
</div>
{/if}
{$view.mtime|strtotime|format_date:'strftimedate'}</div>
</td>
{/if}
</tr>
{/foreach}
</table>
......
<div>
<div id="recentforumpostsblock">
{if $foruminfo}
<table class="fullwidth">
{foreach from=$foruminfo item=postinfo}
<h4><a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic}#post{$postinfo->id}">{$postinfo->topicname}</a></h4>
<div>
<img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=20&amp;id={$postinfo->poster}" alt="">
<a href="{$WWWROOT}user/view.php?id={$postinfo->poster}">{$postinfo->poster|display_name|escape}</a>
</div>
<div>{$postinfo->body|str_shorten_html:100:true|safe}</div>
<tr class="{cycle values='r0,r1'}">
<td><strong><a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic}#post{$postinfo->id}">{$postinfo->topicname}</a></strong><br />
<div class="s">{$postinfo->body|str_shorten_html:100:true|safe}</div></td>
<td class="s"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=20&amp;id={$postinfo->poster}" alt="">
<a href="{$WWWROOT}user/view.php?id={$postinfo->poster}">{$postinfo->poster|display_name|escape}</a></td>
</tr>
{/foreach}
</table>
{else}
<p>{str tag=noforumpostsyet section=interaction.forum}</p>
<table class="fullwidth"><tr class="{cycle values='r0,r1'}">
<td align="center">{str tag=noforumpostsyet section=interaction.forum}</td>
</tr>
</table>
{/if}
<p><a href="{$WWWROOT}interaction/forum/?group={$group->id}" target="_blank">{str tag=gotoforums section=interaction.forum} &raquo;</a></p>
<a class="morelink" href="{$WWWROOT}interaction/forum/?group={$group->id}" target="_blank">{str tag=gotoforums section=interaction.forum} &raquo;</a>
<div class="cb"></div>
</div>
......@@ -5,22 +5,20 @@
{if $wallposts}
{foreach from=$wallposts item=wallpost}
<div class="wallpost{if $wallpost->private} private{/if}">
<div class="userinfo"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxwidth=25&amp;maxheight=25&amp;id={$wallpost->from}" alt="Profile Icon">
<div class="userinforight"><strong><a href="{$WWWROOT}user/view.php?id={$wallpost->userid}">{$wallpost->displayname}</a></strong><span class="postedon"> - {$wallpost->postdate|format_date}</span></div>
</div>
<div class="userinfo"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxwidth=25&amp;maxheight=25&amp;id={$wallpost->from}" alt="Profile Icon"><strong><a href="{$WWWROOT}user/view.php?id={$wallpost->userid}">{$wallpost->displayname}</a></strong><span class="postedon"> - {$wallpost->postdate|format_date}</span></div>
<div class="text">{$wallpost->text|parse_bbcode|safe}</div>
<div class="controls">
<div class="controls right">
{* {if $ownwall}
[ <a href="{$WWWROOT}blocktype/wall/wall.php?instance={$instanceid}&amp;replyto={$wallpost->id}">{str tag='reply' section='blocktype.wall'}</a> ]
<a href="{$WWWROOT}blocktype/wall/wall.php?instance={$instanceid}&amp;replyto={$wallpost->id}" class="btn-reply">{str tag='reply' section='blocktype.wall'}</a>
{/if}*}
{if $wallpost->deletable}
[ <a href="{$WWWROOT}blocktype/wall/deletepost.php?postid={$wallpost->postid}&return={if $wholewall}wall{else}profile{/if}">{str tag='delete' section='blocktype.wall'}</a> ]
<a href="{$WWWROOT}blocktype/wall/deletepost.php?postid={$wallpost->postid}&return={if $wholewall}wall{else}profile{/if}" class="btn-del">{str tag='delete' section='blocktype.wall'}</a>
{/if}
</div>
</div>
{/foreach}
{if !$wholewall}
<div class="right"><strong><a href="{$WWWROOT}blocktype/wall/wall.php?id={$instanceid}">{str tag='wholewall' section='blocktype.wall'} &raquo;</a></strong></div>
<a class="morelink" href="{$WWWROOT}blocktype/wall/wall.php?id={$instanceid}">{str tag='wholewall' section='blocktype.wall'} &raquo;</a>
{/if}
{/if}
</div>
......@@ -4,13 +4,13 @@
// element, but there's no validation or descriptions on this form currently
echo $form_tag;
echo '<div class="description">' . $elements['postsizelimit']['html'] . ' ' . $elements['text']['description'] . '</div>';
echo '<div id="wall"><div class="description">' . $elements['postsizelimit']['html'] . ' ' . $elements['text']['description'] . '</div>';
echo '<div>' . $elements['text']['html'] .'</div>';
if (isset($elements['text']['error'])) {
echo '<div>' . $elements['text']['error'] . '</div>';
}
echo '<div class="makeprivate">' . $elements['private']['labelhtml'] . ' ' . $elements['private']['html'] . '</div>';
echo '<div>' . $elements['submit']['html'] . '</div>';
echo '<div>' . $elements['submit']['html'] . '</div></div>';
echo $hidden_elements;
echo '</form>';
......
......@@ -16,7 +16,7 @@
/* forum description */
#forumdescription {
margin: 2em 0 .5em 0;
margin: .5em 0;
clear: both;
}
......@@ -55,12 +55,6 @@
* html #viewforum .rbuttons {
right: 3em;
}
#forumtopicstable {
border-bottom: 1px solid #ccc;
}
#forumtopicstable th {
border-bottom: 1px solid #ccc;
}
/* to get user picts to align with text */
.forumuser,
.inlinelist a img {
......@@ -69,6 +63,7 @@
/* topic types */
.stickytopic td {
background-color: #fffcd8;
border-bottom: 2px solid #fff;
}
......@@ -110,18 +105,19 @@
margin: 0 0 1em 0;
}
.forumpost {
border: 1px solid #eee;
border: 2px solid #eee;
clear: both;
}
.forumsubject {
border-bottom: 1px solid #eee;
border-bottom: 2px solid #eee;
background: #eee;
}
.forumsubject h6 {
margin: 0 !important;
}
.forumpostleft {
width: 160px;
border-right: 1px solid #eee;
border-right: 2px solid #eee;
text-align: center;
font-size: .9167em;
}
......@@ -144,6 +140,7 @@
font-size: .9167em;
text-align: right;
color: #d1d1d1;
margin: 0 0 1em 0;
}
.postbtns a {
margin: 0 .5em;
......
......@@ -18,15 +18,17 @@
{/if}
{if $stickytopics || $regulartopics}
<form action="" method="post">
<table id="forumtopicstable" class="fullwidth nohead">
<table id="forumtopicstable" class="fullwidth">
<thead>
<tr>
<th width="12px"></th>
<th width="12px"></th>
<th width="40%">{str tag="Topic" section="interaction.forum"}</th>
<th>{str tag="Topic" section="interaction.forum"}</th>
<th>{str tag="Poster" section="interaction.forum"}</th>
<th class="postscount center" width="10%">{str tag="Posts" section="interaction.forum"}</th>
<th class="lastpost" width="25%">{str tag="lastpost" section="interaction.forum"}</th>
<th class="lastpost" width="20%">{str tag="lastpost" section="interaction.forum"}</th>
</tr>
</thead>
{if $stickytopics}
{include file="interaction:forum:topics.tpl" topics=$stickytopics moderator=$moderator forum=$forum publicgroup=$publicgroup sticky=true}
{/if}
......@@ -84,7 +86,10 @@
{/if}
</div>
{else}
<p>{str tag="notopics" section="interaction.forum"}</p>
<table class="fullwidth nohead">
<tr><td class="{cycle values='r0,r1'} center">{str tag="notopics" section="interaction.forum"}</td>
</tr>
</table>
{/if}
{include file="footer.tpl"}
htdocs/theme/raw/static/images/feedback.gif

257 Bytes | W: | H:

htdocs/theme/raw/static/images/feedback.gif

257 Bytes | W: | H:

htdocs/theme/raw/static/images/feedback.gif
htdocs/theme/raw/static/images/feedback.gif
htdocs/theme/raw/static/images/feedback.gif
htdocs/theme/raw/static/images/feedback.gif
  • 2-up
  • Swipe
  • Onion skin
htdocs/theme/raw/static/images/icon-mail.gif

295 Bytes | W: | H:

htdocs/theme/raw/static/images/icon-mail.gif

288 Bytes | W: | H:

htdocs/theme/raw/static/images/icon-mail.gif
htdocs/theme/raw/static/images/icon-mail.gif
htdocs/theme/raw/static/images/icon-mail.gif
htdocs/theme/raw/static/images/icon-mail.gif
  • 2-up
  • Swipe
  • Onion skin
htdocs/theme/raw/static/images/icon-reply.gif

169 Bytes | W: | H:

htdocs/theme/raw/static/images/icon-reply.gif

276 Bytes | W: | H:

htdocs/theme/raw/static/images/icon-reply.gif
htdocs/theme/raw/static/images/icon-reply.gif
htdocs/theme/raw/static/images/icon-reply.gif
htdocs/theme/raw/static/images/icon-reply.gif
  • 2-up
  • Swipe
  • Onion skin
htdocs/theme/raw/static/images/institutionmessage.gif

349 Bytes | W: | H:

htdocs/theme/raw/static/images/institutionmessage.gif

1.03 KB | W: | H:

htdocs/theme/raw/static/images/institutionmessage.gif
htdocs/theme/raw/static/images/institutionmessage.gif
htdocs/theme/raw/static/images/institutionmessage.gif
htdocs/theme/raw/static/images/institutionmessage.gif
  • 2-up
  • Swipe
  • Onion skin
htdocs/theme/raw/static/images/maharamessage.gif

349 Bytes | W: | H:

htdocs/theme/raw/static/images/maharamessage.gif

1.03 KB | W: | H:

htdocs/theme/raw/static/images/maharamessage.gif
htdocs/theme/raw/static/images/maharamessage.gif
htdocs/theme/raw/static/images/maharamessage.gif
htdocs/theme/raw/static/images/maharamessage.gif
  • 2-up
  • Swipe
  • Onion skin
htdocs/theme/raw/static/images/newpost.gif

257 Bytes | W: | H:

htdocs/theme/raw/static/images/newpost.gif

581 Bytes | W: | H:

htdocs/theme/raw/static/images/newpost.gif
htdocs/theme/raw/static/images/newpost.gif
htdocs/theme/raw/static/images/newpost.gif
htdocs/theme/raw/static/images/newpost.gif
  • 2-up
  • Swipe
  • Onion skin
htdocs/theme/raw/static/images/star.gif

586 Bytes | W: | H:

htdocs/theme/raw/static/images/star.gif

596 Bytes | W: | H:

htdocs/theme/raw/static/images/star.gif
htdocs/theme/raw/static/images/star.gif
htdocs/theme/raw/static/images/star.gif
htdocs/theme/raw/static/images/star.gif
  • 2-up
  • Swipe
  • Onion skin
......@@ -291,11 +291,9 @@ label {
}
.pieform td label {
font-weight: normal;
font-size: .9167em;
}
.pieform th label {
font-weight: bold;
font-size: .9167em;
}
#editpost_allowcomments_container th label {
white-space: nowrap;
......@@ -636,14 +634,22 @@ div.btn-edit input.submit,
.btn-reply {
background: transparent url(../images/icon-reply.gif) no-repeat left;
padding-left: 13px;
}
}
.btn-back {
background: transparent url(../images/icon-back.gif) no-repeat left;
padding-left: 13px;
}
.btn-download {
background: transparent url(../images/icon-download.gif) no-repeat right;
padding-right: 13px;
}
.btn-add {
background: transparent url(../images/icon-add.gif) no-repeat left;
padding-left: 13px;
}
.btn-request {
background: transparent url(../images/icon-join.gif) no-repeat left center;
background: transparent url(../images/icon-request.gif) no-repeat left center;
padding-left: 13px;
}
.btn-leavegroup {
......@@ -654,6 +660,14 @@ div.btn-edit input.submit,
background: transparent url(../images/icon-pending.gif) no-repeat left center;
padding-left: 13px;
}
.btn-login {
background: transparent url(../images/icon-login.gif) no-repeat left center;
padding-left: 13px;
}
.btn-access {
background: transparent url(../images/icon-access.gif) no-repeat left center;
padding-left: 13px;
}
div.pagetabs {
top: 1em !important;
......@@ -688,17 +702,6 @@ div.rbuttons .small-logo {
background: none;
}
/* Profile icons */
#userview .user-icon a {
margin: 0 0 0 1em;
}
.profile-icon-container {
width: 20px;
height: 20px;
float: left;
padding-right:.5em;
text-align: center;
}
/**************************** Top of page elements ****************************/
.viewheader {
......@@ -964,11 +967,13 @@ div.ok, div.error {
/* upload file message */
div.info {
padding: .4em .5em;
background: #e7f1c3;
margin: .5em;
color: #547c22;
background: #d1d1d1;
margin: .5em 0;
font-size: .9167em;
}
div.info img {
vertical-align: top;
}
/* different message types */
#messages .ok,
div.ok {
......@@ -1396,16 +1401,36 @@ table.attachments td {
/* User/view */
#userview {
margin: 1em 0;
margin: 0 0 1em 0;
}
#userview .user-icon {
font-size: .9167em;
background: #eee;
padding: .25em .5em;
}
#userview #invite,
#userview #addmember {
margin-top: 1em;
}
/* Profile icons */
#userview .user-icon a {
margin: 0 0 0 1em;
}
.profile-icon-container {
width: 20px;
height: 20px;
float: left;
padding-right:.5em;
text-align: center;
}
#userview .user-icon .addform {
display: inline;
margin-left: 1em;
}
#userview .user-icon .addform form,
#userview .user-icon .addform form div {
display: inline;
}
/* Wall */
.wallpost {
......@@ -1425,20 +1450,22 @@ table.attachments td {
.wallpost .userinfo img {
float: left;
padding-right: .5em;
vertical-align: top;
}
.wallpost .userinforight {
padding: .25em;
.wallpost .text {
margin-left: 31px;
margin-bottom: .25em;
font-size: .9167em;