[geeklog-cvs] geeklog-1.3/public_html/layout/Classic/admin/plugins editor.thtml,1.5,1.6 listitem.thtml,1.2,1.3

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Fri Sep 24 23:03:13 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/layout/Classic/admin/plugins
In directory www:/tmp/cvs-serv30842/public_html/layout/Classic/admin/plugins

Modified Files:
	editor.thtml listitem.thtml 
Log Message:
Added the capability for Plugins to have an update function which will use the existing upgrade PLG function that has not been used to-date. Added a new PLG function to return the current version of code. The plugin Editor now will show the current installed version and the version returned from the current plugin function plugin_chkVersion. Site Admin will now have a way to tell if they have new plugin code in place.

Plugin Editor now has an update option when viewing the plugin details. Option will only appear if the plugin returned a valid version and is > registered installed version.

Admin now clicks on plugin-name instead of the number.

Index: editor.thtml
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/layout/Classic/admin/plugins/editor.thtml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** editor.thtml	4 May 2002 20:45:45 -0000	1.5
--- editor.thtml	25 Sep 2004 03:03:11 -0000	1.6
***************
*** 10,14 ****
                                                          <input type="submit" value="{lang_save}" name="mode">
                                                          <input type="submit" value="{lang_cancel}" name="mode">
!                                                         {delete_option}
                                                          <input type="hidden" name="pi_name" value="{pi_name}">
                                                          <input type="hidden" name="confirmed" value="{confirmed}">
--- 10,14 ----
                                                          <input type="submit" value="{lang_save}" name="mode">
                                                          <input type="submit" value="{lang_cancel}" name="mode">
!                                                         {delete_option} {update_option}
                                                          <input type="hidden" name="pi_name" value="{pi_name}">
                                                          <input type="hidden" name="confirmed" value="{confirmed}">
***************
*** 31,34 ****
--- 31,38 ----
                                                  </tr>
                                                  <tr>
+                                                     <td align="right"><b>{lang_plugincodeversion}:</b></td>
+                                                     <td>{pi_codeversion}</td>
+                                                 </tr>												
+                                                 <tr>
                                                      <td align="right"><b>{lang_geeklogversion}:</b></td>
                                                      <td>{pi_gl_version}</td>

Index: listitem.thtml
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/layout/Classic/admin/plugins/listitem.thtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** listitem.thtml	4 May 2002 20:45:45 -0000	1.2
--- listitem.thtml	25 Sep 2004 03:03:11 -0000	1.3
***************
*** 1,10 ****
  									<tr align="center">
!                                         <td align="left">
!                                             <a href="{site_admin_url}/plugins.php?mode=edit&pi_name={pi_name}">{row_num}</a> 
                                          </td>
                                          <td align="left">
!                                             <a href="{pi_url}" target="_blank">{pi_name}</a>
                                          </td>
!                                         <td>{pi_version}</td>
                                          <td>{pi_gl_version}</td>
                                          <td>{pi_enabled}</td>
--- 1,9 ----
  									<tr align="center">
!                                         <td align="left">{row_num}</a> 
                                          </td>
                                          <td align="left">
!                                             <a href="{site_admin_url}/plugins.php?mode=edit&pi_name={pi_name}">{pi_name}</a>
                                          </td>
!                                         <td>{pi_installed_version} / {pi_code_version}</td>
                                          <td>{pi_gl_version}</td>
                                          <td>{pi_enabled}</td>




More information about the geeklog-cvs mailing list