Diff of /mambo/branches/4.7/administrator/components/com_newsfeeds/admin.newsfeeds.php
Parent Directory
|
Revision Log
|
Patch
| revision 3, Tue Dec 13 03:49:45 2005 UTC | revision 165, Mon Jan 23 04:35:36 2006 UTC | |
|---|---|---|
| # | Line 199 | Line 199 |
| 199 | global $database; | global $database; |
| 200 | ||
| 201 | if (count( $cid ) < 1) { | if (count( $cid ) < 1) { |
| 202 | $action = $publish ? 'publish' : 'unpublish'; | $action = $publish ? T_('publish') : T_('unpublish'); |
| 203 | echo "<script> alert('Select a module to $action'); window.history.go(-1);</script>\n"; | echo "<script> alert('".sprintf(T_('Select a module to %s'), $action)."'); window.history.go(-1);</script>\n"; |
| 204 | exit; | exit; |
| 205 | } | } |
| 206 | ||
| # | Line 233 | Line 233 |
| 233 | global $database; | global $database; |
| 234 | ||
| 235 | if (!is_array( $cid ) || count( $cid ) < 1) { | if (!is_array( $cid ) || count( $cid ) < 1) { |
| 236 | echo "<script> alert('Select an item to delete'); window.history.go(-1);</script>\n"; | echo "<script> alert('".T_('Select an item to delete')."'); window.history.go(-1);</script>\n"; |
| 237 | exit; | exit; |
| 238 | } | } |
| 239 | if (count( $cid )) { | if (count( $cid )) { |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

