ImpressCMS Addons is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

impresscmsaddons

Commit 24034

User picture
  • Author: mcdonald3072
  • 2012-04-11 07:00 (about 2 years ago)

Changed all xoops_module_header instances into icms_module_header

Files Affected

 
2403324034
68
        $groups = true;
68
        $groups = true;
69
    }
69
    }
70
 
70
 
71
    $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
71
    $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
72
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
72
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
73
 
73
 
74
    $sform = new icms_form_Theme( $heading, 'op', '' );
74
    $sform = new icms_form_Theme( $heading, 'op', '' );
2403324034
54
    icms_cp_header();
54
    icms_cp_header();
55
    impression_adminmenu( 8, _AM_IMPRESSION_RSSFEED );
55
    impression_adminmenu( 8, _AM_IMPRESSION_RSSFEED );
56
 
56
 
57
    $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
57
    $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
58
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
58
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
59
 
59
 
60
    echo '<div style="border: #e8e8e8 1px solid; padding: 8px; border-radius: 5px;">
60
    echo '<div style="border: #e8e8e8 1px solid; padding: 8px; border-radius: 5px;">
2403324034
67
    icms_cp_header();
67
    icms_cp_header();
68
    impression_adminmenu( 2, _AM_IMPRESSION_MARTICLES );
68
    impression_adminmenu( 2, _AM_IMPRESSION_MARTICLES );
69
 
69
 
70
    $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
70
    $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
71
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
71
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
72
 
72
 
