Jucausii.Net - Just play it!
[TUTORIAL] Lista Setari De Postare - Printable Version

+- Jucausii.Net - Just play it! (https://jucausii.net/forum)
+-- Forum: Zona IT & Web / IT & Web Area (https://jucausii.net/forum/forum-169.html)
+--- Forum: Resurse, stiinte si tehnologie / Resources , Science and Technology (https://jucausii.net/forum/forum-171.html)
+---- Forum: Platforme Web / Web platform (https://jucausii.net/forum/forum-173.html)
+----- Forum: PHPBB (https://jucausii.net/forum/forum-204.html)
+------ Forum: Tutoriale / Tutorials (https://jucausii.net/forum/forum-205.html)
+------ Thread: [TUTORIAL] Lista Setari De Postare (/thread-1053.html)



[TUTORIAL] Lista Setari De Postare - StefyZz - 23-10-2015

Acest snippet o sa inlocuiasca butoanele din subiect cu o lista. 
Previzualizare :
[Image: 3lILb.jpg]

Deschideti viewtopic_body.html

Cauta:


PHP Code:
<!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
 
              <!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
 
              <!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
 
              <!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF -->
 
              <!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
 
              <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF --> 

Inlocuieste cu:
PHP Code:
<select>
 
                 <!-- IF postrow.U_EDIT --><option onclick="window.location='{postrow.U_EDIT}'">{L_EDIT_POST}</option><!-- ENDIF -->
 
                 <!-- IF postrow.U_DELETE --><option onclick="window.location='{postrow.U_DELETE}'">{L_DELETE_POST}</option><!-- ENDIF -->
 
                 <!-- IF postrow.U_REPORT --><option onclick="window.location='{postrow.U_REPORT}'">{L_REPORT_POST}</option><!-- ENDIF -->
 
                 <!-- IF postrow.U_WARN --><option onclick="window.location='{postrow.U_WARN}'">{L_WARN_USER}</option><!-- ENDIF -->
 
                 <!-- IF postrow.U_INFO --><option onclick="window.location='{postrow.U_INFO}'">{L_INFORMATION}</option><!-- ENDIF -->
 
                 <!-- IF postrow.U_QUOTE --><option onclick="window.location='{postrow.U_QUOTE}'">{L_REPLY_WITH_QUOTE}</option><!-- ENDIF -->
 
              </select