Diff
Not logged in

Differences From:

File src/info.c part of check-in [eb8223e164] - Revised formatting of the "Tags and Properties" division of the check-in information screen. by drh on 2009-01-25 20:10:53. [view]

To:

File src/info.c part of check-in [9be1b00392] - Rename the "vinfo" page to "ci" and the "vedit" page to "ci_edit". by drh on 2009-01-25 20:13:46. [view]

@@ -325,14 +325,14 @@
 }
 
 
 /*
-** WEBPAGE: vinfo
-** URL:  /vinfo?name=RID|ARTIFACTID
+** WEBPAGE: ci
+** URL:  /ci?name=RID|ARTIFACTID
 **
 ** Return information about a baseline
 */
-void vinfo_page(void){
+void ci_page(void){
   Stmt q;
   int rid;
   int isLeaf;
 
@@ -430,9 +430,9 @@
       @     | <a href="%s(g.zBaseURL)/zip/%s(zProjName)-%s(zShortUuid).zip?uuid=%s(zUuid)">
       @         ZIP archive</a>
       @     | <a href="%s(g.zBaseURL)/artifact/%d(rid)">manifest</a>
       if( g.okWrite ){
-        @     | <a href="%s(g.zBaseURL)/vedit?r=%d(rid)">edit</a>
+        @     | <a href="%s(g.zBaseURL)/ci_edit?r=%d(rid)">edit</a>
       }
       @   </td>
       @ </tr>
       free(zShortUuid);
@@ -1141,9 +1141,9 @@
     style_footer();
     return;
   }
   if( db_exists("SELECT 1 FROM mlink WHERE mid=%d", rid) ){
-    vinfo_page();
+    ci_page();
   }else
   if( db_exists("SELECT 1 FROM tagxref JOIN tag USING(tagid)"
                 " WHERE rid=%d AND tagname LIKE 'wiki-%%'", rid) ){
     winfo_page();
@@ -1152,29 +1152,29 @@
                 " WHERE rid=%d AND tagname LIKE 'tkt-%%'", rid) ){
     tinfo_page();
   }else
   if( db_exists("SELECT 1 FROM plink WHERE cid=%d", rid) ){
-    vinfo_page();
+    ci_page();
   }else
   if( db_exists("SELECT 1 FROM plink WHERE pid=%d", rid) ){
-    vinfo_page();
+    ci_page();
   }else
   {
     artifact_page();
   }
 }
 
 /*
-** WEBPAGE: vedit
-** URL:  vedit?r=RID&c=NEWCOMMENT&u=NEWUSER
+** WEBPAGE: ci_edit
+** URL:  ci_edit?r=RID&c=NEWCOMMENT&u=NEWUSER
 **
 ** Present a dialog for updating properties of a baseline:
 **
 **     *  The check-in user
 **     *  The check-in comment
 **     *  The background color.
 */
-void vedit_page(void){
+void ci_edit_page(void){
   int rid;
   const char *zComment;
   const char *zNewComment;
   const char *zUser;
@@ -1217,9 +1217,9 @@
   zComment = db_text(0, "SELECT coalesce(ecomment,comment)"
                         "  FROM event WHERE objid=%d", rid);
   if( zComment==0 ) fossil_redirect_home();
   if( P("cancel") ){
-    cgi_redirectf("vinfo?name=%d", rid);
+    cgi_redirectf("ci?name=%d", rid);
   }
   zNewComment = PD("c",zComment);
   zUser = db_text(0, "SELECT coalesce(euser,user)"
                      "  FROM event WHERE objid=%d", rid);
@@ -1321,9 +1321,9 @@
       nrid = content_put(&ctrl, 0, 0);
       manifest_crosslink(nrid, &ctrl);
       db_end_transaction(0);
     }
-    cgi_redirectf("vinfo?name=%d", rid);
+    cgi_redirectf("ci?name=%d", rid);
   }
   blob_zero(&comment);
   blob_append(&comment, zNewComment, -1);
   zUuid[10] = 0;
@@ -1363,10 +1363,10 @@
     @ <hr>
     blob_reset(&suffix);
   }
   @ <p>Make changes to attributes of check-in
-  @ [<a href="vinfo?name=%d(rid)">%s(zUuid)</a>]:</p>
-  @ <form action="%s(g.zBaseURL)/vedit" method="POST">
+  @ [<a href="ci?name=%d(rid)">%s(zUuid)</a>]:</p>
+  @ <form action="%s(g.zBaseURL)/ci_edit" method="POST">
   login_insert_csrf_secret();
   @ <input type="hidden" name="r" value="%d(rid)">
   @ <table border="0" cellspacing="10">