[geeklog-cvs] geeklog-1.3/public_html/layout/Yahoo/admin/story storyeditor.thtml,1.11,1.12

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Fri Jul 30 23:30:40 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/layout/Yahoo/admin/story
In directory www:/tmp/cvs-serv6727/public_html/layout/Yahoo/admin/story

Modified Files:
	storyeditor.thtml 
Log Message:
Package of changes to support the Story Archive Feature

Index: storyeditor.thtml
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/layout/Yahoo/admin/story/storyeditor.thtml,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** storyeditor.thtml	24 Nov 2002 10:25:42 -0000	1.11
--- storyeditor.thtml	31 Jul 2004 03:30:37 -0000	1.12
***************
*** 1,2 ****
--- 1,16 ----
+ <script>
+ function enablearchive(obj) {
+     var f = obj.form;           // all elements have their parent form in "form"
+     var disable = obj.checked;  // Disable when checked
+     f.elements["storycode10"].disabled=!disable;
+     f.elements["storycode11"].disabled=!disable;
+     f.elements["expire_month"].disabled=!disable;
+     f.elements["expire_day"].disabled=!disable;
+     f.elements["expire_year"].disabled=!disable;
+     f.elements["expire_hour"].disabled=!disable;
+     f.elements["expire_minute"].disabled=!disable;
+     f.elements["expire_ampm"].disabled=!disable;
+ }
+ </script>
                              <form action="{site_admin_url}/story.php" method="post" enctype="multipart/form-data">
                                  <table border="0" cellspacing="0" cellpadding="3" width="100%">
***************
*** 57,60 ****
--- 71,122 ----
                                      </tr>
                                      <tr>
+                                         <td colspan="2">
+                                             <table border="0" cellspacing="0" cellpadding="3" width="100%" style="border-style:solid;">
+                                                 <tr>
+                                                     <td colspan="3" style="padding-left:20px;">Story Management</td>
+                                                 <tr>
+                                                     <td width="20%" style="text-align:right;padding-right:5px;">Option:</td>
+                                                     <td width="20%">Enabled:<input type="checkbox" name="archiveflag" value="1" {is_checked2} onclick="enablearchive(this);"></td>
+                                                     <td style="text-align:left;">
+                                                         <label for="storycode10"> 
+                                                             <input type="radio" name="statuscode" id="storycode10" value="10" {is_checked3} {archivedisabled}>Auto Archive
+                                                         </label>  
+                                                     <label for="storycode11"> 
+                                                         <input type="radio" name="statuscode" id="storycode11" value="11" {is_checked4} {archivedisabled}>Auto Delete
+                                                     </label>
+                                                 </tr>
+                                                 <tr>
+                                                     <td style="text-align:right;vertical-align:top;padding-right:5px;">{lang_date}:</td>
+                                                     <td colspan="2">
+                                                         <select name="expire_month" {archivedisabled}>
+                                                             {expire_month_options}
+                                                         </select>
+                                                         /
+                                                         <select name="expire_day" {archivedisabled}>
+                                                             {expire_day_options}
+                                                         </select>
+                                                         /
+                                                         <select name="expire_year" {archivedisabled}>
+                                                             {expire_year_options}
+                                                         </select>  
+                                                         <select name="expire_hour" {archivedisabled}>
+                                                             {expire_hour_options}
+                                                         </select>
+                                                         :
+                                                         <select name="expire_minute" {archivedisabled}>
+                                                             {expire_minute_options}
+                                                         </select>
+                                                         <select name="expire_ampm" {archivedisabled}>
+                                                             <option value="am" {expiream_selected}>am</option>
+                                                             <option value="pm" {expirepm_selected}>pm</option>
+                                                         </select><br>
+                                                         <input type="hidden" name="expire_second" value="{expire_second}">
+                                                         <p />
+                                                     </td>
+                                                 </tr>
+                                             </table>
+                                          </td>
+                                     </tr>
+                                     <tr>
                                          <td align="right">{lang_mode}:</td>
                                          <td>




More information about the geeklog-cvs mailing list