Commit 7c58d784 authored by Evonne Cheung's avatar Evonne Cheung Committed by Richard Mansfield
Browse files
parent 8f78e09b
......@@ -84,9 +84,9 @@
</div>
{if $config.createfolder}
<div id="{$prefix}_createfolder_messages" class="createfolder-message"></div>
<div id="createfolder"><div id="{$prefix}_createfolder_messages" class="createfolder-message"></div>
<input type="text" class="text" name="{$prefix}_createfolder_name" id="{$prefix}_createfolder_name" size="40" />
<input type="submit" class="submit" name="{$prefix}_createfolder" id="{$prefix}_createfolder" value="{str tag=createfolder section=artefact.file}" />
<input type="submit" class="submit" name="{$prefix}_createfolder" id="{$prefix}_createfolder" value="{str tag=createfolder section=artefact.file}" /></div>
{/if}
<div id="{$prefix}_filelist_container">
......
......@@ -40,8 +40,15 @@
margin-bottom: 3px;
}
#createfolder {
background-color: #E7E7E7;
background-color: #EEE;
border: 1px solid #D1D1D1;
padding: 3px 5px;
display: block;
margin: 10px 0 5px 0;
}
#upload {
background-color: #EEE;
border: 1px solid #D1D1D1;
}
/* folder nav */
......
......@@ -5,12 +5,12 @@
{foreach from=$groupviews item=view}
<tr class="{cycle values='r0,r1'}">
<td>
<a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a>
<div>{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
{if $view.template}
<div><a href="">{str tag=copythisview section=view}</a></div>
<div class="s fr valign"><a href="" class="btn">{str tag=copythisview section=view}</a></div>
{/if}
<h3><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a></h3>
<div class="s">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
</td>
</tr>
{/foreach}
......@@ -25,9 +25,12 @@
{foreach from=$sharedviews item=view}
<tr class="{cycle values='r0,r1'}">
<td>
<a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a>
{if $view.template}
<div class="s fr valign"><a href="" class="btn">{str tag=copythisview section=view}</a></div>
{/if}
<h3><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a></h3>
{if $view.sharedby}
{str tag=by section=view}
<span class="owner">{str tag=by section=view}
{if $view.group}
<a href="{$WWWROOT}group/view.php?id={$view.group}">{$view.sharedby}</a>
{elseif $view.owner}
......@@ -35,12 +38,10 @@
{else}
{$view.sharedby}
{/if}
</span>
{/if}
<div>{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
<div class="s">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
{if $view.template}
<div><a href="">{str tag=copythisview section=view}</a></div>
{/if}
</td>
</tr>
{/foreach}
......@@ -82,15 +83,16 @@
{foreach from=$allsubmittedviews item=view}
<tr class="{cycle values='r0,r1'}">
<td>
<a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a>
<h3><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title}</a></h3>
{if $view.sharedby}
{str tag=by section=view}
<span class="owner">{str tag=by section=view}
<a href="{$WWWROOT}user/view.php?id={$view.owner}">{$view.sharedby}</a>
</span>
{/if}
{if $view.submittedtime}
<span class="date s"><br />({str tag=timeofsubmission section=view}: {$view.submittedtime|format_date})</span>
<span class="date s"> - {str tag=timeofsubmission section=view}: {$view.submittedtime|format_date}</span>
{/if}
<div>{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
<div class="s">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
</td>
</tr>
......
......@@ -3,7 +3,7 @@
{foreach from=$foruminfo item=postinfo}
<tr class="{cycle values='r0,r1'}">
<td><h4><a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic|escape}#post{$postinfo->id}">{$postinfo->topicname}</a></h4><div class="s">{$postinfo->body|str_shorten_html:100:true|safe}</div></td>
<td class="valign s center"><a href="{$WWWROOT}user/view.php?id={$postinfo->poster}"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=16&amp;id={$postinfo->poster}" alt=""><br />{$postinfo->poster|display_name|escape}</a>
<td class="valign s right"><a href="{$WWWROOT}user/view.php?id={$postinfo->poster}"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=16&amp;id={$postinfo->poster}" alt=""> {$postinfo->poster|display_name|escape}</a>
</td>
</tr>
{/foreach}
......
......@@ -45,6 +45,13 @@
padding-top: 0;
border: 0;
}
#forumslist td .inlinelist {
font-size: .9167em;
line-height: 1.8em;
}
#forumslist td .inlinelist span {
font-weight: bold;
}
/* Topic list */
#viewforum {
......
......@@ -115,6 +115,9 @@ p {
.nowrap {
white-space: nowrap;
}
.inline {
display: inline;
}
.ctime {
color: #838383;
}
......@@ -255,13 +258,13 @@ tr.highlight td {
.listing h3 {
margin: 0;
font-size: 1.1667em;
display: inline;
}
.listing h6 {
margin: 0;
font-size: 1em;
display: inline;
font-size: .9167em;
font-style: italic;
font-weight: normal;
display: inline;
}
div.listing {
padding: 5px;
......@@ -1644,8 +1647,8 @@ table.attachments td {
float: left;
}
/* Secret url */
.secreturls {
width: 15%;
.secreturlcount {
margin-right: 5px;
}
.secreturls .buttons {
padding-top: 5px;
......@@ -2104,6 +2107,9 @@ form#search, form#filter, div.searchform {
.groupviewsection .submit {
margin-left: 5px;
}
.groupviewsection .owner {
font-size: .9167em;
}
/* Group: members */
.twocolumn td {
width: 50%;
......@@ -2323,4 +2329,30 @@ img.feedicon {
.templateresults .ownericon {
line-height: 2em;
}
/******* Shared Pages **********/
#search #search_query_container #search_query {
margin-right: 3px;
}
.sharedpages h3 {
margin: 0;
font-size: 1.1667em;
}
.sharedpages .owner {
font-style: italic;
font-weight: normal;
font-size: .9167em;
}
.topictitle {
font-weight: bold;
font-size: 1.1667em;
}
.topicforum {
}
.poster {
font-style: italic;
}
.owner {
font-style: italic;
}
\ No newline at end of file
<h3><a href="{$WWWROOT}group/view.php?id={$group->id}">{$group->name}</a></h3>
<h6>&nbsp; {foreach name=admins from=$group->admins item=id}<a href="{$WWWROOT}user/view.php?id={$id}">{$id|display_name|escape}</a>{if !$.foreach.admins.last}, {/if}{/foreach}</h6>
<div class="s">{$group->settingsdescription}
<h6>{foreach name=admins from=$group->admins item=id}<a href="{$WWWROOT}user/view.php?id={$id}">{$id|display_name|escape}</a>{if !$.foreach.admins.last}, {/if}{/foreach}</h6>
<div class="inline s"> - {$group->settingsdescription}
{$group->description|str_shorten_html:100:true|safe}</div>
<div class="s"><label>{str tag="memberslist" section="group"}</label>
{foreach name=members from=$group->members item=member}
......
{foreach from=$topics item=topic}
<tr class="{cycle values='r0,r1'}">
<td>
<div><strong><a href="{$WWWROOT}interaction/forum/topic.php?id={$topic->id}">{$topic->topicname|str_shorten_text:65:true}</a></strong></div>
<div>
<a href="{$WWWROOT}group/view.php?id={$topic->groupid}">{$topic->groupname|str_shorten_text:30:true}</a>:
<a href="{$WWWROOT}interaction/forum/view.php?id={$topic->forumid}">{$topic->forumname|str_shorten_text:30:true}</a>
<div class="topictitle"><a href="{$WWWROOT}interaction/forum/topic.php?id={$topic->id}">{$topic->topicname|str_shorten_text:65:true}</a></div>
<div class="s">
<a href="{$WWWROOT}group/view.php?id={$topic->groupid}" class="topicgroup">{$topic->groupname|str_shorten_text:30:true}</a> >
<a href="{$WWWROOT}interaction/forum/view.php?id={$topic->forumid}" class="topicforum">{$topic->forumname|str_shorten_text:30:true}</a>
</div>
</td>
<td class="center">{$topic->postcount}</td>
<td>
<div>{$topic->body|str_shorten_html:80:true|strip_tags|safe}</div>
<a href="{$WWWROOT}user/view.php?id={$topic->poster}">{$topic->poster|display_name|escape}</a>
<span class="postedon nowrap">{$topic->ctime|strtotime|format_date:'strftimerecent'}</span>
<div class="s">{$topic->body|str_shorten_html:80:true|strip_tags|safe}</div>
<span class="s poster"><a href="{$WWWROOT}user/view.php?id={$topic->poster}">{$topic->poster|display_name|escape}</a></span>
<span class="postedon nowrap"> - {$topic->ctime|strtotime|format_date:'strftimerecent'}</span>
</td>
</tr>
{/foreach}
......@@ -8,7 +8,8 @@
<table class="fullwidth accesslists">
<thead>
<tr>
<th colspan=2>{str tag=accesslist section=view}</th>
<th>{str tag=accesslist section=view}</th>
<th>{str tag=editaccess section=view}</th>
<th>
<span class="fl">{str tag=Views section=view} &amp; {str tag=collections section=collection}</span>
<span class="fr">{str tag=secreturls section=view}</span>
......@@ -18,9 +19,6 @@
<tbody>
{foreach from=$accesslists item=accesslist name=als}
<tr class="{cycle values='r0,r1'}">
<td class="al-edit">
<a href="{$WWWROOT}view/access.php?id={$accesslist.viewid}" title="Edit Access"><img src="{theme_url filename='images/edit_access.gif'}" alt="{str tag=editaccess}"></a>
</td>
<td class="al">
{if $accesslist.access}
<div class="videsc">{$accesslist.access}</div>
......@@ -54,6 +52,9 @@
</div>
{/if}
</td>
<td class="al-edit center">
<a href="{$WWWROOT}view/access.php?id={$accesslist.viewid}" title="{str tag=editaccess section=view}"><img src="{theme_url filename='images/edit_access.gif'}" alt="{str tag=editaccess}"></a>
</td>
<td class="cv">
{if $accesslist.views}
{foreach from=$accesslist.views item=view name=v}
......
{foreach from=$views item=view}
<tr class="{cycle values='r0,r1'}">
<td>
<div><strong><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title|str_shorten_text:65:true}</a></strong></div>
<td class="sharedpages">
<h3><a href="{$WWWROOT}view/view.php?id={$view.id}">{$view.title|str_shorten_text:65:true}</a></h3>
{if $view.sharedby}
<div>
<span class="owner">
{if $view.group}
<a href="{$WWWROOT}group/view.php?id={$view.group}" class="s">{$view.sharedby}</a>
<a href="{$WWWROOT}group/view.php?id={$view.group}">{$view.sharedby}</a>
{elseif $view.owner}
<a href="{$WWWROOT}user/view.php?id={$view.owner}" class="s">{$view.sharedby}</a>
<a href="{$WWWROOT}user/view.php?id={$view.owner}">{$view.sharedby}</a>
{else}
{$view.sharedby}
{/if}
<span class="postedon nowrap">{$view.mtime|strtotime|format_date:'strftimerecent'}</span>
</div>
</span>
<span class="postedon nowrap"> - {$view.mtime|strtotime|format_date:'strftimerecent'}</span>
{/if}
<div>{$view.description|str_shorten_html:70:true|strip_tags|safe}</div>
<div class="s">{$view.description|str_shorten_html:70:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
</td>
<td class="center">{$view.commentcount}</td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment