mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Newspost administration - work in progress (BROKEN, almost there);
overall admin related improvements
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id: admin_shortcodes_class.php,v 1.2 2009-01-10 11:42:19 secretr Exp $
|
||||
* $Id: admin_shortcodes_class.php,v 1.3 2009-01-15 15:42:24 secretr Exp $
|
||||
*
|
||||
* Admin shortcode batch - class
|
||||
*/
|
||||
@@ -651,6 +651,7 @@ class admin_shortcodes
|
||||
if(ADMIN && getperms('0'))
|
||||
{
|
||||
global $sql,$pst,$ns,$tp,$e_wysiwyg,$pref;
|
||||
|
||||
if(isset($pst) && $pst->form && $pst->page)
|
||||
{
|
||||
$thispage = urlencode(e_SELF.'?'.e_QUERY);
|
||||
@@ -919,7 +920,7 @@ class admin_shortcodes
|
||||
{
|
||||
/*
|
||||
* e107 website system (c) 2001-2008 Steve Dunstan (e107.org)
|
||||
* $Id: admin_shortcodes_class.php,v 1.2 2009-01-10 11:42:19 secretr Exp $
|
||||
* $Id: admin_shortcodes_class.php,v 1.3 2009-01-15 15:42:24 secretr Exp $
|
||||
*/
|
||||
|
||||
if (ADMIN)
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id: news_shortcodes.php,v 1.16 2009-01-07 21:21:12 mcfly_e107 Exp $
|
||||
* $Id: news_shortcodes.php,v 1.17 2009-01-15 15:42:24 secretr Exp $
|
||||
*
|
||||
* News shortcode batch
|
||||
*/
|
||||
@@ -342,7 +342,8 @@ class news_shortcodes
|
||||
$info .= '<br />'.($news_item['news_allow_comments'] ? LAN_NEWS_13 : LAN_NEWS_12);
|
||||
$info .= LAN_NEWS_14.$news_item['news_start'].$news_item['news_end'].'<br />';
|
||||
$info .= LAN_NEWS_15.strlen($news_item['news_body']).LAN_NEWS_16.strlen($news_item['news_extended']).LAN_NEWS_17."<br /><br />";
|
||||
return $this->e107->ns->tablerender(LAN_NEWS_18, $info);
|
||||
//return $this->e107->ns->tablerender(LAN_NEWS_18, $info);
|
||||
return $info;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user