openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5c61772fd53bea83d76be2d66790674cce42ebb9
parent 63e2d79e1867776e96e2bde7cdbc5ed3525ebe54
Author: dankert <devnull@localhost>
Date:   Mon, 29 Nov 2004 20:27:01 +0100

*** empty log message ***

Diffstat:
themes/default/pages/html/file/rights.tpl.php | 189-------------------------------------------------------------------------------
themes/default/pages/html/file/src.tpl.php | 32--------------------------------
themes/default/pages/html/folder/rights.tpl.php | 205-------------------------------------------------------------------------------
themes/default/pages/html/link/rights.tpl.php | 87-------------------------------------------------------------------------------
themes/default/pages/html/page/rights.tpl.php | 93-------------------------------------------------------------------------------
5 files changed, 0 insertions(+), 606 deletions(-)

diff --git a/themes/default/pages/html/file/rights.tpl.php b/themes/default/pages/html/file/rights.tpl.php @@ -1,188 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - - -<center> - -<form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="action" value="file"> -<input type="hidden" name="subaction" value="addACL"> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="14"><?php echo lang('ACL') ?></th> -</tr> - - -<!-- - <tr> - <td></td> - <td></td> - <td class="help" colspan="4"><?php echo lang('ACL_READ') ?></td> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_WRITE') ?></td> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_PROP') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_DELETE') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_PUBLISH') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_FOLDER') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_FILE') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_LINK') ?></th> - </tr> - <tr> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_PAGE') ?></th> - </tr> - <tr> - <td class="help"><?php echo lang('NAME') ?></td> - <td class="help"><?php echo lang('LANGUAGE') ?></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_GRANT') ?></th> - </tr> ---> - - <tr> - <td class="help"><?php echo lang('NAME') ?></td> - <td class="help"><?php echo lang('LANGUAGE') ?></td> - <td class="help"><span title="<?php echo lang('ACL_READ' ) ?>"><strong>R</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_WRITE' ) ?>"><strong>W</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_PROP' ) ?>"><strong>P</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_DELETE' ) ?>"><strong>E</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_PUBLISH' ) ?>"><strong>W</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_GRANT' ) ?>"><strong>G</strong></span></td> - </tr> - - - - - -<?php $fx = ''; - foreach( $acls as $aclid=>$z ) - { $fx = fx($fx); ?> -<tr> -<?php if ( $z['username'] != '' ) - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user.png' ?>" align="left"><?php echo $z['username'] ?></a></td> -<?php } - else - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group.png' ?>" align="left"><?php echo $z['groupname'] ?></a></td> -<?php } ?> -<td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',true ,false,array('title'=>lang('read')) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['write' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['prop' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['delete' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['publish' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['grant' ],false) ?></td> -<?php if (isset($z['delete_url'])) - { ?> -<td class="<?php echo $fx ?>"><a href="<?php echo $z['delete_url'] ?>"><?php echo lang('DELETE') ?></a></td> -<?php } - else - { ?> -<td class="<?php echo $fx ?>"><?php echo lang('inherited') ?></td> -<?php } ?> -</tr> -<?php } - $fx = fx($fx); ?> - - -<tr> -<td class="act" style="white-space:nowrap;"> - <input type="radio" name="type" value="user" checked>&nbsp;<?php echo Html::selectBox( 'userid',$users); ?><br><br> - <?php if (count($groups)>0) - { ?> - <input type="radio" name="type" value="group">&nbsp;<?php echo Html::selectBox( 'groupid',$groups); ?></td> - <?php } ?> -<td class="act" style="white-space:nowrap;"><?php echo Html::selectBox( 'languageid',$languages); ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('' ,true ,false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('write' ,false,true,array('title'=>lang('ACL_WRITE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('prop' ,false,true,array('title'=>lang('ACL_PROP' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('delete' ,false,true,array('title'=>lang('ACL_DELETE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('publish' ,false,true,array('title'=>lang('ACL_PUBLISH' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('grant' ,false,true,array('title'=>lang('ACL_GRANT' )) ) ?></td> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> -</tr> - -</table> - -</form> - - - - - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/file/src.tpl.php b/themes/default/pages/html/file/src.tpl.php @@ -1,31 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<form action="<?php echo $self ?>" method="post" target="_self"> - -<input type="hidden" name="action" value="file"> -<input type="hidden" name="subaction" value="savevalue"> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="2"><?php echo lang('SRC') ?></th> -</tr> - -<tr> -<td class="f2"><?php echo lang('value') ?></a></td> -<td class="f2"><textarea cols="60" rows="35" name="value"><?php echo htmlentities($value) ?></textarea></td> -</tr> -<tr> -<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('SAVE') ?>"></td> -</tr> - -</table> - -</form> - -</center> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/folder/rights.tpl.php b/themes/default/pages/html/folder/rights.tpl.php @@ -1,204 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - - -<center> - -<form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="subaction" value="addACL"> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="14"><?php echo lang('ACL') ?></th> -</tr> - - -<!-- - <tr> - <td></td> - <td></td> - <td class="help" colspan="4"><?php echo lang('ACL_READ') ?></td> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_WRITE') ?></td> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_PROP') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_DELETE') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_PUBLISH') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_FOLDER') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_FILE') ?></th> - </tr> - <tr> - <td></td> - <td></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_LINK') ?></th> - </tr> - <tr> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_CREATE_PAGE') ?></th> - </tr> - <tr> - <td class="help"><?php echo lang('NAME') ?></td> - <td class="help"><?php echo lang('LANGUAGE') ?></td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="line">&nbsp;</td> - <td class="help" colspan="4"><?php echo lang('ACL_GRANT') ?></th> - </tr> ---> - - <tr> - <td class="help"><?php echo lang('NAME') ?></td> - <td class="help"><?php echo lang('LANGUAGE') ?></td> - <td class="help"><span title="<?php echo lang('ACL_READ' ) ?>"><strong>R</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_WRITE' ) ?>"><strong>W</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_PROP' ) ?>"><strong>P</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_DELETE' ) ?>"><strong>E</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_RELEASE' ) ?>"><strong>RE</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_PUBLISH' ) ?>"><strong>W</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_CREATE_FOLDER') ?>"><strong>CD</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_CREATE_FILE' ) ?>"><strong>CF</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_CREATE_LINK' ) ?>"><strong>CL</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_CREATE_PAGE' ) ?>"><strong>CP</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_GRANT' ) ?>"><strong>G</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_TRANSMIT' ) ?>"><strong>T</strong></span></td> - </tr> - - - - - -<?php $fx = ''; - foreach( $acls as $aclid=>$z ) - { $fx = fx($fx); ?> -<tr> -<?php if ( $z['username'] != '' ) - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user.png' ?>" align="left"><?php echo $z['username'] ?></a></td> -<?php } - else - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group.png' ?>" align="left"><?php echo $z['groupname'] ?></a></td> -<?php } ?> -<td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',true ,false,array('title'=>lang('read')) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['write' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['prop' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['delete' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['release' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['publish' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['create_folder'],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['create_file' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['create_link' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['create_page' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['grant' ],false) ?></td> -<?php if (isset($z['delete_url'])) - { ?> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['transmit'],false) ?></td> -<td class="<?php echo $fx ?>"><a href="<?php echo $z['delete_url'] ?>"><?php echo lang('DELETE') ?></a></td> -<?php } - else - { ?> -<td class="<?php echo $fx ?>">&nbsp;</td> -<td class="<?php echo $fx ?>"><?php echo lang('inherited') ?></td> -<?php } ?> -</tr> -<?php } - $fx = fx($fx); ?> - - -<tr> -<td class="act" style="white-space:nowrap;"> - <input type="radio" name="type" value="user" checked>&nbsp;<?php echo Html::selectBox( 'userid',$users); ?><br><br> - <?php if (count($groups)>0) - { ?> - <input type="radio" name="type" value="group">&nbsp;<?php echo Html::selectBox( 'groupid',$groups); ?></td> - <?php } ?> -<td class="act" style="white-space:nowrap;"><?php echo Html::selectBox( 'languageid',$languages); ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('' ,true ,false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('write' ,false,true,array('title'=>lang('ACL_WRITE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('prop' ,false,true,array('title'=>lang('ACL_PROP' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('delete' ,false,true,array('title'=>lang('ACL_DELETE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('release' ,false,true,array('title'=>lang('ACL_RELEASE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('publish' ,false,true,array('title'=>lang('ACL_PUBLISH' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('create_folder',false,true,array('title'=>lang('ACL_CREATE_FOLDER')) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('create_file' ,false,true,array('title'=>lang('ACL_CREATE_FILE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('create_link' ,false,true,array('title'=>lang('ACL_CREATE_LINK' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('create_page' ,false,true,array('title'=>lang('ACL_CREATE_PAGE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('grant' ,false,true,array('title'=>lang('ACL_GRANT' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('transmit' ,false,true,array('title'=>lang('ACL_TRANSMIT' )) ) ?></td> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> -</tr> - -</table> - -</form> - - - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/link/rights.tpl.php b/themes/default/pages/html/link/rights.tpl.php @@ -1,86 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<center> - -<form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="action" value="link"> -<input type="hidden" name="subaction" value="addACL"> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="14"><?php echo lang('ACL') ?></th> -</tr> - - - <tr> - <td class="help"><?php echo lang('NAME') ?></td> - <td class="help"><?php echo lang('LANGUAGE') ?></td> - <td class="help"><span title="<?php echo lang('ACL_READ' ) ?>"><strong>R</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_WRITE' ) ?>"><strong>W</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_PROP' ) ?>"><strong>P</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_DELETE' ) ?>"><strong>E</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_GRANT' ) ?>"><strong>G</strong></span></td> - </tr> - - - - - -<?php $fx = ''; - foreach( $acls as $aclid=>$z ) - { $fx = fx($fx); ?> -<tr> -<?php if ( $z['username'] != '' ) - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user.png' ?>" align="left"><?php echo $z['username'] ?></a></td> -<?php } - else - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group.png' ?>" align="left"><?php echo $z['groupname'] ?></a></td> -<?php } ?> -<td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',true ,false,array('title'=>lang('read')) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['write' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['prop' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['delete' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['grant' ],false) ?></td> -<?php if (isset($z['delete_url'])) - { ?> -<td class="<?php echo $fx ?>"><a href="<?php echo $z['delete_url'] ?>"><?php echo lang('DELETE') ?></a></td> -<?php } - else - { ?> -<td class="<?php echo $fx ?>"><?php echo lang('inherited') ?></td> -<?php } ?> -</tr> -<?php } - $fx = fx($fx); ?> - - -<tr> -<td class="act" style="white-space:nowrap;"> - <input type="radio" name="type" value="user" checked>&nbsp;<?php echo Html::selectBox( 'userid',$users); ?><br><br> - <?php if (count($groups)>0) - { ?> - <input type="radio" name="type" value="group">&nbsp;<?php echo Html::selectBox( 'groupid',$groups); ?></td> - <?php } ?> -<td class="act" style="white-space:nowrap;"><?php echo Html::selectBox( 'languageid',$languages); ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('' ,true ,false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('write' ,false,true,array('title'=>lang('ACL_WRITE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('prop' ,false,true,array('title'=>lang('ACL_PROP' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('delete' ,false,true,array('title'=>lang('ACL_DELETE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('grant' ,false,true,array('title'=>lang('ACL_GRANT' )) ) ?></td> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> -</tr> - -</table> - -</form> - - - - - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/page/rights.tpl.php b/themes/default/pages/html/page/rights.tpl.php @@ -1,92 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - - -<center> - -<form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="action" value="page"> -<input type="hidden" name="subaction" value="addACL"> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="14"><?php echo lang('ACL') ?></th> -</tr> - - <tr> - <td class="help"><?php echo lang('NAME') ?></td> - <td class="help"><?php echo lang('LANGUAGE') ?></td> - <td class="help"><span title="<?php echo lang('ACL_READ' ) ?>"><strong>R</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_WRITE' ) ?>"><strong>W</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_PROP' ) ?>"><strong>P</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_DELETE' ) ?>"><strong>E</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_RELEASE' ) ?>"><strong>R</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_PUBLISH' ) ?>"><strong>W</strong></span></td> - <td class="help"><span title="<?php echo lang('ACL_GRANT' ) ?>"><strong>G</strong></span></td> - </tr> - - - - - -<?php $fx = ''; - foreach( $acls as $aclid=>$z ) - { $fx = fx($fx); ?> -<tr> -<?php if ( $z['username'] != '' ) - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user.png' ?>" align="left"><?php echo $z['username'] ?></a></td> -<?php } - else - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group.png' ?>" align="left"><?php echo $z['groupname'] ?></a></td> -<?php } ?> -<td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',true ,false,array('title'=>lang('read')) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['write' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['prop' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['delete' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['release' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['publish' ],false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z['grant' ],false) ?></td> -<?php if (isset($z['delete_url'])) - { ?> -<td class="<?php echo $fx ?>"><a href="<?php echo $z['delete_url'] ?>"><?php echo lang('DELETE') ?></a></td> -<?php } - else - { ?> -<td class="<?php echo $fx ?>"><?php echo lang('inherited') ?></td> -<?php } ?> -</tr> -<?php } - $fx = fx($fx); ?> - - -<tr> -<td class="act" style="white-space:nowrap;"> - <input type="radio" name="type" value="user" checked>&nbsp;<?php echo Html::selectBox( 'userid',$users); ?><br><br> - <?php if (count($groups)>0) - { ?> - <input type="radio" name="type" value="group">&nbsp;<?php echo Html::selectBox( 'groupid',$groups); ?></td> - <?php } ?> -<td class="act" style="white-space:nowrap;"><?php echo Html::selectBox( 'languageid',$languages); ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('' ,true ,false) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('write' ,false,true,array('title'=>lang('ACL_WRITE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('prop' ,false,true,array('title'=>lang('ACL_PROP' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('delete' ,false,true,array('title'=>lang('ACL_DELETE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('release' ,false,true,array('title'=>lang('ACL_RELEASE' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('publish' ,false,true,array('title'=>lang('ACL_PUBLISH' )) ) ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('grant' ,false,true,array('title'=>lang('ACL_GRANT' )) ) ?></td> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> -</tr> - -</table> - -</form> - - - - - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file