73
    if ( $aid ) {
73
    if ( $aid ) {
...
 
...
 
382
        icms_cp_header();
382
        icms_cp_header();
383
        impression_adminmenu( 1, _AM_IMPRESSION_BINDEX );
383
        impression_adminmenu( 1, _AM_IMPRESSION_BINDEX );
384
 
384
 
385
        $icmsAdminTpl -> assign( 'xoops_module_header', '<link href="' . ICMS_URL . '/modules/' . icms::$module -> getVar( 'dirname' ) . '/impressionstyle.css" rel="stylesheet" type="text/css" />' );
385
        $icmsAdminTpl -> assign( 'icms_module_header', '<link href="' . ICMS_URL . '/modules/' . icms::$module -> getVar( 'dirname' ) . '/impressionstyle.css" rel="stylesheet" type="text/css" />' );
386
        echo '<div style="border: #E8E8E8 1px solid; padding: 8px;  border-radius: 5px;">
386
        echo '<div style="border: #E8E8E8 1px solid; padding: 8px;  border-radius: 5px;">
387
                <div style="display: inline; font-weight: bold; color: #0A3760; font-size: 12px;">' . _AM_IMPRESSION_MINDEX_ARTICLESUMMARY
. '</div>
387
                <div style="display: inline; font-weight: bold; color: #0A3760; font-size: 12px;">' . _AM_IMPRESSION_MINDEX_ARTICLESUMMARY
. '</div>
388
                <div style="padding: 10px;" id="button">
388
                <div style="padding: 10px;" id="button">
2403324034
59
        icms_cp_header();
59
        icms_cp_header();
60
        impression_adminmenu( 4, _AM_IMPRESSION_INDEXPAGE );
60
        impression_adminmenu( 4, _AM_IMPRESSION_INDEXPAGE );
61
 
61
 
62
        $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
62
        $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
63
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
63
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
64
 
64
 
65
        echo '<div style="border: #e8e8e8 1px solid; padding: 8px; border-radius: 5px;">
65
        echo '<div style="border: #e8e8e8 1px solid; padding: 8px; border-radius: 5px;">
2403324034
151
        icms_cp_header();
151
        icms_cp_header();
152
        impression_adminmenu( '', _AM_IMPRESSION_MOD_MODREQUESTS );
152
        impression_adminmenu( '', _AM_IMPRESSION_MOD_MODREQUESTS );
153
 
153
 
154
        $icmsAdminTpl -> assign( 'xoops_module_header', '<link rel="stylesheet" type="text/css" href="' . ICMS_URL . '/modules/' . icms::$module -> getVar( 'dirname' ) . '/impressionstyle.css" />' );
154
        $icmsAdminTpl -> assign( 'icms_module_header', '<link rel="stylesheet" type="text/css" href="' . ICMS_URL . '/modules/' . icms::$module -> getVar( 'dirname' ) . '/impressionstyle.css" />' );
155
 
155
 
156
        echo '<div style="border: #E8E8E8 1px solid; padding: 8px; border-radius: 5px;">
156
        echo '<div style="border: #E8E8E8 1px solid; padding: 8px; border-radius: 5px;">
157
                <div style="display: inline; font-weight: bold; color: #0A3760; font-size: 12px;">' . _AM_IMPRESSION_MOD_MODREQUESTSINFO .
'</div>
157
                <div style="display: inline; font-weight: bold; color: #0A3760; font-size: 12px;">' . _AM_IMPRESSION_MOD_MODREQUESTSINFO .
'</div>
2403324034
94
                </div>
94
                </div>
95
              </div><br />';
95
              </div><br />';
96
 
96
 
97
        $icmsAdminTpl -> assign( 'xoops_module_header', '<link rel="stylesheet" type="text/css" href="' . ICMS_URL . '/modules/' . icms::$module -> getVar( 'dirname' ) . '/style.css" />' );
97
        $icmsAdminTpl -> assign( 'icms_module_header', '<link rel="stylesheet" type="text/css" href="' . ICMS_URL . '/modules/' . icms::$module -> getVar( 'dirname' ) . '/style.css" />' );
98
 
98
 
99
        if ( $new_array_count > 0 ) {
99
        if ( $new_array_count > 0 ) {
100
            echo '<div class="impression_table" style="font-size: 10px;">
100
            echo '<div class="impression_table" style="font-size: 10px;">
2403324034
55
        icms_cp_header();
55
        icms_cp_header();
56
        impression_adminmenu( '', _AM_IMPRESSION_PRUNE );
56
        impression_adminmenu( '', _AM_IMPRESSION_PRUNE );
57
 
57
 
58
        $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
58
        $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
59
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
59
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
60
 
60
 
61
        echo '<div style="border: #e8e8e8 1px solid; padding: 8px; border-radius: 5px;">
61
        echo '<div style="border: #e8e8e8 1px solid; padding: 8px; border-radius: 5px;">
2403324034
138
// @return
138
// @return
139
function b_impression_new_edit( $options ) {
139
function b_impression_new_edit( $options ) {
140
    global $icmsAdminTpl;
140
    global $icmsAdminTpl;
141
    $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
141
    $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
142
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
142
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
143
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
143
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
144
 
144
 
2403324034
108
        list( $rssactive ) = icms::$xoopsDB -> fetchRow( icms::$xoopsDB -> query( $rsssql ) );
108
        list( $rssactive ) = icms::$xoopsDB -> fetchRow( icms::$xoopsDB -> query( $rsssql ) );
109
        if ( $rssactive == 1 ) {
109
        if ( $rssactive == 1 ) {
110
            $articlenews['impression_feed'] = '<a href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__
) ) ) . '/feed.php" target="_blank"><img src="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ )
) ) . '/images/icon/feed.png" border="0" alt="" title="' . _MB_IMPRESSION_FEED . '" /></a>';
110
            $articlenews['impression_feed'] = '<a href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__
) ) ) . '/feed.php" target="_blank"><img src="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ )
) ) . '/images/icon/feed.png" border="0" alt="" title="' . _MB_IMPRESSION_FEED . '" /></a>';
111
            $xoopsTpl -> assign( 'xoops_module_header', '<link rel="alternate" type="application/rss+xml" title="' . _MB_IMPRESSION_FEED . '" href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/feed.php">' );
111
            $xoopsTpl -> assign( 'icms_module_header', '<link rel="alternate" type="application/rss+xml" title="' . _MB_IMPRESSION_FEED . '" href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/feed.php">' );
112
        }
112
        }
113
 
113
 
114
        $xoopsTpl -> assign( 'dirname', basename( dirname(  dirname( __FILE__ ) ) ) );
114
        $xoopsTpl -> assign( 'dirname', basename( dirname(  dirname( __FILE__ ) ) ) );
...
 
...
 
