Changeset 4969 in subversion
- Timestamp:
- Jul 26, 2011 1:21:26 PM (22 months ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 6 edited
-
program/steps/addressbook/edit.inc (modified) (1 diff)
-
program/steps/addressbook/func.inc (modified) (1 diff)
-
program/steps/addressbook/show.inc (modified) (1 diff)
-
skins/default/addressbook.css (modified) (1 diff)
-
skins/default/templates/contactadd.html (modified) (1 diff)
-
skins/default/templates/contactedit.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/addressbook/edit.inc
r4901 r4969 55 55 56 56 $SOURCE_ID = $source; 57 57 rcmail_set_sourcename($CONTACTS); 58 58 59 59 function rcmail_get_edit_record() -
trunk/roundcubemail/program/steps/addressbook/func.inc
r4965 r4969 161 161 } 162 162 163 function rcmail_set_sourcename($abook) 164 { 165 global $OUTPUT; 166 167 // get address book name (for display) 168 if ($abook && $_SESSION['addressbooks_count'] > 1) { 169 $name = $abook->get_name(); 170 if (!$name && $source == 0) { 171 $name = rcube_label('personaladrbook'); 172 } 173 $OUTPUT->set_env('sourcename', $name); 174 } 175 } 176 163 177 164 178 function rcmail_directory_list($attrib) -
trunk/roundcubemail/program/steps/addressbook/show.inc
r4892 r4969 35 35 36 36 // get address book name (for display) 37 if ($_SESSION['addressbooks_count'] > 1) { 38 $name = $CONTACTS->get_name(); 39 if (!$name && $source == 0) { 40 $name = rcube_label('personaladrbook'); 41 } 42 $OUTPUT->set_env('sourcename', $name); 43 } 37 rcmail_set_sourcename($CONTACTS); 44 38 45 39 // return raw photo of the given contact -
trunk/roundcubemail/skins/default/addressbook.css
r4958 r4969 391 391 color: #666; 392 392 font-size: 10px; 393 margin -left:2px;394 } 393 margin: -5px 0 8px 2px; 394 } -
trunk/roundcubemail/skins/default/templates/contactadd.html
r4901 r4969 11 11 <div id="contact-details" class="boxcontent"> 12 12 <form name="editform" method="post" action="./"> 13 < div id="sourcename" style="height: 20px">14 < roundcube:label name="addressbook" />: <roundcube:object name="sourceselector" class="hint" id="sourceselect" />15 < /div>13 <roundcube:if condition="strlen(env:sourcename)" /> 14 <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:object name="sourceselector" class="hint" id="sourceselect" /></div> 15 <roundcube:endif /> 16 16 <div id="contactphoto"> 17 17 <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" /> -
trunk/roundcubemail/skins/default/templates/contactedit.html
r4424 r4969 11 11 <div id="contact-details" class="boxcontent"> 12 12 <form name="editform" method="post" action="./"> 13 <roundcube:if condition="strlen(env:sourcename)" /> 14 <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:var name="env:sourcename" /></div> 15 <roundcube:endif /> 13 16 <div id="contactphoto"> 14 17 <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" />
Note: See TracChangeset
for help on using the changeset viewer.
