Changeset 907:da55072f8b87 for plugins
- Timestamp:
- 10/25/12 14:55:54 (13 years ago)
- Branch:
- default
- Location:
- plugins
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/aboutConfig/index.php
r589 r907 121 121 <?php 122 122 if (!empty($_GET['upd'])) { 123 echo '<p class="message">'.__('Configuration successfully updated').'</p>';123 dcPage::message(__('Configuration successfully updated')); 124 124 } 125 125 126 126 if (!empty($_GET['upda'])) { 127 echo '<p class="message">'.__('Settings definition successfully updated').'</p>';127 dcPage::message(__('Settings definition successfully updated')); 128 128 } 129 129 ?> -
plugins/antispam/filters/class.dc.filter.ip.php
r893 r907 103 103 104 104 if (!empty($_GET['added'])) { 105 $res .= '<p class="message">'.__('IP address has been successfully added.').'</p>';105 $res .= dcPage::message(__('IP address has been successfully added.'),true,false,false); 106 106 } 107 107 if (!empty($_GET['removed'])) { 108 $res .= '<p class="message">'.__('IP addresses have been successfully removed.').'</p>';108 $res .= dcPage::message(__('IP addresses have been successfully removed.'),true,false,false); 109 109 } 110 110 -
plugins/antispam/filters/class.dc.filter.words.php
r893 r907 109 109 110 110 if (!empty($_GET['list'])) { 111 $res .= '<p class="message">'.__('Words have been successfully added.').'</p>';111 $res .= dcPage::message(__('Words have been successfully added.'),true,false,false); 112 112 } 113 113 if (!empty($_GET['added'])) { 114 $res .= '<p class="message">'.__('Word has been successfully added.').'</p>';114 $res .= dcPage::message(__('Word has been successfully added.'),true,false,false); 115 115 } 116 116 if (!empty($_GET['removed'])) { 117 $res .= '<p class="message">'.__('Words have been successfully removed.').'</p>';117 $res .= dcPage::message(__('Words have been successfully removed.'),true,false,false); 118 118 } 119 119 -
plugins/antispam/index.php
r892 r907 132 132 133 133 if (!empty($_GET['del'])) { 134 echo '<p class="message">'.__('Spam comments have been successfully deleted.').'</p>';134 dcPage::message(__('Spam comments have been successfully deleted.')); 135 135 } 136 136 … … 163 163 164 164 if (!empty($_GET['upd'])) { 165 echo '<p class="message">'.__('Filters configuration has been successfully saved.').'</p>';165 dcPage::message(__('Filters configuration has been successfully saved.')); 166 166 } 167 167 -
plugins/blogroll/edit.php
r270 r907 101 101 { 102 102 if (!empty($_GET['upd'])) { 103 echo '<p class="message">'.__('Category has been successfully updated').'</p>';103 dcPage::message(__('Category has been successfully updated')); 104 104 } 105 105 … … 121 121 { 122 122 if (!empty($_GET['upd'])) { 123 echo '<p class="message">'.__('Link has been successfully updated').'</p>';123 dcPage::message(__('Link has been successfully updated')); 124 124 } 125 125 -
plugins/blogroll/index.php
r717 r907 219 219 <?php 220 220 if (!empty($_GET['neworder'])) { 221 echo '<p class="message">'.__('Items order has been successfully updated').'</p>';221 dcPage::message(__('Items order has been successfully updated')); 222 222 } 223 223 224 224 if (!empty($_GET['removed'])) { 225 echo '<p class="message">'.__('Items have been successfully removed.').'</p>';225 dcPage::message(__('Items have been successfully removed.')); 226 226 } 227 227 228 228 if (!empty($_GET['addlink'])) { 229 echo '<p class="message">'.__('Link has been successfully created.').'</p>';229 dcPage::message(__('Link has been successfully created.')); 230 230 } 231 231 232 232 if (!empty($_GET['addcat'])) { 233 echo '<p class="message">'.__('category has been successfully created.').'</p>';233 dcPage::message(__('category has been successfully created.')); 234 234 } 235 235 236 236 if (!empty($_GET['importlinks'])) { 237 echo '<p class="message">'.__('links have been successfully imported.').'</p>';237 dcPage::message(__('links have been successfully imported.')); 238 238 } 239 239 ?> -
plugins/blowupConfig/index.php
r683 r907 228 228 229 229 if (!$can_write_images) { 230 echo '<div class="message">'. 231 __('For the following reasons, images cannot be created. You won\'t be able to change some background properties.'). 232 $notices.'</div>'; 230 dcPage::message(__('For the following reasons, images cannot be created. You won\'t be able to change some background properties.'). 231 $notices,false,true); 233 232 } 234 233 235 234 if (!empty($_GET['upd'])) { 236 echo '<p class="message">'.__('Theme configuration has been successfully updated.').'</p>';235 dcPage::message(__('Theme configuration has been successfully updated.')); 237 236 } 238 237 -
plugins/importExport/inc/class.dc.import.feed.php
r840 r907 77 77 { 78 78 if ($this->status) { 79 echo '<p class="message">'.__('Content successfully imported.').'</p>';79 dcPage::message(__('Content successfully imported.')); 80 80 } 81 81 -
plugins/importExport/inc/class.dc.import.flat.php
r840 r907 142 142 if ($this->status == 'single') 143 143 { 144 echo '<p class="message">'.__('Single blog successfully imported.').'</p>';144 dcPage::message(__('Single blog successfully imported.')); 145 145 return; 146 146 } 147 147 if ($this->status == 'full') 148 148 { 149 echo '<p class="message">'.__('Content successfully imported.').'</p>';149 dcPage::message(__('Content successfully imported.')); 150 150 return; 151 151 } -
plugins/maintenance/index.php
r500 r907 73 73 <?php 74 74 if (!empty($_GET['vacuum'])) { 75 echo '<p class="message">'.__('Optimization successful.').'</p>';75 dcPage::message(__('Optimization successful.')); 76 76 } 77 77 if (!empty($_GET['commentscount'])) { 78 echo '<p class="message">'.__('Comments and trackback counted.').'</p>';78 dcPage::message(__('Comments and trackback counted.')); 79 79 } 80 80 if (!empty($_GET['empty_cache'])) { 81 echo '<p class="message">'.__('Templates cache directory emptied.').'</p>';81 dcPage::message(__('Templates cache directory emptied.')); 82 82 } 83 83 if (!empty($_GET['delete_logs'])) { 84 echo '<p class="message">'.__('Logs deleted.').'</p>';84 dcPage::message(__('Logs deleted.')); 85 85 } 86 86 … … 105 105 else 106 106 { 107 echo '<p class="message">'.__('Entries index done.').'</p>';107 dcPage::message(__('Entries index done.')); 108 108 echo '<p><a class="back" href="'.$p_url.'">'.__('Back').'</a></p>'; 109 109 } … … 129 129 else 130 130 { 131 echo '<p class="message">'.__('Comments index done.').'</p>';131 dcPage::message(__('Comments index done.')); 132 132 echo '<p><a class="back" href="'.$p_url.'">'.__('Back').'</a></p>'; 133 133 } -
plugins/pages/page.php
r776 r907 297 297 298 298 if (!empty($_GET['upd'])) { 299 echo '<p class="message">'.__('Page has been successfully updated.').'</p>';299 dcPage::message(__('Page has been successfully updated.')); 300 300 } 301 301 elseif (!empty($_GET['crea'])) { 302 echo '<p class="message">'.__('Page has been successfully created.').'</p>';302 dcPage::message(__('Page has been successfully created.')); 303 303 } 304 304 elseif (!empty($_GET['attached'])) { 305 echo '<p class="message">'.__('File has been successfully attached.').'</p>';305 dcPage::message(__('File has been successfully attached.')); 306 306 } 307 307 elseif (!empty($_GET['rmattach'])) { 308 echo '<p class="message">'.__('Attachment has been successfully removed.').'</p>';308 dcPage::message(__('Attachment has been successfully removed.')); 309 309 } 310 310 … … 316 316 $post_format = 'xhtml'; 317 317 318 echo '<p class="message">'.__('Don\'t forget to validate your XHTML conversion by saving your post.').'</p>';318 dcPage::message(__('Don\'t forget to validate your XHTML conversion by saving your post.')); 319 319 } 320 320 -
plugins/pings/index.php
r500 r907 54 54 55 55 if (!empty($_GET['up'])) { 56 echo '<p class="message">'.__('Settings have been successfully updated.').'</p>';56 dcPage::message(__('Settings have been successfully updated.')); 57 57 } 58 58 -
plugins/simpleMenu/index.php
r790 r907 412 412 413 413 if (!empty($_GET['added'])) { 414 echo '<p class="message">'.__('Menu item has been successfully added.').'</p>';414 dcPage::message(__('Menu item has been successfully added.')); 415 415 } 416 416 if (!empty($_GET['removed'])) { 417 echo '<p class="message">'.__('Menu items have been successfully removed.').'</p>';417 dcPage::message(__('Menu items have been successfully removed.')); 418 418 } 419 419 if (!empty($_GET['neworder'])) { 420 echo '<p class="message">'.__('Menu items have been successfully updated.').'</p>';420 dcPage::message(__('Menu items have been successfully updated.')); 421 421 } 422 422 if (!empty($_GET['updated'])) { 423 echo '<p class="message">'.__('Menu items have been successfully updated.').'</p>';423 dcPage::message(__('Menu items have been successfully updated.')); 424 424 } 425 425 -
plugins/tags/tag_posts.php
r793 r907 114 114 <?php 115 115 if (!empty($_GET['renamed'])) { 116 echo '<p class="message">'.__('Tag has been successfully renamed').'</p>';116 dcPage::message(__('Tag has been successfully renamed')); 117 117 } 118 118 -
plugins/tags/tags.php
r711 r907 25 25 <?php 26 26 if (!empty($_GET['del'])) { 27 echo '<p class="message">'.__('Tag has been successfully removed').'</p>';27 dcPage::message(__('Tag has been successfully removed')); 28 28 } 29 29 -
plugins/userPref/index.php
r589 r907 117 117 <?php 118 118 if (!empty($_GET['upd'])) { 119 echo '<p class="message">'.__('Preferences successfully updated').'</p>';119 dcPage::message(__('Preferences successfully updated')); 120 120 } 121 121 122 122 if (!empty($_GET['upda'])) { 123 echo '<p class="message">'.__('Preferences definition successfully updated').'</p>';123 dcPage::message(__('Preferences definition successfully updated')); 124 124 } 125 125 ?>
Note: See TracChangeset
for help on using the changeset viewer.