aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-29 21:59:49 -0700
committerfriendica <info@friendica.com>2012-10-29 21:59:49 -0700
commitdca20f42278e9d837d5cbfd130fc04ecaf09947d (patch)
treea7c0ce623821ca64b422ee734be27d3ecb15b119 /view
parentf608373d084eea8d34adc48ef50c7392903b51be (diff)
downloadvolse-hubzilla-dca20f42278e9d837d5cbfd130fc04ecaf09947d.tar.gz
volse-hubzilla-dca20f42278e9d837d5cbfd130fc04ecaf09947d.tar.bz2
volse-hubzilla-dca20f42278e9d837d5cbfd130fc04ecaf09947d.zip
zchannel rename to new_channel
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_new_channel.css (renamed from view/css/mod_zchannel.css)12
-rw-r--r--view/js/mod_new_channel.js17
-rw-r--r--view/js/mod_zchannel.js17
-rw-r--r--view/php/mod_new_channel.php (renamed from view/php/mod_zchannel.php)0
-rw-r--r--view/tpl/new_channel.tpl29
-rw-r--r--view/tpl/zchannel.tpl29
6 files changed, 52 insertions, 52 deletions
diff --git a/view/css/mod_zchannel.css b/view/css/mod_new_channel.css
index 1b4527a99..3b9c80953 100644
--- a/view/css/mod_zchannel.css
+++ b/view/css/mod_new_channel.css
@@ -4,36 +4,36 @@ h2 {
margin-top: 15%;
}
-#zchannel-form {
+#newchannel-form {
font-size: 1.4em;
margin-left: 15%;
margin-top: 5%;
width: 50%;
}
-#zchannel-form .descriptive-paragraph {
+#newchannel-form .descriptive-paragraph {
color: #888;
margin-left: 20px;
margin-bottom: 25px;
}
-.zchannel-label {
+.newchannel-label {
float: left;
width: 275px;
}
-.zchannel-input {
+.newchannel-input {
float: left;
width: 275px;
padding: 5px;
}
-.zchannel-feedback {
+.newchannel-feedback {
float: left;
margin-left: 5px;
}
-.zchannel-field-end {
+.newchannel-field-end {
clear: both;
margin-bottom: 20px;
}
diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js
new file mode 100644
index 000000000..02b6f857e
--- /dev/null
+++ b/view/js/mod_new_channel.js
@@ -0,0 +1,17 @@
+ $(document).ready(function() {
+ $("#newchannel-name").blur(function() {
+ var zreg_name = $("#newchannel-name").val();
+ $.get("newchannel/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) {
+ $("#newchannel-nickname").val(data);
+ zFormError("#newchannel-nickname-feedback",data.error);
+ });
+ });
+
+ });
diff --git a/view/js/mod_zchannel.js b/view/js/mod_zchannel.js
deleted file mode 100644
index 9f85295d7..000000000
--- a/view/js/mod_zchannel.js
+++ /dev/null
@@ -1,17 +0,0 @@
- $(document).ready(function() {
- $("#zchannel-name").blur(function() {
- var zreg_name = $("#zchannel-name").val();
- $.get("zchannel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
- $("#zchannel-nickname").val(data);
- zFormError("#zchannel-name-feedback",data.error);
- });
- });
- $("#zchannel-nickname").blur(function() {
- var zreg_nick = $("#zchannel-nickname").val();
- $.get("zchannel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
- $("#zchannel-nickname").val(data);
- zFormError("#zchannel-nickname-feedback",data.error);
- });
- });
-
- });
diff --git a/view/php/mod_zchannel.php b/view/php/mod_new_channel.php
index e7709cbd8..e7709cbd8 100644
--- a/view/php/mod_zchannel.php
+++ b/view/php/mod_new_channel.php
diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl
new file mode 100644
index 000000000..b9171644a
--- /dev/null
+++ b/view/tpl/new_channel.tpl
@@ -0,0 +1,29 @@
+<h2>$title</h2>
+
+<form action="newchannel" method="post" id="newchannel-form">
+
+ <div id="newchannel-desc" class="descriptive-paragraph">$desc</div>
+
+ <label for="newchannel-name" id="label-newchannel-name" class="newchannel-label" >$label_name</label>
+ <input type="text" name="name" id="newchannel-name" class="newchannel-input" value="$name" />
+ <div id="newchannel-name-feedback" class="newchannel-feedback"></div>
+ <div id="newchannel-name-end" class="newchannel-field-end"></div>
+
+ <div id="newchannel-name-help" class="descriptive-paragraph">$help_name</div>
+
+ <label for="newchannel-nickname" id="label-newchannel-nickname" class="newchannel-label" >$label_nick</label>
+ <input type="text" name="nickname" id="newchannel-nickname" class="newchannel-input" value="$nickname" />
+ <div id="newchannel-nickname-feedback" class="newchannel-feedback"></div>
+ <div id="newchannel-nickname-end" class="newchannel-field-end"></div>
+
+ <div id="newchannel-nick-desc" class="descriptive-paragraph">$nick_desc</div>
+
+
+ <input type="checkbox" name="import" id="newchannel-import" value="1" />
+ <label for="newchannel-import" id="label-newchannel-import">$label_import</label>
+ <div id="newchannel-import-end" class="newchannel-field-end"></div>
+
+ <input type="submit" name="submit" id="newchannel-submit-button" value="$submit" />
+ <div id="newchannel-submit-end" class="newchannel-field-end"></div>
+
+</form>
diff --git a/view/tpl/zchannel.tpl b/view/tpl/zchannel.tpl
deleted file mode 100644
index d714d8a59..000000000
--- a/view/tpl/zchannel.tpl
+++ /dev/null
@@ -1,29 +0,0 @@
-<h2>$title</h2>
-
-<form action="zchannel" method="post" id="zchannel-form">
-
- <div id="zchannel-desc" class="descriptive-paragraph">$desc</div>
-
- <label for="zchannel-name" id="label-zchannel-name" class="zchannel-label" >$label_name</label>
- <input type="text" name="name" id="zchannel-name" class="zchannel-input" value="$name" />
- <div id="zchannel-name-feedback" class="zchannel-feedback"></div>
- <div id="zchannel-name-end" class="zchannel-field-end"></div>
-
- <div id="zchannel-name-help" class="descriptive-paragraph">$help_name</div>
-
- <label for="zchannel-nickname" id="label-zchannel-nickname" class="zchannel-label" >$label_nick</label>
- <input type="text" name="nickname" id="zchannel-nickname" class="zchannel-input" value="$nickname" />
- <div id="zchannel-nickname-feedback" class="zchannel-feedback"></div>
- <div id="zchannel-nickname-end" class="zchannel-field-end"></div>
-
- <div id="zchannel-nick-desc" class="descriptive-paragraph">$nick_desc</div>
-
-
- <input type="checkbox" name="import" id="zchannel-import" value="1" />
- <label for="zchannel-import" id="label-zchannel-import">$label_import</label>
- <div id="zchannel-import-end" class="zchannel-field-end"></div>
-
- <input type="submit" name="submit" id="zchannel-submit-button" value="$submit" />
- <div id="zchannel-submit-end" class="zchannel-field-end"></div>
-
-</form>