Merge pull request #2686 from rabuzarus/2107-contact_edit

frio: templates for contact_edit and crepair
This commit is contained in:
Michael Vogel 2016-07-26 09:33:37 +02:00 committed by GitHub
commit 0deea97cf2
11 changed files with 315 additions and 71 deletions

View file

@ -7,10 +7,10 @@ function contact_profile_assign($current,$foreign_net) {
$disabled = (($foreign_net) ? ' disabled="true" ' : '');
$o .= "<select id=\"contact-profile-selector\" $disabled name=\"profile-assign\" />\r\n";
$o .= "<select id=\"contact-profile-selector\" class=\"form-control\" $disabled name=\"profile-assign\" />\r\n";
$r = q("SELECT `id`, `profile-name` FROM `profile` WHERE `uid` = %d",
intval($_SESSION['uid']));
intval($_SESSION['uid']));
if(count($r)) {
foreach($r as $rr) {