[otrs-cvs] FAQ/Kernel/Output/HTML/Standard AgentFAQ.dtl, 1.13, 1.14 FAQ.dtl, 1.7, 1.8

cvs-log at otrs.org cvs-log at otrs.org
Wed Mar 19 10:55:02 GMT 2008


Comments:
Update of /home/cvs/FAQ/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv9159/Kernel/Output/HTML/Standard

Modified Files:
	AgentFAQ.dtl FAQ.dtl 
Log Message:
Improved some html design problems.

Author: martin

Index: AgentFAQ.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/AgentFAQ.dtl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** AgentFAQ.dtl	16 Mar 2008 21:37:15 -0000	1.13
--- AgentFAQ.dtl	19 Mar 2008 10:54:57 -0000	1.14
***************
*** 49,61 ****
        <h1>$QData{"Title"}</h1>
  
-       <p>
- 
- <!-- dtl:block:FAQItemViewAttachment -->
-         <b>$Text{"Attachment"}:</b>
-         <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=Download&ItemID=$QData{"ItemID"}">$QData{"Filename"}</a>
- <!-- dtl:block:FAQItemViewAttachment -->
- 
-       </p>
- 
        <table border="0" width="100%" cellspacing="0" cellpadding="4">
          <tr>
--- 49,52 ----
***************
*** 65,68 ****
--- 56,65 ----
            <td class="contentbody">
              <table border="0" cellspacing="0" cellpadding="3">
+ <!-- dtl:block:FAQItemViewAttachment -->
+               <tr>
+                 <td class="contentkey">$Text{"Attachment"}:</td>
+                 <td class="contentvalue"> <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=Download&ItemID=$QData{"ItemID"}">$QData{"Filename"}</a></td>
+               </tr>
+ <!-- dtl:block:FAQItemViewAttachment -->
  <!-- dtl:block:FAQItemField -->
                <tr>
***************
*** 126,155 ****
            <td>&nbsp;</td>
          </tr>
          <tr>
!           <td class="contentkey">$Text{"Linked"} ($Text{"Normal"}):</td>
!           <td class="contentvalue">
! <!-- dtl:block:LinkNormal -->
!             <a href="$Env{"Baselink"}$Data{"FrontendDest"}$QData{"ID"}" title="$QData{"Object"}: $QData{"Number"} $QData{"Title"}" $Data{"Css"}>$QData{"Text"}</a>
! <!-- dtl:block:LinkNormal -->
!           </td>
          </tr>
  
          <tr>
!           <td class="contentkey">$Text{"Linked"} ($Text{"Parent"}):</td>
            <td class="contentvalue">
! <!-- dtl:block:LinkParent -->
              <a href="$Env{"Baselink"}$Data{"FrontendDest"}$QData{"ID"}" title="$QData{"Object"}: $QData{"Number"} $QData{"Title"}" $Data{"Css"}>$QData{"Text"}</a>
! <!-- dtl:block:LinkParent -->
            </td>
          </tr>
  
-         <tr>
-           <td class="contentkey">$Text{"Linked"} ($Text{"Child"}):</td>
-           <td class="contentvalue">
- <!-- dtl:block:LinkChild -->
-             <a href="$Env{"Baselink"}$Data{"FrontendDest"}$QData{"ID"}" title="$QData{"Object"}: $QData{"Number"} $QData{"Title"}" $Data{"Css"}>$QData{"Text"}</a>
- <!-- dtl:block:LinkChild -->
-           </td>
-         </tr>
        </table>
  
--- 123,143 ----
            <td>&nbsp;</td>
          </tr>
+ # object links
          <tr>
!           <td class="contentkey">$Text{"Linked"}:</td>
!           <td class="contentvalue"></td>
          </tr>
  
+ <!-- dtl:block:Link -->
          <tr>
!           <td class="contentkey">&nbsp;&nbsp;$Text{"$QData{"LinkType"}"}:</td>
            <td class="contentvalue">
! <!-- dtl:block:LinkItem -->
              <a href="$Env{"Baselink"}$Data{"FrontendDest"}$QData{"ID"}" title="$QData{"Object"}: $QData{"Number"} $QData{"Title"}" $Data{"Css"}>$QData{"Text"}</a>
! <!-- dtl:block:LinkItem -->
            </td>
          </tr>
+ <!-- dtl:block:Link -->
  
        </table>
  
***************
*** 272,282 ****
          <h1>$QData{"Title"}</h1>
  
-         <p>
- <!-- dtl:block:FAQItemViewAttachment -->
-           <b>$Text{"Attachment"}:</b>
-           <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=Download&ItemID=$QData{"ItemID"}">$QData{"Filename"}</a>
- <!-- dtl:block:FAQItemViewAttachment -->
-         </p>
- 
          <table border="0" cellspacing="0" cellpadding="3">
            <tr>
