Merge branch 'pull'
This commit is contained in:
commit
be52ec6f5a
7 changed files with 45 additions and 15 deletions
|
@ -624,7 +624,7 @@ function item_post(&$a) {
|
||||||
dbesc($datarray['attach']),
|
dbesc($datarray['attach']),
|
||||||
intval($datarray['bookmark']),
|
intval($datarray['bookmark']),
|
||||||
intval($datarray['origin']),
|
intval($datarray['origin']),
|
||||||
intval($datarry['moderated'])
|
intval($datarray['moderated'])
|
||||||
);
|
);
|
||||||
|
|
||||||
$r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' LIMIT 1",
|
$r = q("SELECT `id` FROM `item` WHERE `uri` = '%s' LIMIT 1",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<!-- yes, they're going the other way. seems that's how the template renderer
|
<!-- yes, they're going the other way. seems that's how the template renderer
|
||||||
works -->
|
works -->
|
||||||
|
|
||||||
<div id="nav-floater">
|
<div id="nav-floater">
|
||||||
<div id="nav-buttons">
|
<div id="nav-buttons">
|
||||||
{{ if $nav.help }}
|
{{ if $nav.help }}
|
||||||
<a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0" title="$nav.help.1">$nav.help.1</a>
|
<a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0" title="$nav.help.1">$nav.help.1</a>
|
||||||
|
@ -33,17 +33,23 @@ works -->
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $nav.network }}
|
{{ if $nav.network }}
|
||||||
<a id="nav-network-link" class="nav-link $nav.network.2"
|
<a id="nav-network-link" class="nav-link $nav.network.2"
|
||||||
href="$nav.network.0" title="$nav.network.1">$nav.network.1</a>
|
href="$nav.network.0" title="$nav.network.1">$nav.network.1</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $nav.home }}
|
{{ if $nav.home }}
|
||||||
<a id="nav-home-link" class="nav-link $nav.home.2"
|
<a id="nav-home-link" class="nav-link $nav.home.2"
|
||||||
href="$nav.home.0" title="$nav.home.1">$nav.home.1</a>
|
href="$nav.home.0" title="$nav.home.1">$nav.home.1</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $nav.login }}
|
{{ if $nav.login }}
|
||||||
<a id="nav-login-link" class="nav-login-link $nav.login.2"
|
<a id="nav-login-link" class="nav-login-link $nav.login.2"
|
||||||
href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="search-box">
|
||||||
|
<form method="get" action="$nav.search.0">
|
||||||
|
<input id="search-text" class="nav-menu-search" type="search" placeholder="Search" value="" id="search" name="search" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="user-menu">
|
<div id="user-menu">
|
||||||
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
|
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
|
||||||
|
|
|
@ -221,7 +221,7 @@ input[type=submit] {
|
||||||
* nav
|
* nav
|
||||||
*/
|
*/
|
||||||
nav {
|
nav {
|
||||||
height: 60px;
|
height: 80px;
|
||||||
display: block;
|
display: block;
|
||||||
background-color: #1d1f1d;
|
background-color: #1d1f1d;
|
||||||
color: #eeeeec;
|
color: #eeeeec;
|
||||||
|
@ -490,6 +490,15 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
background: transparent url(icons.png) -190px -60px no-repeat;
|
background: transparent url(icons.png) -190px -60px no-repeat;
|
||||||
}
|
}
|
||||||
|
.search-box {
|
||||||
|
margin: 5px;
|
||||||
|
width: 65%;
|
||||||
|
height: 40px;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
#search-text {
|
||||||
|
border: 1px #2e2f2e solid;
|
||||||
|
}
|
||||||
.nav-ajax-update, .nav-ajax-left {
|
.nav-ajax-update, .nav-ajax-left {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
|
|
|
@ -151,6 +151,6 @@ function dispydark_community_info() {
|
||||||
$aside['$url'] = $url;
|
$aside['$url'] = $url;
|
||||||
|
|
||||||
$tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
|
$tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
|
||||||
$a->page['right_aside'] = replace_macros($tpl, $aside);
|
$a->page['aside'] = replace_macros($tpl, $aside);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<!-- yes, they're going the other way. seems that's how the template renderer
|
<!-- yes, they're going the other way. seems that's how the template renderer
|
||||||
works -->
|
works -->
|
||||||
|
|
||||||
<div id="nav-floater">
|
<div id="nav-floater">
|
||||||
<div id="nav-buttons">
|
<div id="nav-buttons">
|
||||||
{{ if $nav.help }}
|
{{ if $nav.help }}
|
||||||
<a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0" title="$nav.help.1">$nav.help.1</a>
|
<a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0" title="$nav.help.1">$nav.help.1</a>
|
||||||
|
@ -33,17 +33,23 @@ works -->
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $nav.network }}
|
{{ if $nav.network }}
|
||||||
<a id="nav-network-link" class="nav-link $nav.network.2"
|
<a id="nav-network-link" class="nav-link $nav.network.2"
|
||||||
href="$nav.network.0" title="$nav.network.1">$nav.network.1</a>
|
href="$nav.network.0" title="$nav.network.1">$nav.network.1</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $nav.home }}
|
{{ if $nav.home }}
|
||||||
<a id="nav-home-link" class="nav-link $nav.home.2"
|
<a id="nav-home-link" class="nav-link $nav.home.2"
|
||||||
href="$nav.home.0" title="$nav.home.1">$nav.home.1</a>
|
href="$nav.home.0" title="$nav.home.1">$nav.home.1</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $nav.login }}
|
{{ if $nav.login }}
|
||||||
<a id="nav-login-link" class="nav-login-link $nav.login.2"
|
<a id="nav-login-link" class="nav-login-link $nav.login.2"
|
||||||
href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="search-box">
|
||||||
|
<form method="get" action="$nav.search.0">
|
||||||
|
<input id="search-text" class="nav-menu-search" type="search" placeholder="Search" value="" id="search" name="search" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="user-menu">
|
<div id="user-menu">
|
||||||
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
|
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
|
||||||
|
|
|
@ -482,6 +482,15 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
background: transparent url(icons.png) -190px -60px no-repeat;
|
background: transparent url(icons.png) -190px -60px no-repeat;
|
||||||
}
|
}
|
||||||
|
.search-box {
|
||||||
|
margin: 5px;
|
||||||
|
width: 65%;
|
||||||
|
height: 40px;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
#search-text {
|
||||||
|
border: 1px #eec solid;
|
||||||
|
}
|
||||||
.nav-ajax-update, .nav-ajax-left {
|
.nav-ajax-update, .nav-ajax-left {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
|
|
|
@ -131,7 +131,7 @@ function dispy_community_info() {
|
||||||
$a = get_app();
|
$a = get_app();
|
||||||
|
|
||||||
$fostitJS = "javascript: (function() {
|
$fostitJS = "javascript: (function() {
|
||||||
the_url = '".$a->get_baseurl($ssl_state)."/view/theme/dispy-dark/fpostit/fpostit.php?url=' +
|
the_url = '".$a->get_baseurl($ssl_state)."/view/theme/dispy/fpostit/fpostit.php?url=' +
|
||||||
encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' +
|
encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' +
|
||||||
encodeURIComponent(''+(window.getSelection ? window.getSelection() : document.getSelection ?
|
encodeURIComponent(''+(window.getSelection ? window.getSelection() : document.getSelection ?
|
||||||
document.getSelection() : document.selection.createRange().text));
|
document.getSelection() : document.selection.createRange().text));
|
||||||
|
@ -151,6 +151,6 @@ function dispy_community_info() {
|
||||||
$aside['$url'] = $url;
|
$aside['$url'] = $url;
|
||||||
|
|
||||||
$tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
|
$tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
|
||||||
$a->page['right_aside'] = replace_macros($tpl, $aside);
|
$a->page['aside'] = replace_macros($tpl, $aside);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue