Changeset 1550:739428f42629 for admin
- Timestamp:
- 08/23/13 20:56:22 (11 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/auth.php
r1484 r1550 324 324 } 325 325 if ($msg) { 326 echo '<p class=" message">'.$msg.'</p>';326 echo '<p class="success">'.$msg.'</p>'; 327 327 } 328 328 -
admin/js/common.js
r1525 r1550 373 373 $('.message').backgroundFade({sColor:'#cccccc',eColor:'#666666',steps:20}); 374 374 $('.error').backgroundFade({sColor:'#ffdec8',eColor:'#ffbaba',steps:20}); 375 $('.success').backgroundFade({sColor:'#91ff4d',eColor:'#baff8e',steps:20}); 375 376 376 377 $('form:has(input[type=password][name=your_pwd])').submit(function() { -
admin/post.php
r1530 r1550 370 370 371 371 if (!empty($_GET['upd'])) { 372 dcPage:: message(__('Entry has been successfully updated.'));372 dcPage::success(__('Entry has been successfully updated.')); 373 373 } 374 374 elseif (!empty($_GET['crea'])) { 375 dcPage:: message(__('Entry has been successfully created.'));375 dcPage::success(__('Entry has been successfully created.')); 376 376 } 377 377 elseif (!empty($_GET['attached'])) { 378 dcPage:: message(__('File has been successfully attached.'));378 dcPage::success(__('File has been successfully attached.')); 379 379 } 380 380 elseif (!empty($_GET['rmattach'])) { 381 dcPage:: message(__('Attachment has been successfully removed.'));381 dcPage::success(__('Attachment has been successfully removed.')); 382 382 } 383 383 384 384 if (!empty($_GET['creaco'])) { 385 dcPage:: message(__('Comment has been successfully created.'));385 dcPage::success(__('Comment has been successfully created.')); 386 386 } 387 387 -
admin/style/default.css
r1547 r1550 1022 1022 } 1023 1023 /* ------------------------------------------------------------------ messages */ 1024 .error, .message, .static-msg, .static-msg {1024 .error, .message, .static-msg, .static-msg, .success { 1025 1025 padding: 0.5em 0.5em 0.5em 48px; 1026 1026 margin-bottom: 1em; 1027 1027 border-radius: 8px; 1028 1028 } 1029 p.error, p.message, p.static-msg {1029 p.error, p.message, p.static-msg, p.success { 1030 1030 padding-top: 1rem; 1031 1031 padding-bottom: 1rem; … … 1040 1040 } 1041 1041 .success { 1042 background -color: #cf9;1042 background: #baff8e url(msg-success.png) no-repeat .7em .7em; 1043 1043 color: #000; 1044 1044 }
Note: See TracChangeset
for help on using the changeset viewer.