--- 260,263 ----
***************
*** 304,307 ****
--- 285,294 ----
              <td class="contentvalue"> $QData{"Keywords"}</td>
            </tr>
+ <!-- dtl:block:FAQItemViewAttachment -->
+           <tr>
+             <td class="contentkey">$Text{"Attachment"}: </td>
+             <td class="contentvalue"> <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=Download&ItemID=$QData{"ItemID"}">$QData{"Filename"}</a></td>
+           </tr>
+ <!-- dtl:block:FAQItemViewAttachment -->
            <tr valign="top">
              <td class="contentkey">$Text{"Result"}:</td>
***************
*** 529,533 ****
                    <tr>
                      <td class="contentkey">$Text{"Attachment"}:</td>
!                     <td class="contentvalue">$Data{"Filename"} <input name="file_upload" type="file" size="30" class="fixed">&nbsp;<a name="attachment"></a></td>
                    </tr>
                    <tr>
--- 516,525 ----
                    <tr>
                      <td class="contentkey">$Text{"Attachment"}:</td>
!                     <td class="contentvalue">
!                         <input name="file_upload" type="file" size="30" class="fixed">&nbsp;<a name="attachment"></a>
!                         <br/>
!                         $Data{"Filename"}
! #                        <input class="button" type="submit" name="AttachmentDelete" value="$Text{"Delete"}" onclick="return submit_compose();">
!                     </td>
                    </tr>
                    <tr>
***************
*** 727,730 ****
--- 719,739 ----
  
  <!-- dtl:block:Category -->
+ <script language="JavaScript" type="text/javascript">
+ <!--
+ function submit_compose() {
+     if (document.compose.Name.value == "") {
+         alert('$JSText{"A category should have a name!"}');
+         document.compose.Name.focus();
+         return false;
+     }
+     else if (document.compose.Comment.value == "") {
+         alert('$JSText{"A category should have a comment!"}');
+         document.compose.Comment.focus();
+         return false;
+     }
+     return true;
+ }
+ //-->
+ </script>
    <table border="0" width="100%" cellspacing="0" cellpadding="3">
      <tr>

Author: martin

Index: FAQ.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/FAQ.dtl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** FAQ.dtl	2 Mar 2008 22:48:25 -0000	1.7
--- FAQ.dtl	19 Mar 2008 10:54:57 -0000	1.8
***************
*** 36,44 ****
        <h1>$QData{"Title"}</h1>
  
- <!-- dtl:block:FAQItemViewAttachment -->
-       <b>$Text{"Attachment"}:</b>
-       <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=Download&ItemID=$QData{"ItemID"}">$QData{"Filename"}</a>
- <!-- dtl:block:FAQItemViewAttachment -->
- 
        <table border="0" width="100%" cellspacing="0" cellpadding="4">
          <tr>
--- 36,39 ----
***************
*** 48,51 ****
--- 43,52 ----
            <td class="contentbody">
              <table border="0" cellspacing="0" cellpadding="3">
+ <!-- dtl:block:FAQItemViewAttachment -->
+               <tr>
+                 <td class="contentkey" valign="top">$Text{"Attachment"}:</td>
+                 <td class="contentvalue"> <a href="$Env{"Baselink"}Action=$Env{"Action"}&Subaction=Download&ItemID=$QData{"ItemID"}">$QData{"Filename"}</a></td>
+               </tr>
+ <!-- dtl:block:FAQItemViewAttachment -->
  <!-- dtl:block:FAQItemField -->
                <tr>
***************
*** 373,376 ****
--- 374,380 ----
          </tr>
  <!-- dtl:block:ExplorerCategoryRow -->
+         <tr class="contentfooter">
+           <td colspan="5">&nbsp;</td>
+         </tr>
        </table>
  <!-- dtl:block:ExplorerCategoryList -->
***************
*** 410,414 ****
  <!-- dtl:block:ExplorerFAQItemRow -->
          <tr class="contentbody">
!           <td class="$QData{"CssRow"}"><img src="$Env{"Images"}$Config{"FAQ::Item::Icon"}" style="vertical-align:middle;">&nbsp;<a href="$Env{"Baselink"}Action=$Env{"Action"}&CategoryID=$QData{"CategoryID"}&ItemID=$QData{"ItemID"}">$QData{"Title"}</a></td>
            <td class="$QData{"CssRow"}">$QData{"Language"}</td>
            <td class="$QData{"CssRow"}">$QData{"State"}</td>
--- 414,418 ----
  <!-- dtl:block:ExplorerFAQItemRow -->
          <tr class="contentbody">
