mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
update to movim 0.9 git20151124
This commit is contained in:
parent
dd11b17d34
commit
97aebb59b2
10 changed files with 55 additions and 35 deletions
|
@ -10,7 +10,7 @@
|
|||
- script/install : new SSO policy
|
||||
- script/upgrade : removed "addaccess" parameter and added "clearaccess" (reset)
|
||||
- script/upgrade : new SSO policy
|
||||
- update to movim 0.9 git2015-12-23
|
||||
- update to movim 0.9 git2015-12-24
|
||||
|
||||
1.3 2015-12-15
|
||||
- Update to Movim 0.9 git2015-12-15
|
||||
|
|
|
@ -5,7 +5,7 @@ Movim is a decentralized social network, written in PHP and HTML5 and based on t
|
|||
|
||||
It is recommended to use a "valid" certificate to use Movim, auto-signed is sometimes problematic. You might want to take a look a StartSSL or Let's Encrypt.
|
||||
|
||||
Current Movim version : 0.9 git2015-12-23
|
||||
Current Movim version : 0.9 git2015-12-24
|
||||
|
||||
Please read CHANGELOG.
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
</div>
|
||||
|
||||
<div id="subscription_form" class="block">
|
||||
<ul class="simple thick">
|
||||
<ul class="list simple thick">
|
||||
<li>
|
||||
<span>{$c->__('create.title')} {$c->__('create.server_on')} {$host}</span>
|
||||
<p>{$c->__('create.title')} {$c->__('create.server_on')} {$host}</p>
|
||||
<p>{$c->__('create.loading')}</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -52,7 +52,7 @@ class Blog extends WidgetBase {
|
|||
$pd = new \modl\PostnDAO();
|
||||
|
||||
if($this->_id = $this->get('i')) {
|
||||
if(Validator::intType()->between(0, 100)->validate((int)$this->_id)) {
|
||||
if(Validator::intType()->between(1, 100)->validate((int)$this->_id)) {
|
||||
if(isset($this->_tag)) {
|
||||
$this->_messages = $pd->getPublicTag($this->get('t'), $this->_id * $this->_paging, $this->_paging + 1);
|
||||
} else {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="card shadow" title="{$c->__('page.feed')}" id="blog" >
|
||||
<header>
|
||||
<ul class="list thick">
|
||||
{if="$mode == 'blog'"}
|
||||
<li>
|
||||
|
@ -76,7 +76,9 @@
|
|||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</header>
|
||||
|
||||
<div class="card shadow" title="{$c->__('page.feed')}" id="blog" >
|
||||
{loop="$posts"}
|
||||
{$c->preparePost($value)}
|
||||
{/loop}
|
||||
|
@ -99,7 +101,10 @@
|
|||
{if="$posts == null"}
|
||||
<ul class="list simple thick">
|
||||
<li>
|
||||
<p>{$c->__('blog.empty')}</p>
|
||||
<span class="primary icon gray">
|
||||
<i class="zmdi zmdi-comment-outline"></i>
|
||||
</span>
|
||||
<p class="normal">{$c->__('blog.empty')}</p>
|
||||
</li>
|
||||
</ul>
|
||||
{/if}
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
<div>
|
||||
<a href="{$c->route('main')}" class="classic">
|
||||
<span id="menu" class="icon"><i class="zmdi zmdi-home"></i></span>
|
||||
</a>
|
||||
<h2>{$c->__('page.account_creation')}</h2>
|
||||
<ul class="list middle">
|
||||
<li>
|
||||
<span class="primary active icon">
|
||||
<a href="{$c->route('main')}">
|
||||
<i class="zmdi zmdi-home"></i>
|
||||
</a>
|
||||
</span>
|
||||
<p>{$c->__('page.account_creation')}</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
<div>
|
||||
<a href="{$c->route('account')}" class="classic">
|
||||
<span id="menu" class="icon"><i class="zmdi zmdi-arrow-back"></i></span>
|
||||
</a>
|
||||
<h2>{$c->__('page.account_creation')}</h2>
|
||||
<ul class="list middle">
|
||||
<li>
|
||||
<span id="menu" class="primary icon active ">
|
||||
<a href="{$c->route('account')}">
|
||||
<i class="zmdi zmdi-arrow-back"></i>
|
||||
</a>
|
||||
</span>
|
||||
<p>{$c->__('page.account_creation')}</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -87,11 +87,11 @@
|
|||
{if="$c->supported('pubsub')"}
|
||||
<ul id="news" class="list card shadow flex active">
|
||||
{if="empty($news)"}
|
||||
<li>
|
||||
<span class="control icon gray">
|
||||
<li class="block">
|
||||
<span class="primary icon gray">
|
||||
<i class="zmdi zmdi-info-outline"></i>
|
||||
</span>
|
||||
<p>{$c->__('menu.empty_title')}</p>
|
||||
<p class="normal">{$c->__('menu.empty_title')}</p>
|
||||
</li>
|
||||
{/if}
|
||||
{loop="$news"}
|
||||
|
|
|
@ -1,31 +1,33 @@
|
|||
<div id="subscribe">
|
||||
<ul class="simple thick">
|
||||
<li class="condensed">
|
||||
<span>{$c->__('subscribe.title')}</span>
|
||||
<ul class="list thick">
|
||||
<li>
|
||||
<p>{$c->__('subscribe.title')}</p>
|
||||
<p>{$c->__('subscribe.info')}</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="thick active flex card">
|
||||
<ul class="list thick active flex card">
|
||||
{loop="$servers"}
|
||||
<li
|
||||
class="block condensed"
|
||||
class="block"
|
||||
onclick="movim_redirect('{$c->route('accountnext', array($value->domain, false))}')">
|
||||
<span class="icon bubble color {$value->description|stringToColor}">
|
||||
<span class="primary icon bubble color {$value->description|stringToColor}">
|
||||
{if="isset($value->checked) && $value->checked"}
|
||||
<i class="fa md-star-outline"></i>
|
||||
{else}
|
||||
{$value->domain|firstLetterCapitalize}
|
||||
{/if}
|
||||
</span>
|
||||
<span class="info">
|
||||
<img
|
||||
class="flag"
|
||||
title="{$value->geo_country}"
|
||||
alt="{$value->geo_country}"
|
||||
src="{$c->flagPath($value->geo_country)}"/>
|
||||
</span>
|
||||
<span>{$value->domain}</span>
|
||||
<p>
|
||||
<span class="info">
|
||||
<img
|
||||
class="flag"
|
||||
title="{$value->geo_country}"
|
||||
alt="{$value->geo_country}"
|
||||
src="{$c->flagPath($value->geo_country)}"/>
|
||||
</span>
|
||||
{$value->domain}
|
||||
</p>
|
||||
<p>
|
||||
{$value->description}<br />
|
||||
<a target="_blank" href="{$value->url}">
|
||||
|
@ -35,11 +37,11 @@
|
|||
</li>
|
||||
{/loop}
|
||||
|
||||
<li class="block condensed">
|
||||
<span class="icon bubble color orange">
|
||||
<li class="block">
|
||||
<span class="primary icon bubble color orange">
|
||||
<i class="zmdi zmdi-globe-alt"></i>
|
||||
</span>
|
||||
<span>{$c->__('subscribe.server_question')}</span>
|
||||
<p>{$c->__('subscribe.server_question')}</p>
|
||||
<p>
|
||||
{$c->__('subscribe.server_contact')} • <a href="https://movim.eu/">https://movim.eu/</a>
|
||||
</p>
|
||||
|
|
|
@ -108,6 +108,7 @@ main > section > div > header a:not(.classic):not(.activity):not(.action) {
|
|||
|
||||
.button:not(.color),
|
||||
input[type=button],
|
||||
header:not(.big) .icon a,
|
||||
a/*,
|
||||
a:not(.classic):not(.activity):not(.action):not(.button)*/ { color: #FF5722; border-color: #FF5722; }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue