Changeset 1791


Ignore:
Timestamp:
Feb 8, 2007, 10:20:40 PM (18 years ago)
Author:
vdigital
Message:

Web Service:

  • Delete high and normal in #ws_access table
  • start date is kept.

w0p0 template: Minor change

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/ws_checker.php

    r1781 r1791  
    136136$add_end = ( is_numeric($_POST['add_end']) ) ? $_POST['add_end']:0;
    137137$add_request = htmlspecialchars( $_POST['add_request'], ENT_QUOTES);
    138 $add_high = 'true'; // ( $_POST['add_high'] == 'true' ) ? 'true':'false';
    139 $add_normal = 'true'; // ( $_POST['add_normal'] == 'true' ) ? 'true':'false';
    140138$add_limit = ( is_numeric($_POST['add_limit']) ) ? $_POST['add_limit']:1;
    141139$add_comment = htmlspecialchars( $_POST['add_comment'], ENT_QUOTES);
     
    145143  $query = '
    146144INSERT INTO '.WEB_SERVICES_ACCESS_TABLE.'
    147 ( `name` , `access` , `start` , `end` , `request` ,
    148   `high` , `normal` , `limit` , `comment` )
     145( `name` , `access` , `start` , `end` , `request` , `limit` , `comment` )
    149146VALUES (' . "
    150147  '$add_partner', '$add_target',
    151148  NOW(),
    152149  ADDDATE( NOW(), INTERVAL $add_end DAY),
    153   '$add_request', '$add_high', '$add_normal', '$add_limit', '$add_comment' );";
     150  '$add_request', '$add_limit', '$add_comment' );";
    154151
    155152  pwg_query($query);
     
    224221$template->assign_vars(
    225222  array(
    226     'DEFLT_HIGH_YES' => '',
    227     'DEFLT_HIGH_NO' => 'checked',
    228     'DEFLT_NORMAL_YES' => '',
    229     'DEFLT_NORMAL_NO' => 'checked',
    230223    'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=web_service',   
    231224    )
  • trunk/install/phpwebgallery_structure.sql

    r1762 r1791  
    432432  `end` datetime default NULL,
    433433  `request` varchar(255) default NULL,
    434   `high` enum('true','false') NOT NULL default 'true',
    435   `normal` enum('true','false') NOT NULL default 'true',
    436434  `limit` smallint(5) unsigned default NULL,
    437435  `comment` varchar(255) default NULL,
  • trunk/template/yoga/theme/p0w0/theme.css

    • Property svn:eol-style set to native
    • Property svn:keywords set to Author Date Id Revision
    r1783 r1791  
    1 /* $Id: theme.css 1677 2006-12-21 21:38:20Z rub $ */
     1/* $Id$ */
    22
    33/**
     
    239239}
    240240input.submit[type="reset"],
    241 input.submit  {
    242         background: url( images/button-bg.png );
    243         border: 3px double #369;
    244         border-left-color: #cde;
    245         border-top-color: #cde;
     241input.submit {
     242  background-image: url(images/button-bg.png);
     243  height:28px;
     244  width: 8em;
     245  border: 0px;
    246246  font-weight: bold;
    247247        color: #fff;
    248         padding: 0.25em;
     248  border-bottom-width: 1px;
     249  border-right-width: 1px;
     250  border-style: outset;
     251  border-color: #369;
     252        padding: auto 0.25em;
    249253}
    250254input.submit[type="reset"]:active,
     
    256260}
    257261#addComment input.submit  {
    258         padding: 4px 40px;
    259 }
     262  width: 12em;
     263  padding: auto 40px;
     264}
Note: See TracChangeset for help on using the changeset viewer.