!           <td class="$QData{"CssRow"}"><img src="$Env{"Images"}$Config{"FAQ::Item::Icon"}" style="vertical-align:middle;">&nbsp;<a href="$Env{"Baselink"}Action=$Env{"Action"}&CategoryID=$QData{"CategoryID"}&ItemID=$QData{"ItemID"}" title="$QData{"Title"}">$QData{"Title","60"}</a></td>
            <td class="$QData{"CssRow"}">$QData{"Language"}</td>
            <td class="$QData{"CssRow"}">$QData{"State"}</td>
***************
*** 417,420 ****
--- 421,427 ----
          </tr>
  <!-- dtl:block:ExplorerFAQItemRow -->
+         <tr class="contentfooter">
+           <td colspan="5">&nbsp;</td>
+         </tr>
        </table>
  
***************
*** 450,461 ****
  <!-- dtl:block:ExplorerLatestCreate -->
        <h3>$Text{"LatestCreatedItems"}</h3>
!       <ul style="padding-left:0px;list-style-image:url($Env{"Images"}$Config{"FAQ::Item::Icon"});">
  <!-- dtl:block:ExplorerLatestCreateFAQItemRow -->
!       <li>
!       <a href="$Env{"Baselink"}Action=$Env{"Action"}&CategoryID=$QData{"CategoryID"}&ItemID=$QData{"ItemID"}">$QData{"Title"} ($QData{"CategoryName"})</a> $QData{"Language"} <br>
!       <i>$TimeLong{"$Data{"Created"}"}</i>
!       </li>
  <!-- dtl:block:ExplorerLatestCreateFAQItemRow -->
!       </ul>
  <!-- dtl:block:ExplorerLatestCreate -->
  
--- 457,471 ----
  <!-- dtl:block:ExplorerLatestCreate -->
        <h3>$Text{"LatestCreatedItems"}</h3>
!       <table>
  <!-- dtl:block:ExplorerLatestCreateFAQItemRow -->
!         <tr>
!           <td valign="top"><img src="$Env{"Images"}$Config{"FAQ::Item::Icon"}"></td>
!           <td><a href="$Env{"Baselink"}Action=$Env{"Action"}&CategoryID=$QData{"CategoryID"}&ItemID=$QData{"ItemID"}" title="$QData{"Title"} ($QData{"CategoryName"})">$QData{"Title","40"} ($QData{"CategoryName","40"})</a>
!             <br/>
!             <i class="small">($QData{"Language"}) $TimeShort{"$Data{"Created"}"}</i>
!           </td>
!         </tr>
  <!-- dtl:block:ExplorerLatestCreateFAQItemRow -->
!       </table>
  <!-- dtl:block:ExplorerLatestCreate -->
  
***************
*** 463,474 ****
  <!-- dtl:block:ExplorerLatestChange -->
        <h3>$Text{"LatestChangedItems"}</h3>
!       <ul style="padding-left:0px;list-style-image:url($Env{"Images"}$Config{"FAQ::Item::Icon"});">
  <!-- dtl:block:ExplorerLatestChangeFAQItemRow -->
!       <li>
!       <a href="$Env{"Baselink"}Action=$Env{"Action"}&CategoryID=$QData{"CategoryID"}&ItemID=$QData{"ItemID"}">$QData{"Title"} ($QData{"CategoryName"})</a> $QData{"Language"} <br>
!       <i>$TimeLong{"$Data{"Changed"}"}</i>
!       </li>
  <!-- dtl:block:ExplorerLatestChangeFAQItemRow -->
!       </ul>
  <!-- dtl:block:ExplorerLatestChange -->
  
--- 473,487 ----
  <!-- dtl:block:ExplorerLatestChange -->
        <h3>$Text{"LatestChangedItems"}</h3>
!       <table>
  <!-- dtl:block:ExplorerLatestChangeFAQItemRow -->
!         <tr>
!           <td valign="top"><img src="$Env{"Images"}$Config{"FAQ::Item::Icon"}"></td>
!           <td><a href="$Env{"Baselink"}Action=$Env{"Action"}&CategoryID=$QData{"CategoryID"}&ItemID=$QData{"ItemID"}" title="$QData{"Title"} ($QData{"CategoryName"})">$QData{"Title","40"} ($QData{"CategoryName","40"})</a>
!             <br/>
!             <i class="small">($QData{"Language"}) $TimeShort{"$Data{"Changed"}"}</i>
!           </td>
!         </tr>
  <!-- dtl:block:ExplorerLatestChangeFAQItemRow -->
!       </table>
  <!-- dtl:block:ExplorerLatestChange -->
  


More information about the cvs-log mailing list