]> code.citadel.org Git - citadel.git/commitdiff
* First working version of the customizable iconbar. It contains a basic
authorArt Cancro <ajc@citadel.org>
Tue, 5 Aug 2003 03:52:17 +0000 (03:52 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 5 Aug 2003 03:52:17 +0000 (03:52 +0000)
  set of options and now automatically refreshes when it's customized.

webcit/ChangeLog
webcit/iconbar.c
webcit/static/mainframeset.html

index ec759b1aa33797af2737be065c68a3754ed00080..71f58baf740034c726e3253141202e219be92702 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 500.14  2003/08/05 03:52:14  ajc
+* First working version of the customizable iconbar.  It contains a basic
+  set of options and now automatically refreshes when it's customized.
+
 Revision 500.13  2003/08/04 03:50:29  ajc
 * First cut at the customizable iconbar is done.  A bunch of generic options
   are there.  Still need to get the actual iconbar to refresh when changes
@@ -1541,4 +1545,3 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
-
index a0649dc151e35a76d0d751a1ccd162e0bf4b42b3..b5ef687e04b730f973409264a127058506ac7237 100644 (file)
@@ -390,6 +390,14 @@ void commit_iconbar(void) {
        set_preference("iconbar", iconbar);
 
        output_headers(3);
-       wprintf("FIXME");
+       do_template("beginbox_nt");
+       wprintf(
+               "<IMG SRC=\"/static/advanced-icon.gif\" "
+               "onLoad=\"javascript:top['iconbarframe'].location.reload();\">"
+               "&nbsp;"
+               "Your icon bar has been updated.  Please select any of its "
+               "choices to continue.\n"
+       );
+       do_template("endbox");
        wDumpContent(2);
 }
index 912a8e20e7d847d385bfc04d24ba9563ffc81a78..e07f5dc3bc714ce0b1c981ffadc4333c0e27fe8f 100644 (file)
@@ -7,7 +7,7 @@
 </HEAD>
 
 <FRAMESET COLS="80, *" FRAMESPACING="0" BORDER="FALSE" FRAMEBORDER="0">
-       <FRAME NAME="left" SRC="/iconbar" SCROLLING="no">
+       <FRAME NAME="iconbarframe" SRC="/iconbar" SCROLLING="no">
        <FRAMESET ROWS="*, 45" FRAMESPACING=0 BORDER="FALSE" FRAMEBORDER="0">
                <FRAME NAME="workspace" SRC="<?STARTPAGE>">
                <FRAMESET COLS="*, 1" FRAMESPACING="0" BORDER="FALSE" FRAMEBORDER="0">