124
// @return 
124
// @return 
125
function b_impression_news_edit( $options ) {
125
function b_impression_news_edit( $options ) {
126
    global $icmsAdminTpl;
126
    global $icmsAdminTpl;
127
    $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
127
    $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
128
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
128
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
129
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
129
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
130
 
130
 
2403324034
111
        list( $rssactive ) = icms::$xoopsDB -> fetchRow( icms::$xoopsDB -> query( $rsssql ) );
111
        list( $rssactive ) = icms::$xoopsDB -> fetchRow( icms::$xoopsDB -> query( $rsssql ) );
112
        if ( $rssactive == 1 ) {
112
        if ( $rssactive == 1 ) {
113
            $articlespot['impression_feed'] = '<a href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__
) ) ) . '/feed.php" target="_blank"><img src="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ )
) ) . '/images/icon/feed.png" border="0" alt="" title="' . _MB_IMPRESSION_FEED . '" /></a>';
113
            $articlespot['impression_feed'] = '<a href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__
) ) ) . '/feed.php" target="_blank"><img src="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ )
) ) . '/images/icon/feed.png" border="0" alt="" title="' . _MB_IMPRESSION_FEED . '" /></a>';
114
            $xoopsTpl -> assign( 'xoops_module_header', '<link rel="alternate" type="application/rss+xml" title="' . _MB_IMPRESSION_FEED . '" href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/feed.php">' );
114
            $xoopsTpl -> assign( 'icms_module_header', '<link rel="alternate" type="application/rss+xml" title="' . _MB_IMPRESSION_FEED . '" href="'. ICMS_URL . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/feed.php">' );
115
        }
115
        }
116
 
116
 
117
        $xoopsTpl -> assign( 'dirname', basename( dirname(  dirname( __FILE__ ) ) ) );
117
        $xoopsTpl -> assign( 'dirname', basename( dirname(  dirname( __FILE__ ) ) ) );
...
 
...
 
126
// @return
126
// @return
127
function b_impression_spot_edit( $options ) {
127
function b_impression_spot_edit( $options ) {
128
    global $icmsAdminTpl;
128
    global $icmsAdminTpl;
129
    $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
129
    $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
130
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
130
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
131
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
131
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
132
 
132
 
2403324034
81
// @return
81
// @return
82
function b_impression_ticker_edit( $options ) {
82
function b_impression_ticker_edit( $options ) {
83
    global $icmsAdminTpl;
83
    global $icmsAdminTpl;
84
    $icmsAdminTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
84
    $icmsAdminTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
85
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
85
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />');
86
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
86
    include_once ICMS_ROOT_PATH . '/modules/' . basename( dirname(  dirname( __FILE__ ) ) ) . '/include/functions.php';
87
 
87
 
2403324034
215
        $source = $article_array['source'] ? icms_core_DataFilter::htmlSpecialChars( icms_core_DataFilter::stripSlashesGPC(
$article_array['source'] ) ) : '';
215
        $source = $article_array['source'] ? icms_core_DataFilter::htmlSpecialChars( icms_core_DataFilter::stripSlashesGPC(
$article_array['source'] ) ) : '';
216
        $sourceurl = $article_array['sourceurl'] ? icms_core_DataFilter::htmlSpecialChars( icms_core_DataFilter::stripSlashesGPC(
$article_array['sourceurl'] ) ) : '';
216
        $sourceurl = $article_array['sourceurl'] ? icms_core_DataFilter::htmlSpecialChars( icms_core_DataFilter::stripSlashesGPC(
$article_array['sourceurl'] ) ) : '';
217
 
217
 
218
        $xoopsTpl -> assign( 'xoops_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
218
        $xoopsTpl -> assign( 'icms_module_header', '<script type="text/javascript" language="javascript" src="' . ICMS_LIBRARIES_URL . '/lytebox/lytebox.js"></script>
219
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
219
            <link rel="stylesheet" type="text/css" media="screen" href="' . ICMS_LIBRARIES_URL .
'/lytebox/lytebox.css" />' );
220
 
220
 
221
        $sform = new icms_form_Theme( _MD_IMPRESSION_SUBMITCATHEAD, 'storyform', '' );
221
        $sform = new icms_form_Theme( _MD_IMPRESSION_SUBMITCATHEAD, 'storyform', '' );