Author: cyb
Date: Wed Apr 25 14:53:14 2007
New Revision: 366
URL: http://svn.gna.org/viewcvs/phplinker?rev=366&view=rev
Log:
clean
Modified:
trunk/smarty/default/templates/admin/url_search.tpl
trunk/www/admin/includes/header.php
Modified: trunk/smarty/default/templates/admin/url_search.tpl
URL:
http://svn.gna.org/viewcvs/phplinker/trunk/smarty/default/templates/admin/url_search.tpl?rev=366&r1=365&r2=366&view=diff
==============================================================================
--- trunk/smarty/default/templates/admin/url_search.tpl (original)
+++ trunk/smarty/default/templates/admin/url_search.tpl Wed Apr 25 14:53:14 2007
@@ -26,14 +26,13 @@
{if $result_for_all =='Pas de resultat pour cette requette'}
<form action="url_search"
method="get" id="cherche">
-<input type="hidden" name="case" value="all">
+<input type="hidden" name="type" value="{$type}">
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> Keywords : <input type="text" name="key" {php} if
- (isset($_GET['key'])){ echo "value= $key";}{/php}> Category
+</select> Keywords : <input type="text" name="key"
value="{$key}"> 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>
@@ -60,19 +59,18 @@
<input type="submit" value="Chercher">
-<input type="hidden" name="action" value="search"
+<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_search"
- method="get" id="cherche"><input type="hidden" name="case" value="all">
+<input type="hidden" name="type" value="{$type}">
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> Keywords : <input type="text" name="key" {php} if
- (isset($_GET['key'])){ echo
"value=\"".$_GET['key']."\"";}{/php}> Category
+</select> Keywords : <input type="text" name="key"
value="{$key}"> 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>
@@ -109,7 +107,7 @@
<option value="50" {php}if($_GET["setPerPage"]=="50"){echo
"selected=selected";}{/php}>50</option>
</select> par page
<input type="submit" value="Chercher">
-<input type="hidden" name="action" value="search"
+<input type="hidden" name="action" value="search">
</form><br>
<table border="0" cellspacing="0" cellpadding="5" width="100%">
<tr align="left">
Modified: trunk/www/admin/includes/header.php
URL:
http://svn.gna.org/viewcvs/phplinker/trunk/www/admin/includes/header.php?rev=366&r1=365&r2=366&view=diff
==============================================================================
--- trunk/www/admin/includes/header.php (original)
+++ trunk/www/admin/includes/header.php Wed Apr 25 14:53:14 2007
@@ -25,8 +25,8 @@
require_once("auth.php");
$elements1 = array(
- 'Top 1000' => array( 'url' => '/admin/top1000', 'roles' =>
'admin' ),
- 'Recherche libre' => array( 'url' =>
'/admin/url_search?case=all', 'roles' => 'admin' ),
+ 'Top 1000' => array( 'url' =>
'/admin/url_search?type=top1000', 'roles' => 'admin' ),
+ 'Recherche libre' => array( 'url' =>
'/admin/url_search?type=free', 'roles' => 'admin' ),
'Modération' => array( 'url' => '/admin/moderator', 'roles'
=> 'any' ),
'Ajout lien' => array( 'url' => '/admin/url_add', 'roles' =>
'any' ),
);
_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits