Changeset 30430
- Timestamp:
- Nov 11, 2014, 10:35:31 PM (9 years ago)
- Location:
- extensions/see_photos_by_user
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/see_photos_by_user/js/see.js
r30429 r30430 2 2 3 3 var textcolor; 4 var outline;5 4 var shapesee; 6 $('.seepbu').each(function(){ 7 8 /*var weight = $(this).data('weight'); 9 if(weight>5){$(this).parent().addClass('color1').css('color:red !important') 10 textcolor = '#ffffff'; 11 outline ='#ffffff'; 12 }else{ 13 textcolor = 'red'; 14 outline ='#ffffff'; 15 }*/ 16 17 var col=$("body").css('color'); 18 shapesee=$(this).data('shape'); 19 20 var color = $(this).data('color'); 21 if(color!=''){ 22 col=color 23 } 24 textcolor = col; 25 outline =col; 26 5 $('#ulseepbu').each(function(){ 6 textcolor = $(this).data('color') ? $(this).data('color'):$("body").css('color'); 7 shapesee=$(this).data('shape') ? $(this).data('shape'):'sphere'; 27 8 }); 28 9 29 10 if( ! $('#myCanvas').tagcanvas({ 30 11 shape: shapesee, 31 12 textColour: textcolor, 32 outlineColour: outline,13 outlineColour: textcolor, 33 14 outlineThickness : 1, 34 15 textHeight: 16, -
extensions/see_photos_by_user/pagespba.php
r30429 r30430 80 80 'USERSSPBYL' => $userslistecloud['username'], 81 81 'USERSSPBYLC' => $userslistecloud['PBU'], 82 'USERSSPBYCOLOR' => $conf['see_photos_by_user_color'],83 'USERSSPBYSHAPE' => $conf['see_photos_by_user_shape'],84 82 'USERSSPBYWEIGHT' => $wheight, 85 83 ); … … 91 89 92 90 $linkusersliste = get_root_url() . 'index.php?/user-'; 93 $template->assign('USERSSPBY', $linkusersliste); 91 $template->assign(array( 92 'USERSSPBY'=> $linkusersliste, 93 'USERSSPBYCOLOR' => $conf['see_photos_by_user_color'], 94 'USERSSPBYSHAPE' => $conf['see_photos_by_user_shape'], 95 )); 94 96 95 97 -
extensions/see_photos_by_user/pagespba.tpl
r30429 r30430 15 15 16 16 <canvas width="600" height="300" id="myCanvas"> 17 <ul >17 <ul id="ulseepbu" data-shape="{$USERSSPBYSHAPE}" data-color="{$USERSSPBYCOLOR}"> 18 18 {foreach from=$userslistecloud1 item=userslistecloud} 19 19 <li> 20 <a href = "{$USERSSPBY}{$userslistecloud.USERSSPBYLID}-{$userslistecloud.USERSSPBYL}">{$userslistecloud.USERSSPBYL} <span data-shape="{$userslistecloud.USERSSPBYSHAPE}" data-color="{$userslistecloud.USERSSPBYCOLOR}" data-weight="{$userslistecloud.USERSSPBYLC}"class="menuInfoCat seepbu">[{$userslistecloud.USERSSPBYLC}]</span></a><br>20 <a href = "{$USERSSPBY}{$userslistecloud.USERSSPBYLID}-{$userslistecloud.USERSSPBYL}">{$userslistecloud.USERSSPBYL} <span class="menuInfoCat seepbu">[{$userslistecloud.USERSSPBYLC}]</span></a><br> 21 21 </li> 22 22 {/foreach}
Note: See TracChangeset
for help on using the changeset viewer.