Changeset 32694


Ignore:
Timestamp:
Jan 6, 2022, 11:45:22 AM (3 years ago)
Author:
ddtddt
Message:

[AddUsersNotes] compatybilité piwigo 12 no note for guest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AddUsersNotes/main.inc.php

    r32693 r32694  
    7171
    7272  // add the "Notes" field in user profile form
    73   $search = '<div class="user-property-group-container">
     73  $search = '<div id="UserList" class="UserListPopIn">
     74
     75  <div class="UserListPopInContainer">
     76
     77    <a class="icon-cancel CloseUserList"></a>
     78    <div class="summary-properties-update-container">
     79      <div class="summary-properties-container">
     80        <div class="summary-container">
     81          <div class="user-property-initials">
     82            <div>
     83              <span class="icon-blue"><!-- Initials (JP) --></span>
     84            </div>
     85          </div>
     86          <div class="user-property-username">
     87            <span class="edit-username-title"><!-- Name (Jessy Pinkman) --></span>
     88            <span class="edit-username-specifier"><!-- You specifire (you) --></span>
     89            <span class="edit-username icon-pencil"></span>
     90          </div>
     91          <div class="user-property-username-change">
     92            <div class="summary-input-container">
     93              <input class="user-property-input user-property-input-username" value="" placeholder="{\'Username\'|@translate}" />
     94            </div>
     95            <span class="icon-ok edit-username-validate"></span>
     96            <span class="icon-cancel-circled edit-username-cancel"></span>
     97          </div>
     98          <div class="user-property-password-container">
     99            <div class="user-property-password edit-password">
     100              <p class="user-property-button"><span class="icon-key user-edit-icon"> </span>{\'Change Password\'|@translate}</p>
     101            </div>
     102            <div class="user-property-password-change">
     103              <div class="summary-input-container">
     104              <input class="user-property-input user-property-input-password" value="" placeholder="{\'Password\'|@translate}" />
     105              </div>
     106              <span class="icon-ok edit-password-validate"></span>
     107              <span class="icon-cancel-circled edit-password-cancel"></span>
     108            </div>
     109            <div class="user-property-permissions">
     110              <p class="user-property-button"> <span class="icon-lock user-edit-icon"> </span><a href="#" >{\'Permissions\'|@translate}</a></p>
     111            </div>
     112          </div>
     113          <div class="user-property-register-visit">
     114            <span class="user-property-register"><!-- Registered date XX/XX/XXXX --></span>
     115            <span class="icon-calendar"></span>
     116            <span class="user-property-last-visit"><!-- Last Visit date XX/XX/XXXX --></span>
     117          </div>
     118        </div>
     119        <div class="properties-container">
     120          <div class="user-property-column-title">
     121            <p>{\'Properties\'|@translate}</p>
     122          </div>
     123          <div class="user-property-email">
     124            <p class="user-property-label">{\'Email Adress\'|@translate}</p>
     125            <input type="text" class="user-property-input" value="contact@jessy-pinkman.com" disabled="false"/>
     126          </div>
     127          <div class="user-property-status">
     128            <p class="user-property-label">{\'Status\'|@translate}
     129                <span class="icon-help-circled"
     130                  title="<div class=\'tooltip-status-content\'>
     131                    <div class=\'tooltip-status-row\'><span class=\'tooltip-col1\'>{\'user_status_webmaster\'|translate}</span><span class=\'tooltip-col2\'>{\'Has access to all administration functionnalities. Can manage both configuration and content.\'|translate}</span></div>
     132                    <div class=\'tooltip-status-row\'><span class=\'tooltip-col1\'>{\'user_status_admin\'|translate}</span><span class=\'tooltip-col2\'>{\'Has access to administration. Can only manage content: photos/albums/users/tags/groups.\'|translate}</span></div>
     133                    <div class=\'tooltip-status-row\'><span class=\'tooltip-col1\'>{\'user_status_normal\'|translate}</span><span class=\'tooltip-col2\'>{\'No access to administration, can see private content with appropriate permissions.\'|translate}</span></div>
     134                    <div class=\'tooltip-status-row\'><span class=\'tooltip-col1\'>{\'user_status_generic\'|translate}</span><span class=\'tooltip-col2\'>{\'Can be shared by several individuals without conflict (they cannot change the password).\'|translate}</span></div>
     135                    <div class=\'tooltip-status-row\'><span class=\'tooltip-col1\'>{\'user_status_guest\'|translate}</span><span class=\'tooltip-col2\'>{\'Equivalent to deactivation. The user is still in the list, but can no longer log in.\'|translate}</span></div>
     136                  </div">
     137                </span>
     138            </p>
     139            <div class="user-property-select-container">
     140              <select name="status" class="user-property-select">
     141                <option value="webmaster">{\'user_status_webmaster\'|@translate}</option>
     142                <option value="admin">{\'user_status_admin\'|@translate}</option>
     143                <option value="normal">{\'user_status_normal\'|@translate}</option>
     144                <option value="generic">{\'user_status_generic\'|@translate}</option>
     145                <option value="guest">{\'user_status_guest\'|@translate}  ({\'Deactivated\'|@translate})</option>
     146              </select>
     147            </div>
     148          </div>
     149          <div class="user-property-level">
     150            <p class="user-property-label">{\'Privacy level\'|@translate}</p>
     151            <div class="user-property-select-container">
     152              <select name="privacy" class="user-property-select">
     153                <option value="0">{\'Level 0\'|@translate}</option>
     154                <option value="1">{\'Level 1\'|@translate}</option>
     155                <option value="2">{\'Level 2\'|@translate}</option>
     156                <option value="4">{\'Level 4\'|@translate}</option>
     157                <option value="8">{\'Level 8\'|@translate}</option>
     158              </select>
     159            </div>
     160          </div>
     161          <div class="user-property-group-container">
    74162            <p class="user-property-label">{\'Groups\'|@translate}</p>
    75163            <div class="user-property-select-container user-property-group">
Note: See TracChangeset for help on using the changeset viewer.