aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-30 16:21:24 -0700
committerfriendica <info@friendica.com>2012-10-30 16:21:24 -0700
commitffadf260c0682e069ef81fe34c75e1217b7e37fb (patch)
tree8d1322d8a3b4ac47b9dfab8b5c0e56b01d1bbd23 /view
parentdca20f42278e9d837d5cbfd130fc04ecaf09947d (diff)
downloadvolse-hubzilla-ffadf260c0682e069ef81fe34c75e1217b7e37fb.tar.gz
volse-hubzilla-ffadf260c0682e069ef81fe34c75e1217b7e37fb.tar.bz2
volse-hubzilla-ffadf260c0682e069ef81fe34c75e1217b7e37fb.zip
fix channel creation and management after last changes
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_new_channel.js4
-rw-r--r--view/tpl/channel.tpl2
-rw-r--r--view/tpl/new_channel.tpl2
3 files changed, 4 insertions, 4 deletions
diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js
index 02b6f857e..a3c1dd05c 100644
--- a/view/js/mod_new_channel.js
+++ b/view/js/mod_new_channel.js
@@ -1,14 +1,14 @@
$(document).ready(function() {
$("#newchannel-name").blur(function() {
var zreg_name = $("#newchannel-name").val();
- $.get("newchannel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
+ $.get("new_channel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-name-feedback",data.error);
});
});
$("#newchannel-nickname").blur(function() {
var zreg_nick = $("#newchannel-nickname").val();
- $.get("newchannel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
+ $.get("new_channel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-nickname-feedback",data.error);
});
diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl
index 0702bb50b..98c19caa5 100644
--- a/view/tpl/channel.tpl
+++ b/view/tpl/channel.tpl
@@ -1,5 +1,5 @@
<div class="channel-selection">
-<a href="$channel.link" class="channel-selection-photo-link" title="$channel.channel_name"><img class="channel-photo" src="$channel.thumb" alt="$channel.channel_name" /></a>
+<a href="$channel.link" class="channel-selection-photo-link" title="$channel.channel_name"><img class="channel-photo" src="$channel.xchan_photo_m" alt="$channel.channel_name" /></a>
<a href="$channel.link" class="channel-selection-name-link" title="$channel.channel_name"><div class="channel-name">$channel.channel_name</div></a>
</div>
<div class="channel-selection-end"></div>
diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl
index b9171644a..f83bc3a11 100644
--- a/view/tpl/new_channel.tpl
+++ b/view/tpl/new_channel.tpl
@@ -1,6 +1,6 @@
<h2>$title</h2>
-<form action="newchannel" method="post" id="newchannel-form">
+<form action="new_channel" method="post" id="newchannel-form">
<div id="newchannel-desc" class="descriptive-paragraph">$desc</div>