twingle/twingle/content twingle.js,1.6,1.7
[email protected] Mon, 10 Mar 2003 03:45:47 -0700 (MST)
| Newsgroups | gmane.comp.cms.oscom.twingle.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/root/twingle/twingle/content
In directory alpha.oscom.org:/tmp/cvs-serv24078
Modified Files:
twingle.js
Log Message:
We now have a twingle directory in profile dir that contains a localsite subdir, where you can create content by clicking on the New button in the toolbar
Index: twingle.js
===================================================================
RCS file: /cvs/root/twingle/twingle/content/twingle.js,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** twingle.js 9 Mar 2003 17:11:10 -0000 1.6
--- twingle.js 10 Mar 2003 10:45:45 -0000 1.7
***************
*** 46,49 ****
--- 46,56 ----
localsitedir.copy(twingledirpath + '/localsite.rdf');
+ // Make a localsite subdir for all content files w/ default content
+ var localsitecontentdir = new Dir(prefsdirpath +
+ "/twingle/localsitecontent");
+ localsitecontentdir.create();
+ var localfile = new File(localsitechromepath + "/sampledoc.html");
+ localfile.copy(twingledirpath + '/localsitecontent/0000.html');
+
dump("\ncopied starter files to twingleprofiledir at " + twingledirpath);
return;