aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/jot-header.tpl8
-rw-r--r--view/jot.tpl4
-rw-r--r--view/theme/dispy/jot-header.tpl7
-rw-r--r--view/theme/dispy/jot.tpl8
-rw-r--r--view/theme/dispy/style.css13
-rw-r--r--view/theme/duepuntozero/style.css13
-rw-r--r--view/theme/loozah/style.css14
-rw-r--r--view/theme/quattro/jot.tpl8
-rw-r--r--view/theme/quattro/quattro.less2
-rw-r--r--view/theme/testbubble/jot-header.tpl8
-rw-r--r--view/theme/testbubble/jot.tpl9
-rw-r--r--view/theme/testbubble/style.css14
12 files changed, 91 insertions, 17 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 941a8f3e2..f35cbee17 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -7,7 +7,7 @@ var textlen = 0;
function initEditor(cb){
if (editor==false){
$("#profile-jot-text-loading").show();
-// $("#jot-title").show();
+ $("#jot-title-desc").show();
tinyMCE.init({
theme : "advanced",
mode : "specific_textareas",
@@ -111,7 +111,11 @@ function initEditor(cb){
$(this).val("");
initEditor();
});
-
+
+ $("#jot-title-desc").click(function() {
+ $("#jot-title-desc").hide();
+ $("#jot-title").show();
+ });
var uploader = new window.AjaxUpload(
'wall-image-upload',
diff --git a/view/jot.tpl b/view/jot.tpl
index 83af1ae37..cb4eb64d4 100644
--- a/view/jot.tpl
+++ b/view/jot.tpl
@@ -14,6 +14,7 @@
<input type="hidden" name="coord" id="jot-coord" value="" />
<input type="hidden" name="post_id" value="$post_id" />
<div id="jot-title-wrapper">
+ <span id="jot-title-desc" style="display: none;">$addtitle</span>
<input type="text" name="title" id="jot-title" value="" style="display: none;" />
</div>
@@ -46,9 +47,6 @@
<div id="profile-nolocation-wrapper" style="display: none;" >
<a id="profile-nolocation" class="icon noglobe" title="$noloc" onclick="jotClearLocation();return false;"></a>
</div>
- <div id="profile-title-wrapper" style="display: $visitor;" >
- <a id="profile-title" class="icon article" title="$title" onclick="jotTitle();return false;"></a>
- </div>
<div id="profile-jot-plugin-wrapper">
$jotplugins
diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl
index 7a1012230..a3464f3f7 100644
--- a/view/theme/dispy/jot-header.tpl
+++ b/view/theme/dispy/jot-header.tpl
@@ -8,6 +8,7 @@ var textlen = 0;
function initEditor(cb) {
if (editor==false) {
$("#profile-jot-text-loading").show();
+ $("#jot-title-desc").show();
tinyMCE.init({
theme : "advanced",
mode : "specific_textareas",
@@ -100,6 +101,12 @@ function initEditor(cb) {
$(this).val("");
initEditor();
});
+
+ $("#jot-title-desc").click(function() {
+ $("#jot-title-desc").hide();
+ $("#jot-title").show();
+ });
+
var uploader = new window.AjaxUpload(
'wall-image-upload',
{ action: 'wall_upload/$nickname',
diff --git a/view/theme/dispy/jot.tpl b/view/theme/dispy/jot.tpl
index a2c883e4b..b340b532b 100644
--- a/view/theme/dispy/jot.tpl
+++ b/view/theme/dispy/jot.tpl
@@ -14,8 +14,11 @@
<input type="hidden" name="return" value="$return_path" />
<input type="hidden" name="location" id="jot-location" value="$defloc" />
<input type="hidden" name="coord" id="jot-coord" value="" />
- <input type="hidden" name="title" id="jot-title" value="" />
<input type="hidden" name="post_id" value="$post_id" />
+ <div id="jot-title-wrapper">
+ <span id="jot-title-desc" style="display: none;">$addtitle</span>
+ <input type="text" name="title" id="jot-title" value="" style="display: none;" />
+ </div>
<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
@@ -49,9 +52,6 @@
<div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
<a id="profile-nolocation" class="icon border noglobe" title="$noloc" onclick="jotClearLocation(); return false;"></a>
</div>
- <div id="profile-title-wrapper" class="jot-tool" style="display: none;" >
- <a id="profile-title" class="icon border article" title="$title" onclick="jotTitle(); return false;"></a>
- </div>
<div id="profile-jot-plugin-wrapper" style="display: none;">
$jotplugins
diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css
index 0d8b54698..59425a05a 100644
--- a/view/theme/dispy/style.css
+++ b/view/theme/dispy/style.css
@@ -342,6 +342,19 @@ aside #viewcontacts { text-align: right;}
#acl-deny-text-end { clear: both; }
+#jot-title-desc {
+ color: #cccccc;
+}
+
+#jot-title-wrapper {
+ margin-bottom: 5px;
+}
+
+#jot-title {
+ border: 1px solid #cccccc;
+ width: 530px;
+}
+
/**
* section
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index c6582d068..f3c0e7a90 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -269,6 +269,19 @@ div.wall-item-content-wrapper.shiny {
float: left;
}
+#jot-title-desc {
+ color: #cccccc;
+}
+
+#jot-title-wrapper {
+ margin-bottom: 5px;
+}
+
+#jot-title {
+ border: 1px solid #cccccc;
+ width: 530px;
+}
+
.fakelink, .fakelink:visited, .fakelink:link {
color: #3465a4;
text-decoration: none;
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 222edc166..daacba7fc 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -131,6 +131,20 @@ blockquote:before {
float: left;
}
+#jot-title-desc {
+ color: #cccccc;
+}
+
+#jot-title-wrapper {
+ margin-bottom: 5px;
+}
+
+#jot-title {
+ border: 1px solid #cccccc;
+ width: 530px;
+}
+
+
.fakelink, .fakelink:visited {
color: #15607B;
text-decoration: none;
diff --git a/view/theme/quattro/jot.tpl b/view/theme/quattro/jot.tpl
index d65ac8b17..9aeea2df9 100644
--- a/view/theme/quattro/jot.tpl
+++ b/view/theme/quattro/jot.tpl
@@ -12,8 +12,11 @@
<input type="hidden" name="return" value="$return_path" />
<input type="hidden" name="location" id="jot-location" value="$defloc" />
<input type="hidden" name="coord" id="jot-coord" value="" />
- <input type="hidden" name="title" id="jot-title" value="" />
<input type="hidden" name="post_id" value="$post_id" />
+ <div id="jot-title-wrapper">
+ <span id="jot-title-desc" style="display: none;">$addtitle</span>
+ <input type="text" name="title" id="jot-title" value="" style="display: none;" />
+ </div>
<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
@@ -43,9 +46,6 @@
<div id="profile-nolocation-wrapper" style="display: none;" >
<a id="profile-nolocation" class="noglobe" title="$noloc" onclick="jotClearLocation();return false;">no location</a>
</div>
- <div id="profile-title-wrapper" style="display: $visitor;" >
- <a id="profile-title" class="article" title="$title" onclick="jotTitle();return false;">title</a>
- </div>
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="$lockstate" title="$permset" >permissions</a>$bang
</div>
diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less
index 2e61b9182..a29559859 100644
--- a/view/theme/quattro/quattro.less
+++ b/view/theme/quattro/quattro.less
@@ -528,6 +528,8 @@ section {
#about-jot-submit-wrapper {
margin-top: 15px;
}
+
+
/** buttons **/
/*input[type="submit"] {
border: 0px;
diff --git a/view/theme/testbubble/jot-header.tpl b/view/theme/testbubble/jot-header.tpl
index 62351e173..dba6cfd2b 100644
--- a/view/theme/testbubble/jot-header.tpl
+++ b/view/theme/testbubble/jot-header.tpl
@@ -8,6 +8,7 @@ var textlen = 0;
function initEditor(cb) {
if (editor==false) {
$("#profile-jot-text-loading").show();
+ $("#jot-title-desc").show();
tinyMCE.init({
theme : "advanced",
mode : "specific_textareas",
@@ -122,6 +123,13 @@ function initEditor(cb) {
$(this).val("");
initEditor();
});
+
+ $("#jot-title-desc").click(function() {
+ $("#jot-title-desc").hide();
+ $("#jot-title").show();
+ });
+
+
var uploader = new window.AjaxUpload(
'wall-image-upload',
{ action: 'wall_upload/$nickname',
diff --git a/view/theme/testbubble/jot.tpl b/view/theme/testbubble/jot.tpl
index 7ccaf2aa2..dce5fb616 100644
--- a/view/theme/testbubble/jot.tpl
+++ b/view/theme/testbubble/jot.tpl
@@ -14,9 +14,13 @@
<input type="hidden" name="return" value="$return_path" />
<input type="hidden" name="location" id="jot-location" value="$defloc" />
<input type="hidden" name="coord" id="jot-coord" value="" />
- <input type="hidden" name="title" id="jot-title" value="" />
<input type="hidden" name="post_id" value="$post_id" />
+ <div id="jot-title-wrapper">
+ <span id="jot-title-desc" style="display: none;">$addtitle</span>
+ <input type="text" name="title" id="jot-title" value="" style="display: none;" />
+ </div>
+
<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
{{ if $content }}<script>initEditor();</script>{{ endif }}
@@ -42,9 +46,6 @@
<div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
<a id="profile-nolocation" class="icon border noglobe" title="$noloc" onclick="jotClearLocation(); return false;"></a>
</div>
- <div id="profile-title-wrapper" class="jot-tool" style="display: none;" >
- <a id="profile-title" class="icon border article" title="$title" onclick="jotTitle(); return false;"></a>
- </div>
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
diff --git a/view/theme/testbubble/style.css b/view/theme/testbubble/style.css
index d1d344ef9..5c31f2f41 100644
--- a/view/theme/testbubble/style.css
+++ b/view/theme/testbubble/style.css
@@ -744,6 +744,20 @@ ul .sidebar-group-li .icon{
#profile-jot-submit-wrapper {
}
+#jot-title-desc {
+ color: #cccccc;
+}
+
+#jot-title-wrapper {
+ margin-bottom: 5px;
+}
+
+#jot-title {
+ border: 1px solid #cccccc;
+ width: 460px;
+}
+
+
#profile-jot-perms, #profile-jot-submit {
width: 60px;
font-size: 12px;