Dedecms Modify the background of the software licensing method

Source: Internet
Author: User
Keywords Backstage DEDECMS Authorization mode

In the use of DEDECMS software model process, according to their own needs may change the software type, interface language, licensing methods and so on information, here need to change two template files to meet our requirements:

1, template file location:

\dede\templets\soft_add.htm
\dede\templets\soft_edit.htm

2, modify the above two template file code:

<tr>&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp;  <td height=" 24 "  colspan= "4"  class= "Bline" ><table width= " border=" 0 " cellspacing=" 0 "  cellpadding= "0" >       <tr>          <td width= >  Software Type:</td>            <td width= "130" >              <select name= "Softtype"  id= "Softtype"  style= "width:100" >                <?php              if ($addRow ["Softtype"]!= "]  echo " <option value=\ "". $addRow ["Softtype"]. " \ > $addRow ["Softtype"]. " </option>\r\n ";              ?>                <option value= "domestic software" > domestic software </option>                <option value= "foreign software" > Foreign software </ Option>               <option  value= "Chinese patch" > Chinese patch </option>              </select></td>           <td  width= ": </td>           " > Interface language <td width= "130" ><select name= "language"  id= "language"  style= "width:100" >              <?php          &nbsP;   if ($addRow ["Language"]!= ")  echo " <option value=\ "". $addRow ["Language"]. " \ > $addRow ["Language"]. " </option>\r\n ";              ?>              <option value= "115.html" > Simplified Chinese > Simplified Chinese </ Option>             <option value= "English software" > English software </option>              <option value= "Traditional Chinese" > Traditional Chinese </option>              <option value= "Other Types" > Other types </option>            </select></td>            <td width= > Authorized way: </TD>    &Nbsp;      <td>              <select name= "accredit"  id= "accredit"  style= "width:100" >                <?php              if ($addRow ["Accredit"]!= "")  echo  "<option  value=\ "". $addRow ["Accredit"]. " \ > $addRow ["Accredit"]. " </option>\r\n ";              ?>                <option value= shared software > Shareware </ Option>               <option  value= free software > free software </option>                <option value="Open source Software" > Open source software </option>                <option value= "commercial software" > Business software </option>                <option value= "Cracking software" > cracking software </option>                <option value= " Game Plug > Games Plug </option>             < /select>            </td>        </tr>   </table></td></tr> 


You can make changes according to your own needs, and so on. This is the result of the change of wind Letter network, screenshot as follows:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.