Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_official / html / modules / blocks / pntemplates [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
30 Jul 2002 02:25:57postnuke_official/html/modules/blocks/pntemplatesadmin-modify_instance.pnd,1.1,1.2 admin-new_instance.pnd,1.1,1.2 admin-view_instances.pnd,1.2,1.3Paul Rosania
 misc bugfixes, and added ability to change block state (hidden, visible)

Update of /home/cvsroot/postnuke_official/html/modules/blocks/pntemplates
In directory ns7.hostnuke.net:/tmp/cvs-serv13834/pntemplates

Modified Files:
	admin-modify_instance.pnd admin-new_instance.pnd 
	admin-view_instances.pnd 
Log Message:
misc bugfixes, and added ability to change block state (hidden, visible)


Index: admin-modify_instance.pnd
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/blocks/pntemplates/admin-modify_instance.pnd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** admin-modify_instance.pnd	28 Jul 2002 03:52:14 -0000	1.1
--- admin-modify_instance.pnd	30 Jul 2002 02:25:55 -0000	1.2
***************
*** 104,107 ****
--- 104,137 ----
              </td>
          </tr>
+         <tr>
+             <td>
+                 Default state:
+             </td>
+             <td>
+                 <select name="block_state" style="width:150px;">
+                     <pnt:if condition="$instance['state'] == 0">
+                         <option value="0" selected="selected">
+                         <pnt:else>
+                             <option value="0">
+                         </pnt:else>
+                     </pnt:if>
+                     Hidden</option>
+                     <pnt:if condition="$instance['state'] == 1">
+                         <option value="1" selected="selected">
+                         <pnt:else>
+                             <option value="1">
+                         </pnt:else>
+                     </pnt:if>
+                     Minimized</option>
+                     <pnt:if condition="$instance['state'] == 2">
+                         <option value="2" selected="selected">
+                         <pnt:else>
+                             <option value="2">
+                         </pnt:else>
+                     </pnt:if>
+                     Maximized</option>
+                 </select>
+             </td>
+         </tr>
          <pnt:if condition="isset($block_settings['form_content']) and $block_settings['form_content'] == true">
          <tr>

Index: admin-new_instance.pnd
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/blocks/pntemplates/admin-new_instance.pnd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** admin-new_instance.pnd	20 Jul 2002 05:03:48 -0000	1.1
--- admin-new_instance.pnd	30 Jul 2002 02:25:55 -0000	1.2
***************
*** 86,89 ****
--- 86,101 ----
          </tr>
          <tr>
+             <td>
+                 Default state:
+             </td>
+             <td>
+                 <select name="block_state" style="width:150px;">
+                     <option value="0">Hidden</option>
+                     <option value="1">Minimized</option>
+                     <option value="2" selected="selected">Maximized</option>
+                 </select>
+             </td>
+         </tr>
+         <tr>
              <td colspan="2" align="center"><br />
                      <input type="submit" value="OK" align="middle" />

Index: admin-view_instances.pnd
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/blocks/pntemplates/admin-view_instances.pnd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** admin-view_instances.pnd	28 Jul 2002 03:52:46 -0000	1.2
--- admin-view_instances.pnd	30 Jul 2002 02:25:55 -0000	1.3
***************
*** 51,58 ****
          </th>
          <th>
              Operations
          </th>
      </tr>
!     <pnt:loop name="blocks" id="foo">
      <tr align="center">
          <td>
--- 51,61 ----
          </th>
          <th>
+             State
+         </th>
+         <th>
              Operations
          </th>
      </tr>
!     <pnt:loop name="blocks">
      <tr align="center">
          <td>
***************
*** 60,75 ****
          </td>
          <td>
!             &pnt-var-title;
          </td>
          <td>
!             <a href="&pnt-modurl-blocks-admin-view_types;">&pnt-var-module;\\&pnt-var-type;</a>
          </td>
          <td>
!             <pnt:if condition="$template != NULL" id="foo">
!                 &pnt-var-template;
!                 <pnt:else id="foo">
!                     &pnt-var-group_template;
                  </pnt:else>
              </pnt:if>
          </td>
          <td>
--- 63,81 ----
          </td>
          <td>
!             <pnt:var name="title" />
          </td>
          <td>
!             <a href="&pnt-modurl-blocks-admin-view_types;"><pnt:var name="module" />\\<pnt:var name="type" /></a>
          </td>
          <td>
!             <pnt:if condition="$template != NULL">
!                 <pnt:var name="template" />
!                 <pnt:else>
!                     <pnt:var name="group_template" />
                  </pnt:else>
              </pnt:if>
+         </td>
+         <td>
+             <pnt:var name="state_desc" />
          </td>
          <td>


Directory filter : [ all ] / postnuke_official / html / modules / blocks / pntemplates [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3