From fbafd92f7f7b96b215b98f30de9a1ccbdb3479be Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 25 Sep 2012 17:57:20 -0700 Subject: moving a lot of structure around. 'entity' is now 'channel' --- view/css/mod_zchannel.css | 40 ++++++++++++++++++++++++++++++++++++++++ view/css/mod_zentity.css | 40 ---------------------------------------- view/js/mod_zchannel.js | 17 +++++++++++++++++ view/js/mod_zentity.js | 17 ----------------- view/php/mod_zchannel.php | 3 +++ view/php/mod_zentity.php | 3 --- view/tpl/channel.tpl | 4 ++-- view/tpl/diaspora_vcard.tpl | 18 +++++++++--------- view/tpl/zchannel.tpl | 29 +++++++++++++++++++++++++++++ view/tpl/zentity.tpl | 29 ----------------------------- 10 files changed, 100 insertions(+), 100 deletions(-) create mode 100644 view/css/mod_zchannel.css delete mode 100644 view/css/mod_zentity.css create mode 100644 view/js/mod_zchannel.js delete mode 100644 view/js/mod_zentity.js create mode 100644 view/php/mod_zchannel.php delete mode 100644 view/php/mod_zentity.php create mode 100644 view/tpl/zchannel.tpl delete mode 100644 view/tpl/zentity.tpl (limited to 'view') diff --git a/view/css/mod_zchannel.css b/view/css/mod_zchannel.css new file mode 100644 index 000000000..1b4527a99 --- /dev/null +++ b/view/css/mod_zchannel.css @@ -0,0 +1,40 @@ + +h2 { + margin-left: 15%; + margin-top: 15%; +} + +#zchannel-form { + font-size: 1.4em; + margin-left: 15%; + margin-top: 5%; + width: 50%; +} + +#zchannel-form .descriptive-paragraph { + color: #888; + margin-left: 20px; + margin-bottom: 25px; +} + +.zchannel-label { + float: left; + width: 275px; +} + +.zchannel-input { + float: left; + width: 275px; + padding: 5px; +} + +.zchannel-feedback { + float: left; + margin-left: 5px; +} + +.zchannel-field-end { + clear: both; + margin-bottom: 20px; +} + diff --git a/view/css/mod_zentity.css b/view/css/mod_zentity.css deleted file mode 100644 index 402572a38..000000000 --- a/view/css/mod_zentity.css +++ /dev/null @@ -1,40 +0,0 @@ - -h2 { - margin-left: 15%; - margin-top: 15%; -} - -#zentity-form { - font-size: 1.4em; - margin-left: 15%; - margin-top: 5%; - width: 50%; -} - -#zentity-form .descriptive-paragraph { - color: #888; - margin-left: 20px; - margin-bottom: 25px; -} - -.zentity-label { - float: left; - width: 275px; -} - -.zentity-input { - float: left; - width: 275px; - padding: 5px; -} - -.zentity-feedback { - float: left; - margin-left: 5px; -} - -.zentity-field-end { - clear: both; - margin-bottom: 20px; -} - diff --git a/view/js/mod_zchannel.js b/view/js/mod_zchannel.js new file mode 100644 index 000000000..9f85295d7 --- /dev/null +++ b/view/js/mod_zchannel.js @@ -0,0 +1,17 @@ + $(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/js/mod_zentity.js b/view/js/mod_zentity.js deleted file mode 100644 index ad78db7d4..000000000 --- a/view/js/mod_zentity.js +++ /dev/null @@ -1,17 +0,0 @@ - $(document).ready(function() { - $("#zentity-name").blur(function() { - var zreg_name = $("#zentity-name").val(); - $.get("zentity/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) { - $("#zentity-nickname").val(data); - zFormError("#zentity-name-feedback",data.error); - }); - }); - $("#zentity-nickname").blur(function() { - var zreg_nick = $("#zentity-nickname").val(); - $.get("zentity/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) { - $("#zentity-nickname").val(data); - zFormError("#zentity-nickname-feedback",data.error); - }); - }); - - }); diff --git a/view/php/mod_zchannel.php b/view/php/mod_zchannel.php new file mode 100644 index 000000000..e7709cbd8 --- /dev/null +++ b/view/php/mod_zchannel.php @@ -0,0 +1,3 @@ +page['template'] = 'full'; diff --git a/view/php/mod_zentity.php b/view/php/mod_zentity.php deleted file mode 100644 index e7709cbd8..000000000 --- a/view/php/mod_zentity.php +++ /dev/null @@ -1,3 +0,0 @@ -page['template'] = 'full'; diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl index eb9635ce8..0702bb50b 100644 --- a/view/tpl/channel.tpl +++ b/view/tpl/channel.tpl @@ -1,5 +1,5 @@
-$channel.entity_name -
$channel.entity_name
+$channel.channel_name +
$channel.channel_name
diff --git a/view/tpl/diaspora_vcard.tpl b/view/tpl/diaspora_vcard.tpl index de3981a94..8d889cd4a 100644 --- a/view/tpl/diaspora_vcard.tpl +++ b/view/tpl/diaspora_vcard.tpl @@ -1,54 +1,54 @@
-
+
Nickname
$diaspora.nickname
-
+
Full name
$diaspora.fullname
-
+
First name
$diaspora.firstname
-
+
Family name
$diaspora.lastname
-
+
URL
$diaspora.podloc/
-
+
Photo
-
+
Photo
-
+
Photo
-
+
Searchable
$diaspora.searchable diff --git a/view/tpl/zchannel.tpl b/view/tpl/zchannel.tpl new file mode 100644 index 000000000..d714d8a59 --- /dev/null +++ b/view/tpl/zchannel.tpl @@ -0,0 +1,29 @@ +

$title

+ +
+ +
$desc
+ + + + +
+ +
$help_name
+ + + + +
+ +
$nick_desc
+ + + + +
+ + +
+ +
diff --git a/view/tpl/zentity.tpl b/view/tpl/zentity.tpl deleted file mode 100644 index b2da59934..000000000 --- a/view/tpl/zentity.tpl +++ /dev/null @@ -1,29 +0,0 @@ -

$title

- -
- -
$desc
- - - -
-
- -
$help_name
- - - -
-
- -
$nick_desc
- - - - -
- - -
- -
-- cgit v1.2.3