~ubuntu-branches/ubuntu/trusty/pluxml/trusty-proposed

« back to all changes in this revision

Viewing changes to core/admin/top.php

  • Committer: Package Import Robot
  • Author(s): Tanguy Ortolo
  • Date: 2014-01-14 21:55:05 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140114215505-q8b6y30b69q29cx0
Tags: 5.3-1
* New upstream release.
* debian/po/es.po: Spanish translation, thanks to Matías Bellone.
 (Closes: #733066)
* debian/control: update Standards-Version to 3.9.5 (no change needed).
* debian/postinst: update PluXml version in configuration file, to avoid
  triggering the update script (nothing else to do).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $plxAdmin->aConf['default_lang'] ?>" lang="<?php echo $plxAdmin->aConf['default_lang'] ?>">
5
5
<head>
6
 
    <meta name="robots" content="noindex, nofollow" />
7
 
    <title><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?> <?php echo L_ADMIN ?></title>
8
 
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET) ?>" />
9
 
    <link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/reset.css" media="screen" />
10
 
    <link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/base.css" media="screen" />
11
 
    <link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/style.css" media="screen" />
12
 
    <script type="text/javascript" src="<?php echo PLX_CORE ?>lib/functions.js"></script>
13
 
    <script type="text/javascript" src="<?php echo PLX_CORE ?>lib/visual.js"></script>
14
 
    <?php eval($plxAdmin->plxPlugins->callHook('AdminTopEndHead')) ?>
 
6
        <meta name="robots" content="noindex, nofollow" />
 
7
        <title><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?> <?php echo L_ADMIN ?></title>
 
8
        <meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(PLX_CHARSET) ?>" />
 
9
        <link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/reset.css" media="screen" />
 
10
        <link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/base.css" media="screen" />
 
11
        <link rel="stylesheet" type="text/css" href="<?php echo PLX_CORE ?>admin/theme/style.css" media="screen" />
 
12
        <link rel="icon" href="<?php echo PLX_CORE ?>admin/theme/images/pluxml.gif" />
 
13
        <?php
 
14
        if(file_exists(PLX_ROOT.$plxAdmin->aConf['racine_plugins'].'admin.css'))
 
15
                echo '<link rel="stylesheet" type="text/css" href="'.PLX_ROOT.$plxAdmin->aConf['racine_plugins'].'admin.css" media="screen" />'."\n";
 
16
        ?>
 
17
        <script type="text/javascript" src="<?php echo PLX_CORE ?>lib/functions.js"></script>
 
18
        <script type="text/javascript" src="<?php echo PLX_CORE ?>lib/visual.js"></script>
 
19
        <?php eval($plxAdmin->plxPlugins->callHook('AdminTopEndHead')) ?>
15
20
</head>
16
21
 
17
22
<body>
61
66
                        $coms_offline = $nbcoms>0 ? '&nbsp;<a class="cpt" href="comments.php?sel=offline&amp;page=1">'.$plxAdmin->nbComments('offline').'</a>':'';
62
67
                        $menus[] = plxUtils::formatMenu(L_MENU_COMMENTS, 'comments.php?page=1', L_MENU_COMMENTS_TITLE, false, false, $coms_offline);
63
68
                }
64
 
                
 
69
 
65
70
                if($_SESSION['profil'] <= PROFIL_EDITOR)
66
71
                        $menus[] = plxUtils::formatMenu(L_MENU_CATEGORIES,'categories.php', L_MENU_CATEGORIES_TITLE);
67
72
 
76
81
                                $menus[] = plxUtils::formatMenu(L_MENU_CONFIG_INFOS,'parametres_infos.php', L_MENU_CONFIG_INFOS_TITLE, 'sub');
77
82
                        }
78
83
                }
79
 
                
 
84
 
80
85
                $menus[] = plxUtils::formatMenu(L_MENU_PROFIL, 'profil.php', L_MENU_PROFIL_TITLE);
81
86
 
82
87
                # récuperation des menus admin pour les plugins
86
91
                                        if($plugInstance->adminMenu) {
87
92
                                                $menu = plxUtils::formatMenu(plxUtils::strCheck($plugInstance->adminMenu['title']), 'plugin.php?p='.$plugName, plxUtils::strCheck($plugInstance->adminMenu['caption']));
88
93
                                                array_splice($menus, ($plugInstance->adminMenu['position']-1), 0, $menu);
89
 
                                                $menus[]=$menu;
90
94
                                        } else {
91
95
                                                $menus[] = plxUtils::formatMenu(plxUtils::strCheck($plugInstance->getInfo('title')), 'plugin.php?p='.$plugName, plxUtils::strCheck($plugInstance->getInfo('title')));
92
96
                                        }
99
103
                echo implode('', $menus);
100
104
        ?>
101
105
        <li class="pluxml">
102
 
            <a title="PluXml" href="http://www.pluxml.org">Pluxml <?php echo $plxAdmin->aConf['version'] ?></a>
 
106
                        <a title="PluXml" href="http://www.pluxml.org">Pluxml <?php echo $plxAdmin->aConf['version'] ?></a>
103
107
        </li>
104
 
    </ul>
 
108
        </ul>
105
109
 
106
110
</div><!-- sidebar -->
107
111
 
108
112
<div id="content">
109
113
 
110
 
    <h1 id="sitename"><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?></h1>
111
 
    <?php
 
114
        <h1 id="sitename"><?php echo plxUtils::strCheck($plxAdmin->aConf['title']) ?></h1>
 
115
        <?php
112
116
        if(is_file(PLX_ROOT.'install.php')) echo L_WARNING_INSTALLATION_FILE;
113
 
            plxMsg::Display();
114
 
    ?>
 
117
                        plxMsg::Display();
 
118
        ?>
115
119
 
116
120
<?php eval($plxAdmin->plxPlugins->callHook('AdminTopBottom')) ?>
 
 
b'\\ No newline at end of file'