aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-05 14:41:04 -0800
committerfriendica <info@friendica.com>2015-01-05 14:41:04 -0800
commit3df3ab563004423477640393eb8e50cb3d2fe8d6 (patch)
treeb1b82983500c69c5a097c49567e87836288f26df /view/tpl
parent05a237b808783deb3fc1de2f9e2bbb7f03c60b21 (diff)
parentc45456fa3342bc72d30c20bafd029913930130aa (diff)
downloadvolse-hubzilla-3df3ab563004423477640393eb8e50cb3d2fe8d6.tar.gz
volse-hubzilla-3df3ab563004423477640393eb8e50cb3d2fe8d6.tar.bz2
volse-hubzilla-3df3ab563004423477640393eb8e50cb3d2fe8d6.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/admin_site.tpl8
-rwxr-xr-xview/tpl/contact_slider.tpl2
-rwxr-xr-xview/tpl/main_slider.tpl4
3 files changed, 7 insertions, 7 deletions
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl
index 0003ddfc0..caeddeecb 100755
--- a/view/tpl/admin_site.tpl
+++ b/view/tpl/admin_site.tpl
@@ -1,15 +1,15 @@
<script>
$(function(){
- $("#cnftheme").fancybox({
+ $("#cnftheme").colorbox({
width: 800,
- autoDimensions: false,
- onStart: function(){
+ onLoad: function(){
var theme = $("#id_theme :selected").val();
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
},
onComplete: function(){
- $("div#fancybox-content form").submit(function(e){
+ $(this).colorbox.resize();
+ $("#colorbox form").submit(function(e){
var url = $(this).attr('action');
// can't get .serialize() to work...
var data={};
diff --git a/view/tpl/contact_slider.tpl b/view/tpl/contact_slider.tpl
index 93d0cc625..09a79edd8 100755
--- a/view/tpl/contact_slider.tpl
+++ b/view/tpl/contact_slider.tpl
@@ -1,4 +1,4 @@
<div id="contact-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="{{$val}}" /></div>
<script>
- $("#contact-range").slider({ from: {{$min|default:'0'}}, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } });
+ $("#contact-range").jRange({ from: {{$min|default:'0'}}, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], width:'100%', showLabels: false, onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } });
</script>
diff --git a/view/tpl/main_slider.tpl b/view/tpl/main_slider.tpl
index fbc290df1..c8f3d2e06 100755
--- a/view/tpl/main_slider.tpl
+++ b/view/tpl/main_slider.tpl
@@ -2,8 +2,8 @@
<script>
var old_cmin = 0;
var old_cmax = 99;
- $("#main-range").slider({ from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) {
- var carr = v.split(";");
+ $("#main-range").jRange({ isRange: true, from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], width:'100%', showLabels: false, onstatechange: function(v) {
+ var carr = v.split(",");
if(carr[0] != bParam_cmin) {
old_cmin = bParam_cmin;
bParam_cmin = carr[0];