diff --git a/docs/gotcha.txt b/docs/gotcha.txt index 43e651e33..459a93510 100644 --- a/docs/gotcha.txt +++ b/docs/gotcha.txt @@ -100,7 +100,7 @@ save you many hours of grief. 6.7.0 -------------------------------------------------------------------- - * In order to upgrade to 6.7 you must first upgrade to 6.6. + * In order to upgrade to 6.7 you must first upgrade to at least 6.6.1. * The asset API has changed slightly due to versioning, so if you have any custom assets, check out migration.txt to make diff --git a/docs/previousVersion.sql b/docs/previousVersion.sql index e251ad3da..87a793276 100644 --- a/docs/previousVersion.sql +++ b/docs/previousVersion.sql @@ -991,5 +991,5 @@ CREATE TABLE `wobject` ( `revisionDate` bigint(20) NOT NULL default '0', PRIMARY KEY (`assetId`,`revisionDate`) ) TYPE=MyISAM; -INSERT INTO `wobject` VALUES (1,'Welcome to WebGUI. This is web done right.\n

\nWebGUI is a user-friendly web site management system made by Plain Black. It is designed to be easy to use for the average business user, but powerful enough to satisfy the needs of a large enterprise.\n

\nThere are thousands of small and large businesses, schools, universities, governments, clubs, projects, communities, and individuals using WebGUI all over the world today. A brief list of some of them can be found here. There\'s no reason your site shouldn\'t be on that list.

','TKzUMeIxRLrZ3NAEez6CXQ','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(1,'\n\n\n
\n\n
Easy to Use
\n
If you can use a web browser, then you can manage a web site with WebGUI. WebGUI\'s unique WYSIWYG inline content editing interface ensures that you know where you are and what your content will look like while you\'re editing. In addition, you don\'t need to install and learn any complicated programs, you can edit everything with your trusty web browser.
\n
\n\n
Flexible Designs
\n
WebGUI\'s powerful templating system ensures that no two WebGUI sites ever need to look the same. You\'re not restricted in how your content is laid out or how your navigation functions.
\n
\n\n
Work Faster
\n
Though there is some pretty cool technology behind the scenes that makes WebGUI work, our first concern has always been usability and not technology. After all if it\'s not useful, why use it? With that in mind WebGUI has all kinds of wizards, short cuts, online help, and other aids to help you work faster.
\n
\n\n
Localized Content
\n
With WebGUI there\'s no need to limit yourself to one language or timezone. It\'s a snap to build a multi-lingual site with WebGUI. In fact, even WebGUI\'s built in functions and online help have been translated to more than 15 languages. User\'s can also adjust their local settings for dates, times, and other localized oddities.
\n
\n\n
Pluggable By Design
\n
When Plain Black created WebGUI we knew we wouldn\'t be able to think of everything you want to use WebGUI for, so we made most of WebGUI\'s functions pluggable. This allows you to add new features to WebGUI and still be able to upgrade the core system without a fuss.
\n\n
','sWVXMZGibxHe2Ekj1DCldA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'If you\'re reading this message it means that you\'ve got WebGUI up and running. Good job! The installation is not trivial.\n\n

\n \nIn order to do anything useful with your new installation you\'ll need to log in as the default administrator account. Follow these steps to get started:\n\n

\n\n

    \n
  1. Click here to log in. (You specified the username and password when you first visited your new WebGUI site.)\n
  2. Click here to turn the administrative interface on.\n
\n
\nNOTE: You could have also done these steps using the block at the top of this page.\n
\n\n

\n\n You might want to create another account for yourself with Administrative privileges in case you can\'t log in with the Admin account for some reason.\n\n

\n \nYou\'ll now notice little buttons and menus on all the pages in your site. These controls help you administer your site. The \"Add content\" menu lets you add new content to your pages as well as paste content from the clipboard. The \"Administrative functions\" menu let\'s you control users and groups as well as many other admin settings. The little toolbars help you manipulate the content in your pages.\n\n\n

\n\nFor more information about how to administer WebGUI consider getting a copy of WebGUI Done Right. Plain Black also provides several Support Programs for WebGUI if you run into trouble.\n\n

\n \nEnjoy your new WebGUI site!','x_WjMvFmilhX-jvZuIpinw','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,' To learn more about WebGUI and how you can best implement WebGUI in your organization, please see the choices below.\n\n','DC1etlIaBRQitXnchZKvUw','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'This is the latest news from Plain Black and WebGUI pulled directly from the site every hour.','fK-HMSboA3uu0c1KYkYspA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'Tell a friend about WebGUI.','Szs5eev3OMssmnsyLRZmWA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'','pJd5TLAjfWMVXD6sCRLwUg','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'68sKwDgf9cGH58-NZcU4lg','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'_iHetEvMQUOoxS-T2CM0sQ','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'8Bb8gu-me2mhL3ljFyiWLg','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'2TqQc4OISddWCZmRY1_m8A','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'Swf6L8poXKc7hUaNPkBevw','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'x3OFY6OJh_qsXkZfPwug4A','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(1,NULL,'PBasset000000000000002','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'Wmjn6I1fe9DKhiIR39YC0g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000001','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000014','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000015','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000016','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000017','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000018','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000019','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000020','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000021','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000002','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000006','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000007','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000008','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000009','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000010','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000011','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000012','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000013','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'f2bihDeMoI-Ojt2dutJNQA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'KZ2UytxNpbF-3Eg3RNvQQQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'G0wlShbk_XruYVfbXqWq_w','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'UE5_3bD7kWDLUN2B-iuNuA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'RTsbVBEYnn3OPZWmXyIFhQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'AdminConsole','HCQF9FBLWK3Se06yGLoliw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Article','79BY6IHpAtE2yuQwROh9tg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'AttachmentBox','ZexTeuMQaZ1fh4FOpLNlYw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/LDAP/Account','_r8Y0WwiHLyVEFe5M0idYQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/LDAP/Create','Mkc1dJDw-lqExS5uy7QReA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/LDAP/Login','zyS1TsKDvBk7Y55_GlWgxA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Account','CDzQSnxPMWCy2j5ZOxWbrw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Create','RPo_G59wjPTGE1-IhiE44A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Expired','Oq61G3_QSM5TzArFUzUBiA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Login','jcIZMBAyEcmXktAVwPxgIw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Recovery','ThLKZPeKbRAVEYTkKAxeCg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration','8r4-zJ6g-qOecM1PsvADbQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/Notification','ECq9dLm5vmh4t963yDx1og','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/PostForm','PNGrWdYDhJZTv1-sAX6W1Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/Search','guQGD9YiTn55PqOUTjCc0A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/Thread','-MlWyWh12ibRM8gAzRy41g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/CheckoutCanceled','VvgRRrE6UsmWi7y7hMCXbw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/ConfirmCheckout','j3yljeaT2y9fLkSHM5Zbow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/SelectPaymentGateway','2jkEIs9YpL10dZsA3RH4sw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/TransactionError','5SdElAemaCKBfheDk7rz8A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/ViewPurchaseHistory','arabONid_vy2W6cALhELxA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'DataForm','sb7g8aCLMq-XigfBdmw2cg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'DataForm/List','BAoMajIxnoGlrxhDVgot9g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'EventsCalendar','b26vQzyaqz0EBMWH_oPdrg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'EventsCalendar/Event','jCMdSbD6IA535I16Pcik7Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'FileAsset','-Kmb-MEV4ni9d0tn_BYGXA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Folder','ZWv7HLTQ4oERBIFJHBz1Ow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'HttpProxy','RcOR25DbCizyAfNWvr-2ow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'ImageAsset','59f_y-iE0k8dSMVIyX5SBg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'IndexedSearch','2DAYoiOdplxZCrEwmrVhwQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Layout','tJ_X5F3Dkaz8vO6CigbJrg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/AdminBar','Fh_KALcbkc8CkBR3I6dU0g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/AdminToggle','WTPOJerammxgkIdCWnR9uw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/a_account','PttBzI13R8HXqQn40I4UFg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/EditableToggle','VdTZ8_2vlZwVVuv_I7DsWA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/File','BBoAtdsTo2AGPe4k9kfkxA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/GroupAdd','A-m4h7Q3LYt61G54zpEGqA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/GroupDelete','Wquzj9XSpxL_gpGXkoU6tg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/H_homeLink','J1uh__tKV2BARcSeFE7MSg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/LoginToggle','7EfoKU41oB0ZU6NmVIud4A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/L_loginBox','n1xT2JUidbeqNMN2zyvHAQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/r_printable','mKI2EjkU9QH6dJKkx7VEvw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/SubscriptionItem','HOleaBMUZT6B5qJmbcV5xg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'MessageBoard','L070eyyGhoWx5cSUeNRrow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Navigation','c3jDvo_bK3jFqjIefgXjUw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/MessageLog/Message','VnUEcXfsbwgB5rqslQ3n1A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/MessageLog/View','6MrxI11jyXuB-UUrX69lXQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/Profile/Edit','xxuM0xMjhIA3lFq99GY05Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/Profile/View','kHlR8-nCFRrwlEV1uapu_Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/RedeemSubscription','r4FQlrIkS1_MTuk-vVqRNg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Poll','EvgkCMpx4kUonmjhhZXRjg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Product','I2DQUdFVd9FtcSealp4cTQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'prompt','khkob2AmnIKAxKJeXHE3fQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'richEditor','h34TI6OYynW5Q_FYLbZiig','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Shortcut','i7emhSfswYNreLAwn1wBRw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'SQLReport','o9PZOa7fy9AZa8fKmhoPrQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'style','eLdzeSyvZfml-YVFfgUiaw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey','ffWKX2dW4t1eWgfNng605w','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey/Gradebook','QWS2acYOu3Y4uNsWvVChTg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey/Overview','lUjGdT_Hhi_EFhsYr1Ouyw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey/Response','7Xhdnqu3qkDWHEnRgk6Uzw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'SyndicatedContent','xPyASYtR44mpDk3ba4YyIg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'WSClient','S99spbsvn96tgRA0oVUl2A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'Rn5Ef8vMDQ0ebtaxS_-JXA','','',60,3600,1124395696),(1,NULL,'60wqz7KzyCDCHVNaavhQUA','','',60,3600,1124395696),(1,NULL,'fhevmqeVTLRCmI_z-NidQQ','','',60,3600,1124395696),(1,NULL,'7HRY_gvpG2tMKZF3PRBwng','','',60,3600,1124395706),(1,NULL,'xB_xNuIzN9aJJlr8V7bdcg','','',60,3600,1124395706),(1,'\"\"\n

\n
Easy to Use
\n
If you can use a web browser, then you can manage a web site with\nWebGUI. WebGUI\'s unique WYSIWYG inline content editing interface\nensures that you know where you are and what your content will look\nlike while you\'re editing. In addition, you don\'t need to install and\nlearn any complicated programs, you can edit everything with your\ntrusty web browser.
\n\n
Flexible Designs
\n
WebGUI\'s powerful templating system ensures that no two WebGUI\nsites ever need to look the same. You\'re not restricted in how your\ncontent is laid out or how your navigation functions.
\n\n
Work Faster
\n
Though there is some pretty cool technology behind the scenes that\nmakes WebGUI work, our first concern has always been usability and not\ntechnology. After all if it\'s not useful, why use it? With that in mind\nWebGUI has all kinds of wizards, short cuts, online help, and other\naids to help you work faster.
\n\n
Localized Content
\n
With WebGUI there\'s no need to limit yourself to one language or\ntimezone. It\'s a snap to build a multi-lingual site with WebGUI. In\nfact, even WebGUI\'s built in functions and online help have been\ntranslated to more than 15 languages. User\'s can also adjust their\nlocal settings for dates, times, and other localized oddities.
\n\n
Pluggable By Design
\n
When Plain Black created\nWebGUI we knew we wouldn\'t be able to think of everything you want to\nuse WebGUI for, so we made most of WebGUI\'s functions pluggable. This\nallows you to add new features to WebGUI and still be able to upgrade\nthe core system without a fuss.
\n
\n','sWVXMZGibxHe2Ekj1DCldA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1129049183); +INSERT INTO `wobject` VALUES (1,'Welcome to WebGUI. This is web done right.\n

\nWebGUI is a user-friendly web site management system made by Plain Black. It is designed to be easy to use for the average business user, but powerful enough to satisfy the needs of a large enterprise.\n

\nThere are thousands of small and large businesses, schools, universities, governments, clubs, projects, communities, and individuals using WebGUI all over the world today. A brief list of some of them can be found here. There\'s no reason your site shouldn\'t be on that list.

','TKzUMeIxRLrZ3NAEez6CXQ','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(1,'\n\n\n
\n\n
Easy to Use
\n
If you can use a web browser, then you can manage a web site with WebGUI. WebGUI\'s unique WYSIWYG inline content editing interface ensures that you know where you are and what your content will look like while you\'re editing. In addition, you don\'t need to install and learn any complicated programs, you can edit everything with your trusty web browser.
\n
\n\n
Flexible Designs
\n
WebGUI\'s powerful templating system ensures that no two WebGUI sites ever need to look the same. You\'re not restricted in how your content is laid out or how your navigation functions.
\n
\n\n
Work Faster
\n
Though there is some pretty cool technology behind the scenes that makes WebGUI work, our first concern has always been usability and not technology. After all if it\'s not useful, why use it? With that in mind WebGUI has all kinds of wizards, short cuts, online help, and other aids to help you work faster.
\n
\n\n
Localized Content
\n
With WebGUI there\'s no need to limit yourself to one language or timezone. It\'s a snap to build a multi-lingual site with WebGUI. In fact, even WebGUI\'s built in functions and online help have been translated to more than 15 languages. User\'s can also adjust their local settings for dates, times, and other localized oddities.
\n
\n\n
Pluggable By Design
\n
When Plain Black created WebGUI we knew we wouldn\'t be able to think of everything you want to use WebGUI for, so we made most of WebGUI\'s functions pluggable. This allows you to add new features to WebGUI and still be able to upgrade the core system without a fuss.
\n\n
','sWVXMZGibxHe2Ekj1DCldA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'If you\'re reading this message it means that you\'ve got WebGUI up and running. Good job! The installation is not trivial.\n\n

\n \nIn order to do anything useful with your new installation you\'ll need to log in as the default administrator account. Follow these steps to get started:\n\n

\n\n

    \n
  1. Click here to log in. (You specified the username and password when you first visited your new WebGUI site.)\n
  2. Click here to turn the administrative interface on.\n
\n
\nNOTE: You could have also done these steps using the block at the top of this page.\n
\n\n

\n\n You might want to create another account for yourself with Administrative privileges in case you can\'t log in with the Admin account for some reason.\n\n

\n \nYou\'ll now notice little buttons and menus on all the pages in your site. These controls help you administer your site. The \"Add content\" menu lets you add new content to your pages as well as paste content from the clipboard. The \"Administrative functions\" menu let\'s you control users and groups as well as many other admin settings. The little toolbars help you manipulate the content in your pages.\n\n\n

\n\nFor more information about how to administer WebGUI consider getting a copy of WebGUI Done Right. Plain Black also provides several Support Programs for WebGUI if you run into trouble.\n\n

\n \nEnjoy your new WebGUI site!','x_WjMvFmilhX-jvZuIpinw','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,' To learn more about WebGUI and how you can best implement WebGUI in your organization, please see the choices below.\n\n','DC1etlIaBRQitXnchZKvUw','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'This is the latest news from Plain Black and WebGUI pulled directly from the site every hour.','fK-HMSboA3uu0c1KYkYspA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'Tell a friend about WebGUI.','Szs5eev3OMssmnsyLRZmWA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,'','pJd5TLAjfWMVXD6sCRLwUg','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'68sKwDgf9cGH58-NZcU4lg','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'_iHetEvMQUOoxS-T2CM0sQ','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'8Bb8gu-me2mhL3ljFyiWLg','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'2TqQc4OISddWCZmRY1_m8A','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'Swf6L8poXKc7hUaNPkBevw','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(0,NULL,'x3OFY6OJh_qsXkZfPwug4A','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1124395696),(1,NULL,'PBasset000000000000002','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'Wmjn6I1fe9DKhiIR39YC0g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000001','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000014','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000015','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000016','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000017','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000018','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000019','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000020','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000021','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000002','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000006','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000007','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000008','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000009','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000010','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000011','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000012','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'PBnav00000000000000013','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'f2bihDeMoI-Ojt2dutJNQA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'KZ2UytxNpbF-3Eg3RNvQQQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(0,NULL,'G0wlShbk_XruYVfbXqWq_w','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'UE5_3bD7kWDLUN2B-iuNuA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'RTsbVBEYnn3OPZWmXyIFhQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'AdminConsole','HCQF9FBLWK3Se06yGLoliw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Article','79BY6IHpAtE2yuQwROh9tg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'AttachmentBox','ZexTeuMQaZ1fh4FOpLNlYw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/LDAP/Account','_r8Y0WwiHLyVEFe5M0idYQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/LDAP/Create','Mkc1dJDw-lqExS5uy7QReA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/LDAP/Login','zyS1TsKDvBk7Y55_GlWgxA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Account','CDzQSnxPMWCy2j5ZOxWbrw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Create','RPo_G59wjPTGE1-IhiE44A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Expired','Oq61G3_QSM5TzArFUzUBiA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Login','jcIZMBAyEcmXktAVwPxgIw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Auth/WebGUI/Recovery','ThLKZPeKbRAVEYTkKAxeCg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration','8r4-zJ6g-qOecM1PsvADbQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/Notification','ECq9dLm5vmh4t963yDx1og','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/PostForm','PNGrWdYDhJZTv1-sAX6W1Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/Search','guQGD9YiTn55PqOUTjCc0A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Collaboration/Thread','-MlWyWh12ibRM8gAzRy41g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/CheckoutCanceled','VvgRRrE6UsmWi7y7hMCXbw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/ConfirmCheckout','j3yljeaT2y9fLkSHM5Zbow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/SelectPaymentGateway','2jkEIs9YpL10dZsA3RH4sw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/TransactionError','5SdElAemaCKBfheDk7rz8A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Commerce/ViewPurchaseHistory','arabONid_vy2W6cALhELxA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'DataForm','sb7g8aCLMq-XigfBdmw2cg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'DataForm/List','BAoMajIxnoGlrxhDVgot9g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'EventsCalendar','b26vQzyaqz0EBMWH_oPdrg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'EventsCalendar/Event','jCMdSbD6IA535I16Pcik7Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'FileAsset','-Kmb-MEV4ni9d0tn_BYGXA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Folder','ZWv7HLTQ4oERBIFJHBz1Ow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'HttpProxy','RcOR25DbCizyAfNWvr-2ow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'ImageAsset','59f_y-iE0k8dSMVIyX5SBg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'IndexedSearch','2DAYoiOdplxZCrEwmrVhwQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Layout','tJ_X5F3Dkaz8vO6CigbJrg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/AdminBar','Fh_KALcbkc8CkBR3I6dU0g','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/AdminToggle','WTPOJerammxgkIdCWnR9uw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/a_account','PttBzI13R8HXqQn40I4UFg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/EditableToggle','VdTZ8_2vlZwVVuv_I7DsWA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/File','BBoAtdsTo2AGPe4k9kfkxA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/GroupAdd','A-m4h7Q3LYt61G54zpEGqA','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/GroupDelete','Wquzj9XSpxL_gpGXkoU6tg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/H_homeLink','J1uh__tKV2BARcSeFE7MSg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/LoginToggle','7EfoKU41oB0ZU6NmVIud4A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/L_loginBox','n1xT2JUidbeqNMN2zyvHAQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/r_printable','mKI2EjkU9QH6dJKkx7VEvw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Macro/SubscriptionItem','HOleaBMUZT6B5qJmbcV5xg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'MessageBoard','L070eyyGhoWx5cSUeNRrow','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Navigation','c3jDvo_bK3jFqjIefgXjUw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/MessageLog/Message','VnUEcXfsbwgB5rqslQ3n1A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/MessageLog/View','6MrxI11jyXuB-UUrX69lXQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/Profile/Edit','xxuM0xMjhIA3lFq99GY05Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/Profile/View','kHlR8-nCFRrwlEV1uapu_Q','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Operation/RedeemSubscription','r4FQlrIkS1_MTuk-vVqRNg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Poll','EvgkCMpx4kUonmjhhZXRjg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Product','I2DQUdFVd9FtcSealp4cTQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'prompt','khkob2AmnIKAxKJeXHE3fQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'richEditor','h34TI6OYynW5Q_FYLbZiig','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Shortcut','i7emhSfswYNreLAwn1wBRw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'SQLReport','o9PZOa7fy9AZa8fKmhoPrQ','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'style','eLdzeSyvZfml-YVFfgUiaw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey','ffWKX2dW4t1eWgfNng605w','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey/Gradebook','QWS2acYOu3Y4uNsWvVChTg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey/Overview','lUjGdT_Hhi_EFhsYr1Ouyw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'Survey/Response','7Xhdnqu3qkDWHEnRgk6Uzw','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'SyndicatedContent','xPyASYtR44mpDk3ba4YyIg','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,'WSClient','S99spbsvn96tgRA0oVUl2A','PBtmpl0000000000000060','PBtmpl0000000000000111',60,3600,1124395696),(1,NULL,'Rn5Ef8vMDQ0ebtaxS_-JXA','','',60,3600,1124395696),(1,NULL,'60wqz7KzyCDCHVNaavhQUA','','',60,3600,1124395696),(1,NULL,'fhevmqeVTLRCmI_z-NidQQ','','',60,3600,1124395696),(1,NULL,'7HRY_gvpG2tMKZF3PRBwng','','',60,3600,1124395706),(1,NULL,'xB_xNuIzN9aJJlr8V7bdcg','','',60,3600,1124395706),(1,'\"\"\n

\n
Easy to Use
\n
If you can use a web browser, then you can manage a web site with\nWebGUI. WebGUI\'s unique WYSIWYG inline content editing interface\nensures that you know where you are and what your content will look\nlike while you\'re editing. In addition, you don\'t need to install and\nlearn any complicated programs, you can edit everything with your\ntrusty web browser.
\n\n
Flexible Designs
\n
WebGUI\'s powerful templating system ensures that no two WebGUI\nsites ever need to look the same. You\'re not restricted in how your\ncontent is laid out or how your navigation functions.
\n\n
Work Faster
\n
Though there is some pretty cool technology behind the scenes that\nmakes WebGUI work, our first concern has always been usability and not\ntechnology. After all if it\'s not useful, why use it? With that in mind\nWebGUI has all kinds of wizards, short cuts, online help, and other\naids to help you work faster.
\n\n
Localized Content
\n
With WebGUI there\'s no need to limit yourself to one language or\ntimezone. It\'s a snap to build a multi-lingual site with WebGUI. In\nfact, even WebGUI\'s built in functions and online help have been\ntranslated to more than 15 languages. User\'s can also adjust their\nlocal settings for dates, times, and other localized oddities.
\n\n
Pluggable By Design
\n
When Plain Black created\nWebGUI we knew we wouldn\'t be able to think of everything you want to\nuse WebGUI for, so we made most of WebGUI\'s functions pluggable. This\nallows you to add new features to WebGUI and still be able to upgrade\nthe core system without a fuss.
\n
\n','sWVXMZGibxHe2Ekj1DCldA','B1bNjWVtzSjsvGZh9lPz_A','PBtmpl0000000000000111',60,600,1129049183); insert into webguiVersion (webguiVersion,versionType,dateApplied) values ('6.7.7','initial install',unix_timestamp()); diff --git a/docs/upgrades/upgrade_6.7.7-6.7.8.pl b/docs/upgrades/upgrade_6.7.7-6.7.8.pl index 667159b64..33f5244fc 100644 --- a/docs/upgrades/upgrade_6.7.7-6.7.8.pl +++ b/docs/upgrades/upgrade_6.7.7-6.7.8.pl @@ -13,8 +13,129 @@ my $quiet; start(); protectUserProfileFields(); correctEditProfileTemplate(); +fixCalendarTemplates(); finish(); +#------------------------------------------------- +sub fixCalendarTemplates { + print "\tFixing bugs in calendar templates.\n" unless ($quiet); +my $template = < + + + + +
+:
+:
+
+ + +
+
+
+ + +
+
+ + +
+
+ +
+ + + + +

Events Near This One
+ +

    +
  • +
+
+STOP + my $asset = WebGUI::Asset->new("PBtmpl0000000000000023","WebGUI::Asset::Template"); + $asset->addRevision({template=>$template})->commit if (defined $asset); + $template = < + + +

+
+ + +

+
+ + + +

+ + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 

+ + + + + +

 
+
+ + +

+
+STOP + $asset = WebGUI::Asset->new("PBtmpl0000000000000105","WebGUI::Asset::Template"); + $asset->addRevision({template=>$template})->commit if (defined $asset); +} + + #------------------------------------------------- sub start { $|=1; #disable output buffering diff --git a/lib/WebGUI/Asset/Event.pm b/lib/WebGUI/Asset/Event.pm index f05ba9f43..181e3878f 100644 --- a/lib/WebGUI/Asset/Event.pm +++ b/lib/WebGUI/Asset/Event.pm @@ -21,6 +21,7 @@ use WebGUI::Id; use WebGUI::International; use WebGUI::Privilege; use WebGUI::Session; +use WebGUI::SQL; use WebGUI::Style; use WebGUI::URL; use WebGUI::Asset; @@ -200,7 +201,6 @@ sub setParent { #------------------------------------------------------------------- sub view { my $self = shift; - return WebGUI::Privilege::noAccess() unless $self->canView; my ($output, $event, $id); my %var = $self->get; $event = $self; @@ -216,9 +216,21 @@ sub view { $var{"edit.label"} = WebGUI::International::get(575,"Asset_Event"); $var{"delete.url"} = WebGUI::URL::page('func=deleteEvent;rid='.$self->getValue("EventsCalendar_recurringId")); $var{"delete.label"} = WebGUI::International::get(576,"Asset_Event"); - #get parent so we can get the parent's style. Hopefully the parent is an EventsCalendar. If not, oh well. - my $parent = $self->getParent; - return WebGUI::Style::process($self->processTemplate(\%var,$self->getValue("templateId")),$parent->getValue("styleTemplateId")); + my @others; + my ($start, $garbage) = WebGUI::DateTime::dayStartEnd($self->get("eventStartDate")); + my ($garbage, $end) = WebGUI::DateTime::dayStartEnd($self->get("eventEndDate")); + my $sth = WebGUI::SQL->read("select assetId from EventsCalendar_event where ((eventStartDate >= $start and eventStartDate <= $end) or (eventEndDate >= $start and eventEndDate <= $end)) and assetId<>".quote($self->getId)); + while (my ($assetId) = $sth->array) { + my $asset = WebGUI::Asset::Event->new($assetId); + # deal with multiple versions of the same event with conflicting dates + next unless (($asset->get("eventStartDate") >= $start && $asset->get("eventStartDate") <= $end) || ($asset->get("eventEndDate") >= $start && $asset->get("eventEndDate") <= $end)); + push(@others,{ + url=>$asset->getUrl, + title=>$asset->getTitle, + }); + } + $var{others_loop} = \@others; + return $self->processTemplate(\%var,$self->getValue("templateId")); } @@ -264,6 +276,13 @@ sub www_edit { return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get('13', 'Asset_Event')); } +#------------------------------------------------------------------- +sub www_view { + my $self = shift; + return WebGUI::Privilege::insufficient() unless ($self->canView); + return WebGUI::Style::process($self->view,$self->getParent->getValue("styleTemplateId")); +} + 1; diff --git a/lib/WebGUI/Asset/Wobject/EventsCalendar.pm b/lib/WebGUI/Asset/Wobject/EventsCalendar.pm index 17b015553..788c8fa20 100644 --- a/lib/WebGUI/Asset/Wobject/EventsCalendar.pm +++ b/lib/WebGUI/Asset/Wobject/EventsCalendar.pm @@ -353,6 +353,7 @@ sub view { isStartOfWeek=>($dayOfWeekCounter==1), isEndOfWeek=>($dayOfWeekCounter==7), isToday=>($date[0]."-".$date[1]."-".$dayCounter eq $now[0]."-".$now[1]."-".$now[2]), + hasEvents=>(exists $events{$dayCounter}), event_loop=>\@{$events{$dayCounter}}, url=>$events{$dayCounter}->[0]->{url} }); diff --git a/lib/WebGUI/Commerce/Payment/ITransact.pm b/lib/WebGUI/Commerce/Payment/ITransact.pm index 2b6c3a504..6e192ccd3 100644 --- a/lib/WebGUI/Commerce/Payment/ITransact.pm +++ b/lib/WebGUI/Commerce/Payment/ITransact.pm @@ -707,13 +707,13 @@ my %transactionData = %{$self->{_transactionParams}}; " ".$self->get('emailMessage')." ID: $transactionData{ORGID} - \n"; + + \n"; $items = WebGUI::Commerce::Transaction->new($transactionData{ORGID})->getItems; foreach (@{$items}) { $xml .= -" - +" ".$_->{itemName}." ".$_->{amount}." ".$_->{quantity}." diff --git a/lib/WebGUI/Operation/Commerce.pm b/lib/WebGUI/Operation/Commerce.pm index 9f0470869..40db8994c 100644 --- a/lib/WebGUI/Operation/Commerce.pm +++ b/lib/WebGUI/Operation/Commerce.pm @@ -10,6 +10,7 @@ use WebGUI::Commerce::Payment; use WebGUI::Commerce::Shipping; use WebGUI::AdminConsole; use WebGUI::TabForm; +use WebGUI::Setting; use WebGUI::Style; use WebGUI::Commerce; use WebGUI::Operation; @@ -512,7 +513,7 @@ sub www_editCommerceSettingsSave { fieldValue => $session{form}{$_} }); } elsif ($_ ne 'op') { - WebGUI::SQL->write('update settings set value='.quote($session{form}{$_}).' where name='.quote($_)); + WebGUI::Setting::set($_,$session{form}{$_}); } }