Changeset 4176 in subversion
- Timestamp:
- Nov 4, 2010 5:59:55 AM (3 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 4 edited
- 5 moved
-
program/steps/addressbook/edit.inc (modified) (2 diffs)
-
program/steps/addressbook/show.inc (modified) (1 diff)
-
program/steps/mail/show.inc (modified) (5 diffs)
-
program/steps/settings/edit_identity.inc (modified) (1 diff)
-
skins/default/templates/contact.html (moved) (moved from trunk/roundcubemail/skins/default/templates/showcontact.html)
-
skins/default/templates/contactadd.html (moved) (moved from trunk/roundcubemail/skins/default/templates/addcontact.html)
-
skins/default/templates/contactedit.html (moved) (moved from trunk/roundcubemail/skins/default/templates/editcontact.html)
-
skins/default/templates/identityedit.html (moved) (moved from trunk/roundcubemail/skins/default/templates/editidentity.html)
-
skins/default/templates/messageprint.html (moved) (moved from trunk/roundcubemail/skins/default/templates/printmessage.html)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/addressbook/edit.inc
r4151 r4176 80 80 81 81 $form_start = $form_end = ''; 82 82 83 83 if (empty($EDIT_FORM)) { 84 84 $hiddenfields = new html_hiddenfield(array( 85 85 'name' => '_source', 'value' => get_input_value('_source', RCUBE_INPUT_GPC))); 86 86 $hiddenfields->add(array('name' => '_gid', 'value' => $CONTACTS->group_id)); 87 87 88 88 if (($result = $CONTACTS->get_result()) && ($record = $result->first())) 89 89 $hiddenfields->add(array('name' => '_cid', 'value' => $record['ID'])); 90 90 91 91 $form_start = $RCMAIL->output->request_form(array( 92 92 'name' => "form", 'method' => "post", … … 106 106 $OUTPUT->add_handler('contacteditform', 'rcmail_contact_editform'); 107 107 108 if (!$CONTACTS->get_result() && $OUTPUT->template_exists(' addcontact'))109 $OUTPUT->send(' addcontact');108 if (!$CONTACTS->get_result() && $OUTPUT->template_exists('contactadd')) 109 $OUTPUT->send('contactadd'); 110 110 111 111 // this will be executed if no template for addcontact exists 112 $OUTPUT->send(' editcontact');112 $OUTPUT->send('contactedit'); -
trunk/roundcubemail/program/steps/addressbook/show.inc
r4151 r4176 127 127 $OUTPUT->add_handler('contactdetails', 'rcmail_contact_details'); 128 128 129 $OUTPUT->send(' showcontact');129 $OUTPUT->send('contact'); -
trunk/roundcubemail/program/steps/mail/show.inc
r4172 r4176 150 150 { 151 151 global $PRINT_MODE, $MESSAGE; 152 152 153 153 $out = $ol = ''; 154 154 … … 183 183 184 184 $out = html::tag('ul', $attrib, $ol, html::$common_attrib); 185 } 186 185 } 186 187 187 return $out; 188 188 } … … 191 191 { 192 192 global $MESSAGE, $RCMAIL; 193 193 194 194 if (!$attrib['id']) 195 195 $attrib['id'] = 'rcmremoteobjmsg'; 196 196 197 197 $msg = Q(rcube_label('blockedimages')) . ' '; 198 198 $msg .= html::a(array('href' => "#loadimages", 'onclick' => JS_OBJECT_NAME.".command('load-images')"), Q(rcube_label('showimages'))); 199 199 200 200 // add link to save sender in addressbook and reload message 201 201 if ($MESSAGE->sender['mailto'] && $RCMAIL->config->get('show_images') == 1) { … … 203 203 Q(rcube_label(array('name' => 'alwaysshow', 'vars' => array('sender' => $MESSAGE->sender['mailto']))))); 204 204 } 205 205 206 206 $RCMAIL->output->add_gui_object('remoteobjectsmsg', $attrib['id']); 207 207 return html::div($attrib, $msg); … … 230 230 231 231 232 if ($RCMAIL->action=='print' && $OUTPUT->template_exists(' printmessage'))233 $OUTPUT->send(' printmessage', false);232 if ($RCMAIL->action=='print' && $OUTPUT->template_exists('messageprint')) 233 $OUTPUT->send('messageprint', false); 234 234 else if ($RCMAIL->action=='preview' && $OUTPUT->template_exists('messagepreview')) 235 235 $OUTPUT->send('messagepreview', false); -
trunk/roundcubemail/program/steps/settings/edit_identity.inc
r4085 r4176 154 154 $OUTPUT->set_pagetitle(rcube_label(($RCMAIL->action=='add-identity' ? 'newidentity' : 'edititem'))); 155 155 156 if ($RCMAIL->action=='add-identity' && $OUTPUT->template_exists(' addidentity'))157 $OUTPUT->send(' addidentity');156 if ($RCMAIL->action=='add-identity' && $OUTPUT->template_exists('identityadd')) 157 $OUTPUT->send('identityadd'); 158 158 159 $OUTPUT->send(' editidentity');159 $OUTPUT->send('identityedit'); 160 160 161 161
Note: See TracChangeset
for help on using the changeset viewer.
