diff --git a/mod/poke.php b/mod/poke.php index db1c94963..45a577cda 100644 --- a/mod/poke.php +++ b/mod/poke.php @@ -1,4 +1,18 @@ -get_baseurl(); - $a->page['htmlhead'] .= ''; - $a->page['htmlhead'] .= <<< EOT + $head_tpl = get_markup_template('poke_head.tpl'); + $a->page['htmlhead'] .= replace_macros($head_tpl,array( + '$baseurl' => $a->get_baseurl(true), + '$base' => $base + )); - -EOT; $parent = ((x($_GET,'parent')) ? intval($_GET['parent']) : '0'); - $verbs = get_poke_verbs(); $shortlist = array(); diff --git a/view/global.css b/view/global.css index c2f584003..55f44ee51 100644 --- a/view/global.css +++ b/view/global.css @@ -212,3 +212,20 @@ a { clip: rect(0,0,0,0); border: 0; } + +/* poke */ +#poke-desc { + margin: 5px 0 10px; +} + +#poke-wrapper { + padding: 10px 0 0px; +} + +#poke-recipient, #poke-action, #poke-privacy-settings { + margin: 10px 0 30px; +} + +#poke-recip-label, #poke-action-label, #prvmail-message-label { + margin: 10px 0 10px; +} diff --git a/view/templates/poke_content.tpl b/view/templates/poke_content.tpl index 857dfb200..18191de03 100644 --- a/view/templates/poke_content.tpl +++ b/view/templates/poke_content.tpl @@ -3,31 +3,33 @@
{{$desc}}
-
-
-
-
{{$clabel}}
-
- - - -
-
-
{{$choice}}
-
-
- -
-
-
{{$prv_desc}}
- -
-
- -
+
+
+ +
+
{{$clabel}}
+ + + +
+ +
+
{{$choice}}
+ +
+ +
+
{{$prv_desc}}
+ +
+ + + +
+
diff --git a/view/templates/poke_head.tpl b/view/templates/poke_head.tpl new file mode 100644 index 000000000..6e30eb7fe --- /dev/null +++ b/view/templates/poke_head.tpl @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index ae2530b6a..16c01c6df 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -959,7 +959,7 @@ input#dfrn-url { } .wall-item-content-wrapper.comment { -# margin-left: 50px; + /*margin-left: 50px;*/ background: #EEEEEE; } diff --git a/view/theme/frost-mobile/style.css b/view/theme/frost-mobile/style.css index f4b46fed8..5f78cfc4b 100644 --- a/view/theme/frost-mobile/style.css +++ b/view/theme/frost-mobile/style.css @@ -2500,6 +2500,22 @@ a.mail-list-link { clear: both; } +#poke-desc { + margin: 5px 0 10px; +} + +#poke-wrapper { + padding: 10px 0 0px; +} + +#poke-recipient, #poke-action, #poke-privacy-settings { + margin: 10px 0 30px; +} + +#poke-recip-label, #poke-action-label, #prvmail-message-label { + margin: 10px 0 10px; +} + #sidebar-group-list ul { list-style-type: none; } @@ -4217,7 +4233,7 @@ ul.notifications-menu-popup { #recip { } -.autocomplete-w1 { background: #ffffff; no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; } +.autocomplete-w1 { background: #ffffff no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; } .autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px; _margin:0; _overflow-x:hidden; } .autocomplete .selected { background:#F0F0F0; } .autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; } diff --git a/view/theme/frost/style.css b/view/theme/frost/style.css index 8b87c3bd4..396f32cf9 100644 --- a/view/theme/frost/style.css +++ b/view/theme/frost/style.css @@ -2315,6 +2315,22 @@ a.mail-list-link { clear: both; } +#poke-desc { + margin: 5px 0 10px; +} + +#poke-wrapper { + padding: 10px 0 20px; +} + +#poke-recipient, #poke-action, #poke-privacy-settings { + margin: 10px 0 30px; +} + +#poke-recip-label, #poke-action-label, #prvmail-message-label { + margin: 10px 0 10px; +} + #sidebar-group-list ul { list-style-type: none; } diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index 46d8902ae..bcb47367f 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -291,7 +291,7 @@ section { margin: 10px 0 0 230px; } -.login-form, +.login-form { margin-top: 10px; } @@ -2693,6 +2693,13 @@ margin-left: 0px; border: 1px solid #7C7D7B; } +/* ========== */ +/* = Poke = */ +/* ========== */ +#poke-recip { + float: none; +} + /* ================= */ /* = Notifications = */ /* ================= */ diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 1c03edc6b..a35e6d21d 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -2496,6 +2496,7 @@ a.mail-list-link { border: none; } + /* ========== */ /* = Events = */ /* ========== */