]> git.plutz.net Git - confetti/blobdiff - templates/courses.html.sh
generate name field from available information
[confetti] / templates / courses.html.sh
old mode 100644 (file)
new mode 100755 (executable)
index 698fe2c..99e3381
 # You should have received a copy of the GNU Affero General Public License
 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
 
-edit="$_GET[\"edit\"]"
+edit="${_GET[edit]}"
 
 check_order(){
-  [ "$_GET[\"order\"]" = "$1" ] && echo 'checked="checked"'
+  [ "${_GET[order]}" = "$1" ] && echo 'checked="checked"'
 }
 
 cat <<EOF