Work on v6 look and feel
This commit is contained in:
parent
d78f3923ee
commit
77dfb05647
@ -27,32 +27,40 @@ require_once DOL_DOCUMENT_ROOT.'/bookmarks/class/bookmark.class.php';
|
|||||||
$langs->load("bookmarks");
|
$langs->load("bookmarks");
|
||||||
$langs->load("admin");
|
$langs->load("admin");
|
||||||
|
|
||||||
|
$action=GETPOST('action','alpha');
|
||||||
|
$massaction=GETPOST('massaction','alpha');
|
||||||
|
$show_files=GETPOST('show_files','int');
|
||||||
|
$confirm=GETPOST('confirm','alpha');
|
||||||
|
$toselect = GETPOST('toselect', 'array');
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (! $user->rights->bookmark->lire) {
|
if (! $user->rights->bookmark->lire) {
|
||||||
restrictedArea($user, 'bookmarks');
|
restrictedArea($user, 'bookmarks');
|
||||||
}
|
}
|
||||||
$optioncss = GETPOST('optioncss','alpha');
|
$optioncss = GETPOST('optioncss','alpha');
|
||||||
|
|
||||||
|
$limit = GETPOST("limit")?GETPOST("limit","int"):$conf->liste_limit;
|
||||||
$sortfield = GETPOST("sortfield",'alpha');
|
$sortfield = GETPOST("sortfield",'alpha');
|
||||||
$sortorder = GETPOST("sortorder",'alpha');
|
$sortorder = GETPOST("sortorder",'alpha');
|
||||||
$page = GETPOST("page",'int');
|
$page = GETPOST("page",'int');
|
||||||
if ($page == -1) { $page = 0; }
|
if ($page == -1) { $page = 0; }
|
||||||
$offset = $conf->liste_limit * $page ;
|
$offset = $limit * $page;
|
||||||
$pageprev = $page - 1;
|
$pageprev = $page - 1;
|
||||||
$pagenext = $page + 1;
|
$pagenext = $page + 1;
|
||||||
if (! $sortorder) $sortorder="ASC";
|
if (! $sortfield) $sortfield='position';
|
||||||
if (! $sortfield) $sortfield="position";
|
if (! $sortorder) $sortorder='ASC';
|
||||||
$limit=$conf->liste_limit;
|
|
||||||
|
$id = GETPOST("bid",'int');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ($_GET["action"] == 'delete')
|
if ($action == 'delete')
|
||||||
{
|
{
|
||||||
$bookmark=new Bookmark($db);
|
$bookmark=new Bookmark($db);
|
||||||
$res=$bookmark->remove($_GET["bid"]);
|
$res=$bookmark->remove($id);
|
||||||
if ($res > 0)
|
if ($res > 0)
|
||||||
{
|
{
|
||||||
header("Location: ".$_SERVER["PHP_SELF"]);
|
header("Location: ".$_SERVER["PHP_SELF"]);
|
||||||
@ -100,7 +108,7 @@ if ($resql)
|
|||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
//print "<td> </td>";
|
//print "<td> </td>";
|
||||||
print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"bid","", $param,'align="left"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"bid","", $param,'align="left"',$sortfield,$sortorder);
|
||||||
print_liste_field_titre($langs->trans("Title"),'','');
|
print_liste_field_titre($langs->trans("Title"),$_SERVER["PHP_SELF"],"title","", $param,'align="left"',$sortfield,$sortorder);
|
||||||
print_liste_field_titre($langs->trans("Link"),'','');
|
print_liste_field_titre($langs->trans("Link"),'','');
|
||||||
print_liste_field_titre($langs->trans("Target"),'','','','','align="center"');
|
print_liste_field_titre($langs->trans("Target"),'','','','','align="center"');
|
||||||
print_liste_field_titre($langs->trans("Owner"),$_SERVER["PHP_SELF"],"u.lastname","", $param,'align="center"',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("Owner"),$_SERVER["PHP_SELF"],"u.lastname","", $param,'align="center"',$sortfield,$sortorder);
|
||||||
|
|||||||
@ -78,7 +78,7 @@ $dol_no_mouse_hover=$conf->dol_no_mouse_hover;
|
|||||||
//var_dump($user->conf->THEME_ELDY_RGB);
|
//var_dump($user->conf->THEME_ELDY_RGB);
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
$colorbackhmenu1='90,100,130'; // topmenu
|
$colorbackhmenu1='80,90,120'; // topmenu
|
||||||
$colorbackvmenu1='255,255,255'; // vmenu
|
$colorbackvmenu1='255,255,255'; // vmenu
|
||||||
$colortopbordertitle1='120,120,120'; // top border of title
|
$colortopbordertitle1='120,120,120'; // top border of title
|
||||||
$colorbacktitle1='240,240,240'; // title of tables,list
|
$colorbacktitle1='240,240,240'; // title of tables,list
|
||||||
|
|||||||
@ -90,7 +90,7 @@ $colorbacklineimpair2='255,255,255'; // line impair
|
|||||||
$colorbacklinepair1='250,250,250'; // line pair
|
$colorbacklinepair1='250,250,250'; // line pair
|
||||||
$colorbacklinepair2='248,248,248'; // line pair
|
$colorbacklinepair2='248,248,248'; // line pair
|
||||||
$colorbacklinepairhover='244,244,244'; // line pair
|
$colorbacklinepairhover='244,244,244'; // line pair
|
||||||
$colorbackbody='248,248,248';
|
$colorbackbody='240,240,240';
|
||||||
$colortexttitlenotab='90,90,90';
|
$colortexttitlenotab='90,90,90';
|
||||||
$colortexttitle='20,20,20';
|
$colortexttitle='20,20,20';
|
||||||
$colortext='0,0,0';
|
$colortext='0,0,0';
|
||||||
@ -2367,6 +2367,12 @@ table.paddingtopbottomonly tr td {
|
|||||||
tr.liste_titre_filter td.liste_titre {
|
tr.liste_titre_filter td.liste_titre {
|
||||||
border-bottom: 1px solid #FDFFFF;
|
border-bottom: 1px solid #FDFFFF;
|
||||||
}
|
}
|
||||||
|
.liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
|
||||||
|
{
|
||||||
|
/*border-top-width: 1px;
|
||||||
|
border-top-color: rgb(<?php echo $colortopbordertitle1 ?>);
|
||||||
|
border-top-style: solid;*/
|
||||||
|
}
|
||||||
.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
|
.liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
|
||||||
{
|
{
|
||||||
border-top-width: 2px;
|
border-top-width: 2px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user