[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4261 - in phpcompta/trunk: html include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4261 - in phpcompta/trunk: html include |
Date: |
Sat, 29 Oct 2011 03:10:14 +0200 (CEST) |
Author: danydb
Date: 2011-10-29 03:10:13 +0200 (Sat, 29 Oct 2011)
New Revision: 4261
Modified:
phpcompta/trunk/html/extension.php
phpcompta/trunk/include/ext_inc.php
Log:
#423: Changement affichage plugin
Modified: phpcompta/trunk/html/extension.php
===================================================================
--- phpcompta/trunk/html/extension.php 2011-10-29 00:10:54 UTC (rev 4260)
+++ phpcompta/trunk/html/extension.php 2011-10-29 01:10:13 UTC (rev 4261)
@@ -34,7 +34,7 @@
require_once('class_iselect.php');
require_once ('constant.security.php');
require_once ('class_user.php');
-
+echo '<div class="topmenu">';
@html_page_start($_SESSION['g_theme']);
$cn=new Database(dossier::id());
$user=new User($cn);
@@ -46,45 +46,7 @@
echo load_all_script();
/* show button to return to access */
-echo "<h2 class=\"info\">".dossier::name()."</h2>";
-if ( $only_plugin != 'P' )
-{
- // user with only plugin cannot go back to the dashboard
- /* return button */
- $msg=_('Retour au tableau de bord');
- $hidden=dossier::hidden();
- echo '
- <div style="position:absolute;top:3px;right:30px" class="noprint">
- <form method="get" action="do.php" style="display:inline">'.
- $hidden;
- echo HtmlInput::button_anchor(_('Préférence'),'user_pref.php');
- echo '
- <input type="SUBMIT" class="button" value="'.$msg.'">
- </form>
- </div>
- ';
-
-
-}
-else
-{
- $msg=_('Retour accueil');
- ?>
- <div style="position:absolute;top:3px;right:30px" class="noprint">
- <form method="get" action="do.php"
style="display:inline">
- <?php
- if ($only_plugin !='P')
- echo HtmlInput::button_anchor('Retour Accueil','user_login.php');
- echo HtmlInput::button_anchor(_('Préférence'),'user_pref.php');
- echo HtmlInput::button_anchor(_('Déconnexion'),'logout.php?');
-
-
- ?>
- </form>
- </div>
- <?php
-}
/* show all the extension we can access */
$a=new ISelect('plugin_code');
$a->value=Extension::make_array($cn);
@@ -105,7 +67,7 @@
else
{
echo '<form method="get" action="extension.php">';
- echo $hidden;
+ echo Dossier::hidden();
echo _('Extension').$a->input().HtmlInput::submit('go',_("Choix de
l'extension"));
echo '</form>';
echo '<hr>';
Modified: phpcompta/trunk/include/ext_inc.php
===================================================================
--- phpcompta/trunk/include/ext_inc.php 2011-10-29 00:10:54 UTC (rev 4260)
+++ phpcompta/trunk/include/ext_inc.php 2011-10-29 01:10:13 UTC (rev 4261)
@@ -15,7 +15,7 @@
exit();
}
/* show name of extension */
- echo '<div
style="position:absolute;left:3px;top:3px;margin:0;z-index:10"
class="noprint">';
+ echo '<div
style="position:absolute;right:30px;top:4px;margin:0;z-index:10"
class="noprint">';
echo '<h2 class="error"
style="display:inline;padding:0px;margin:0px">'.$ext->get_parameter('name').'</h2>';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4261 - in phpcompta/trunk: html include,
phpcompta-dev <=