Ignore:
Timestamp:
03/29/10 15:37:29 (2 years ago)
Author:
bogdan2412
Message:

Updated with changes from live.

  • Updated SMF to 1.1.11
  • Added Summify to site and forum
  • Small change to job detail view
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/smf/Themes/default/Post.template.php

    r1017 r1121  
    519519                                                                                </td> 
    520520                                                                        </tr>'; 
    521  
    522         if ($context['visual_verification']) 
    523         { 
    524                 echo ' 
    525                         <tr align="right" valign="top"> 
    526                                 <td style="font-weight: bold;', isset($context['post_error']['visual_verification_failed']) ? 'color: red;' : '', '"> 
    527  
    528                                         <script language="JavaScript" type="text/javascript"><!-- // --> 
    529                                         function refreshImages() 
    530                                         { 
    531                                                 // Make sure we are using a new rand code. 
    532                                                 var new_url = new String("', $context['verificiation_image_href'], '"); 
    533                                                 new_url = new_url.substr(0, new_url.indexOf("rand=") + 5); 
    534  
    535                                                 // Quick and dirty way of converting decimal to hex 
    536                                                 var hexstr = "0123456789abcdef"; 
    537                                                 for(var i=0; i < 32; i++) 
    538                                                         new_url = new_url + hexstr.substr(Math.floor(Math.random() * 16), 1);'; 
    539  
    540                                                 if ($context['use_graphic_library']) 
    541                                                         echo ' 
    542                                                 document.getElementById("verificiation_image").src = new_url;'; 
    543                                                 else 
    544                                                         echo ' 
    545                                                 document.getElementById("verificiation_image_1").src = new_url + ";letter=1"; 
    546                                                 document.getElementById("verificiation_image_2").src = new_url + ";letter=2"; 
    547                                                 document.getElementById("verificiation_image_3").src = new_url + ";letter=3"; 
    548                                                 document.getElementById("verificiation_image_4").src = new_url + ";letter=4"; 
    549                                                 document.getElementById("verificiation_image_5").src = new_url + ";letter=5";'; 
    550                                                 echo ' 
    551                                         } 
    552                                                 // ]]&gt;</script> 
    553  
    554                                         ', $txt['visual_verification_label'], ': 
    555                                         <div class="smalltext">', $txt['visual_verification_description'], '</div> 
    556                                 </td> 
    557                                 <td align="left" valign="top">'; 
    558 if ($context['use_graphic_library']) 
    559         echo ' 
    560                                         <img src="', $context['verificiation_image_href'], '" alt="', $txt['visual_verification_description'], '" id="verificiation_image" /><br />'; 
    561 else 
    562         echo ' 
    563                                         <img src="', $context['verificiation_image_href'], ';letter=1" alt="', $txt['visual_verification_description'], '" id="verificiation_image_1" /> 
    564                                         <img src="', $context['verificiation_image_href'], ';letter=2" alt="', $txt['visual_verification_description'], '" id="verificiation_image_2" /> 
    565                                         <img src="', $context['verificiation_image_href'], ';letter=3" alt="', $txt['visual_verification_description'], '" id="verificiation_image_3" /> 
    566                                         <img src="', $context['verificiation_image_href'], ';letter=4" alt="', $txt['visual_verification_description'], '" id="verificiation_image_4" /> 
    567                                         <img src="', $context['verificiation_image_href'], ';letter=5" alt="', $txt['visual_verification_description'], '" id="verificiation_image_5" />'; 
    568 echo ' 
    569                                         <input type="text" name="visual_verification_code" size="30" tabindex="', $context['tabindex']++, '" /> 
    570                                         <div class="smalltext"> 
    571                                                 <a href="', $context['verificiation_image_href'], ';sound" onclick="return reqWin(this.href, 400, 120);">', $txt['visual_verification_sound'], '</a> | <a href="', $scripturl, '" onclick="refreshImages(); return false;">', $txt['visual_verification_request_new'], '</a> 
    572                                         </div> 
    573                                 </td> 
    574                         </tr>'; 
    575         } 
    576  
    577521 
    578522        // If the admin has enabled the hiding of the additional options - show a link and image for it. 
Note: See TracChangeset for help on using the changeset viewer.