Check-in [9be1b00392]
Not logged in
Overview

SHA1 Hash:9be1b00392a940fcb4401a298e9393b82174301f
Date: 2009-01-25 20:13:46
User: drh
Comment:Rename the "vinfo" page to "ci" and the "vedit" page to "ci_edit".
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/info.c from [8f7bead3fd] to [b42d745af6].

@@ -324,16 +324,16 @@
   }
 }
 
 
 /*
-** 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;
 
   login_check_credentials();
@@ -429,11 +429,11 @@
       @     <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
       @     | <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);
     }
@@ -1140,11 +1140,11 @@
     @ <p>No such object: %h(zName)</p>
     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();
   }else
@@ -1151,31 +1151,31 @@
   if( db_exists("SELECT 1 FROM tagxref JOIN tag USING(tagid)"
                 " 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;
   const char *zNewUser;
@@ -1216,11 +1216,11 @@
   zUuid = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", rid);
   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);
   if( zUser==0 ) fossil_redirect_home();
@@ -1320,11 +1320,11 @@
       db_begin_transaction();
       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;
   style_header("Edit Check-in [%s]", zUuid);
@@ -1362,12 +1362,12 @@
     @ </blockquote>
     @ <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">
 
   @ <tr><td align="right" valign="top"><b>User:</b></td>

Modified src/rss.c from [4b2fa7b7d6] to [945efe289e].

@@ -115,15 +115,15 @@
       zPrefix = "*FORK* ";
     }
 
     @     <item>
     @       <title>%s(zPrefix)%s(zCom)</title>
-    @       <link>%s(g.zBaseURL)/vinfo/%s(zId)</link>
+    @       <link>%s(g.zBaseURL)/ci/%s(zId)</link>
     @       <description>%s(zPrefix)%s(zCom)</description>
     @       <pubDate>%s(zDate)</pubDate>
     @       <author>%s(zAuthor)</author>
-    @       <guid>%s(g.zBaseURL)/vinfo/%s(zId)</guid>
+    @       <guid>%s(g.zBaseURL)/ci/%s(zId)</guid>
     @     </item>
     nLine++;
   }
 
   db_finalize(&q);

Modified src/style.c from [49507955d9] to [d90354f0ea].

@@ -371,11 +371,11 @@
 @ pre.verbatim {
 @    background-color: #f5f5f5;
 @    padding: 0.5em;
 @}
 @
-@ /* The label/value pairs on (for example) the vinfo page */
+@ /* The label/value pairs on (for example) the ci page */
 @ table.label-value th {
 @   vertical-align: top;
 @   text-align: right;
 @   padding: 0.2ex 2ex;
 @ }

Modified src/timeline.c from [467593ff4a] to [146af37c0f].

@@ -54,11 +54,11 @@
 ){
   char zShortUuid[UUID_SIZE+1];
   sprintf(zShortUuid, "%.10s", zUuid);
   if( g.okHistory ){
     @ <a onmouseover='%s(zIn)("m%d(id)")' onmouseout='%s(zOut)("m%d(id)")'
-    @    href="%s(g.zBaseURL)/vinfo/%s(zUuid)">[%s(zShortUuid)]</a>
+    @    href="%s(g.zBaseURL)/ci/%s(zUuid)">[%s(zShortUuid)]</a>
   }else{
     @ <b onmouseover='%s(zIn)("m%d(id)")' onmouseout='%s(zOut)("m%d(id)")'>
     @ [%s(zShortUuid)]</b>
   }
 }