[svn r19263] Changed style button for admin see FS#3541

skala
Arthur Portugal 16 years ago
parent c8ffdad73c
commit 226a28d94a
  1. 4
      main/admin/add_courses_to_session.php
  2. 5
      main/admin/add_users_to_session.php
  3. 3
      main/admin/session_add.php
  4. 3
      main/admin/session_course_edit.php
  5. 5
      main/admin/session_edit.php
  6. 4
      main/admin/session_export.php
  7. 6
      main/admin/session_import.php
  8. 6
      main/admin/session_list.php

@ -389,11 +389,11 @@ unset($nosessionCourses);
<?php
if(isset($_GET['add']))
{
echo '<input type="button" value="'.get_lang('NextStep').'" onclick="valide()" />';
echo '<button class="save" type="button" value="" onclick="valide()" >'.get_lang('NextStep').'</button>';
}
else
{
echo '<input type="button" value="'.get_lang('Ok').'" onclick="valide()" />';
echo '<button class="save" type="button" value="" onclick="valide()" >'.get_lang('SubscribeCoursesToSession').'</button>';
}
?>
</td>

@ -528,10 +528,11 @@ unset($sessionUsersList);
<br />
<?php
if(isset($_GET['add'])) {
echo '<input type="button" value="'.get_lang("FinishSessionCreation").'" onclick="valide()" />';
echo '<button class="save" type="button" value="" onclick="valide()" >'.get_lang('FinishSessionCreation').'</button>';
} else {
//@todo see that the call to "valide()" doesn't duplicate the onsubmit of the form (necessary to avoid delete on "enter" key pressed)
echo '<input type="button" value="'.get_lang('Ok').'" onclick="valide()" />';
echo '<button class="save" type="button" value="" onclick="valide()" >'.get_lang('SubscribeUsersToSession').'</button>';
}
?>
</td>

@ -346,7 +346,8 @@ for ($i=$thisYear-5;$i <= ($thisYear+5);$i++) {
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="<?php echo get_lang('NextStep') ?>"></td>
<td><button class="save" type="submit" name="name" value="<?php echo get_lang('NextStep') ?>"><?php echo get_lang('NextStep') ?></button>
</td>
</tr>
</table>

@ -122,7 +122,8 @@ unset($coaches);
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="<?php echo get_lang('Ok'); ?>"></td>
<td><button class="save" type="submit" name="name" value="<?php echo get_lang('ModifyCoach') ?>"><?php echo get_lang('ModifyCoach') ?></button>
</td>
</tr>
</table>

@ -303,7 +303,10 @@ for($i=$thisYear-5;$i <= ($thisYear+5);$i++)
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="<?php echo get_lang('Ok'); ?>"></td>
<td>
<button class="save" type="submit" name="name" value="<?php echo get_lang('ModifyThisSession') ?>"><?php echo get_lang('ModifyThisSession') ?></button>
</td>
</tr>
</table>

@ -311,7 +311,9 @@ unset($Courses);
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="<?php echo get_lang('Ok'); ?>"></td>
<td>
<button class="save" type="submit" name="name" value="<?php echo get_lang('ExportSession') ?>"><?php echo get_lang('ExportSession') ?></button>
</td>
</tr>
</table>
</form>

@ -1,4 +1,4 @@
<?php // $Id: session_import.php 18942 2009-03-10 23:42:21Z juliomontoya $
<?php // $Id: session_import.php 19263 2009-03-25 00:15:16Z aportugal $
/* For licensing terms, see /dokeos_license.txt */
/**
==============================================================================
@ -720,7 +720,9 @@ if(!empty($errorMsg)) {
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="<?php echo get_lang('Ok'); ?>"></td>
<td>
<button class="save" type="submit" name="name" value="<?php echo get_lang('ImportSession') ?>"><?php echo get_lang('ImportSession') ?></button>
</td>
</tr>
</table>
</form>

@ -60,7 +60,7 @@ if (isset ($_GET['search']) && $_GET['search'] == 'advanced') {
$active_group[] = $form->createElement('checkbox','inactive','',get_lang('Inactive'));
$form->addGroup($active_group,'',get_lang('ActiveSession'),'<br/>',false);
$form->addElement('submit','submit',get_lang('Ok'));
$form->addElement('style_submit_button', 'submit',get_lang('SearchUsers'),'class="search"');
$defaults['active'] = 1;
$defaults['inactive'] = 1;
$form->setDefaults($defaults);
@ -138,7 +138,7 @@ if (isset ($_GET['search']) && $_GET['search'] == 'advanced') {
?>
<form method="POST" action="session_list.php">
<input type="text" name="keyword" value="<?php echo Security::remove_XSS($_GET['keyword']); ?>"/>
<input type="submit" value="<?php echo get_lang('Search'); ?>"/>
<button class="search" type="submit" name="name" value="<?php echo get_lang('Search') ?>"><?php echo get_lang('Search') ?></button>
<a href="session_list.php?search=advanced"><?php echo get_lang('AdvancedSearch'); ?></a>
</form>
<form method="post" action="<?php echo api_get_self(); ?>?action=delete&sort=<?php echo $sort; ?>" onsubmit="javascript:if(!confirm('<?php echo get_lang('ConfirmYourChoice'); ?>')) return false;">
@ -268,7 +268,7 @@ if (isset ($_GET['search']) && $_GET['search'] == 'advanced') {
<select name="action">
<option value="delete"><?php echo get_lang('DeleteSelectedSessions'); ?></option>
</select>
<input type="submit" value="<?php echo get_lang('Ok'); ?>">
<button class="save" type="submit" name="name" value="<?php echo get_lang('Ok') ?>"><?php echo get_lang('Ok') ?></button>
<?php } ?>
</table>

Loading…
Cancel
Save