SHARE
TWEET

NQ Context Switcher

sweenig Jan 14th, 2014 865 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set insmysql=mysql -P 3308 -D netqosportal -e "
  2. %insmysql% REPLACE INTO `controls` VALUES (99,'Context Switcher','','Weenig Ware','/nqCtrls/Portal/Browser.ascx',1,0,0,0,0,0,'|nc|g|site|d|r|s|sw|i|','','Y');
  3. %insmysql% REPLACE INTO `control_properties` VALUES (99,0,1,0,'BrowserScrollbar','string','no','Y','Y'),(99,0,1,0,'BrowserWidth','string','100%','Y','Y'),(99,0,1,0,'Title','string','Context Switcher','Y','Y'),(99,0,1,0,'BrowserHeight','string','33','Y','Y'),(99,0,1,0,'BrowserAlignment','string','middle','Y','Y'),(99,0,1,0,'Context','string','s','Y','Y'),(99,0,1,0,'BrowserBorder','string','0','Y','Y'),(99,0,1,0,'BrowserUrl','string','../custom/nqcontextswitcher.html','Y','Y');
  4. %insmysql% REPLACE into pagelayout (select distinct 99,pageid,1,1,1,0 from pagelayout where pageid>20000 and pageid<20100);
  5. %insmysql% REPLACE into pagelayout (select distinct 99,pageid,1,1,1,0 from pagelayout where pageid>22000 and pageid<22100);
  6. %insmysql% REPLACE into pagelayout (select distinct 99,pageid,1,1,1,0 from pagelayout where pageid>30000 and pageid<30100);
  7. %insmysql% REPLACE into pagelayout (select distinct 99,pageid,1,1,1,0 from pagelayout where pageid>30100 and pageid<30200);
RAW Paste Data
Top