From: Geoffrey T. D. <da...@us...> - 2001-02-14 05:22:11
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv4186 Modified Files: HISTORY README index.php Added Files: phpwiki.css Log Message: log --- NEW FILE --- /* Classes: wikitext wikiword - A wiki page name rawurl - A raw url (like http://some.where.com/howdy.jpg) interwiki - An interwiki name linkurl - A link to an external URL interwikilink - A link to an external wiki wikilink = A link to an existing page wikiunknown = A link to a non-existing page wikiaction - A link which to an action (edit, diff, info...) wikiadmin - A link to an admin action (lock, remove ...) wikiunsafe - A link to an admin action which is located on an unlocked page. */ TABLE.outer { background-color: black; } TABLE.inner { background-color: white; } /* * WikiWords in sans-serif */ .wikiword { font-family: avantgarde, helvetica, sans-serif; } PRE .wikiword, TT .wikiword { font-family: monospace; } H1 .wikiword { font-size: large; } SMALL .wikiword { font-size: small; } .interwiki { font-family: zapf chancery, cursive; } /* * Raw URLS in smaller font */ .rawurl { font-family: serif; font-size: smaller; } /* * No underline for wikilinks. */ .wikilink, .wikiunknown, .wikiunknown U, .wikiaction, .wikiadmin, .interwikilink, .footnote A, .footnote-rev { text-decoration: none; color: #600; } /* * Different backgrounds depening on link type. */ /* .wikilink { background-color: #ddc; } */ .wikiaction, .wikiaction INPUT, .wikiaction TABLE { background-color: #ddf; } .wikiadmin, .wikiadmin INPUT, .wikiadmin TABLE { background-color: #fdd; } .wikiunsafe { background-color: #eee; } .wikilink:link { color: #c00; } .wikilink:visited, { color: #600; } /* * Special colors for the '?' after unknown wikiwords. */ A.wikiunknown { color: #fffff0; background-color: #663333; font-family: avantgarde, helvetica, sans-serif; text-decoration: none; } PRE A.wikiunknown, TT A.wikiunknown { font-family: monospace; } /* For emacs users * * Local Variables: * mode: c * c-file-style: cc-mode * End: */ Index: HISTORY =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/HISTORY,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** HISTORY 2001/02/13 05:54:37 1.16 --- HISTORY 2001/02/14 05:22:49 1.17 *************** *** 1,2 **** --- 1,12 ---- + 02/12/01 More Jeff's hacks: + + * More CSS stuff. I think it's neat. + * Added tables! And modified the footnote stuff a litte. + See TextFormattingRules for details. + * Fixed bugs: including (I hope the two which + Reini Urban <ru...@x-...> just reported.) Also added + Reini's patches to the README. Thanks! + + 02/11/01 Jeff's hacks continue: Index: README =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/README,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** README 2001/02/02 03:03:27 1.9 --- README 2001/02/14 05:22:49 1.10 *************** *** 20,51 **** and waiting for your improvement. All are suitable for production. - NOTE 2: Not all the admin functions are implemented, but the page - locking sure is nice. - MANIFEST: ! index.php: the "main page", really a set of branching instructions ! admin.php: entry page for doing wiki administration ! lib/config.php: configuration options, constants, global variables lib/db_filesystem.php support for flat file Wiki lib/dbmlib.php: database access functions for dbm files lib/display.php: display a page (this calls "lib/transform.php") - lib/editlinks.php: edit the embedded links of a page lib/editpage.php: edit a page lib/fullsearch.php: full page text search lib/mysql.php: database access functions for mySQL lib/pageinfo.php: gives detailed low-level info on the page structure lib/pgsql.php: database access functions for PostgreSQL lib/savepage.php: save a page to db, thank user lib/search.php: page title search - lib/setupwiki.php: load a set of pages from ./pgsrc/ directory lib/stdlib.php: standard library of functions (non-db related) lib/transform.php: convert wiki markup into HTML lib/ziplib.php: support for zip/unzip, used for page dumps admin/: ! admin/dumpserial.php: dump the Wiki out as serialize() pages ! admin/loadserial.php: load Wiki pages that were dumped with dumpserial admin/lockpage.php: lock a page so it cannot be edited admin/shrinkdbm.pl: Perl script to reduce size of DBM files --- 20,54 ---- and waiting for your improvement. All are suitable for production. MANIFEST: ! index.php: just the user-defined configs, calls lib/main.php ! lib/config.php: not user-definable config functions. lib/db_filesystem.php support for flat file Wiki + lib/dbalib.php: database access functions for the dba interface lib/dbmlib.php: database access functions for dbm files + lib/diff.php: request colored diff's lib/display.php: display a page (this calls "lib/transform.php") lib/editpage.php: edit a page lib/fullsearch.php: full page text search + lib/interwiki.map: list of other wiki's linked by trailing : + lib/interwiki.php: do the interwiki linking + lib/loadsave.php: make snapshots or backups + (previously setupwiki.php and dump-/loadserial.php) + lib/main.php: the main loop which was previously in index.php lib/mysql.php: database access functions for mySQL lib/pageinfo.php: gives detailed low-level info on the page structure lib/pgsql.php: database access functions for PostgreSQL + lib/prepend.php: things which must be done before all else lib/savepage.php: save a page to db, thank user lib/search.php: page title search lib/stdlib.php: standard library of functions (non-db related) lib/transform.php: convert wiki markup into HTML + lib/userauth.php: the WikiUser class holding saved state in cookies. lib/ziplib.php: support for zip/unzip, used for page dumps admin/: ! admin/dumpserial.php: replaced by lib/loadsave.php ! admin/loadserial.php: replaced by lib/loadsave.php admin/lockpage.php: lock a page so it cannot be edited admin/shrinkdbm.pl: Perl script to reduce size of DBM files *************** *** 53,57 **** admin/wiki_port1_0.php: import a 1.0 PhpWiki database admin/wiki_rebuilddbms.php: rebuild DBM files to reclaim disk space - admin/zip.php3: create a Zip archive of all Wiki pages templates/: --- 56,59 ---- Index: index.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** index.php 2001/02/13 05:54:38 1.8 --- index.php 2001/02/14 05:22:49 1.9 *************** *** 93,96 **** --- 93,104 ---- $LANG = "C"; + // If you specify a relative URL for the CSS and images, + // the are interpreted relative to DATA_PATH (see below). + // (The default value of DATA_PATH is the directory in which + // index.php (this file) resides.) + + // CSS location + define("CSS_URL", "phpwiki.css"); + // logo image (path relative to index.php) $logo = "images/wikibase.png"; |