Merge remote-tracking branch 'upstream/master'
Conflicts: mod/crepair.php
This commit is contained in:
		
				commit
				
					
						aed28a24f1
					
				
			
		
					 35 changed files with 9339 additions and 8738 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,4 @@
 | 
			
		|||
{{*
 | 
			
		||||
 *	AUTOMATICALLY GENERATED TEMPLATE
 | 
			
		||||
 *	DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
 | 
			
		||||
 *
 | 
			
		||||
 *}}
 | 
			
		||||
 | 
			
		||||
<div id="acl-wrapper">
 | 
			
		||||
	<input id="acl-search">
 | 
			
		||||
	<a href="#" id="acl-showall">{{$showall}}</a>
 | 
			
		||||
| 
						 | 
				
			
			@ -24,7 +20,8 @@ $(document).ready(function() {
 | 
			
		|||
	if(typeof acl=="undefined"){
 | 
			
		||||
		acl = new ACL(
 | 
			
		||||
			baseurl+"/acl",
 | 
			
		||||
			[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
 | 
			
		||||
			[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ],
 | 
			
		||||
			{{$features.aclautomention}}
 | 
			
		||||
		);
 | 
			
		||||
	}
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -89,6 +89,7 @@
 | 
			
		|||
	{{include file="field_checkbox.tpl" field=$enotify_no_content}}
 | 
			
		||||
	{{include file="field_checkbox.tpl" field=$private_addons}}	
 | 
			
		||||
	{{include file="field_checkbox.tpl" field=$disable_embedded}}
 | 
			
		||||
	{{include file="field_checkbox.tpl" field=$allow_users_remote_self}}
 | 
			
		||||
	<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
 | 
			
		||||
	
 | 
			
		||||
	<h3>{{$advanced}}</h3>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,3 @@
 | 
			
		|||
{{*
 | 
			
		||||
 *	AUTOMATICALLY GENERATED TEMPLATE
 | 
			
		||||
 *	DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
 | 
			
		||||
 *
 | 
			
		||||
 *}}
 | 
			
		||||
 | 
			
		||||
<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
 | 
			
		||||
	<div class="contact-entry-photo-wrapper" >
 | 
			
		||||
| 
						 | 
				
			
			@ -12,15 +7,16 @@
 | 
			
		|||
 | 
			
		||||
			<a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" /></a>
 | 
			
		||||
 | 
			
		||||
			<input type="checkbox" class="contact-select" name="contact_batch[]" value="{{$contact.id}}">
 | 
			
		||||
			{{if $contact.photo_menu}}
 | 
			
		||||
			<span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">menu</span>
 | 
			
		||||
                <div class="contact-photo-menu" id="contact-photo-menu-{{$contact.id}}">
 | 
			
		||||
                    <ul>
 | 
			
		||||
						{{foreach $contact.photo_menu as $c}}
 | 
			
		||||
						{{foreach $contact.photo_menu as $k=>$c}}
 | 
			
		||||
						{{if $c.2}}
 | 
			
		||||
						<li><a target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
 | 
			
		||||
						<li><a class="{{$k}}" target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
 | 
			
		||||
						{{else}}
 | 
			
		||||
						<li><a href="{{$c.1}}">{{$c.0}}</a></li>
 | 
			
		||||
						<li><a class="{{$k}}" href="{{$c.1}}">{{$c.0}}</a></li>
 | 
			
		||||
						{{/if}}
 | 
			
		||||
						{{/foreach}}
 | 
			
		||||
                    </ul>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,4 @@
 | 
			
		|||
{{*
 | 
			
		||||
 *	AUTOMATICALLY GENERATED TEMPLATE
 | 
			
		||||
 *	DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
 | 
			
		||||
 *
 | 
			
		||||
 *}}
 | 
			
		||||
 | 
			
		||||
<h1>{{$header}}{{if $total}} ({{$total}}){{/if}}</h1>
 | 
			
		||||
 | 
			
		||||
{{if $finding}}<h4>{{$finding}}</h4>{{/if}}
 | 
			
		||||
| 
						 | 
				
			
			@ -18,11 +14,44 @@
 | 
			
		|||
 | 
			
		||||
{{$tabs}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<form action="{{$baseurl}}/contacts/batch/" method="POST">
 | 
			
		||||
{{foreach $contacts as $contact}}
 | 
			
		||||
	{{include file="contact_template.tpl"}}
 | 
			
		||||
{{/foreach}}
 | 
			
		||||
<div id="contact-edit-end"></div>
 | 
			
		||||
<div id="contats-actions">
 | 
			
		||||
{{foreach $batch_actions as $n=>$l}}
 | 
			
		||||
 <input class="batch-action" name="{{$n}}" value="{{$l}}" type="submit">
 | 
			
		||||
 {{/foreach}}
 | 
			
		||||
 </div>
 | 
			
		||||
</form>
 | 
			
		||||
<script>
 | 
			
		||||
 $(document).ready(function() {
 | 
			
		||||
  // javascript dialog to batch actions
 | 
			
		||||
  $(".batch-action").click(function(e){
 | 
			
		||||
    if (confirm($(this).attr('value')+" ?")) {
 | 
			
		||||
     return true;
 | 
			
		||||
    } else {
 | 
			
		||||
     e.preventDefault();
 | 
			
		||||
     return false;
 | 
			
		||||
    }
 | 
			
		||||
  });
 | 
			
		||||
 
 | 
			
		||||
  // add javascript confirm dialog to "drop" links. Plain html url have "?confirm=1" to show confirmation form, we need to remove it
 | 
			
		||||
  $(".drop").each(function() {
 | 
			
		||||
   $(this).attr('href', $(this).attr('href').replace("confirm=1","") );
 | 
			
		||||
   $(this).click(function(e){
 | 
			
		||||
    if (confirm("{{$contact_drop_confirm}}")) {
 | 
			
		||||
     return true;
 | 
			
		||||
    } else {
 | 
			
		||||
     e.preventDefault();
 | 
			
		||||
     return false;
 | 
			
		||||
    }
 | 
			
		||||
   });
 | 
			
		||||
   
 | 
			
		||||
  });
 | 
			
		||||
 });
 | 
			
		||||
 </script>
 | 
			
		||||
 | 
			
		||||
{{$paginate}}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,3 @@
 | 
			
		|||
{{*
 | 
			
		||||
 *	AUTOMATICALLY GENERATED TEMPLATE
 | 
			
		||||
 *	DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
 | 
			
		||||
 *
 | 
			
		||||
 *}}
 | 
			
		||||
 | 
			
		||||
<form id="crepair-form" action="crepair/{{$contact_id}}" method="post" >
 | 
			
		||||
 | 
			
		||||
<h4>{{$contact_name}}</h4>
 | 
			
		||||
| 
						 | 
				
			
			@ -43,6 +37,10 @@
 | 
			
		|||
<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">{{$label_photo}}</label>
 | 
			
		||||
<input type="text" id="crepair-photo" class="crepair-input" name="photo" value="" />
 | 
			
		||||
<div class="clear"></div>
 | 
			
		||||
{{if $allow_remote_self eq 1}}
 | 
			
		||||
<h4>{{$label_remote_self}}</h4>
 | 
			
		||||
{{include file="field_checkbox.tpl" field=$remote_self}}
 | 
			
		||||
{{/if}}
 | 
			
		||||
 | 
			
		||||
{{include file="field_checkbox.tpl" field=$contact_self}}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue