1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 07:21:03 +02:00

Tidy up various errors and inconsistencies that have crept in

This commit is contained in:
e107steved
2008-07-25 19:26:46 +00:00
parent f66ce71a8f
commit ec13689f67
6 changed files with 62 additions and 58 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/def_e107_prefs.php,v $
| $Revision: 1.11 $
| $Date: 2008-06-13 20:20:20 $
| $Revision: 1.12 $
| $Date: 2008-07-25 19:26:32 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -92,10 +92,8 @@ City, State, Country
'plug_status' => 'rss_menu',
'plug_latest' => '',
'wmessage_sc' => '0',
'frontpage' =>
array (
'all' => 'news.php',
),
'frontpage_force' => array(e_UC_PUBLIC => ''),
'frontpage' => array(e_UC_PUBLIC => 'news.php'),
'signup_text' => '',
'admin_alerts_ok' => '1',
'link_replace' => '0',

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/news_shortcodes.php,v $
| $Revision: 1.7 $
| $Date: 2008-07-15 21:11:43 $
| $Revision: 1.8 $
| $Date: 2008-07-25 19:26:46 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -163,7 +163,8 @@ return emailprint::render_emailprint('news', $news_item['news_id'], 2);
SC_END
SC_BEGIN PDFICON
global $tp;
global $tp, $pref;
if (!$pref['plug_installed']['pdf']) return '';
$news_item = getcachedvars('current_news_item');
return $tp -> parseTemplate("{PDF=".LAN_NEWS_24."^news.".$news_item['news_id']."}");
SC_END