mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
change value to no-value when it has no value
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
* e107 Admin Helper
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_files/jslib/core/admin.js,v $
|
||||
* $Revision: 1.20 $
|
||||
* $Date: 2009-08-15 01:00:38 $
|
||||
* $Author: bugrain $
|
||||
* $Revision: 1.21 $
|
||||
* $Date: 2009-08-15 15:44:37 $
|
||||
* $Author: marj_nl_fr $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -157,7 +157,7 @@ e107Admin.Helper = {
|
||||
* <input type='checkbox' class='checkbox' name='some_checkbox_array_some_more[]' /> (see the button example below)
|
||||
*
|
||||
* Example of button being auto-observed (see e107Admin.Helper#init)
|
||||
* <button class='action' type='button' name='check_all' value='Check All'><span>Check All</span></button> // default selector - multiaction
|
||||
* <button class='action' type='button' name='check_all' value='no-value'><span>Check All</span></button> // default selector - multiaction
|
||||
* OR
|
||||
* <button class='action' type='button' name='check_all' value='jstarget:some_checkbox_array'><span>Check All</span></button> // checkboxes names starting with - some_checkbox_array
|
||||
*
|
||||
@@ -192,7 +192,7 @@ e107Admin.Helper = {
|
||||
* <input type='checkbox' class='checkbox' name='some_checkbox_array_some_more[]' /> (see the button example below)
|
||||
*
|
||||
* Example of button being auto-observed (see e107Admin.Helper#init)
|
||||
* <button class='action' type='button' name='uncheck_all' value='Uncheck All'><span>Uncheck All</span></button> // default selector - multiaction
|
||||
* <button class='action' type='button' name='uncheck_all' value='no-value'><span>Uncheck All</span></button> // default selector - multiaction
|
||||
* OR
|
||||
* <button class='action' type='button' name='uncheck_all' value='jstarget:some_checkbox_array'><span>Uncheck All</span></button> // checkboxes names starting with - some_checkbox_array
|
||||
*
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id: admin_shortcodes_class.php,v 1.19 2009-08-03 18:45:18 marj_nl_fr Exp $
|
||||
* $Id: admin_shortcodes_class.php,v 1.20 2009-08-15 15:44:37 marj_nl_fr Exp $
|
||||
*
|
||||
* Admin shortcode batch - class
|
||||
*/
|
||||
@@ -250,7 +250,7 @@ class admin_shortcodes
|
||||
$selected = ($lng == $sql->mySQLlanguage || ($lng == $pref['sitelanguage'] && !$sql->mySQLlanguage)) ? " selected='selected'" : "";
|
||||
$select .= "<option value='".$langval."'{$selected}>$lng</option>\n";
|
||||
}
|
||||
$select .= "</select> ".(!isset($params['nobutton']) ? "<button class='update' type='submit' name='setlanguage' value='".UTHEME_MENU_L1."'><span>".UTHEME_MENU_L1."</span></button>" : '')."
|
||||
$select .= "</select> ".(!isset($params['nobutton']) ? "<button class='update' type='submit' name='setlanguage' value='no-value'><span>".UTHEME_MENU_L1."</span></button>" : '')."
|
||||
</div>
|
||||
</form>
|
||||
";
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// $Id: uploadfile.sc,v 1.2 2008-12-29 15:23:06 secretr Exp $
|
||||
// $Id: uploadfile.sc,v 1.3 2009-08-15 15:44:37 marj_nl_fr Exp $
|
||||
|
||||
// Your <form> tag must include: enctype='multipart/form-data' - in order to work.
|
||||
// parm is the path to the upload folder.
|
||||
@@ -25,8 +25,8 @@ $text .="
|
||||
<!-- Upload Shortcode -->
|
||||
<div>
|
||||
<div class='field-spacer'>
|
||||
<button type='button' class='action duplicate' value=\"".LAN_UPLOAD_ADDFILE."\" onclick=\"duplicateHTML('upline','up_container');\"><span>".LAN_UPLOAD_ADDFILE."</span></button>
|
||||
<button class='upload' type='submit' name='uploadfiles' value=\"".LAN_UPLOAD_FILES."\" onclick=\"return jsconfirm('".LAN_UPLOAD_CONFIRM."')\"><span>".LAN_UPLOAD_FILES."</span></button>
|
||||
<button type='button' class='action duplicate' value='no-value' onclick=\"duplicateHTML('upline','up_container');\"><span>".LAN_UPLOAD_ADDFILE."</span></button>
|
||||
<button class='upload' type='submit' name='uploadfiles' value='no-value' onclick=\"return jsconfirm('".LAN_UPLOAD_CONFIRM."')\"><span>".LAN_UPLOAD_FILES."</span></button>
|
||||
</div>
|
||||
<div id='up_container'>
|
||||
<div id='upline' class='nowrap'>
|
||||
|
Reference in New Issue
Block a user