Author: cyb
Date: Fri Apr 27 13:59:02 2007
New Revision: 381

URL: http://svn.gna.org/viewcvs/phplinker?rev=381&view=rev
Log:
merged with url_search.tpl

Removed:
    trunk/smarty/default/templates/admin/url_result.tpl

Removed: trunk/smarty/default/templates/admin/url_result.tpl
URL: 
http://svn.gna.org/viewcvs/phplinker/trunk/smarty/default/templates/admin/url_result.tpl?rev=380&view=auto
==============================================================================
--- trunk/smarty/default/templates/admin/url_result.tpl (original)
+++ trunk/smarty/default/templates/admin/url_result.tpl (removed)
@@ -1,162 +1,0 @@
-
-{literal}
-<style>
-#cat{
-display: none;
-}
-
-a.srh:link, a.srh:hover, a.srh:visited{
-color:#FFFFFF;
-font-size: 12px;
-font-weight: bold;
-text-decoration:none;
-}
-
-</style>
-
-<script language='javascript'>
-function Show_my_div(f) {
-if(f.categorized.value ==1){
-  document.getElementById('cat').style.display="inline";
-}else{
- document.getElementById('cat').style.display="none";
-}
-}
-</script>
-{/literal}
-
-{if $result_for_all =='Pas de resultat pour cette requette'}
-<form action="url_result"
-      method="get" id="cherche">State :
-  <select name="state" >
-<option value="" {php} if  ((isset($_GET['state']))&&($_GET['state']=="")){ 
echo "selected='selected'";}{/php}>All</option>
-<option value="moderated"{php} if  
((isset($_GET['state']))&&($_GET['state']=="moderated")){ echo 
"selected='selected'";}{/php}>moderated</option>
-<option value="awaiting_update_moderation" {php} if  
((isset($_GET['state']))&&($_GET['state']=="awaiting_update_moderation")){ echo 
"selected";}{/php}>Other</option>
-</select>&nbsp; Keywords : <input type="text" name="key" {php} if
-      (isset($_GET['key'])){ echo "value= $key";}{/php}>&nbsp;Category
-      : <select name="categorized" onChange="Show_my_div(this.form)">
-<option value="none" {php} if  
((isset($_GET['categorized']))&&($_GET['categorized']=="none")){ echo 
"selected";}{/php}>All</option>
-<option value="1" {php} if  
((isset($_GET['categorized']))&&($_GET['categorized']=="1")){ echo 
"selected";}{/php}>Categorized</option>
-<option value="0" {php} if  
((isset($_GET['categorized']))&&($_GET['categorized']=="0")){ echo 
"selected";}{/php}>Uncategorized</option></select>
-&nbsp;<div id="cat">Category :
-<select name="cat">
-<option value="all">All</option>
-{php}
-$categ_parents = linker_get_categories_tree_array();
-$array_children=array();
-$categ_parents = linker_get_category_children(0 , $categ_parents, 
$array_children);
-
-for ($i=0;$i<sizeof($categ_parents);$i++) {
-  $sp = '';
-  for ($to=0;$to<$categ_parents[$i]['deep'];$to++)
-    $sp .= '&nbsp;&nbsp;&nbsp;';
-
-  $categ_parents[$i]['name'] = $sp . $categ_parents[$i]['name'];
-  printf("<option value='%d' %s
-  >%s</option>",$categ_parents[$i]['id'], (isset($_GET['cat']) && 
$_GET['cat']==$categ_parents[$i]['id'])?"selected":"" 
,$categ_parents[$i]['name']);
-}
-{/php}
-</select></div>
-
-
-<input type="submit" value="Chercher">
-<input type="hidden" name="action" value="search"
-</form><br><br><br><br>
- <div class = "message" align="left"> {$result_for_all}</div>
-{else}
-<form action="url_result"
-      method="get" id="cherche">
-  State :
-  <select name="state" >
-<option value="" {php} if  ((isset($_GET['state']))&&($_GET['state']=="")){ 
echo "selected='selected'";}{/php}>All</option>
-<option value="moderated"{php} if  
((isset($_GET['state']))&&($_GET['state']=="moderated")){ echo 
"selected='selected'";}{/php}>moderated</option>
-<option value="awaiting_update_moderation" {php} if  
((isset($_GET['state']))&&($_GET['state']=="awaiting_update_moderation")){ echo 
"selected";}{/php}>Other</option>
-</select>&nbsp;Keywords : <input type="text" name="key" {php} if
-      (isset($_GET['key'])){ echo 
"value=\"".$_GET['key']."\"";}{/php}>&nbsp;Category
-      : <select name="categorized" onChange="Show_my_div(this.form)">
-<option value="none" {php} if  
((isset($_GET['categorized']))&&($_GET['categorized']=="none")){ echo 
"selected";}{/php}>All</option>
-<option value="1" {php} if  
((isset($_GET['categorized']))&&($_GET['categorized']=="1")){ echo 
"selected";}{/php}>Categorized</option>
-<option value="0" {php} if  
((isset($_GET['categorized']))&&($_GET['categorized']=="0")){ echo 
"selected";}{/php}>Uncategorized</option></select>
-&nbsp;<div id="cat">Category :
-<select name="cat">
-<option value="all">All</option>
-{php}
-$categ_parents = linker_get_categories_tree_array();
-$array_children=array();
-$categ_parents = linker_get_category_children(0 , $categ_parents, 
$array_children);
-
-for ($i=0;$i<sizeof($categ_parents);$i++) {
-  $sp = '';
-  for ($to=0;$to<$categ_parents[$i]['deep'];$to++)
-    $sp .= '&nbsp;&nbsp;&nbsp;';
-
-  $categ_parents[$i]['name'] = $sp . $categ_parents[$i]['name'];
-  printf("<option value='%d' %s
-  >%s</option>",$categ_parents[$i]['id'], (isset($_GET['cat']) && 
$_GET['cat']==$categ_parents[$i]['id'])?"selected":"" 
,$categ_parents[$i]['name']);
-}
-{/php}
-</select>&nbsp;</div>
-Afficher &nbsp;<select name="setPerPage" >
-<option value="5" {php}if($_GET["setPerPage"]=="5 "){echo 
"selected=selected";}{/php}>5</option>
-<option value="10" {php}if($_GET["setPerPage"]=="10"){echo 
"selected=selected";}{/php}>10</option>
-<option value="15" {php}if($_GET["setPerPage"]=="15"){echo 
"selected=selected";}{/php}>15</option>
-<option value="20" {php}if($_GET["setPerPage"]=="20"){echo 
"selected=selected";}{/php}>20</option>
-<option value="25" {php}if($_GET["setPerPage"]=="30"){echo 
"selected=selected";}{/php}>25</option>
-<option value="30" {php}if($_GET["setPerPage"]=="30"){echo 
"selected=selected";}{/php}>30</option>
-<option value="35" {php}if($_GET["setPerPage"]=="35"){echo 
"selected=selected";}{/php}>35</option>
-<option value="40" {php}if($_GET["setPerPage"]=="40"){echo 
"selected=selected";}{/php}>40</option>
-<option value="45" {php}if($_GET["setPerPage"]=="45"){echo 
"selected=selected";}{/php}>45</option>
-<option value="50" {php}if($_GET["setPerPage"]=="50"){echo 
"selected=selected";}{/php}>50</option>
-</select>&nbsp; par page&nbsp;
-<input type="submit" value="Chercher">
-<input type="hidden" name="action" value="search"
-</form><br>
-<table border="0" cellspacing="0" cellpadding="5" width="100%">
-<tr align="left">
-  <td colspan="2" width="300" >
-      &nbsp;
-    </td>
-    <th colspan="2" >{$link}</th>
-    <td colspan="2" >&nbsp;</td>
-    <td colspan="2" >&nbsp;</td>
-    <td colspan="2" ><b><span style="font-size:12px;">{$nbr} site(s) 
trouvé(s)</span><b></td>
-  </tr>
-</table>
-
-<table border="0" cellspacing="0" cellpadding="5" class="framed" width="100%">
-  <tr align="left" class="row_header">
-    <td colspan="2"><h4><b>#</b></h4></td>
-    <td colspan="2" align="center"><h4><b><a class="srh" href="{php} echo 
linker_urls_link('url1','url2');{/php}">Url&nbsp;{$img_url}</a></b></h4></td>
-    <td colspan="2"  width="20%" align="center"><h4><b><a class="srh" 
href="{php} echo 
linker_urls_link('desc1','desc2');{/php}">Description&nbsp;{$img_desc}</a></b></h4></td>
-    <td colspan="2" width="25%" align="center"><h4><b>Category</b></h4></td>
-    <td colspan="2"><h4><b><a class="srh" href="{php} echo 
linker_urls_link('visible1','visible2');{/php}">Visible&nbsp;{$img_visible}</a></b></h4></td>
-    <td colspan="2" align="center"><h4><b><a class="srh" href="{php} echo 
linker_urls_link('state1','state2');{/php}">State&nbsp;{$img_state}</a></b></h4></td>
-    <td colspan="2"><h4><b><a class="srh"  href="{php} echo 
linker_urls_link('hits1','hits2');{/php}">Hits&nbsp;{$img_hit}</a></b></h4></td>
-    <td colspan="2" ><h4><b><a class="srh"  href="{php} echo 
linker_urls_link('date1','date2');{/php}">Date&nbsp;{$img_date}</a></b></h4></td>
-    <td colspan="2"><h4><b>Edit</b></h4></td>
-</tr>
-   {section name=run_increment loop=$myData}
-    {$myData[run_increment]}
-   {/section}
-  </table><br>
-
-<table border="0" cellspacing="0" cellpadding="5" width="100%">
-<tr align="left">
-  <td colspan="2" width="300" >
-      &nbsp;
-    </td>
-    <th colspan="2" >{$link}</th>
-    <td colspan="2" >&nbsp;</td>
-    <td colspan="2" >&nbsp;</td>
-    <td colspan="2" ><b><span style="font-size:12px;">{$nbr} site(s) 
trouvé(s)</span><b></td>
-  </tr>
-</table>
-
-<br>
-{/if}
-{literal}
-<script type="text/javascript">
-f = document.getElementById('cherche');
- Show_my_div(f);
-</script>
-{/literal}


_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits

Reply via email to